/* 

!!!!!!!!IMPORTANT!!!!!!

There are no RESET STYLES in this stylesheet, so when adding the stylesheet line to your html files, it MUST GO BELOW the stylesheets that contain RESET STYLES 

*/

/* main */

/* Add a background color to the phone and tablet navigation */
nav.topnav {
    background-color: #210124;
    height: 48px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-sizing: border-box;
    overflow: hidden;
}

/* Style the links inside the phone and tablet navigation */
nav.topnav a {
    float: left;
    display: block;
    color: #E8F1F2;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 17px;
    margin: 0;
    box-sizing: border-box;
    position: relative;
    z-index: 1001;
}

/* Change the color of phone and tablet links on hover */
nav.topnav a:hover {
    background-color: #2C423F;
    color: #E8F1F2;
}

/* Hide the link that should open and close the topnav on small screens */
nav.topnav a.active {
    background-color: #2C423F;
    color: #E8F1F2;
}

nav.topnav .icon {
    display: none;
}

/* end main */

@media screen and (max-width: 600px) {
    nav.topnav a:not(:first-child) {
        display: none;
    }
    nav.topnav a.icon {
        float: right;
        display: block;
    }
}

@media screen and (max-width: 600px) {
    nav.topnav.responsive {
        position: fixed;
    }
    nav.topnav.responsive .icon {
        position: absolute;
        right: 0;
        top: 0;
    }
    nav.topnav.responsive a {
        float: none;
        display: block;
        text-align: left;
    }
}

@media screen and (min-width: 1025px) { /* laptop and larger */
    /* make the computer navigation visible and style it */ 
    
    nav.computernav {
        display: block;
        width: 70%;
        background-color: transparent;
        text-align: center;
        margin: auto;
        margin-top: 20px;
        padding: 12px 0px;
        border-radius: 10px;
        position: relative;
        z-index: 1000;
    } 
    
    li {
        display: inline;
        color: #210124;
        font-family: 'Lora', sans-serif;
        font-size: 1.25em;
        letter-spacing: .1em;
    }

    nav.computernav a {
        padding: 10px 16px 11px 16px;
        font-weight: normal;
        font-family: 'Cascadia Mono', cursive;
        transition: all 0.3s ease;
        position: relative;
        z-index: 1001;
    }
    
    nav.computernav a:link {
        color: #210124;
        text-decoration: none;   
    }

    nav.computernav a:visited {
        color: #210124;    
    }

    nav.computernav a:hover {
        color: #F5F5F0;
        background-color: #210124;
    }

    nav.computernav a:active {
        color: #F5F5F0; 
    }

    /* hide the phone and tablet navigation */
    
    nav.topnav {
        display: none;
    } 
}
