@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,300;0,400;0,700;1,300;1,400&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;1,400;1,600&family=Roboto:ital,wght@0,300;0,400;0,700;1,300;1,400&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Tangerine:wght@400;700&display=swap');

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

body {
    font-family: 'Roboto', sans-serif;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 400;
    font-family: 'Playfair Display', serif;
}

:root {
    --primary: #732121;
    --secondary: #FFF9F4;
    --tertiary: #DA4532;
    --gray: rgb(81, 81, 81);
    --lightgray: #707070;
}

a {
    text-decoration: none;
    color: var(--primary);
}

a:hover {
    text-decoration: underline;
}

a:active {
    color: #000;
}

a:visited {
    color: var(--primary);
}

.container {
    width: 100%;
    min-height: 95vh;
    display: flex;
    flex-wrap: wrap;
    background-color: var(--secondary);
    padding: 3rem 0rem 2rem 0rem;
}

.bookWrapper {
    width: 33.3%;
    display: flex;
    flex-direction: column;
    padding: 2rem 0rem 2rem 0rem;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    line-height: 32px;
}

.bookWrapper img {
    height: 360px;
    width: auto;
    object-fit: contain;
}

.bookWrapper .title {
    text-align: center;
    font-size: 18px;
    font-family: 'Roboto', sans-serif;
    color: #000;
    margin-top: 2rem;
}

.bookWrapper .year {
    text-align: center;
    font-family: 'Roboto', sans-serif;
    color: #414141;
    font-weight: 300;
}

.home {
    width: 100%;
    min-height: 90vh;
    display: flex;
    flex-direction: row;
    padding: 4rem;
    background-color: var(--secondary);
    justify-content: center;
    align-items: center;
}

