body {
    background: #1D8CD4;
}

.name {
    position: relative;
    overflow: hidden;
    height: calc(100vh - var(--nav-height));
    /* height: 100vh; */
    /* width: 100%; */
    /* overflow-x: hidden;
    overflow-y: scroll;
    overflow-y: auto;
    perspective: 8px;
    perspective-origin: 0%; */
    background: linear-gradient(to bottom, #1D8CD4 0%, #5CBEFF 50%);
    /* background: linear-gradient(to bottom, #1D8CD4 0%, #5CBEFF 50%, #5CBEFF 90%, #022034 90%, #022034 100%); */
    z-index: 9;
    color: #fff;
}

@media screen and (max-width: 800px) {
    .name {
        height: 100vh;
    }
}

.name .container {
    position: absolute;
    /* margin-left: auto; */
    /* width: 400px; */
    right: 0;
    left: 0;
    /* left: calc(100vw - 400px); */
    /* left: 400px; */
    text-align: center;
    padding-top: 100px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    opacity: 0.001;
    animation: fade-in 2s ease-in-out forwards;
    animation-delay: .5s;
    z-index: 2;
}

.name .container p {
    text-transform: initial;
    letter-spacing: 0em;
    width: 400px;
    display: block;
    left: calc(50% - 200px);
    position: relative;
}

@media screen and (max-width: 800px) {
    .name .container p {
        width: 80vw;
        margin: 0 auto;
        left: 0;
    }
}

.container h1 {
    font-size: 20px;
}

.container h1 strong {
    font-size: 96px;
    display: block;
    margin-top: 15px;
    margin-bottom: 15px;
}

@media screen and (max-width: 800px) {
    .container h1 strong {
        font-size: 3.0rem;    
    }
}

/* .container {
    max-width: 1110px;
    margin: auto;
    display: grid;
} */

.layer01, .layer02, .layer03, .layer04 {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 75%;
    height: 100%;
    min-height: 600px;
    /* border:1px solid red; */
    /* min-width: 1100px; */
    /* min-width: 800px; */
    /* margin-left: calc(50% - 1100px / 2); */
    background-repeat: repeat-x;
    background-size: 100% auto;
    background-position: center bottom;
    /* background-size: contain; */
    /* border: 1px solid red; */
    animation: pan-up 3s ease-in-out forwards;
    min-width: initial;
    background-repeat: no-repeat;
    overflow: hidden;
}

@media screen and (max-width: 800px) {
    .layer01, .layer02, .layer03, .layer04 {
        height: calc(100% - 79px);
    }
    .name .layer00 {
        display: block;
        position: absolute;
        background-color: #022034;
        width: 100%;
        height: 80px;
        bottom: 0;
        overflow: visible;
    }
}

.name .layer01 {
    background-image: url("../images/scene-bg-02-01.svg");
    top: 10px;
}

.name .layer02 {
    background-image: url("../images/scene-bg-02-02.svg");
    top: 30px;
}

.name .layer03 {
    background-image: url("../images/scene-bg-02-03.svg");
    top: 50px;
}

.name .layer04 {
    background-image: url("../images/scene-bg-02-04.svg");
    top: 70px;
}

@keyframes pan-up {
    100% {
        top: 0px;
    }
}

@keyframes fade-in {
    100% {
        opacity: 1;
    }
}

.silhouette {
    width: 100px;
    height: 100px;
    bottom: 12vw;
    /* bottom: calc(23% - (23% * (100vw / 100vh)));
    bottom: calc(23% * (1-(100vw / 100vh)));
    bottom: calc((100vh / 100vw)); */
    right: 10%;
    position: absolute;
    background-image: url("../images/guru-silhouette.svg");
    background-position: center;
    background-repeat: no-repeat;
    animation: float 5s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translatey(0px);
    }
    50% {
        transform: translatey(-10px);
    }
    100% {
        transform: translatey(0px);
    }
}

.bird {
    margin: 0;
    padding: 0;
    width: 50px;
    height: 50px;
    position: absolute;
    /* border: 1px solid red; */
    background-image: url("../images/flying-birds.svg");
    background-size: auto 100%;
    will-change: background-position;
    animation-name: flap, fly;
    animation-duration: .7s, 20s;
    animation-delay: -0.5s;
    animation-timing-function: steps(9), linear;
    animation-iteration-count: infinite;
    scale: 100%;
    top: 60%;
    left: -50px;
}

@media screen and (max-width: 800px) {
    .bird {
        animation-duration: .7s, 15s;
        top: 77%;
    }
}

@keyframes flap {
    100% {
        background-position: -450px 0;
    }
}

@keyframes fly {
    100% {
        transform: translate(calc(100vw + 100px), -100px);
    }
}

/* *************************************************************************************************** */


.meaning {
    /* border: 1px solid red; */
    height: 100vh;
    max-height: 1000px;
    min-height: 600px;
    background-image: url("../images/name-meaning-backgroundsky.svg");
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

 .meaning .container {
    max-width: 1110px;
    /* margin: auto; */
    margin-left: auto;
    margin-right: auto;
    display: grid;
    /* grid-template-columns: repeat(2, 1fr); */
    grid-template-columns: 60% 40%;
    grid-gap: 2rem;
    align-items: center;
    /* padding: 60px;     */
    position: relative;
    /* border: 1px solid white; */
    height: 100%;
}



.meaning .info {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    /* border: 1px solid yellow; */
    height: 50%;
    grid-column: 1;
}

.meaning .info p, 
.meaning .info h2 {
    text-shadow: 0 2px 2px rgba(0,0,0);
    color: #fff;
}

.meaning .info h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    height: 20%;
    /* border: 1px solid blue; */
}
@media screen and (max-width: 800px) {
    .meaning .info h2 {
        font-size: 1.6rem;
        height: 10%;
    }
}


.meaning .info p {
    font-size: 1.5rem;
    height: 80%;
}
@media screen and (max-width: 800px) {
    .meaning .info p {
        font-size: 1.1rem;
        height: 90%;
    }
}

.meaning .floatingPages {
    position: relative;
    width: 100%;
    height: 100%;
    /* border: 1px solid red; */
}

