@import url('https://fonts.googleapis.com/css2?family=Carattere&family=Libre+Bodoni:wght@400;700&family=Tangerine&family=Tenor+Sans&display=swap');
:root {
 --primary: #050D18;
 --white: #ebe5d5;
}

* {
    margin: 0;
    padding: 0;
    border: 0;
    color: inherit;
    font-size: 1em;
    font-weight: normal;
    text-decoration: none;
    font-style: inherit;
    list-style-type: none;
}
body {
    font-family: 'Tenor Sans', sans-serif;
    color: var(--primary);
    background: var(--white);
}

.h1, .h2, .h3, .h4 {
    font-family: 'Libre Bodoni', serif;
}
.h2 {
    text-align: center;
    font-size: calc(3.2vw + 12px);
    text-transform: uppercase;
}
.h3 {
    font-family: 'Tangerine', cursive;
    font-size: 2em;
    padding-bottom: 15px;
}
.page {
    padding: 10vh 0;
    overflow-y: hidden;
}
.full-page {
    min-height: 100vh;
    z-index: 0;
    /* border-bottom: 1px solid black; */
    position: relative;
    background: var(--white);
    overflow-y: hidden;
}
.dark {
    color: var(--white);
    background: var(--primary);
}


.cta {
    background-color: transparent;
    border: 1px solid var(--white);
    color: var(--white);
    padding: 10px 20px;
    min-width: 260px;
}

.cta .icon {
    height: 16px;
    width: 16px;
    position: relative;
    top: 1px;
    left: -8px;
}

#header {
    background-color: var(--primary);
    color: var(--white);
    padding: 20px;
    position: fixed;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    top: 0;
    left: 0;
    width: calc(100vw - 40px);
    z-index: 9;
}
#header .h2 {
    font-size: 1rem;
    grid-column-end: span 5;

}
#header .h2 .icon {
    position: relative;
    top: 4px;
    left: 12px;
}

#header .times {
    grid-column-end: span 7;
}
#home {
    z-index: 10;
    display: flex;
    position: relative;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 10px;
    /* background-image: url(assets/illustration-tuina.png); */
    background-size: cover;
    overflow: hidden;
    min-height: 100vh;
    /* border-bottom: 1px solid red; */
}

#home .background {
    position: absolute;
    top: 0;
    left: 0;
    min-width: 100vw;
    min-height: 100vh;
    opacity: .4;
    z-index: 0;
}
#home * {
    z-index: 1;
}

#home .h1 {
    font-size: calc(4.2vw + 16px);
    text-transform: uppercase;
}

#home .cta {
    position: absolute;
    bottom: 140px;
    cursor: pointer;
    background-color: #ffffff00;
    transition: background-color .3s ease;
}
#home .cta:hover {
    background-color: #ffffff55;
    transition: background-color .3s ease;
}


#home .description {
    position: absolute;
    bottom: 200px;
}



#testimonies {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
}
#testimonies .testimonies {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 7vw;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 60px;
}
#testimonies .h2 .icon {
    display: block;
    height: 128px;
    width: 128px;
    margin: 0 auto 16px auto;
}



#contact {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
}
#contact .h2 {
    width: 100%
}
#contact .grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 60px;
    margin: 0 auto 8vh auto;
    padding: 0 60px;
    max-width: 1200px;
}
#contact .me {
    grid-column-end: span 4;
    background-color: var(--primary);
    border-radius: 5px;
    filter: grayscale();
    width: 100%;
    box-shadow: 3px 8px 20px #00000088;
}
#contact .contacts {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    gap: 20px;
    grid-column: span 8;
}
#contact .contact {
    padding: 20px;
    border: 1px solid #ddd;
}
#contact .label,
#contact .value {
    display: block;
}
#contact .label {
    font-weight: bold;
}
#contact .value {
    color: #888;
    font-size: .7em;
}




#ethic {
    display: flex;
    align-items: center;
    gap: 60px;
    margin: 0 auto;
    padding: 0 60px;
}
#ethic .h2 {
    width: 60vw;
}
#ethic .h2 .icon {
    display: block;
    height: 96px;
    width: 96px;
    margin: 0 auto;
}