.home .image {
    padding: 4rem;
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Removed conflicting image rule */

.home .text {
    padding: 4rem;
    width: 50%;
}

footer {
    width: 100vw;
    padding: 2rem;
    background-color: var(--secondary);
    color: var(--primary);
}

footer p {
    width: 100%;
    padding: 1rem;
    border-top: 1px solid var(--primary);
}

.aboutContainer {
    width: 100vw;
    min-height: 80vh;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 3rem 5rem 3rem 5rem;
    background-color: var(--secondary);
}

.aboutImage {
    width: 30%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.aboutImage figure img {
    height: 300px;
    margin-bottom: 1rem;
}

.aboutImage figcaption {
    font-weight: 300;
    color: var(--lightgray);
}

.aboutText {
    width: 60%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0rem 2rem 0rem 2rem;
    line-height: 30px;
    font-weight: 300;
}

.aboutText h1 {
    color: var(--primary);
    line-height: 40px;
}

.aboutText h4 {
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    color: var(--primary);
    margin-top: .5rem;
}

.aboutText p {
    margin-top: 1rem;
}
.quote {
    color: var(--primary);
    padding-top: 1rem;
    font-style: italic;
    margin: 0rem 2rem;
    display: flex;
    flex-direction: column;
}
.quote span {
    margin: .5rem 1rem;
    font-size: 14px;
    line-height: 24px;
    font-weight: 300;
    font-style: normal;
    color: #000;
}
@media screen and (max-width: 768px) {
    .container {
        padding: 0;
    }

    .bookWrapper {
        width: 50%;
    }

    .bookWrapper img {
        height: 240px;
    }

    .title {
        font-size: 14px;
        line-height: 24px;
    }

    .year {
        font-size: 14px;
    }

    .aboutContainer {
        flex-direction: column;
        width: 100vw;
        padding: 1rem;
        height: auto;
    }

    .aboutImage {
        width: 100%;
    }

    .aboutImage figure img {
        height: 300px;
    }

    .aboutText {
        width: 100%;
        padding: 1rem;
    }
    .quote {
        margin: 0rem;
    }
}nav {
    background-color: var(--secondary);
    width: 100vw;
    font-size: 22px;
    width: 100vw;
    display: flex;
    flex-direction: row;
    align-items: center;
    height: 80px;
    font-family: 'Playfair Display', serif;
    padding: 4rem;
}

.name {
    height: 80px;
    font-family: 'Tangerine', serif;
    font-size: 62px;
    width: 700px;
    font-weight: 700;
    display: flex;
    align-items: center;
    padding-bottom: .75rem;
}

nav div:nth-child(2) {
    width: 100%;
    display: flex;
    flex-direction: row;
    padding-left: 2rem;
}

.name a:hover {
    text-decoration: none;
}

.menu {
    font-weight: 300;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    width: 100%;
    align-items: center;
    background-color: var(--secondary);
}

nav div h2 {
    font-weight: 300;
    color: var(--primary);
    width: 300px;
}

.menu li {
    letter-spacing: .5px;
    list-style: none;
    margin: 0rem 1rem 0rem 0rem;
    padding: 0;
}

.menu li:last-child {
    width: 100%;
    text-align: right;
    margin: 0;
}

.newsletterButton {
    font-family: 'Playfair Display', serif;
    background: transparent;
    color: var(--tertiary);
    outline: 1.5px solid var(--tertiary);
    padding: .1rem 1.5rem .2rem 1.5rem;
    border-radius: 40px;
    font-weight: 300;
    font-size: 18px;
    border: none;
    cursor: pointer;
}

.newsletterButton:hover {
    background-color: var(--tertiary);
    color: var(--secondary);
}

.hamburger {
    display: none;
    cursor: pointer;
    width: 30px;
    height: 30px;
    position: absolute;
    top: 25px;
    right: 20px;
}

.hamburger span {
    display: none;
    height: 3px;
    min-width: 25px;
    margin-bottom: 5px;
    background-color: var(--primary);
}

#menu-toggle {
    display: none;
}

@media screen and (max-width: 800px) {
    .name {
        width: 100%;
        font-size: 42px;
    }

    .hamburger {
        display: block;
    }

    .hamburger span {
        display: block;
    }

    .menu {
        position: absolute;
        left: 0;
        top: 30px;
        width: 100vw;
        height: 0;
        overflow: hidden;
        transition: height 0ms;
        margin-top: 4rem;
        flex-direction: column;
        font-size: 24px;
        align-items: center;
    }

    .menu li:last-child {
        margin-top: 2rem;
        text-align: center;
    }

    #menu-toggle:checked~.menu {
        position: absolute;
        transition: height 0ms;
        height: 100vh;
        width: 100vw;
        display: flex;
    }

    #menu-toggle:checked~.menu li {
        height: min-content;
        transition: height 0ms;
    }

    nav {
        width: 100vw;
        font-size: 18px;
        padding: 1rem;
        flex-direction: column;
    }

    nav ul li h2 {
        font-size: 26px;
        width: 100%;
        margin-bottom: 1rem;
    }

    nav div {
        flex-direction: column;
        width: 100%;
    }

    nav div:nth-child(2) {
        margin-top: 2rem;
        justify-content: center;
    }

    nav div ul li {
        font-size: 36px;
        margin-bottom: .5rem;
    }

    .newsletterButton {
        font-size: 36px;
    }
}.servicesContainer {
    width: 100vw;
    min-height: 80vh;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 3rem 5rem 3rem 5rem;
    background-color: var(--secondary);
}