.meaning .book {
    /* border: 1px solid green; */
    /* position: relative; */
    position: absolute;
    grid-column: 2;
    width: 100%;
    height: 100%;
    background-image: url("../images/name-meaning-sunburst01.svg");
    background-image: url("../images/name-meaning-book.svg");
    background-size: contain;
    background-position-x: center;
    background-repeat: no-repeat;
    background-position: center;
    animation: book-rotate 15s ease-in-out infinite;
    z-index: 2;
}

@keyframes book-rotate {
    0% {
        transform: rotate(-5deg) translatey(0px);
    }
    25% {
        transform: rotate(0deg) translatey(-30px);
    }
    50% {
        transform: rotate(5deg) translatey(0px);
    }
    75% {
        transform: rotate(0deg) translatey(-30px);
    }
    100% {
        transform: rotate(-5deg) translatey(0px);
    }
}

.sunburst01,
.meaning .sunburst02 {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: 120%;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.35;
    pointer-events: none;
    z-index: 1;
}

.sunburst01 {
    background-image: url("../images/name-meaning-sunburst01.svg");
    animation: sun-burst01 100s linear infinite;
}

.meaning .sunburst02 {
    background-image: url("../images/name-meaning-sunburst02.svg");
    transform: scaleX(-1);
    animation: sun-burst02 50s linear infinite;
}





@keyframes sun-burst01 {
    0% {
        transform: rotate(0deg);
        opacity: 0.35;
    }
    25% {
        transform: rotate(90deg);
        opacity: 0.25;
    }
    50% {
        transform: rotate(180deg);
        opacity: 0.35;
    }
    75% {
        opacity: 0.25;
    }
    100% {
        transform: rotate(360deg);
        opacity: 0.35;
    }
}

@keyframes sun-burst02 {
    0% {
        transform: rotate(0deg);
        opacity: 0.25;
    }
    25% {
        transform: rotate(-90deg);
        opacity: 0.35;
    }
    50% {
        transform: rotate(-180deg);
        opacity: 0.25;
    }
    75% {
        opacity: 0.35;
    }
    100% {
        transform: rotate(-360deg);
        opacity: 0.25;
    }
}





.meaning .info .content {
    align-self: flex-start;
    order: -1;
    margin-bottom: auto; /* pushes it to the top */
}

.meaning .subnav {
    align-self: flex-start;
    /* width: 100%; */
    background-color: #0a0a3c;
    border-radius: 40px;
}

.meaning .subnav ul {
  display: flex;
  border-radius: 40px;
  overflow: hidden;
  padding: 0;
  margin: 0;
  /* background: #e3e3e3; */
  list-style: none;
  font-size: 1.5rem;
  /* font-weight: 700; */
  /* height: 70px; */
  align-items: center;
  border: 3px solid #e3e3e3; /* Stroke around the whole nav */
  box-sizing: border-box;
}

.meaning .subnav ul li {
  flex: 1 1 0;
  text-align: center;
  /* height: 100%; */
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  font-size: inherit;
  font-weight: inherit;
}

/* First li: left side pill shape, white bg, blue text, rounded left */
.meaning .subnav ul li a.selected {
    background: #e3e3e3;
    color: #2470b3;
    z-index: 2;
    border-radius: 40px;
}

/* First li a: blue text */
.meaning .subnav ul li.selected a {
  color: #2470b3;
}

/* Other li: dark bg, white text, rounded right only for last li */
.meaning .subnav ul li a:not(.selected) {
    /* background: #0a0a3c; */
    color: #e3e3e3;
    border-radius: 0;
}

.meaning .subnav ul li:last-child {
  border-top-right-radius: 40px;
  border-bottom-right-radius: 40px;
}

/* Other li a: white text */
/* .meaning .subnav ul li:not(:first-child) a {
  color: #e3e3e3;
} */

/* All links fill their li */
.meaning .subnav ul li a {
  display: block;
  width: 100%;
  /* height: 100%; */
  text-decoration: none;
  font-weight: 700;
  font-size: inherit;
  padding: 0 1.5em;
  line-height: 50px;
  cursor: pointer;
}

/* Optional: Remove focus outline for links inside nav */
.meaning .subnav ul li a:focus {
  outline: none;
}

/* Optional: Add a subtle shadow for depth */
.meaning .subnav ul {
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
}

.meaning #originContent,
.meaning #popularityContent,
.meaning #meaningContent {
    display: none;
}

.meaning .content {
    opacity: 0;
    transition: opacity 1s;
}

.meaning .content[style*="display: block"] {
    animation: fade-in-content 1s forwards;
}
.meaning .content[style*="display: none"] {
    animation: fade-out-content 1s forwards;
}
@keyframes fade-in-content {
    to {
        opacity: 1;
    }
}

@keyframes fade-out-content {
    to {
        opacity: 0;
    }
}

@media screen and (max-width: 800px) {
    .meaning .container {
        display: grid;
        grid-template-rows: 35% 65%;
        grid-template-columns: 1fr;
        align-items: start;
        border: none;
        max-width: 90vw;
        padding: 0;
        /* row-gap: 1rem; */
    }


    .meaning .floatingPages {
        grid-row: 1;
        grid-column: 1;
    }

    .meaning .book,
    .meaning .sunburst01,
    .meaning .sunburst02 {
        background-size: 60%;
    }


    /* .meaning .book,
    .meaning .sunburst01,
    .meaning .sunburst02 {
        grid-row: 1;
        grid-column: 1;
        width: 100%;
        height: 100%;
        background-size: 90%;
        margin-bottom: 0;
        left: 0;
        z-index: 2;
        margin-top:10%;
    }

    .meaning .sunburst01,
    .meaning .sunburst02 {
        height: 200px;
        opacity: 0.35;
        background-size: cover;
        background-position: center;
        z-index: 1;
    } */

    .meaning .info {
        grid-row: 2;
        grid-column: 1;
        width: 100%;
        height: auto;
        height: 80%;
        margin-top: 0;
        z-index: 3;
    }

    .meaning .subnav {
        grid-row: 3;
        grid-column: 1;
        width: 100%;
        border-radius: 40px;
        align-self: end;
        justify-self: stretch;
    }

    .meaning .subnav ul{
        font-size: 1.0rem;
        border-radius: 40px;
    }
}
/* *************************************************************************************************** */

