/* CSS Reset */
:root {
    --brand-brown: #653f00;
    --brand-brown-drak: #4a3000;
    --brand-orange: #f47521;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    font-family: Arial, Helvetica, sans-serif; 
}

p {
    font-size: 18px;
}

a {
    font-size: 18px;
}

li {
    list-style-type: none;
}

a {
    display: inline-block;
    text-decoration: none;
    padding: 5px 10px;
    width:100%;
}

body {
    display: flex;
    flex-direction: column;
    height: 100vh;
    letter-spacing: 0.5px;
}

/* Start of header styling */
.header {
   /* background-image: url("assets/img/header.jpg");
    background-size: cover;*/
background: linear-gradient(to bottom, rgb(255 255 255 / 0%) 0%, rgb(255 255 255 / 0%) 59%, rgb(255 255 255) 100%), url(assets/img/header.jpg);
}

.navbar {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    height: 13vh;
}

.header__logo__link {
    padding-left: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.header__logo {
    width: 100%;
    max-width: 180px;

}

.nav_bar__inner {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.hamburger {
    display: block;
    cursor: pointer;
}


.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    -webkit-transition: all 1s ease-in-out;
    transition: all 0.5s ease-in-out;
    background-color: var(--brand-brown);
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.navbar__menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 5px;
    padding-bottom: 20px;
}

.navbar__menu {
    position: fixed;
    top: 13vh;
    left: 0;
    opacity: 0;
    flex-direction: column;
    background-color: #fff;
    width: 100%;
    padding-top: 10px;
    z-index: 5;
    text-align: center;
    transition: 0.3s ease-in-out;
    box-shadow: 0 0 25px 25px rgba(255, 255, 255, 1);
    /*Disable click event when hidden*/
    pointer-events: none;
    cursor: default;
}

.navbar__menu.active {
    top: 13vh;
    opacity: 1;
    /*Enable click event when visible*/
    pointer-events: inherit;
    cursor: pointer;
}

.navbar__menu li a {
    color: var(--brand-brown);
}


.navbar__menu__link a {
    font-weight: 700;
}

/*Desktop version of the nav menu*/
.navbar__menu--lg {
    display: none;
    gap: 1em;
    color: var(--brand-brown);
}

.navbar__menu--lg a {
    color: var(--brand-brown);
    font-weight: 700;
    letter-spacing: 1px;
}

.navbar__menu--lg li {
    background-color: rgba(255, 255, 255, 0.8);
    box-shadow: 0 0 10px 10px rgba(255, 255, 255, 0.6);
    /*padding: 5px 10px;*/
    border-radius: 5px;
}

/* End of header */

/* Start of footer */

.footer {
    /*background-image: url("assets/img/footer.jpg");
    background-size: cover;*/
    background: linear-gradient(to bottom, rgb(255 255 255) 0%, rgb(255 255 255 / 0%) 16%, rgb(255 255 255 / 0%) 100%), url(assets/img/footer.jpg);
    padding-top: 35px;
    padding-bottom: 20px;
}

.footer__inner {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer__links__container {
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.footer ul a {
    color: var(--brand-brown);
}

.footer h1 {
    color: var(--brand-brown);
}

.footer__notes {
    text-align: center;
    gap: 1rem;
    margin-top: 1rem;
}

.footer__notes {
    color: var(--brand-brown);
}

.footer__logo__wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer__logo {
    max-width: 170px;
}

.footer__links li {
    margin-bottom: 5px;
    background-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 0 2px 2px rgba(255, 255, 255, 0.5);
    /*padding: 5px 10px;*/
    border-radius: 5px;
    letter-spacing: 1px;
    font-weight: bold;
}

/* End of footer */

.main {
    position: relative;
    flex-grow: 2;

}

.main__content {
    /*box-shadow: 0 0 25px 25px rgba(255, 255, 255, 1);*/
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-content: center;
    height: 100%;
}

.main__content__inner {
    line-height: 1.2;
    padding-top: 20px;
    padding-bottom: 20px;
    padding-right: 40px;
    padding-left: 40px;
    display: flex;
    flex-wrap: wrap;
}

.main__content__inner__title {
    width: 100%;
}

.main__content__inner p {
    margin-bottom: 0.7em;
}

.home_portrait_wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

.where_to_buy_label__wrapper {
    width: 100%;
}

.where_to_buy_label {
    text-align: center;
    padding-bottom: 5px;
    margin-bottom: 20px;
    width: 100%;
}



.poems_page_title__wrapper {
    width: 100%;
}

.poems_page_title {
    width: 100%;
    text-align: center;
}

.poem_row {
    display: flex;
    width: 100%;
    margin-bottom: 100px;
}

.page_row--wrap {
    flex-wrap: wrap;
}

.poem_row__image__wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}
.poem_row__image {
    max-width: 70%;
}

.poem_row__inner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.poem_row:nth-child(odd) {
    flex-direction: row-reverse;
}


.poem_row__title {
    display: inline-block;
    border-bottom: 1px solid var(--brand-orange);
    padding-bottom: 5px;
    margin-bottom: 10px;
    text-align: center;

}

@media (min-width: 48em) {
    /*sm*/
    .hamburger {
        display: none;
    }

    .nav_bar__inner {
        padding-left: 0;
    }

    .navbar__menu--lg {
        display: flex;
    }

    .footer__inner:nth-child(1) {
        flex-direction: row;
    }

    .main__content__inner__title {
        width: 70%;
    }

    .footer__logo__wrapper {
        justify-content: unset;
    }

    .footer__links__container {
        align-items: flex-end;
    }

    .main__content__inner {
        flex-direction: row;
    }

    .poem_row__image--author {
        max-width: 50%;
    }
}

@media (min-width: 64em) {
    /*md*/
    .main__content__inner__title {
        width: 80%;
    }
}

@media (min-width: 75em) {
    /*lg*/
}

/* Utilities */
.rounded-box {
    border-radius: 5px;
}