.servicesImage {
    width: 30%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.servicesImage figure img {
    height: 300px;
    margin-bottom: 1rem;
}

.servicesImage figcaption {
    font-weight: 300;
    color: var(--lightgray);
}

.servicesText {
    width: 60%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0rem 2rem 0rem 2rem;
    line-height: 30px;
    font-weight: 300;
}

.servicesText h1 {
    color: var(--primary);
    line-height: 40px;
}

.servicesText h4 {
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    margin-top: .5rem;
}

.servicesText p {
    margin-top: 1rem;
}

.servicesForm {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.servicesForm label {
    font-weight: 300;
    color: var(--primary);
}

.servicesForm input {
    width: 100%;
    height: 40px;
    margin: .5rem 0rem 1rem 0rem;
    padding: 0rem 1rem 0rem 1rem;
    border: 1px solid var(--primary);
    background-color: var(--secondary);
    color: var(--primary);
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    font-size: 18px;
    outline: none;
}

.servicesForm textarea {
    font-family: 'Roboto', sans-serif;
    width: 100%;
    height: 200px;
    margin: .5rem 0rem 1rem 0rem;
    padding: 1rem 1rem 1rem 1rem;
    border: 1px solid var(--primary);
    background-color: var(--secondary);
    font-weight: 300;
    font-size: 18px;
    outline: none;
}

.servicesForm button {
    width: 200px;
    height: 40px;
    margin: 1rem 0rem 1rem 0rem;
    padding: 0rem 1rem 0rem 1rem;
    border: 1px solid var(--primary);
    font-weight: 300;
    font-size: 18px;
    outline: none;
    background-color: var(--primary);
    font-family: 'Roboto', sans-serif;
    color: var(--secondary);
    cursor: pointer;
}

.success {
    display: none;
}

@media screen and (max-width: 768px) {
    .servicesContainer {
        flex-direction: column;
        width: 100vw;
        padding: 1rem;
        height: auto;
    }

    .servicesImage {
        width: 100%;
    }

    .servicesImage figure img {
        height: 300px;
    }

    .servicesText {
        width: 100%;
        padding: 1rem;
    }
}.contactContainer {
    width: 100vw;
    min-height: 80vh;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 3rem 5rem 3rem 5rem;
    background-color: var(--secondary);
}

.contactImage {
    width: 30%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.contactImage figure img {
    height: 300px;
    margin-bottom: 1rem;
}

.contactImage figcaption {
    font-weight: 300;
    color: var(--lightgray);
}

.contactText {
    width: 60%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0rem 2rem 0rem 2rem;
    line-height: 30px;
    font-weight: 300;
}

.contactText h1 {
    color: var(--primary);
    line-height: 40px;
}

.contactText h4 {
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    margin-top: .5rem;
}

.contactText p {
    margin-top: 1rem;
}

.contactForm {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.contactForm label {
    font-weight: 300;
    color: var(--primary);
}

.contactForm input {
    width: 100%;
    height: 40px;
    margin: .5rem 0rem 1rem 0rem;
    padding: 0rem 1rem 0rem 1rem;
    border: 1px solid var(--primary);
    background-color: var(--secondary);
    color: var(--primary);
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    font-size: 18px;
    outline: none;
}

.contactForm textarea {
    font-family: 'Roboto', sans-serif;
    width: 100%;
    height: 200px;
    margin: .5rem 0rem 1rem 0rem;
    padding: 1rem 1rem 1rem 1rem;
    border: 1px solid var(--primary);
    background-color: var(--secondary);
    font-weight: 300;
    font-size: 18px;
    outline: none;
}

.contactForm button {
    width: 200px;
    height: 40px;
    margin: 1rem 0rem 1rem 0rem;
    padding: 0rem 1rem 0rem 1rem;
    border: 1px solid var(--primary);
    font-weight: 300;
    font-size: 18px;
    outline: none;
    background-color: var(--primary);
    font-family: 'Roboto', sans-serif;
    color: var(--secondary);
    cursor: pointer;
}

.success {
    display: none;
}

@media screen and (max-width: 768px) {
    .contactContainer {
        flex-direction: column;
        width: 100vw;
        padding: 1rem;
        height: auto;
    }

    .contactImage {
        width: 100%;
    }

    .contactImage figure img {
        height: 300px;
    }

    .contactText {
        width: 100%;
        padding: 1rem;
    }
}.bookContainer {
    width: 100vw;
    min-height: 80vh;
    display: flex;
    flex-direction: row;
    padding: 3rem 6rem 2rem 6rem;
    background-color: var(--secondary);
}

.image {
    width: 30%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image figure img {
    height: 400px;
    width: auto;
    left: 100px;
    top: 100px;
    margin-bottom: 1rem;
}

.image figcaption {
    font-weight: 300;
    color: var(--lightgray);
}

.text {
    width: 70%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0rem 4rem 0rem 4rem;
    line-height: 30px;
    font-weight: 300;
}

.text h1 {
    color: var(--primary);
    line-height: 40px;
}

.text h4 {
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    color: var(--primary);
    margin-top: .5rem;
}

.text p {
    margin-top: 1rem;
}

.publishers {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    margin-top: 2rem;
}

.publishersImages {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
}

.publishersImages img {
    width: 100px;
    margin-right: 2rem;
}

.quote {
    color: var(--primary);
    padding-top: 1rem;
    font-style: italic;
    margin: 0rem 2rem;
    display: flex;
    flex-direction: column;
}
.quote span {
    margin: .5rem 1rem;
    font-size: 14px;
    line-height: 24px;
    font-weight: 300;
    font-style: normal;
    color: #000;
}
@media screen and (max-width: 768px) {
    .bookContainer {
        flex-direction: column;
        width: 100vw;
        padding: 1rem;
        height: auto;
    }

    .image {
        width: 100%;
    }

    .image figure img {
        height: 300px;
    }

    .text {
        width: 100%;
        padding: 1rem;
    }
    .quote {
        margin: 0rem;
    }
}