.gurus-quote {
    /* position: relative; */
    text-align: center;
    z-index: 99 ;
    height: 100vh;
    max-height: 1000px;
    min-height: 600px;

    background: linear-gradient(to bottom, #efd4a9, #edf8b4);
    background-size: cover;
    background-position: center bottom;
    background-image: url("../images/backdrop-woods.svg");
}

@media screen and (max-width: 800px) {
    .gurus-quote {
        height: 100vh;
    }
}

.gurus-quote.container {
    max-width: 1110px;
    margin: auto;
    /* border: 5px solid red; */
}

.gurus-quote h3 {
    padding-top: 60px;
    font-size: 2.2rem;
}

.gurus-quote p {
    padding-top: 20px;
    font-size: 1.25rem;
    padding-left: 2.5vw;
    padding-right: 2.5vw;
}

@media screen and (max-width: 800px) {
    .gurus-quote h3 {
        padding-top: 0; 
        font-size: 1.5em;
    }

    .gurus-quote p {
        /* padding-top: 10px; */
        font-size: 1.15rem;
        padding-left: 2.5vw;
        padding-right: 2.5vw;
    }

    .gurus-quote .intro {
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
}


.gurus-quote .container {
    display: grid;
    grid-template-rows: 1fr 2fr 1fr;
    grid-template-rows: 25% 60% 15%;
    grid-gap: 0;
    height: 100%;
    /* border:1px solid blue; */
}

@media screen and (max-width: 800px) {
    .gurus-quote .container {
        display: grid;
        grid-template-rows: 1fr 2fr 1fr;
        grid-template-rows: 18% 67% 15%;
        grid-gap: 0;
        height: 100%;
        /* border:1px solid white; */
    }
}


.gurus-quote .split {
    max-width: 1110px;
    /* margin: auto; */
    margin-left: auto;
    margin-right: auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-columns: 60% 40%;
    grid-template-columns: none;
    grid-gap: 2rem;
    align-items: center;
    /* padding: 60px;     */
    position: relative;
    /* border:1px solid red; */
}

@media screen and (max-width: 800px) {
    .gurus-quote.container {
        width: 90vw;
        margin: auto;
        /* border: 5px solid red; */
    }
    .gurus-quote .split {
        /* grid-template-columns: none; */
    }
}

.gurus-quote .butterfly {
    width: 50px;
    height: 50px;
    position: absolute;
    left: 0;
    z-index: 1;
    background-image: url("../images/flying-butterfly.svg");
    background-repeat: no-repeat;
    /* background-position: top center; */
    background-size: auto 100%;
    will-change: background-position;
    animation-name: flap-butterfly, fly01;
    animation-duration: .7s, 2s;
    animation-delay: -0.5s;
    animation-timing-function: steps(14), ease-in-out;
    animation-iteration-count: infinite;
    top: 40%;
    left: 56%;
    transform: rotateY(180deg);
    /* border: 1px solid red; */
}

/* Shadow of the butterfly */
.gurus-quote .floating::after {
    content: "";
    width: 15px;
    height: 3px;
    background: #000000;
    opacity: 0.2;
    border-radius: 50%;
    position: absolute;
    left: 0;
    z-index: -1;
    z-index: 10;
    animation-name: fly02;
    animation-duration: 20s;
    animation-delay: -0.5s;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
    top: 22%;
    left: 17%;
}

/* butterfly */
.gurus-quote .floating::before {
    content: "";
    width: 50px;
    height: 50px;
    position: absolute;
    left: 0;
    z-index: 1;
    background-image: url("../images/flying-butterfly.svg");
    background-size: auto 100%;
    will-change: background-position;
    animation-name: flap-butterfly, fly01;
    animation-duration: .7s, 20s;
    animation-delay: -0.5s;
    animation-timing-function: steps(14), ease-in-out;
    animation-iteration-count: infinite;
    top: 22%;
    left: 15%;
    /* top: 64%;
    left: 65%; */
    transform: rotateY(180deg);
}

@keyframes flap-butterfly {
    100% {
        background-position: -700px 0;
    }
}

@keyframes fly01 {
    0% {
        transform: translate(0, -20px) rotateY(190deg);
    }
    10% {
        transform: translate(0, -0px) rotateY(190deg);
    }
    20% {
        transform: translate(0, -30px) rotateY(190deg);
    }
    30% {
        transform: translate(0, -10px) rotateY(190deg);
        top: 19%;
        left: 88%;
        left: 77%;
        z-index: 1;
    }
    35% {
        transform: rotateY(0deg);
    }
    40% {
        transform: translate(0, -20px) rotateY(0deg);
    }
    50% {
        transform: translate(0, -0px) rotateY(0deg);
        top: 19%;
        left: 88%;
        top: 84%;
        left: 65%;
        z-index: 10;
    }
    55% {
        transform: translate(0, -20px) rotateY(0deg);
    }
    70% {
        transform: translate(0, -0px) rotateY(0deg);
    }
    80% {
        transform: translate(0, -30px) rotateY(0deg);
        top: 40%;
        left: 56%;
        top: 22%;
        left: 15%;
    }
    95% {
        transform: translate(0, -10px) rotateY(0deg);
    }
    100% {
        transform: translate(0, -20px) rotateY(180deg);
        top: 40%;
        left: 56%;
        top: 22%;
        left: 15%;
    }
}

@keyframes fly02 {
    0% {
        transform: translate(0, -0px);
        top: 72%;
        left: 17%;
        z-index: 0;
    }
    10% {
        transform: translate(0, -0px);
    }
    20% {
        transform: translate(0, -0px);
    }
    30% {
        transform: translate(0, -0px);
        top: 60%;
        left: 79%;
        z-index: 1;
    }
    35% {
        /* transform: rotateY(0deg); */
    }
    40% {
        transform: translate(0, -0px);
    }
    50% {
        transform: translate(0, -0px);
        top: 100%;
        left: 67%;
        z-index: 0;
    }
    55% {
        transform: translate(0, -0px);
    }
    70% {
        transform: translate(0, -0px);
    }
    80% {
        transform: translate(0, -0px);
        top: 72%;
        left: 17%;
    }
    95% {
        transform: translate(0, -0px);
    }
    100% {
        transform: translate(0, -0px);
        top: 72%;
        left: 17%;
    }
}

@keyframes animationFrames {
    0% {
        transform: translate(-298px, -2px) rotate(0deg);
    }
    20% {
        transform: translate(-33px, -65px) rotate(-17deg);
    }
    40% {
        transform: translate(-17px, 4px) rotate(-35deg);
    }
    60% {
        transform: translate(80px, -65px) rotate(-32deg);
    }
    100% {
        transform: translate(200px, 0px) rotate(-21deg);
    }
}

.gurus-quote .quote {
    font-size: 1.5rem;
    font-style: italic;
    padding-left: 2.5vw;
    padding-right: 2.5vw;
}

@media screen and (max-width: 800px) {
    .gurus-quote .quote {
        font-size: 1.2rem;
        font-style: italic;
        padding-left: 2.5vw;
        padding-right: 2.5vw;
    }
}


.gurus-quote .quote::before, .gurus-quote .quote::after {
    content: '"';
}

.gurus-quote .floating {
    position: relative;
    /* height: 100%; */
    /* background-image: url("../images/clearing.svg"); */
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: contain;
    /* padding-top: 25%; */
    /* border: 1px solid red; */
}

@media screen and (max-width: 800px) {
    .gurus-quote .floating {
        /* top: 15vh; */
    }
}

.gurus-quote .our-guru {
    /* border: 1px solid red; */
    background-image: url("../images/guru2-opt.svg");
    background-repeat: no-repeat;
    background-position: center top;
    position: relative;
    /* smaller fork */
    height: 280px;
    /* top: 0;
    top: -15vh;
    top: -12vh; */
    top: -25px;
    animation: float 5s ease-in-out infinite;
    z-index: 5;
}

.gurus-quote .shadow {
    width: 150px;
    height: 5px;
    background: #000000;
    opacity: 0.2;
    border-radius: 100px / 5px;
    margin: auto;
    /* margin-top: 20px; */
    position: absolute;
    /* bottom: 100px; */
    
    /* top: 300px;
    top: 15vh; */
    /* bottom: 20%; */
    bottom:0;
    /* border: 1px sold red; */
    left: calc(50% - 75px);
    /* margin-top: 100px; */
    animation: grow-and-shrink 5s ease-in-out infinite;
}

@keyframes grow-and-shrink {
	0% {
		transform: scale(1,1);
	}
	50% {
		transform: scale(0.9,0.9);
	}
	100% {
		transform: scale(1,1);
	}
}


@media screen and (max-width: 800px) {
    .gurus-quote .shadow {
        /* top: 21vh; */
    }
}

.gurus-quote .stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: center;
    /* margin-top: 15vh; */
    padding-left: 2.5vw;
    padding-right: 2.5vw;
}

.gurus-quote .stats>div {
    /* height: 100px; */
    /* border: 1px solid #000000; */
}

.gurus-quote .star {
    width: 50px;
    height: 50px;
    background-image: url("../images/star-animation.svg");
    background-size: auto 100%;
    will-change: background-position;
    margin-left: auto;
    margin-right: auto;
    cursor: pointer;
}

/* .gurus-quote .star:hover {
    animation-delay: -0.5s;
    animation: flip .3s steps(9) both;
} */

.gurus-quote .star.flipped {
    background-position: -400px 0;
    /* Optionally, you can add a transform or other visual effect */
}
.gurus-quote .star.flipping {
    animation: flip .3s steps(9) both;
}
.gurus-quote .star.unflipping {
    animation: flip-reverse .3s steps(9) both;
}

@keyframes flip-reverse {
    0% {
        background-position: -450px 0;
    }
    100% {
        background-position: 0 0;
    }
}

@keyframes flip {
    50% {
        transform: scale(1);
    }
    100% {
        background-position: -450px 0;
    }
}

#gender {
    width: 50px;
    height: 50px;
    margin-left: auto;
    margin-right: auto;
    background-size: auto 100%;
    background-image: url("../images/gender-symbols.svg");
}