#ethic .ethic {
    padding: 20px 0;
}

#massages, #skin-cares {
    display: block;
    flex-direction: column;
    justify-content: space-evenly;
    position: relative;
    min-height: 500px;
}
#massages .h2 {
    margin-bottom: 60px;
}
#massages .previous.button {
    z-index: 3;
    position: absolute;
    top: 50%;
    left: 50px;
    padding: 50px;
}
#massages .next.button {
    z-index: 3;
    position: absolute;
    top: 50%;
    right: 50px;
    padding: 50px;
}
.massage {
    display: grid;
    gap: 60px;
    position: absolute;
    grid-template-columns: repeat(12, 1fr);
    margin: 60px auto;
    padding: 0 60px;
    max-width: 900px;
    opacity: 0;
    transform: scale(.7);
    transition: all .5s ease;
}
/* #skin-cares .massages {
    position: relative;
    left: 0;
} */
#skin-cares .massage,
.massage.visible {
    opacity: 1;
    left: calc(50vw - 450px);
    transform: scale(1);
    transition: all .5s ease;
}
#skin-cares .massage {
    position: relative;
    left: 0;
    margin-bottom: 100px;
}
#skin-cares .massage:nth-child(2n) {
    direction: rtl;
}

#skin-cares .massage > * {
    direction: ltr;
}

#massages .massage .description li:before,
#skin-cares .massage .description li:before {
    content: '+';
    margin: 0 8px;
}
#massages .massage .description li,
#skin-cares .massage .description li {
    margin: 5px 0;
}
.massage.before {
    left: calc(50vw - 900px);
    transition: all .5s ease;
}
.massage.after {
    left: calc(50vw);
    transition: all .5s ease;
}
.massage .illustration {
    grid-column-end: span 4;
    width: 100%;
    height: 270px;
    border-radius: 50% 50% 0 0;
}
.massage .information {
    grid-column-end: span 8;
}
.massage .h3 {
    font-family: 'Tenor Sans', sans-serif;
    margin-bottom: 20px;
}
.massage p {
    margin: 20px 0;
}
.prices {
    display: flex;
    gap: 20px;
    margin-top: 60px;
}

.prices .price {
    font-size: .7em;
    border: 1px solid var(--primary);
    color: var(--primary);
    text-align: center;
    max-width: 120px !important;
    padding: 10px 20px;
}


.dark .prices .price {
    border: 1px solid var(--white);
    color: var(--white);
}


@media (max-width: 700px) {
    #testimonies.full-page,
    #ethic.full-page {
        padding-top: 40px;
    }
    #testimonies,
    #ethic {
        text-align: center;
    }
    #testimonies .h2 {
        margin-bottom: 20px;
    }
    #testimonies .testimonies {
        display: block;
    }
    #testimonies .testimonies .testimony {
        margin-bottom: 40px;
    }

    #ethic {
        display: flex;
        flex-direction: column;
    }
}

@media (max-width: 800px) { 

    #header .h2, 
    #header .times {
        grid-column-end: span 12;
        text-align: center;
    }

    ul.massages {
        min-height: 80vh
    }   
    li.massage {
        display: flex;
        justify-content: center;
        flex-direction: column;
        align-items: center;
        width: calc(100vw - 20px);
        margin: 0 auto;
        padding: 0 ;
        text-align: center;
    }
    .prices {
        text-align: center;
        justify-content: center;
    }
    li.massage.visible {
        left: 0;
    }
    .massage .illustration {
        max-width: 150px;
        width: inherit;
        height: inherit;
        border-radius: 10px;
        margin: 10px;
    }
    #massages .previous.button {
        left: 5px;
    }
    #massages .next.button {
        right: 5px;
    }

    #contact .grid {
        display: block;
        text-align: center;
    }
    #contact .h2 {
        margin-top: 40px;
    }
    #contact .me {
        max-width: 300px;
        margin: 40px auto;
    }
    
}

@media (max-width: 1400px) {
    #massages .previous.button,
    #massages .next.button {
        top: 58px;
        padding: 5px;
        border-radius: 5px;
        background-color: #cccccc33;
    }
}
