@import url('https://fonts.googleapis.com/css2?family=Jost:wght@100..900&family=Outfit:wght@100..900&family=Quicksand:wght@300&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.min.css');

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

html {
    scroll-behavior: smooth;
    font-size: 18px;
}

body {
    font-family: 'Outfit', Arial, sans-serif;
    line-height: 1.3;
    max-width: 100%;
}

.title-text,
.testimonials-title,
.about-title {
    font-family: 'Jost', sans-serif;
}


.additional-title,
.additional-book-title {
    letter-spacing: 0.1em;
}

.title-text, .button {
    color: rgb(255, 255, 240);
}

.subtitle-text, .author-text {
    color: #fff;
}

.hero-wrapper {
    background-color: rgb(227, 171, 182);
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero {
    max-width: 100%;
    padding: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.title-text {
    max-width: 100%;
    font-size: clamp(2em, 16vw, 4em);
    font-weight: 900;
    letter-spacing: 0.17em;
    text-transform: uppercase;
    margin-top: 30px;
    text-align: center;
    border-radius: 10px;
    line-height: 1.2;
}

.section {
    background-color: #e3abb6;
    padding: 40px 20px;
    width: calc(100% - 40px);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.image-container {
    max-width: 500px;
    padding: 0 10px;
    margin: 0 auto;
}

img {
    width: 100%;
    height: auto;
    display: block;
}

.subtitle-text {
    font-size: 2em;
    margin-top: 10px;
}

.author-text {
    margin-top: 5px;
    color: rgb(255, 255, 240);
    font-kerning: none;
    font-size: 2.1em;
    font-weight: 700;
    text-align: center;
    text-transform: uppercase
}

.button-container {
    padding: 5px;
    margin-top: 1.2em;
    display: flex;
    gap: 1em;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 100%;
}

.button {
    background-color: #d4658f;
    border: 2px solid #000;
    width: min(45%, 200px);
    padding: 0.5em;
    font-size: 1em;
    font-weight: normal;
    text-decoration: underline;
    border-radius: 50px;
    text-align: center;
}

.additional-section-wrapper {
    background-color: #f6f6e9;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.additional-section {
    max-width: 500px;
    margin-top: 20px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    text-align: left;
}

.additional-book-title,
.additional-title {
    color: rgb(175, 127, 103);
    font-size: 3em;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 700;
}

.additional-title {
    font-size: 2.5em;
    margin-top: 50px;
}

.additional-button-container {
    margin-top: 2.5em;
    align-self: flex-end;
    text-align: right;
}

.additional-button {
    background-color: rgb(175, 127, 103);
    border: 2px solid #fff;
    color: #fff;
    padding: 0.9em 4.5em;
    font-size: 1em;
    font-weight: normal;
    text-decoration: underline;
    border-radius: 50px;
    margin: 20px 0;
    align-self: flex-end;
}

.additional-button:hover {
    background-color: #6e482b;
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2);
}

.additional-text-wrapper {
    padding-top: 80px;
}

.additional-text {
    font-size: 1em;
    color: #000;
    line-height: 1.3;
    margin: auto;
    max-width: 783px;
}

.additional-text:first-of-type {
    margin-bottom: 20px;
}

.testimonials-section-wrapper {
    background-color: #eedca8;
    width: 100%;
    padding: 40px 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.testimonials-section {
    max-width: 608px;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #052f32;
}

.testimonials-title {
    width: 100%;
    font-size: clamp(1rem, 9.3vw, 64px);
    font-weight: bold;
    color: #374045;
    text-align: left;
    margin-bottom: 20px;
    letter-spacing: 8px;
}

.testimonial {
    font-size: 1em;
    margin-bottom: 20px;
    max-width: 300px;
}

.testimonial-text {
    font-style: italic;
    padding-top: 10px;
}

.testimonial-icon {
    width: 2.2em;
    height: 2.2em;
    margin-bottom: 10px;
}

.testimonial-author {
    font-weight: bold;
    margin-top: 20px;
}

.testimonial-role {
    font-size: 0.9em;
}

.about-section-wrapper {
    background-color: #f2dd80;
    width: 100%;
    padding: 40px 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-section {
    max-width: 450px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    text-align: left;
}

.about-title {
    font-size: clamp(1em, 15vw, 3em);
    font-weight: bold;
    color: #fff;
    line-height: 1.15;
    letter-spacing: 0.1em;
}

.about-image-container {
    max-width: 100%;
    margin-top: 15px;
    display: flex;
    justify-content: right;
    width: 100%;
}

.about-image-right-container {
    width: 240px;
    height: 330px;
    overflow: hidden;
    position: relative;
    transform: rotate(10deg) translateX(-20%);
    max-width: 90vw;
    margin: 0 auto;
}

.about-image-right-container img {
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: bottom;
    transform: scale(1.45);
    transform-origin: bottom center;
    bottom: 0;
    max-width: 100%;
    position: relative;
}

.about-text {
    font-size: 1em;
    color: #000;
    line-height: 1.3;
    margin-top: 30px;
    letter-spacing: 0.02em;
}

.about-contact-button {
    text-align: right;
    margin-top: 30px;
}

.contact-button {
    margin-left: auto;
    background-color: #ed9556;
    color: #f5ecd9;
    border: 2px solid #f5ecd9;
    padding: 1.2em 2.5em;
    font-size: 0.8em;
    font-weight: normal;
    text-decoration: underline;
    border-radius: 50px;
    margin-top: 20px;
}

.contact-button:hover {
    background-color: #f2856d;
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2);
}

.right-side {
    max-width: 100%;
}

.about-image-left {
    width: 40%;
}

.about-image-right {
    width: 60%;
}

@media (min-width: 705px) {
    .testimonials {
        display: flex;
        flex-direction: row;
        max-width: 100%;
    }

    .testimonals-section {
        max-width: 100%;
    }

    .testimonial {
        padding: 10px;
    }
}

@media (min-width: 1095px) {
    .hero {
        flex-direction: row;
        width: 1100px;
    }

    .additional-section {
        width: 100%;
        display: flex;
        flex-direction: row;
        max-width: 1100px;
    }

    .additional-section>div {
        flex: 1;
        padding-left: 10px;
    }

    .additional-button-container {
        text-align: right;
    }

    .about-section {
        max-width: 1100px;
        flex-direction: row;
    }

    .about-section-right {
        min-width: 50%;
        display: flex;
        flex-direction: column;
        margin-top: auto;
        margin-left: 50px;

    }

    .testimonials-section {
        max-width: 1100px;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
    }

    .testimonials-title {
        text-align: left;
        margin-right: auto;
    }

    .testimonials {
        width: 1100px;
        display: flex;
        flex-direction: row;
        margin-left: auto;
        justify-content: flex-end;
    }

    .testimonial {
        margin-left: 20px;
    }
}