.gurus-quote .unisex {
    background-position: 100px 0
}

.gurus-quote .female {
    background-position: 0px 0
}

.gurus-quote .male {
    background-position: 50px 0
}

.gurus-quote .stats strong {
    font-size: 2rem;
    display: block;
}


/* *************************************************************************************************** */

.lifetime {
    background: #08be93;
    color: #fff;
    height: 100vh;
    min-height: 550px;
}

.lifetime h3 {
    padding-top: 60px;
    font-size: 2.2rem;
}

@media screen and (max-width: 800px) {
    .lifetime h3 {
        padding-top: 2.5vh;
    }
}

.lifetime p {
    padding-top: 20px;
    font-size: 1.25rem;
    display: block;
    width: 800px;
    margin: auto;
}

@media screen and (max-width: 800px) {
    .lifetime p {
        width: unset;
        padding-left: 2.5vw;
        padding-right: 2.5vw;
    }
}

.lifetime .input-name {
    margin-top: 3rem;
}

.lifetime .container {
    max-width: 1110px;
    margin: auto;
    text-align: center;
    align-self: center;
    /* height: 45vh;
    min-height: 400px; */
    height: 45%;
}

.lifetime .gimme-a-name {
    margin-left: auto;
    margin-right: auto;
}

.input-name label {
    text-shadow: none;
}


.lifetime .swiper-container {
    overflow: visible;
    height: 55%;
}

@media screen and (max-width: 800px) {
    .lifetime .swiper-container {
        overflow: hidden;
    }
}

.lifetime .swiper-wrapper {
    /* height: 55vh; */
}

.lifetime .swiper-slide {
    background-repeat: no-repeat;
    background-position-x: left;
    background-position-y: top;
    background-color: #85d3e6;
    background-size: auto 200%;
    text-align: center;
}

.lifetime .swiper-slide:nth-child(1) {
    background-image: url("../images/fridge-cl.svg");
    background-position-x: left;
}

