/*
.open-sans-<uniquifier> {
  font-family: "Open Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
  font-variation-settings:
    "wdth" 100;
    }
*/

p{
    font-family: "Open Sans", sans-serif;
    color:aliceblue;
    font-size: 10pt;
    margin: 0;
    padding: 0;
}

h1{
    font-family: "Open Sans", sans-serif;
    color:aliceblue;
    font-size: 12pt;
    font-weight: 500;
    margin: 0;
    padding: 0;
}

body{
    background-color: #0e1111;
    margin:0;
}

/* DESKTOP LAYOUT */
@media (min-width: 800px) {
    #main{
        height: min-content;
        max-width: 900px;
        margin: 8px 0;
        position: static;
        margin-inline: auto;
        margin-top: 50px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
        
    /* FIRST SECTION - mobile nav */
            
    .mobile-container{
        display:none;
    }

    /* SECOND SECTION - contains page banner */
    
    #head{
        width: 80%;
        display: flex;
        flex-wrap: nowrap;
        flex-direction: row;
        padding-bottom: 2%;
        justify-content: flex-start;
    }
    
    .home-button{
        width: 10%;
        height: auto;
        padding-right: 5%;
        order:1;
        align-self: flex-end;
    }
            
    .banner{
        width: 70%;
        height: auto;
        order:2;
    }

    /* THIRD SECTION - thumbnail grid */

    .content{
        width: 80%;
        padding: 2% 0 2% 0;
        max-height: 475px;
        overflow: auto;
        border: white;
        border-radius: 10px;
        border-style: solid;
        border-width: 5px;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-evenly;
    }
        /*removing the scrollbar breaks the goddamn
        thing because of course it does*/
        .content::-webkit-scrollbar {
            width: 10px;
            height: 20%;
        }
        
        .content::-webkit-scrollbar-track {
            border-radius: 4px;
            background-color: #e7e7e7;
        }
        
        .content:-webkit-scrollbar-thumb {
            border-radius: 5px;
            background-color: #0e1111;
        }
    
    .book{
        max-width: 40%;
        max-height: auto;
        padding: 3% 2% 1% 2%;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .thumb{
        width: 100%;
    }

    .title{
        align-self: center;
        padding-top: 5%;
    }

    /* THIRD SECTION- contains social medial icons */
        
    #sm{
        width: 60%;
        display: flex;
        flex-direction: row;
        justify-content: space-evenly;
        padding-bottom: 2%;
        padding-top: 2%;
    }

    .sm-ico{
        width: 40px;
        padding: 10px;
    }
}

/* MOBILE LAYOUT */
@media (max-width: 799px) {

    #main{
        height: auto;
        min-width: 0;
        max-width: 400px;
        padding:0%;
        margin:1%;
        margin-inline: auto;
    }

    /* FIRST SECTION - mobile hamburger menu */

    .mobile-container {
        max-width: auto;
        height:auto;
        margin: auto;
    }

    .topnav {
        height:auto;
        position: relative;
        padding-bottom: 5%;
    }

    .topnav #myLinks {
        display: none;
    }

    .topnav a {
        color: white;
        padding: 2%;
        text-decoration: none;
        font-size: 20px;
        font-family: "Open Sans", sans-serif;
        font-weight: 300;
        display: block;
    }

    .topnav a.icon {

        display: block;
        position: absolute;
        right: 0;
        top: 0;
    }

    .active {
        color: white;
    }

    /* SECOND SECTION - page banner*/ 
    
    .home-button{
        display:none;
    }
    
    #head{
        width: 100%;
    }
            
    .banner{
        width: 80%;
        height: auto;
        margin-left: auto;
        margin-right: auto;
        display: block;
    } 

    /* THIRD SECTION - content */
    
    .content{
        width: 100%;
        margin-top: 5%;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content:space-evenly;
    }
    
    .book{
        max-width: 32%;
        max-height: auto;
        padding: 3% 2% 4% 2%;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .thumb{
        width: 100%;
    }

    .title{
        align-self: center;
        padding-top: 5%;
    }

    /* FOURTH SECTION - contains about and upcoming event banners */
        
    #sm{
        width: 100%;
        padding-bottom: 3%;
        padding-top: 3%;
        display: flex;
        flex-direction: row;
        justify-content: space-evenly;
        position:static;
    }

    .sm-ico{
        width: 40px;
        padding: 2%;
    }

}
