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

/*
2. Remove default margin
*/
* {
    margin: 0;
}

/*
3. Allow percentage-based heights in the application
*/
html, body {
    height: 100%;
}

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

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

/*
7. Remove built-in form typography styles
*/
input, button, textarea, select {
    font: inherit;
}

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

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

body {
    background: #D9D9D9;
    color: #1B2127;
    font-family: Noto Sans;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0em;
}

.container {
    max-width: 1200px;
    width: 100%;
    margin: auto;
}

header {
    position: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 20px 0;
    z-index: 10;
}

header {
    background: rgba(255, 255, 255, 0.18);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

header .logo img {
    width: 100px;
}

.btn {
    background: #7B8691;
    border-radius: 20px;
    border: 0;
    box-sizing: border-box;
    padding: 8px 16px;
    color: #FFFFFF;
    cursor: pointer;
    display: inline-block;
    padding: 20px;
    text-decoration: none;
    font-weight: bold;
}

.btn-secondary {
    background: #EEB756;
}

.btn-pulse { }

.btn-pulse:hover {
    animation: pulse 1s infinite;
    transition: .3s;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    70% {
        transform: scale(.9);
    }
    100% {
        transform: scale(1);
    }
}

.btn-link {
    color: #1b2127;
    text-decoration: none;
}

.btn-link:hover {
    text-decoration: underline;
}

.btn-cart {
    background-repeat: no-repeat;
    background-size: 20px;
    background-position: 20px;
    padding-left: 50px;
    background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNiAxNiI+PGcgZmlsbD0iI2ZmZmZmZiIgY2xhc3M9Im5jLWljb24td3JhcHBlciI+PHBhdGggZD0iTTE1LDNINC41bC0uNS0yLjJjLS4xLS41LS41LS44LTEtLjhIMUMuNDQ4LDAsMCwuNDQ4LDAsMUgwYzAsLjU1MiwuNDQ4LDEsMSwxaDEuMmwxLjgsOC4yYy4xLC41LC41LC44LDEsLjhIMTNjLjQsMCwuOC0uMywuOS0uN2wyLTZjLjItLjUtLjEtMS4zLS45LTEuM1oiIGZpbGw9IiNmZmZmZmYiPjwvcGF0aD48Y2lyY2xlIGRhdGEtY29sb3I9ImNvbG9yLTIiIGN4PSI1IiBjeT0iMTQiIHI9IjIiPjwvY2lyY2xlPjxjaXJjbGUgZGF0YS1jb2xvcj0iY29sb3ItMiIgY3g9IjEzIiBjeT0iMTQiIHI9IjIiPjwvY2lyY2xlPjwvZz48L3N2Zz4=")
}

.hero-banner {
    padding-top: 160px;
    background: #f8f0ed;
    display: flex;
    position: relative;
    border-bottom: 20px solid #7b8691;
}

.hero-banner:before {
    content: '';
    display: block;
    height: 360px;
    width: 100%;
    position: absolute;
    top: 90px;
    background: rgb(248,240,237);
    background: linear-gradient(0deg, rgba(248,240,237,0) 0%, rgba(248,240,237,1) 100%);
}

.hero-banner .container {
    width: 100%;
    position: absolute;
}

.hero-banner__overlay {
    position: relative;
    top: -60px;
    height: 240px;
    width: 330px;
    margin: auto;
    left: 0;
    right: 0;
    bottom: auto;
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-content: flex-start;
}

.hero-banner__overlay h1 {
    margin-bottom: 10px;
    font-weight: 300;
    font-size: 26px;
    line-height: 36px;
}

.hero-banner__overlay .btn {
    margin-top: 20px;
}

.section {
    text-align: center;
}

.section p {
    margin-bottom: 20px;
}

.section h2 {
    margin-bottom: 20px;
    line-height: 30px;
}

.section-one .section-right {
    padding: 40px;
}

.section-two {
    background: #7B8691;
    color: #FFF;
    font-weight: 300;
}

.section-two .section-left {
    padding: 40px;
}

.section-two .subtitle {
    font-size: 18px;
}

.section-reviews {
    padding: 40px 0 40px;
}

.section-reviews h2 {
    padding: 0 50px;
    margin-bottom: 40px;
    margin-top: 10px;
}

.reviews {
    justify-content: space-between;
    align-items: center;
    align-content: center;
    flex-wrap: nowrap;
    display: flex;
    overflow: auto;
    white-space: nowrap;
    padding: 0 20px;
}

.review-item {
    margin-right: 20px;
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    justify-content: center;
}

.review-item img {
    border-radius: 20px;
    filter: drop-shadow(8px 8px 0px #7B8691);
    margin-bottom: 20px;
    width: 300px;
    max-width: none;
}

.review-item__content {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
}

.review-item p {
    white-space: initial;
    margin-top: 15px;
}

.review-item__content span {
    display: block;
    width: 100%;
}

.review-item__content p {
    font-weight: 300;
    font-size: 12px;
    line-height: 14px;
    padding: 0 0 50px 0;
    margin: 10px 0 0 0;
}

.review-item__title {
    font-weight: 700;
}

.section-three .section-right {
    padding: 40px;
}

.section-video .container {
    margin-top: 0 !important;
    padding: 20px 20px 0;
}

.section-author .container {
    display: flex;
    flex-wrap: wrap;
}

.section-author .container .section-right {
    order: 1;
}

.section-lectio {
    background: #7B8691;
    color: #FFF;
    padding: 80px 40px 60px;
}

.section-lectio .container {
    max-width: 700px;
    text-align: center;
}

.section-lectio h2 {
    margin-bottom: 20px;
}

.section-lectio p {
    margin-bottom: 20px;
}

.section-price {
    padding: 40px 20px;
    background: #f8f0ed;
    text-align: center;
}

.section-price h2 {
    width: 200px;
    margin: 0 auto 40px;
}

.section-price h3 {
    margin-bottom: 10px;
    font-size: 22px;
    margin-top: 10px;
}

.section-price ul {
    margin-bottom: 20px;
}

.section-price ul li {
    margin-bottom: 5px;
}

.section-price__card {
    background: #7B8691;
    padding: 20px;
    border-radius: 20px;
    width: 320px;
    color: #fff;
    margin: auto;
}

.section-price__card-price {
    font-size: 40px;
    line-height: 40px;
}

.section-price__card-price + ul {
    margin-bottom: 20px;
    font-size: 14px;
    margin-top: 10px;
}

.section-price__card-price .old-price {
    font-size: 20px;
    line-height: 20px;
    text-decoration: line-through;
    color: #fff;
    opacity: 0.5;
}

.section-price__card-price .current-price {
    font-size: 40px;
    line-height: 40px;
    color: #fff;
    font-weight: bold;
}

.section-hero-video .embed-container {
    border-bottom: 20px solid #7b8691;
}

.section-hero-video__text {
    padding: 40px;
}

.section-lectio__cards {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.section-lectio .container .btn {
    margin-top: 20px;
}

.section-lectio__cards p {
    margin: 0;
}

.section-lectio__cards li {
    width: 100%;
    padding: 20px;
    background: #58626d;
    border-radius: 20px;
}

.section-lectio__cards li  strong {
    display: block;
    margin-bottom: 10px;
    font-size: 20px;
}

footer {
    background: #7B8691;
    text-align: center;
    padding: 60px 0;
}

footer .logo {
    display: block;
    margin: auto;
}

footer .logo img {
    width: 100px;
    display: block;
    margin: auto;
}

@media screen and (min-width: 600px) {

    .hero-banner {
        padding-top: 0;
    }

    .hero-banner:before {
        top: 0;
    }

    .hero-banner__overlay {
        top: 120px;
    }
    
    .section-one {
        display: flex;
        justify-content: center;
        align-items: center;
        max-width: 720px;
        margin: auto;
    }
    
    .section-one .container {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .section-one .section-left {
        width: 35%;
        padding-left: 20px;
    }

    .section-one .section-right {
        width: 65%;
    }

    .section-one img {
        border-radius: 20px;
        filter: drop-shadow(10px 10px 0px #7B8691);
    }

    .section-two .section-left {
        max-width: 510px;
        margin: auto;
    }

    .section-video .container {
        margin-top: 40px !important;
        padding: 0px 20px 0;
    }

    .section-author {
        margin-top: 60px;
    }

    .section-author .container {
        display: flex !important;
        flex-wrap: wrap !important;
    }

    .section-author .container .section-left {
        width: 80%;
        max-width: 600px;
    }
    
    .section-author .container .section-right {
        max-width: 600px;
        width: 80%;
    }

    .section-price h2 {
        width: 400px;
        margin: 0 auto 40px;
    }

    .section-lectio__cards li {
        width: calc( 50% - 10px);
    }

    .section-price__card {
        width: 400px;
    }
}

@media screen and (min-width: 800px) {

    .hero-banner {
        padding-top: 80px;
    }

    .hero-banner__overlay {
        right: auto;
        left: 70px;
        top: 0;
        text-align: left;
        justify-content: flex-start;
        margin: 0;
    }

    .section-three {
        display: flex;
        align-items: center;
        padding-bottom: 40px;
    }

    .section-three .container {
        display: flex;
        align-items: center;
    }

    .section-three img {
        border-radius: 20px;
    }

    .section-three .section-left {
        width: 40%;
        padding-left: 20px;
    }

    .section-three .section-right {
        width: 60%;
    }

    .section-author {
        margin-top: 40px;
    }

    .section-author .container .section-left {
        max-width: 900px;
        width: 100%;
    }
    
    .section-author .container .section-right {
        max-width: 900px;
        width: 100%;
        margin-left: 0;
        margin-right: 0;
        padding-left: 0;
        padding-right: 0;
    }

    .section-author .container .section-right p {
        max-width: none;
        margin-left: 0;
        margin-right: 0;
        padding-left: 0;
        padding-right: 0;
    }

    .section-hero-video__background-container {
        background: #7b8691;
        height: 270px;
    }

    .section-hero-video__video-container {
        max-width: 650px;
        margin: auto;
    }

    .section-hero-video .embed-container {
        border: 0;
        position: relative;
        top: 20px;
    }

    .section-hero-video__text {
        padding-top: 160px;
        max-width: 670px;
        margin: auto;
    }
}

@media screen and (min-width: 900px) {

    .hero-banner__overlay  {
        margin: 30px 0 0 0;
    }

    .section-one {
        max-width: 860px;
        padding: 40px 0;
    }

    .section-one .section-right {
        padding: 80px;
    }

    .section-two {
        padding: 0;
        display: flex;
        align-items: center;
    }

    .section-two .section-left {
        width: 55%;
    }

    .section-two .section-right {
        width: 45%;
    }

    .section-lectio {
        margin-top: 40px;
    }

    .section-lectio .container {
        max-width: 1200px;
    }

    .section-lectio .container > p {
        max-width: 700px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .section-lectio__cards {
        flex-wrap: nowrap;
        margin-top: 40px;
        margin-bottom: 40px;
    }

    .section-hero-video__video-container {
        max-width: 760px;
    }

    .section-hero-video .embed-container {
        top: 40px;
    }

    .section-hero-video__text {
        max-width: 840px;
        padding-top: 240px;
    }
}

@media screen and (min-width: 1000px) {

    .hero-banner .container {
        position: absolute;
        left: 0;
        right: 0;
        top: 140px;
    }

    .hero-banner__overlay {
        width: 550px;
        margin-top: -40px;
    }

    .hero-banner__overlay h1 {
        font-size: 40px;
        line-height: 44px;
        margin-bottom: 20px;
    }

    .hero-banner__overlay span {
        font-weight: 300;
        display: block;
        width: 100%;
        font-size: 20px;
        margin-bottom: 20px;
    }

    .section-one {
        max-width: 100%;
        padding: 80px 0;
    }

    .section-one p {
        font-size: 22px;
        line-height: 30px;
        max-width: 550px;
        margin-left: auto;
        margin-right: auto;
    }

    .section-one .btn {
        margin-top: 20px;
    }

    .section-two h2 {
        font-size: 28px;
        line-height: 36px;
    }

    .section-two .section-left {
        width: 50%;
    }

    .section-two .section-right {
        width: 50%;
    }

    .section-reviews {
        padding: 80px 0 40px;
    }

    .section-reviews h2 {
        margin-bottom: 60px;
        font-size: 28px;
        line-height: 36px;
    }

    .reviews {
        padding-left: 60px;
        flex-wrap: wrap;
        max-width: 1300px;
        margin: auto;
        overflow: hidden;
    }

    .review-item {
        margin-right: 30px;
        width: calc( (100% / 3) - 60px);
    }

    .section-three  h2 {
        font-size: 34px;
        line-height: 42px;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 30px;
    }

    .section-three .section-left {
        width: 50%;
    }

    .section-three .section-right {
        width: 50%;
    }

    .section-lectio {
        margin-top: 60px;
    }

    .section-video {
        margin-top: 80px;
    }

    .section-author {
        padding-bottom: 0;
    }

    .section-price {
        padding-top: 80px;
        padding-bottom: 80px;
    }

    .section-price h2 {
        width: auto;
        font-size: 34px;
        line-height: 42px;
    }
}

@media screen and (min-width: 1200px) {

    .hero-banner {
        align-items: center;
        justify-content: center;
        display: flex;
        align-content: center;
    }

    .hero-banner__overlay h1 {
        padding-top: 60px;
    }

    .reviews {
        max-width: 1250px;
    }

    .review-item img {
        width: 360px;
    }

    .section-hero-video__background-container {
        height: 400px;
    }

    .section-hero-video__video-container {
        max-width: 900px;
    }

    .section-hero-video .embed-container {
        top: 60px;
    }

    .section-hero-video__text {
        padding-top: 220px;
    }
}