/* .swiper-slide:nth-child(5) { background-image: url("../images/fridge-cr.svg"); background-position-x: right;} 
.swiper-slide:nth-child(6) { background-image: url("../images/fridge-cl.svg"); background-position-x: left;} */

.lifetime .swiper-slide:nth-child(5) {
    /* background-image: url("../images/fridge-cr.svg");
    background-position-x: right; */
}

@media screen and (max-width: 800px) {
    .lifetime .swiper-slide:nth-child(1) {
        background-image: url("../images/fridge-cl.svg");
        background-position-x: -150px;
    }
    .lifetime .swiper-slide:nth-child(10) {
        /* background-image: url("../images/fridge-cr.svg");
        background-position-x: 150px; */
    }
}

.fridge {
    border: 1px solid red;
    height: 200px;
    width: 100%;
    position: relative;
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
}

.fridge .container {
    position: relative;
}

.fridge .container>div {
    /* border: 1px solid blue; */
    height: 100%;
    width: 100%;
    flex-shrink: 0;
    text-align: center;
    scroll-snap-align: start;
}

.lifetime nav {
    background-color: inherit;
}

.lifetime .prev, .lifetime .next {
    position: absolute;
    width: 50px;
    height: 50px;
    top: calc(50% - 25px);
    background-image: url("../images/arrow-right.svg");
    /* background-image: url("data:image/svg+xml;base64,PHN2ZyBpZD0iTGF5ZXJfMSIgZGF0YS1uYW1lPSJMYXllciAxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA0OTIgNDA4LjY1Ij48ZGVmcz48c3R5bGU+LmNscy0xe2ZpbGw6I2ZmZjt9PC9zdHlsZT48L2RlZnM+PHRpdGxlPmFycm93LXJpZ2h0PC90aXRsZT48cGF0aCBjbGFzcz0iY2xzLTEiIGQ9Ik0yNy42NiwyODQuNThsLS43Ny0uMTdIMzU2LjExTDI1Mi42MiwzODguMTRhMjcuMTcsMjcuMTcsMCwwLDAsMCwzOC4yMWwxNi4xLDE2LjExYTI2LjkyLDI2LjkyLDAsMCwwLDM4LDBMNDg0LjE2LDI2NS4wOWEyNy4xNCwyNy4xNCwwLDAsMCwwLTM4LjE2TDMwNi43NCw0OS41MmEyNi45NCwyNi45NCwwLDAsMC0zOCwwbC0xNi4xLDE2LjExYTI2LjY1LDI2LjY1LDAsMCwwLTcuODUsMTksMjUuODUsMjUuODUsMCwwLDAsNy44NSwxOC42NWwxMDQuNjYsMTA0LjNoLTMzMEMxMi40NiwyMDcuNTksMCwyMjAuMzcsMCwyMzUuMTlWMjU4QzAsMjcyLjgsMTIuODMsMjg0LjU4LDI3LjY2LDI4NC41OFoiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDAgLTQxLjY3KSIvPjwvc3ZnPg=="); */
    background-repeat: no-repeat;
    background-position: center;
    opacity: .5;
}

.lifetime .prev:hover, .lifetime .next:hover {
    opacity: 1;
}

.lifetime .prev {
    left: 0;
    transform: rotateZ(180deg);
}

.lifetime .next {
    right: 0;
}

.lifetime .swiper-slide:nth-child(2)::before {
    content: " ";
    display: block;
    position: absolute;
    background-image: url("../images/fridge-jars.svg");
    background-repeat: no-repeat;
    width: 211px;
    height: 199px;
    top: -199px;
    left: 10%;
}

.lifetime .swiper-slide:nth-child(4)::before {
    content: " ";
    display: block;
    position: absolute;
    background-image: url("../images/fridge-plates.svg");
    background-repeat: no-repeat;
    width: 305px;
    height: 215px;
    top: -215px;
    right: 10%;
}

@media screen and (max-width: 800px) {
    .lifetime .swiper-slide:nth-child(2)::before {
        content: none;
    }
    .lifetime .swiper-slide:nth-child(4)::before {
        content: none;
    }
}

.baby-card-girl {
    /* border: 1px solid red; */
    /* height: 45vh;
    height: 80%;
    width: 80%; */
    margin-left: auto;
    margin-right: auto;
    /* top:15%;
    left:10%;
    left:100px;
    width: calc(100% - 100px); */
    position: relative;
    display: block;
    transform: rotate(9deg);
    background-image: url("../images/fridge-baby-girl.svg"), url("../images/fridge-magnet-melon.svg");
    background-repeat: no-repeat, no-repeat;
    background-position-x: center, 90%;
    background-position-y: top, center;
    background-size: contain, 10vh;
    text-align: center;
    font-family: 'Pacifico', cursive;
    color: #61120e;
    width: 649px;
    height: 368px;
    top: calc(50% - calc(368px / 2));
    left: 10%;
    transform: scale(1) rotate(5deg);
}

@media screen and (max-width: 800px) {
    .baby-card-girl {
        transform: scale(0.4) rotate(15deg);
        left: -15%;
    }
}

.baby-card-girl p {
    /* border: 1px solid red; */
    /* background-color: rgba(255,0,0,0.5); */
    display: block;
    position: absolute;
    margin: auto;
    padding: 0;
    left: 0;
    right: 0;
    top: 26%;
    left: -14.5%;
    width: 37%;
    font-size: 1.5em;
}

.baby-card-girl b {
    margin: 0;
    padding: 0;
    display: block;
    font-size: 1.5em;
}

.baby-card-boy {
    /* border: 1px solid red; */
    /* height: 45vh;
    height: 80%;
    width: 80%; */
    margin-left: auto;
    margin-right: auto;
    /* top:15%;
    left:10%;
    left:100px;
    width: calc(100% - 100px); */
    position: relative;
    display: block;
    transform: rotate(9deg);
    background-image: url("../images/fridge-baby-boy.svg"), url("../images/fridge-magnet-melon.svg");
    background-repeat: no-repeat, no-repeat;
    background-position-x: center, 90%;
    background-position-y: top, center;
    background-size: contain, 10vh;
    text-align: center;
    font-family: 'Pacifico', cursive;
    color: #61120e;
    width: 647px;
    height: 368px;
    top: calc(50% - calc(368px / 2));
    left: 10%;
    transform: scale(1) rotate(5deg);
}

