/* 1. Use a more-intuitive box-sizing model */
*, *::before, *::after {
  box-sizing: border-box;
}

/* 2. Remove default margin */
*:not(dialog) {
  margin: 0;
}

/* 3. Enable keyword animations */
@media (prefers-reduced-motion: no-preference) {
  html {
    interpolate-size: allow-keywords;
  }
}

body {
  /* 4. Add accessible line-height */
  line-height: 1.5;
  /* 5. Improve text rendering */
  -webkit-font-smoothing: antialiased;
}

/* 6. Improve media defaults */
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

/* 7. Inherit fonts for form controls */
input, button, textarea, select {
  font: inherit;
}

/* 8. Avoid text overflows */
p, h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
}

/* 9. Improve line wrapping */
p {
  text-wrap: pretty;
}
h1, h2, h3, h4, h5, h6 {
  text-wrap: balance;
}

/*
  10. Create a root stacking context
*/
#root, #__next {
  isolation: isolate;
}

:root {
  --vh: 100vh;
}

@supports (height: 100dvh) {
  :root {
    --vh: 100dvh;
  }
}

h1 {
    font-family: 'Fraunces', sans-serif;
    font-size: 7em;
    color: #fff;
    margin: 0.9em 0 0em;
    line-height: 1em;
    font-weight: 300;
    font-style: italic;
}

h2 {
    font-family: 'Fraunces', sans-serif;
    font-size: 4.5em;
    color: #0067ab;
    margin: 1em 0 0em;
    line-height: 1em;
    font-weight: 300;
    font-style: italic;
    text-align: center;
}

p {
    font-family: 'Lexend Deca', sans-serif;
    font-size: 1.4em;
    color: #5c5e5f;
}

blockquote {
    font-family: 'Lexend Deca', sans-serif;
    font-size: 2.4em;
    color: #0067ab;
    font-weight: 300;
    font-style: italic;
    margin: 2em auto 1em;
    line-height: 1.2em;
    }

.quotes {
    margin:3em auto 1em;
    max-width: 150px;
}

.attribution {
    margin-bottom: 4em;
}

a {
    color:#a80235;
    text-decoration:none;
    border-bottom:2px dotted #0067ab;
}

a:hover {
    color: white;
    border-bottom:2px dashed #a80235;
    background-color: #a80235;
}

/* Wrapper defines the scroll space */
.hero-wrapper {
  position: relative;
  height: 200vh; /* controls how long the overlay scrolls */
}

/* Base layer */
.hero-base {
  position: sticky;
  top: 0;
  height: var(--vh);
  width: 100%;
  background-image: url("background-homepage.jpg");
  background-size: cover;
  background-position: bottom center;
}
/* 
.lottie-container-homepage {
    position:absolute;
    left:0;
    bottom:0;
     width:100%;
}

.lottie-animation-1 {
    position: relative;
    min-width:100%;
    height:100vh;
}*/

/* Overlay layer */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: var(--vh);
  width: 100%;
  background: rgb(0, 103, 171,0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

/* Overlay text */
.overlay-content {
  color: white;
  text-align: center;
  z-index: 10;
}

.overlay-content p {
    color:white;
    font-size:3em;
    margin-top:1em;
  

}

.overlay-content p span {
  
      padding:0.1em 0.3em;
      background-image: url(background-text.jpg);
}

/* Normal sections */
.content {
  padding: 100px 0;
  background: #f5f5f5;
}



.body {
    background-color: #fff7f3;
    /*  background:url("texture.jpg") repeat, #fff7f3;
    background-blend-mode: multiply;*/
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 10px;
    text-align: center;
}


.logo-area {
  display: flex;
  align-items: center;      /* vertical alignment */
  justify-content: center;  /* horizontal alignment */
  gap: 8px; 
  font-family: 'Lexend Deca', sans-serif;
  font-size:1.2em;
  text-transform: uppercase;
  margin-bottom: 3em;
}

.logo-area img {
    max-width: 60px;
    background-color: rgba(255, 255, 255, 0.3);
    padding:0.2em;
    border-radius: 100em;
}




.quotes {
    margin-top:200px;
}





.inner-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.lead-p {
    font-family: 'Lexend Deca', sans-serif;
    font-size: 1.8em;
    color: #5c5e5f;
    font-weight: 600;
    margin: 1em 0;
}

.card {
    background-color: rgba(255, 255, 255, 1);
    border-radius: 15px;
    border:2px solid #f9ede8;
    padding: 30px;
    margin: 60px 0;
    text-align: left;
    transition: all 0.3s ease;
    
}

.card:hover {
    box-shadow: 0px 0px 15px rgba(27, 23, 23, 0.03);
    transition: all 0.3s ease;

}

.story-list {
    
}

.lottie-container {
    margin:1em 0;
}

.read-more__content {
  display: none;
  margin-top:1em;
  transition: all 0.3s ease;
}

.read-more.is-open .read-more__content {
  display: block;
  transition: all 0.3s ease;
}

.read-more__toggle {
    width:100%;
    background-color: #f9ede8;
    margin:1.5em 0 0;
    border-radius: 45px;
    cursor: pointer;
    border:2px solid #f4e7e1;
    padding:0.5em 0;
    font-family: 'Lexend Deca', sans-serif;
    font-size:16px;
    transition: all 0.3s ease;
    font-style: italic;
    color: #5c5e5f;
}

.read-more__toggle:hover {
    background-color: white;
    transition: all 0.3s ease;
}


.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 2.2s ease, transform 2.2s ease;
}

