*,
*::before,
*::after {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

body {
    font-family: Jost, sans-serif;
    font-size: 1.08rem;
    background-color: hsl(210, 10%, 90%);
}

.container {
    max-width: 480px;
    width: 100%;
    padding: 0 1rem;
    margin: 0 auto;
}

.hero {
    padding: 3rem 0 4rem;
    background-color: hsl(212, 100%, 10%);
}


h1 {
    font-size: 2.5rem;
    font-family: "Cormorant Garamond" serif;
    font-weight: 700;
    letter-spacing: -2px;
    margin-bottom: 1.5rem;
    line-height: 1.3;
    max-width: 20ch;
    color: hsl(0, 0%, 95%);
}

h3 {
    font-size: 1.5rem;
    font-family: "Cormorant Garamond" serif;
    font-weight: 500;
    margin-bottom: 1rem;
    line-height: 1.4;
    max-width: 26ch;
}

h4 {
    font-size: 1.25rem;
    font-family: "Cormorant Garamond" serif;
    font-weight: bold;
    margin-bottom: 1rem;
    line-height: 1.6;
}

h3.small {
    font-size: 0.95rem;
    font-weight: 400;
}

h1 span {
    color: hsl(50, 90%, 60%);
}

p {
    line-height: 1.6;
    margin-bottom: 1rem;
    max-width: 60ch;
}

p.big {font-weight: bold;}


.hero p {
    color: hsl(0, 0%, 85%);
    max-width: 45ch;
}

.hero p.small {
    font-size: 0.95rem;
    color: hsl(50, 80%, 40%);
}

.hero .proofs {
    display: inline-block;}

.hero .proofs img {         
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
}

.hero .cta {
    margin-top: 2rem;
    background-color: hsla(50, 90%, 60%);
    padding: 1rem 2rem; 
    border-radius: 1rem;  
    text-align: center;
    max-width: 400px;
    margin-inline: auto;
}

.hero a {
    text-decoration: none;
    color: hsl(212, 100%, 10%);
    text-transform: uppercase;
}

.hero .book img {
    display: block;
    max-width: 200px;
    margin: 0 auto;
    margin-top: 2rem;
}

img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pain {
    padding: 4rem 0 3rem;
}

.pain h3 {
    text-transform: uppercase;
    margin-bottom: 2rem;
}

.author {
    padding: 4rem 0 3rem;
    background-color: hsl(210, 10%, 92%)
}

.author .aut {margin-bottom: 2rem;}

.author img {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
}

.features {
    padding: 2rem 0 4rem;
}

.features h3 {
    text-align: center;
    margin-top: -1rem;
}


.features .cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin: 2rem 0;
}

.features .up {
    background-color: hsl(50, 90%, 60%);
    text-align: center;
}

.features img, .action img {
    display: block;
    max-width: 250px;
    margin-inline: auto;
}
.up p {
    background-color: hsl(212, 100%, 5%);
    color: hsl(210, 10%, 95%);
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1.5rem;
    border-radius: 50%;
}

.down p {
    font-size: 0.95rem;
}

.one p.small {
    font-size: 0.95rem;
    color: hsl(212, 100%, 8%);
}

.one {
    padding: 4rem 0;
    background-color: hsl(210, 10%, 92%);
}

.one h3 {text-transform: uppercase;}

.one .images {
    overflow: hidden;
    margin-top: 2rem;
}

.one .tests {
    display: flex;
    gap: 1rem;
}

.one .test {
    flex: 0 0 calc(96% - 16px);
    background-color: hsl(50, 90%, 60%);
    display: flex;
    flex-direction: column;
    max-width: 400px;
    padding: 1.5rem 1rem;
    border-radius: 8px;
    border-top: 5px solid hsl(212, 100%, 50%);
}

.one .test.sec {background-color: hsl(50, 90%, 70%);}


.one .test p {margin-bottom: .5rem;}


.one .detail {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-top: 1rem;
}

.one .detail p {
    font-size: .95rem;
}

.one .detail img {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
}

.one .direction {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 1.25rem;
    padding: 0 1rem;
}

.dots {
    display: flex;
    gap: 6px;
    align-items: center;
}

.dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: hsl(212, 100%, 50%);
    transition: width 0.25s, background 0.25s;
}

.dot.active {
    width: 1.25rem;
    border-radius: 3px;
    background-color: hsl(50, 90%, 60%);
}

.btns {
    display: flex;
    gap: 0.5rem;
}

.btns .btn {
    width: 2.8rem;
    height: 2.8rem;
    border-radius: 50%;
    border: 0.5px solid hsl(212, 100%, 10%);
    background-color: hsl(210, 10%, 95%);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: hsl(212, 100%, 50%);
    font-size: 1.15rem;
    transition: border-color 0.2s, color 0.2s, transform 0.15s;
}