@media screen and (max-width: 800px) {
    .baby-card-boy {
        transform: scale(0.4) rotate(15deg);
        left: -15%;
    }
}

.baby-card-boy p {
    /* border: 1px solid red; */
    /* background-color: rgba(255,0,0,0.5); */
    display: block;
    position: absolute;
    margin: auto;
    padding: 0;
    left: 0;
    right: 0;
    top: 29.6%;
    left: -14.5%;
    width: 37%;
    font-size: 1.5em;
}

.baby-card-boy b {
    margin: 0;
    padding: 0;
    display: block;
    font-size: 1.5em;
}

.swimming-girl, .swimming-boy {
    /* border: 1px solid red; */
    height: 45vh;
    height: 85%;
    margin-left: auto;
    margin-right: auto;
    top: 5%;
    width: calc(100%);
    position: relative;
    display: block;
    background-image: url("../images/swimming-girl.svg"), url("../images/fridge-magnet-star.svg");
    background-repeat: no-repeat, no-repeat;
    background-position-x: center, 90%;
    background-position-y: top, center;
    background-size: contain, 10vh;
    text-align: center;
    font-family: 'Pacifico', cursive;
    color: #61120e;
    position: relative;
    width: 492px;
    height: 386px;
    top: calc(50% - calc(386px / 2));
    transform: scale(1) rotate(-5deg);
}

@media screen and (max-width: 800px) {
    .swimming-girl, .swimming-boy {
        transform: rotate(-5deg) scale(0.6);
        margin-left: calc(calc(100vw - 492px) / 2);
        /* top: 0; */
    }
}

.swimming-boy {
    background-image: url("../images/swimming-boy.svg"), url("../images/fridge-magnet-star.svg");
}

.swimming-girl p, .swimming-boy p {
    /* border: 1px solid red; */
    display: block;
    position: absolute;
    margin: auto;
    padding: 0;
    left: 0;
    right: 0;
    top: 32%;
    left: -2.5%;
    width: 70%;
}

.swimming-girl p:nth-child(1), .swimming-boy p:nth-child(1) {
    top: 25.8%;
    font-size: 1.5em;
}

.swimming-girl p:nth-child(2), .swimming-boy p:nth-child(2) {
    top: 36%;
    font-family: 'Lato', sans-serif;
    line-height: initial;
    color: #44729d;
    font-size: 0.7em;
}

.swimming-girl p:nth-child(3), .swimming-boy p:nth-child(3) {
    top: 48%;
    left: -35.5%;
    width: 30%;
    font-size: 0.75em;
}

.student-girl, .student-boy {
    /* border: 1px solid red; */
    height: 45vh;
    height: 85%;
    margin-left: auto;
    margin-right: auto;
    top: 5%;
    width: calc(100%);
    position: relative;
    display: block;
    transform: rotate(-5deg);
    background-image: url("../images/student-girl.svg"), url("../images/fridge-magnet-rainbow.svg");
    background-repeat: no-repeat, no-repeat;
    background-position-x: center, 90%;
    background-position-y: top, center;
    background-size: contain, 10vh;
    text-align: center;
    font-family: 'Lato', sans-serif;
    color: #61120e;
    position: relative;
    width: 510px;
    height: 429px;
    top: calc(50% - calc(429px / 2));
    transform: scale(1) rotate(-5deg);
}

@media screen and (max-width: 800px) {
    .student-girl, .student-boy {
        transform: rotate(-5deg) scale(0.6);
        margin-left: calc(calc(100vw - 510px) / 2);
        /* top: -10%; */
    }
}

.student-boy {
    background-image: url("../images/student-boy.svg"), url("../images/fridge-magnet-rainbow.svg");
}

.student-girl p, .student-boy p {
    display: block;
    position: absolute;
    margin: auto;
    padding: 0;
    left: 0;
    right: 0;
    /* border:1px solid red; */
    text-align: left;
    line-height: initial;
}

/* card title */

.student-girl p:nth-child(1), .student-boy p:nth-child(1) {
    top: 48%;
    left: 31%;
    width: 60%;
    font-size: 1.3em;
    color: #fff;
    text-align: center;
}

/* name */

.student-girl p:nth-child(2), .student-boy p:nth-child(2) {
    top: 64%;
    left: 41%;
    width: 32%;
    color: #000;
    font-size: 0.75em;
    font-weight: bold;
}

/* Date of birth */

.student-girl p:nth-child(3), .student-boy p:nth-child(3) {
    top: 71.65%;
    left: 32%;
    width: 15%;
    color: #222;
    font-size: 0.41em;
}

/* start date */

.student-girl p:nth-child(4), .student-boy p:nth-child(4) {
    top: 71.65%;
    left: 75%;
    width: 15%;
    color: #222;
    font-size: 0.41em;
}

/* Gender */

.student-girl p:nth-child(5), .student-boy p:nth-child(5) {
    top: 74.8%;
    left: 32%;
    width: 15%;
    color: #222;
    font-size: 0.41em;
}

/* Expiration date */

.student-girl p:nth-child(6), .student-boy p:nth-child(6) {
    top: 74.8%;
    left: 75%;
    width: 15%;
    color: #222;
    font-size: 0.41em;
}

/* Note */

.student-girl p:nth-child(7), .student-boy p:nth-child(7) {
    top: 35%;
    left: -65%;
    width: 30%;
    font-size: 2em;
    font-family: 'Just Another Hand', cursive;
    color: #61120e;
    text-align: center;
}

.newspaper-girl, .newspaper-boy {
    /* border: 1px solid red; */
    height: 45vh;
    height: 85%;
    margin-left: auto;
    margin-right: auto;
    top: 8%;
    width: calc(100%);
    position: relative;
    display: block;
    transform: rotate(5deg);
    background-image: url("../images/newspaper-girl.svg"), url("../images/fridge-magnet-apple.svg");
    background-repeat: no-repeat, no-repeat;
    background-position-x: center, 10%;
    background-position-y: top, center;
    background-size: contain, 10vh;
    text-align: center;
    font-family: 'Lato', sans-serif;
    color: #000;
    position: relative;
    width: 627px;
    height: 500px;
    top: calc(50% - calc(500px / 2));
    transform: scale(0.9) rotate(-5deg);
}

