/*******VARIABLES******/
/* colours: */
:root {
    --black: #000000;
    --white: #ffffff;
    --offWhite: #fefeff;
    --orange: #f36a19;
    --darkOrange: #8E4115;
    --darkerOrange: #783712;
    --redOrange: #b31e08;
    --darkRedOrange: #9B3408;
    --yellow: #fdb649;
    --lightYellow: #FDC77C;
    --grey: #252531;
    --greyTransparent: #252531C9;
}

/****** STYLES ******/
body {
    background-color: var(--darkerOrange);
    color: var(--offWhite);
    font-size: 26px;
    font-family: "Charm", serif;
    font-weight: 400;
    font-style: normal;
}


h1 {
    color: var(--offWhite);
    font-size: 90px;
    font-weight: 700;
}

h2 {
    font-size: 60px;
    font-weight: 700;
    line-height: 1;
}

h3 {
    font-size: 35px;
}

i {
    color: var(--lightYellow);
}

svg {
    color: var(--lightYellow);
}


/****** CLASSES ******/

/* NAVBAR */
.nav-link {
    color: var(--white);
    transition: 0.3s ease;
}

.nav-link:hover {
    color: var(--lightYellow);
    transform: translateY(-0.25em);
}

.nav-logo {
    height: 40px;
    width: auto;
    margin-left: 20px;
}

.last-nav-item {
    padding-right: 60px;
}


/* HERO SECTION */
.hero-container h2 {
    font-size: 40px;
}

.hero-icon {
    margin: 10px 0px;
    width: 60px;
    height: auto;
}





/* CONTENT CARD */
.content-card {
    border: 14px solid var(--orange);
    border-radius: 30px;
    padding: 20px;
    background-color: var(--greyTransparent);
    margin-bottom: 100px;
}



.external-link {
    color: var(--lightYellow);
    text-decoration: none;
}

.external-link:hover {
    color: var(--redOrange);
}



.contact-email {
    overflow-wrap: break-word;
}


/* DIVIDER UNDERLINE */
.divider {
    margin: 0 1.5rem;
}

.divider-line {
    width: 112px;
    height: 0.25rem;
    background-color: var(--orange);
    border-radius: 1rem;
    border-color: var(--orange);
}

.divider-img {
    width: 35px;
    height: auto;
}


.divider-wave {
    width: 112px;
    height: 32px;
}

.divider-wave-flipped {
    transform: scaleY(-1);
    /* veritcal flip ^ */
}





.home-book-cover {
    margin-top: 15px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.home-book-cover img {
    height: 300px;
    width: auto;
    transition: 0.5s ease;
}

.home-book-cover img:hover {
    transform: scale(1.1);
    border: 5px solid var(--orange);
    border-radius: 10px;
}


.centered-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.centered-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}



.footer-contact-row {
    height: 70px;
}

.footer-email-link {
    color: var(--lightYellow);
    text-decoration: none;
    transition: 0.3s ease;
}

.footer-email-link:hover {
    color: var(--grey);
}


.footer-contact-link {
    margin: 0 10px;
    height: 100%;
}

.footer-contact-link svg {
    height: 50px;
    width: auto;
    transition: 0.3s ease;
}

.footer-contact-link svg:hover {
    color: var(--grey);
}



/* BOOKS PAGE: */

.book-cover {
    margin-top: 25px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.book-cover img {
    height: 450px;
    width: auto;
    transition: 0.5s ease;
}

.book-cover img:hover {
    transform: scale(1.1);
    border: 5px solid var(--orange);
    border-radius: 10px;
}


/* MODAL: */
.modal-content {
    font-size: 22px;
    background-color: var(--grey);
    border-color: var(--orange);
    text-align: center;
}

.modal-header {
    border-color: var(--orange);
    background-color: var(--darkerOrange);
}

.modal-footer {
    border-color: var(--orange);
}

.modal-close-footer {
    background-color: var(--darkerOrange);
}

.btn-close {
    color: white !important;
    background-color: var(--darkRedOrange);
}

.cover-img-modal {
    height: 600px;
    width: auto;
}

.rc-btn-modal {
    text-decoration: none;
    color: var(--offWhite);
    font-size: 20px;
    background-color: var(--darkerOrange);
    padding: 10px 25px;
    border: 7px solid var(--orange);
    margin-bottom: 20px;
    transition: 0.5s;
}

.rc-btn-modal:hover {
    color: var(--yellow);
    background-color: var(--darkRedOrange);
}


.rc-btn-modal-close {
    text-decoration: none;
    color: var(--yellow);
    font-size: 20px;
    background-color: var(--grey);
    padding: 10px 25px;
    border: 7px solid var(--orange);
    margin-bottom: 20px;
    transition: 0.5s;
}





/******* IDs ******/
#heroSection {
    height: 775px;
    width: 100%;
    background-image: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('../images/hero1BG-orangeTint.jpg');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

#mainContentArea {
    padding-top: 60px;
    padding-bottom: 60px;
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url("../images/main2BG-orangeTint.jpg");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

#mainFooter {
    padding-top: 30px;
    padding-bottom: 20px;
}

#mainFooter p {
    font-size: 22px;
}


#subPageHeader {
    height: 300px;
    width: 100%;
    background-image: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('../images/subPageHeaderBG4.jpg');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}




/****** MEDIA QUERIES *****/

@media(max-width: 1400px) {}

@media(max-width: 1200px) {
    h1 {
        font-size: 80px;
    }

    .hero-container h2 {
        font-size: 35px;
    }

    h2 {
        font-size: 50px;
    }

    .book-cover img {
        height: 400px;
        width: auto;
    }

}


@media(max-width: 992px) {

    .last-nav-item {
        padding-right: 0px;
    }

}


@media(max-width: 768px) {

    h1 {
        font-size: 70px;
    }

    .hero-container h2 {
        font-size: 30px;
    }

    h2 {
        font-size: 45px;
    }

    h3 {
        font-size: 30px;
    }

    .cover-img-modal {
        height: 500px;
        width: auto;
    }

}

@media(max-width: 576px) {

    body {
        font-size: 24px;
    }

    h1 {
        font-size: 60px;
    }

    .cover-img-modal {
        height: 400px;
        width: auto;
    }

}


@media(max-width: 430px) {

    body {
        font-size: 22px;
    }

    h2 {
        font-size: 40px;
    }

    .home-book-cover img {
        height: auto;
        width: 100%;
    }


    .book-cover img {
        height: auto;
        width: 100%;
    }

    .cover-img-modal {
        height: auto;
        width: 100%;
    }

}