.btn:hover {
    border-color: hsl(212, 100%, 50%);
    color: hsl(212, 10%, 50%);
}

.btn:active {transform: scale(0.93);}

.btn:disabled {
    opacity: 0.3;
    cursor: default;
    pointer-events: none;
}

.num {
    color: hsl(212, 100%, 5%);
    font-weight: 800;
}

.five {padding: 4rem 0;}
.five h3 {
    font-weight: bold;}

.five span {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: hsl(212, 100%, 50%);
    font-weight: bold;
    color: hsl(0, 0%, 95%);
    font-size: 1.5rem;
    margin-bottom: .5rem;
}

.five .nego, .five .sell {padding: 2rem 0;}
.five .offers {
    margin-top: 2rem;
    border-top: 1px solid hsl(0, 0%, 36%);
    padding-top: 3rem;
}
.five .offer {
    background: hsl(50, 90%, 95%);
    padding: 2rem 1rem;
    border-radius: 8px;
    margin:2rem 0 1rem;
}

.offer img {
    display: block;
    margin-inline: auto;
    width: 120px;
    margin-bottom: 1rem;
}
.offer h4 {
    margin-bottom: .5rem;
    text-align: center;
}

.offer ul {padding: 1rem;}
.offer li {
    font-size: 1rem;
    line-height: 1.6;
}

.offer p.small {
    font-size: 0.95rem;
    font-weight: bold;
    text-align: center
}


.deal {
    padding: 4rem 0 3rem;
}

.guarantee h3 {
    color: hsl(50, 90%, 35%);
    margin-bottom: 2rem;
    text-align: center;
    margin-inline: auto;
}

.guarantee p {
    margin: 0 auto;
    text-align: center;
}

.act {
    padding: 4rem 0 1rem;
    background-color: hsl(212, 100%, 10%);
    color: hsl(0, 0%, 95%);
}

.act h3 {
    font-weight: bold;
    font-size: 1.8rem;
}

.act h3 span {
    font-size: 2rem;
    color: hsl(50, 90%, 60%);
}

.act h4 {
    font-size: 1.1rem;
}

.act .images {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    padding: 2rem;
    margin-bottom: 1rem;
}

.main div, .prod div, .total div {
    display: grid;
    grid-template-columns: 2fr 1fr;
    margin-bottom: -1rem;
}

p span.big {font-weight: bold;}
.act p.small {
    font-size: .85rem;
    color: hsl(0, 0%, 88%);
}
s.small {
    font-size: .9rem;
    color: hsl(0, 0%, 85%);
}

.bonus, .total {
    margin-top: 2rem;
    border-top: 1px solid hsl(210, 10%, 35%);
    padding-top: 1rem;
}

p.head {
    text-transform: uppercase;
    margin-bottom: .5rem;
    color: hsl(0, 0%, 80%);
}

.act .cta {
    background-color: hsl(50, 90%, 60%);
    margin: 2rem auto;
    border-radius: 1rem;
    text-align: center;
    padding: 1rem 2rem;
}

.act a {
    text-decoration: none;
    color: hsl(0, 0%, 9%);
}

footer {
    padding: 1rem 0 5px;
    background-color: hsl(210, 10%, 5%);
    color: hsl(210, 10%, 80%);
}

footer p {
    text-align: center;
    margin-inline: auto;
}

.cta:hover {
    animation: beat 2s infinite ease;
}
.test i {color: hsl(212, 100%, 40%);}

.guarantee i {
    color: hsl(212, 10%, 5%);
    font-size: 3rem;
    display: block;
    margin-bottom: 1rem;
}

@keyframes beat {
    0% {transform: scaleX(0.85);}
    50% {transform: scaleX(1);}
    100% {transform: scaleX(0.85);}
}

@media (min-width: 768px) {
    .container {max-width: 768px;}

    .hero {
        position: relative;
        overflow: hidden;
    }
    .hero .book img {
        position: absolute;
        top: 0;
        right: 1rem;
        margin-top: 5rem;
        max-width: 250px;
        max-height: 400px;
    }
    .hero .cta {
        margin-inline: 0;
    }
    .one .test {
        flex: 0 0 calc(50% - 16px);
    }

    .five .offering {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .offer img {max-height: 130px;}

    .act .container {
        max-width: 600px;
        border: 1px solid hsl(50, 90%, 40%);
        padding-block: 2rem 1rem;
        margin-bottom: 3rem;
    }
}

@media (min-width: 1024px) {
    .container {
        max-width: 1024px;
    }
    .hero .book img {right: 8rem;}
}