@media screen and (max-width: 800px) {
    .newspaper-girl, .newspaper-boy {
        margin: 0;
        padding: 0;
        top: 0;
        bottom: 0;
        /* border: 1px solid red; */
        transform: rotate(-5deg) scale(0.6);
        margin-left: calc(calc(100vw - 627px) / 2);
    }
}

.newspaper-boy {
    background-image: url("../images/newspaper-boy.svg"), url("../images/fridge-magnet-apple.svg");
}

.newspaper-girl p, .newspaper-boy p {
    /* border: 1px solid red; */
    display: block;
    position: absolute;
    margin: auto;
    padding: 0;
    line-height: initial;
}

/* Title */

.newspaper-girl p:nth-child(1), .newspaper-boy p:nth-child(1) {
    top: 12.9%;
    font-size: 2.3em;
    width: 91%;
    left: 5%;
    letter-spacing: 0.5em;
    color: #fff;
}

/* Publish date */

.newspaper-girl p:nth-child(2), .newspaper-boy p:nth-child(2) {
    top: 25.7%;
    font-size: 0.6em;
    width: 21%;
    left: 5%;
    color: #fff;
}

/* World */

.newspaper-girl p:nth-child(3), .newspaper-boy p:nth-child(3) {
    top: 41%;
    font-size: 2.6em;
    width: 37.5%;
    left: 58.5%;
    color: #fff;
}

/* Article */

.newspaper-girl p:nth-child(4), .newspaper-boy p:nth-child(4) {
    top: 54%;
    font-size: 0.93em;
    width: 37.2%;
    left: 58.9%;
    color: #ccc;
    font-weight: 100;
    text-align: justify;
    letter-spacing: 0.09em;
}

.newspaper-girl p:nth-child(4) strong, .newspaper-boy p:nth-child(4) strong {
    color: #fff;
}

/* Quote */

.newspaper-girl p:nth-child(5), .newspaper-boy p:nth-child(5) {
    top: 71%;
    font-size: 0.9em;
    width: 22.5%;
    left: 35.4%;
    color: #fff;
    font-style: italic;
}

.wedding-girl, .wedding-boy {
    /* border: 1px solid red; */
    height: 45vh;
    height: 85%;
    margin-left: auto;
    margin-right: auto;
    top: 5%;
    width: calc(100%);
    position: relative;
    display: block;
    transform: rotate(-5deg);
    background-image: url("../images/wedding-girl.svg"), url("../images/fridge-magnet-heart.svg");
    background-repeat: no-repeat, no-repeat;
    background-position-x: center, 15%;
    background-position-y: top, center;
    background-size: contain, 10vh;
    text-align: center;
    font-family: 'Pacifico', cursive;
    color: #000;
    position: relative;
    width: 500px;
    height: 512px;
    top: calc(50% - calc(512px / 2));
    transform: scale(0.9) rotate(-2deg);
}

@media screen and (max-width: 800px) {
    .wedding-girl, .wedding-boy {
        /* border: 1px solid red; */
        transform: rotate(-5deg) scale(0.6);
        margin-left: calc(calc(100vw - 500px) / 2);
    }
}

.wedding-boy {
    background-image: url("../images/wedding-boy.svg"), url("../images/fridge-magnet-heart.svg");
}

.wedding-girl p, .wedding-boy p {
    /* border: 1px solid red; */
    /* background-color: rgba(255,0,0,0.2); */
    display: block;
    position: absolute;
    margin: auto;
    padding: 0;
    left: 0;
    right: 0;
    top: 2%;
    left: -2.5vh;
    width: 40vh;
    width: 100%;
    left: 0vh;
    line-height: initial;
}

/* Title */

.wedding-girl p:nth-child(1), .wedding-boy p:nth-child(1) {
    top: 2.5%;
    font-size: 2.1em;
    color: #fff;
    font-weight: normal;
}

/* Save the Date */

.wedding-girl p:nth-child(2), .wedding-boy p:nth-child(2) {
    top: 48.9%;
    font-size: 1.3em;
    color: #fff;
    text-transform: uppercase;
    line-height: 1em;
    color: #998776;
}

.wedding-girl p:nth-child(2) span, .wedding-boy p:nth-child(2) span {
    display: block;
    font-size: 0.4em;
}

/* Date */

.wedding-girl p:nth-child(3), .wedding-boy p:nth-child(3) {
    top: 67.9%;
    font-size: 0.7em;
    color: #a1dcea;
    text-transform: uppercase;
    font-family: 'Lato', sans-serif;
    left: -19.4%;
    width: 12.0%;
}

/* Year */

.wedding-girl p:nth-child(4), .wedding-boy p:nth-child(4) {
    top: 67.9%;
    font-size: 0.7em;
    color: #a1dcea;
    text-transform: uppercase;
    font-family: 'Lato', sans-serif;
    left: 19%;
    width: 11.7%;
}

/* Getting married */

.wedding-girl p:nth-child(5), .wedding-boy p:nth-child(5) {
    top: 74.1%;
    font-size: 1.0em;
    text-transform: uppercase;
    font-family: 'Lato', sans-serif;
    line-height: 2em;
    color: #998776;
    width: 31.8%;
}

.wedding-girl p:nth-child(5) span, .wedding-boy p:nth-child(5) span {
    display: block;
    font-size: 1.7em;
    letter-spacing: 0.05em;
}

/* *************************************************************************************************** */

