@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400..800;1,400..800&family=Roboto+Slab:wght@100..900&display=swap');

:root {
    --white: #ffffff;
    --black: #000000;
    --red: #b00;
    --grayLight: #888;
    --grayDark: #252424;
    /* --yellow:#e8d6a3; */

    --yellow: #fbd15e;
}

body {
    margin: 0;
    padding: 0;
    background-color: var(--grayDark);
    color: var(--yellow);
    font-family: "EB Garamond";
    /* border: 5px solid blue;    */

}

a,
a:link,
a:visited a:active {
    text-decoration: none;
    color: var(--red);
}

/* -------------------------------------------------------------- */



/*---------------------------Header / Navbar-------------------------------------------*/
header {
    display: flex;
    justify-content: space-between;
    /* border: 5px solid white; */
    padding: 5px;
    /* background-color: var(--grayDark); */
}

#headerTitle {
    display: flex;
    align-items: center;
}

#headerTitle img,
h1 {
    margin: 20px;
    color: var(--red);
}

#navRow {
    display: flex;
    font-weight: bold;
    color: var(--red);
    list-style: none;
}

#navRow li {
    align-items: center;
    width: 40px;
    /* background-color: blue; */
    padding: 25px;
}


#navRow li a:hover {
    color: var(--yellow)
}

#navIcon {
    display: none;
}

.navHidden {
    display: none;
}

.navShowing {
    display: none;
}


@media screen and (max-width:768px) {
    #navRow {
        display: none;
    }

    #navIcon {
        display: block;
        height: 40px;
        padding-top: 20px;
    }

    .navShowing {
        display: block;
        align-items: center;
        width: 80px;
        position: absolute;
        right: 10px;
        top: 45px;
        background-color: var(--red)
    }

    .navShowing li {
        list-style: none;
        font-weight: bolder;
        padding: 5px;
    }

    .navShowing li a,
    a:link,
    a:active,
    a:visited {
        color: var(--yellow)
    }

    .navShowing a:hover {
        color: var(--grayLight);
    }


}


/*----------------------------------------------------------------------*/



/*-----------------Main Universal Style------------------- */
main {
    /* border: 5px solid orange;    */
    margin: auto;
    /* max-width:65%; */
    width: 65%;
}

@media screen and (max-width:768px) {
    main {
        width: 95%;
    }
}



/*----------------------------------------------------------------------*/

section{
    margin-bottom: 50px;;
}


/*----------------------Main Title------------------------------ */
#mainTitle {
    margin-bottom: 50px;
    text-align: center;
    font-size:x-large;
}

#mainTitle h2{margin:0;}

#mainTitle p {margin:0;}


/*----------------------------------------------------------------------*/



/*---------------------------Latest Book/Audio Book-------------------------------------------*/
#latestBookBanner{
    display:flex;
    justify-content: space-between;
    align-items: baseline;
}


#latestInterview{
    display: flex; 
    justify-content: space-between; 
    align-items: center;
}

@media screen and (max-width:850px){
    #latestBookBanner{
        flex-direction: column;
    }
    #latestInterview{
        Flex-direction:column;
    }
}




.cta{
    background-color: var(--yellow);
    border-style: solid;
    border-width: 5px; 
    border-color: var(--red); 
    padding: 5px;
    margin-bottom: 50px;
    width:100%;
}

@media screen and (min-width:700px){
    .cta{
        width:150px;
        border-radius: 50%; 
    }
}


#latestBook {
    display: flex;
}

@media screen and (max-width:1100px) {
    #latestBook {
        flex-wrap: wrap;
        justify-content: center;
    }

}



/*----------------------------------------------------------------------*/



/*----------------------------Upcoming Events------------------------------------------*/

/* #events {
    text-align: center;
} */

/*----------------------------------------------------------------------*/




/*------------------------Email List Signup----------------------------------------------*/

/* #emailList {
    width: 400px;
    margin: auto;
}

#emailListForm {
    width: 200px;
    align-content: space-between;
}

#emailList input {
    margin: 10px;
}

#emailList button {
    width: 80px;
    background-color: var(--red);
    margin: 10px;
} */

/*---------------------------------------------------------------------*/




/*--------------------------Interviews--------------------------------------------*/
.interview {
    padding-bottom: 50px;
    padding-top: 25px;
}

.videoContainer {
    display: flex;
    justify-content: center;
}

.videoContainer iframe {
    width: 500px;
    height: 400px;
}

@media (max-width: 480px) {
    .videoContainer iframe {
        max-width: 100%;
        height: 300px;
    }
}




/* -----------------footer------------------ */
footer{
    max-width: 80%;
    margin:auto;
}

/* ----------------Social Media-------------------- */
#smIconGroup {
    display: flex;
    justify-content: space-around;
    width: 60%;
    margin: auto;
    flex-wrap: wrap;
}

.smIcon {
    width: 40px;
    margin:5px;
}












/* ---------------bio-------------- */
#authorBio{
    margin-bottom:200px;
}

#bioPicMobile{
    display:none;
}

@media (max-width: 650px){
    #bioPic{
        display:none;
        
    }

    #bioPicMobile{
        display:flex;
        margin: auto;
        justify-content: center;
    }
}


/* --------------books--------------------- */

.bookItem {
    display: flex;
    margin-bottom:50px;
}

@media screen and (max-width:1200px) {
    .bookItem {
        flex-wrap: wrap;
        justify-content: center;
    }

}

.bookArt{
    width:285px;
    height: auto;
    border:var(--red), solid, 1px; 
    margin:25px;
}