/* =========== UNIVERSAL SELECTOR =========== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
/* =========== SHADOW TEXT ================= */
.shadow {
    text-shadow: 1px 1px 15px maroon;
    font-variant: small-caps;
    font-weight: bolder;
}

/*=======================================================

                   ROOT ELEMENTS

=======================================================*/

body {
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 100%;
    width: 100%;
}

/*=======================================================

                      HEADER

=======================================================*/
header {
    border-bottom: 3px solid steelblue;
    background-image: linear-gradient(white, lightsteelblue);
    border-radius: 10px 10px 0 0;
    display: flex;
}
header div {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
}

header h2 {
    font-size: 250%;
    font-style: italic;
    color: steelblue;
    text-shadow: 3px 3px 12px steelblue;
    
}

header img {
    max-width: 140px;
    min-width: 70px;
    width: 100%;
}

/*=======================================================

             NAVIGATION MENU - #nav_menu

=======================================================*/
#nav_menu {
    border-bottom: 3px solid steelblue;
    background-color: steelblue;
    
}
#nav_menu ul {
    list-style-type: none;
    position: relative;
    display: flex;
}
#nav_menu ul li {
    width: 20%;
}
#nav_menu ul li a {
    text-align: center;
    display: block;
    padding: .7em 0;
    background-color: steelblue;
    font-weight: bold;
    text-decoration: none;
    color: white;
}

#nav_menu ul ul {
    display: none;
    position: absolute;
    top: 100%;
    width: 100%;
}
#nav_menu ul ul li a {
    text-align: left;
    padding-left: 12px;
}
#nav_menu ul li:hover > ul {
    display: block;
}
#nav_menu a:hover {
    color: black;
    background-color: lightsteelblue;
}

/* ==================================================

       LEFT ASIDE NAVIGATION LIST - #nav_list

===================================================*/             
#nav_list ul {
    list-style-type: none;
    display: flex;
    flex-direction: column;
    gap: .5vh;
}
#nav_list li {
    width: 90%;
    border: 1px solid steelblue;
    border-radius: 5px;
}
#nav_list a {
    display: block;
    font-weight: bold;
    text-decoration: none;
    background-color: lightsteelblue;
    padding: .5em;
    color: black;
}
#nav_list a:hover {
    background-color: steelblue;
    color: white;
}

/*===============================================

                MAIN ELEMENTS

===============================================*/
a {
    text-decoration: none;
}
a:link, a:visited {
    color: steelblue;
}
a:hover, a:focus {
    color: maroon;
    text-decoration: underline;
}

main {
    margin-top: 2vh;
    display: flex;
    justify-content: center;
    gap: 1vw;
}

section {
    flex: 0 1 600px;
    display: flex;
    flex-direction: column;
    gap: 1vh;
}
section h1 {
    margin: 0;
}
section h3, section h4 {
    margin-top: 2vh;
}
aside {
    flex: 0 1 250px;
}
#rightcol {
    display: flex;
    flex-direction: column;
    gap: 1vh;
    background-color: beige;
    margin: 1vw;
    padding: 1vw;
    border-radius: 10px;
    border: 1px solid black;
    box-shadow: 2px 2px 15px 2px black;
}
aside h3 {
    color: maroon;
    font-size: 110%;
}

blockquote {
    width: 80%;
    margin: 1vh auto;
    padding: 10px;
    border-left: 25px solid steelblue;
    border-top: 3px solid steelblue;
    border-bottom: 3px solid steelblue;
    border-right: 3px solid steelblue   ;
    background-color: lightsteelblue;
    border-radius: 15px;
    font-family: 'Times New Roman', Times, serif;
    font-size: 120%;
    font-style: italic;
}
blockquote:hover {
    background-color: steelblue;
    color: white;
}

/*==================================================

                       FOOTER

==================================================*/                       
footer {
    background-color: steelblue;
    padding: 15px 0;
    border-radius: 0 0 7px 7px;
}
footer p {
    font-size: 75%;
    text-align: center;
    font-variant: small-caps;
    color: white;
}

#mobilemenu {
    display: none;
}

/*=============================================================

                  MEDIA QUERIES

=============================================================*/
@media only screen and (max-width: 900px) {
    body {
         font-size: 90%;
    }
    main {
        flex-wrap: wrap;
    }
    section {
        flex: 0 1 55%;
        justify-content: center;
    }
    #leftcol {
        order: 3;
        flex: 0 1 80%;
        justify-content: center;
        margin: 2vh 0;
    }
    #rightcol {
        flex: 0 1 30%;
    }
    header, footer {
        border-radius: 0;
    }

}

@media only screen and (max-width: 767px) {
    section, #rightcol {
        flex: 0 1 95%;
    }
}

@media only screen and (max-width: 479px) {
    #nav_menu ul {
        flex-direction: column;

    }
    #nav_menu ul li {
        width: 100%;
        text-align: center;
    }
    #nav_menu ul li:first-of-type {
        display: none;
    }
    #rightcol {
        flex: 0 1 100%;
        margin: 2vh 0;
        padding: 2vw;
        border: none;
        border-radius: 0%;
    }
}