.pronunciation {
    height: 100vh;
    max-height: 1000px;
    min-height: 600px;
    background-color: #4aa3ce;
    /* border: 3px solid red; */
    color: #fff;
    position: relative;
    background-image: url("../images/star-burst.svg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.pronunciation .container {
    max-width: 1110px;
    margin: auto;
    text-align: center;
    align-self: center;
    height: 100%;
    padding-top: 10%;
    /* position: relative; */

    /* display: grid;
    grid-template-rows: 6fr 1fr 2fr;
    grid-gap: 0; */

    /* display: grid; 
    grid-template-columns: 1fr 1fr; 
    grid-template-rows: 1fr 1fr 1fr 1fr; 
    gap: 0px 0px; 
    grid-template-areas: 
    "grp-intro grp-guru"
    "grp-intro grp-guru"
    "grp-wave grp-wave"
    "grp-heads grp-heads";  */
}


.pronunciation .container .intro {
    max-width: 1110px;
    height: 75%;
    /* border: 2px solid blue; */
    /* margin: auto; */
    /* position: relative; */
    /* border: 1px solid red; */
    /* display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 1rem; */
}

/* @media screen and (max-width: 800px) {
    .pronunciation .container .intro {
        grid-template-columns: none;
    }
} */

.pronunciation .intro h3 {
    /* padding-top: 10%; */
}    

.pronunciation .intro .button {
    /* margin-bottom: 3%; */
    cursor: pointer;
}    


.pronunciation .intro>div {
    /* border: 2px solid green; */
    align-self: center;
    /* margin-top: 10%; */
}

.pronunciation .guru {
    /* border: 1px solid red; */
    /* margin: 20%; */
    height: 65%;
    padding-top: 10%;
    /* border: 1px solid #fff; */
}

@media screen and (max-width: 800px) {
    .pronunciation .guru {
        height: 45%;
    }
}

.pronunciation .guru img {
    width: 100%;
    height: 100%;
}

.pronunciation h3 {
    font-size: 2.2rem;
}

.pronunciation p {
    padding-top: 20px;
    font-size: 1.25rem;
    padding-left: 2.5vw;
    padding-right: 2.5vw;
}

.pronunciation a {
    color: #fff;
}

.pronunciation .listening {
    animation: float 5s ease-in-out infinite;
    /* border: 1px solid red; */
}
.pronunciation .speakers-container {
    /* border: 3px solid green; */
    height: 25%;
    /* padding-top: 10%; */

	left: 50%;
	margin-left: -50vw;
	margin-right: -50vw;
	max-width: 100vw;
	position: relative;
	right: 50%;
	width: 100vw;    
    
}

/* .pronunciation .swiper-wrapper {
}

@media screen and (max-width: 800px) {
    .pronunciation .swiper-wrapper {
        overflow: hidden;
    }
} */


.pronunciation .speakers-container {
    /* height: 55%; */
    width: 100vw;
    /* border: 5px solid red; */
}

@media screen and (max-width: 800px) {
    .pronunciation .speakers-container {
        /* height: 55%; */
        width: 100vw;
        /* border: 5px solid blue; */
    }
}

html, body {
  width: 100vw;
  max-width: 100vw;
  overflow-x: hidden;
}





.pronunciation .swiper-slide {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.pronunciation .swiper-slide a {
    /* border: 1px solid green; */
    /* width: 110px; */
    /* height: 110px; */
    display: block;
    padding-top: 110px;
    font-size: 0.9rem;
}

.pronunciation .girl, .pronunciation .boy {
    background-size: 100px 100px;
    background-position: top center;
    background-repeat: no-repeat;
    position: relative;
}

.pronunciation .speaker{
    cursor: pointer;
}
.pronunciation .speaker::after {
    content: "";
    background-image: url("../images/speaker-default.svg");
    background-size: 100px 100px;
    background-position: top center;
    background-repeat: no-repeat;
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    left: 0;
    top: 0;
}

.pronunciation .speaker:hover::after {
    background-image: url("../images/speaker-hover.svg");
}
.pronunciation .selected::after {
    content: "";
    background-image: url("../images/speaker-selected.svg");
    background-size: 100px 100px;
    background-position: top center;
    background-repeat: no-repeat;
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    left: 0;
    top: 0;
}

.pronunciation .swiper-slide:nth-of-type(1) .girl {
    background-image: url("../images/girl01.svg");
}

.pronunciation .swiper-slide:nth-of-type(2) .girl {
    background-image: url("../images/speaker-default.svg"), url("../images/girl02.svg");
}

.pronunciation .swiper-slide:nth-of-type(3) .girl {
    background-image: url("../images/girl03.svg");
}

.pronunciation .swiper-slide:nth-of-type(4) .girl {
    background-image: url("../images/girl04.svg");
}

.pronunciation .swiper-slide:nth-of-type(5) .girl {
    background-image: url("../images/girl05.svg");
}

.pronunciation .swiper-slide:nth-of-type(6) .girl {
    background-image: url("../images/girl06.svg");
}

.pronunciation .swiper-slide:nth-of-type(7) .girl {
    background-image: url("../images/girl07.svg");
}

.pronunciation .swiper-slide:nth-of-type(8) .girl {
    background-image: url("../images/girl08.svg");
}

.pronunciation .swiper-slide:nth-of-type(1) .boy {
    background-image: url("../images/boy01.svg");
}

.pronunciation .swiper-slide:nth-of-type(2) .boy {
    background-image: url("../images/boy02.svg");
}

.pronunciation .swiper-slide:nth-of-type(3) .boy {
    background-image: url("../images/boy03.svg");
}

.pronunciation .swiper-slide:nth-of-type(4) .boy {
    background-image: url("../images/boy04.svg");
}

.pronunciation .swiper-slide:nth-of-type(5) .boy {
    background-image: url("../images/boy05.svg");
}

.pronunciation .swiper-slide:nth-of-type(6) .boy {
    background-image: url("../images/boy06.svg");
}

.pronunciation .swiper-slide:nth-of-type(7) .boy {
    background-image: url("../images/boy07.svg");
}

.pronunciation .swiper-slide:nth-of-type(8) .boy {
    background-image: url("../images/boy08.svg");
}

/* *************************************************************************************************** */

.around-the-world {
    z-index: 99;
    /* background: red; */
    position: relative;
}

.nextone {
    background: #fff;
    transform: translate3d(0, 0, 99);
    z-index: 99;
    position: relative;
}


.button {
    display: inline-flex;
    background-color: #145369;
}

.button:hover {
    background-color: #eee;
    color: #145369;
}