.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}


.outro {
    max-width: 1200px;
    margin: 0 auto;
    padding:2.2em;
}

.card-image {
  height:440px
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* magic */
}


.outro-card-outside {
    background-color: white;
    border-radius: 15px;
}

.outro-card-inside {
    padding: 3em;

}

.outro-card-inside strong {
    font-weight: 800;;
}

.outro-card-inside h2 {
    text-align: center;
    font-size:3.6em;
    line-height: 1.2em;
    margin:0 0 1em;
}


.figure-number {
    font-size:6em;
    color:#a80235;
    font-weight: 800;
    margin-right: 0.5em;
}

.figure-copy {
    font-size:1.8em;
    color:#5c5e5f;
}

.outro-figure {
    display: flex;
    justify-content: space-between;
    font-family: 'Lexend Deca', sans-serif;
    align-items: start;
    align-content: start;
    padding:20px;;
    border-top:2px dotted #0067ab;
}


footer img {
    max-width: 350px;
    margin:2em auto;
}


.copy-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin:0 auto;
    padding: 12px 16px;
    max-width: 420px;
    font-family: 'Lexend Deca', sans-serif;
    border: 2px solid #f9ede8;
    border-radius: 8px;
    cursor: pointer;
    background: #fff;
    transition: background 0.2s, border-color 0.2s;
}

.copy-box:hover {
    background: #f1f1f1;
    border-color: #999;
}

#share-link {
    font-family: 'Lexend Deca', sans-serif;
    font-size: 14px;
    overflow-wrap: anywhere;
}

.copy-hint {
    font-size: 12px;
    color: #666;
    white-space: nowrap;
}

@media (max-width: 1280px) {


blockquote {
    font-size: 2.4em;
    }


.quotes {
    margin-top:230px;
}
  
    h1 {
        font-size: 5em;
        margin:0;
    }

      h2 {
        font-size: 4.2em;
    }

    .overlay-content p {
        font-size:1.6em;
        padding:0 0.5em;
        
    }

.logo img {
    max-width: 250px;
    margin:10px auto 50px;
}

.lead-p {
    font-size: 1.4em;
    padding:0 0.5em;
}

#lottie-animation-1 {
        position: absolute;
        bottom:0;
        left:0;
}

#lottie-animation-1  svg{
position: relative;
    }



}


@media (max-width: 768px) {
    h1 {
        font-size: 4em;
        margin:0;
    }

    h2 {
        font-size: 2.6em;
    }

    p {
        font-size: 1.1em;
    }


  .hero-wrapper {
    height: 250vh;
  }

    .card {
        margin:30px 0;
    }

    .intro h2 {
        font-family: 'Lexend Deca', sans-serif;
        font-size: 2em;
        color: #000;
        margin: 40px 0px;
        font-weight: 400;
        font-style: normal;
    }


    .content-homepage {
        z-index: 100;
        display: flex;;
        align-items:center;
        margin:0 auto;
    }


    .body {
        background-color: #fff7f3;
    }

    .container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 60px 10px;
        text-align: center;
    }

    .inner-container {
        padding:10px
    }

    .logo img {
        max-width: 250px;
        
    }

    .card-image {
    height:280px;
    }

    .outro-card-inside h2 {
        font-size:2.2em;}

    .outro-card-inside {
        padding: 1.6em;
    }

    .outro-figure { 
        display: block;
    }

    .figure-copy {
        font-size:1.2em;
        color:#5c5e5f;
        text-align: center;;
    }

    .figure-number {
        text-align: center;
        margin:0;
    }

    blockquote {
        font-size: 1.6em;
        margin-bottom: 0.5em;
        }

    .quotes {
        margin:4em auto 1em;
        max-width: 100px;
    }

    .outro {
        padding:1em;
    }

    .container {
        padding:60px 5px;
    }



.hero-base {
    overflow: hidden;
}


.quotes {
    margin-top:0px;
}





 }