* {
    transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
}
html { 
    background: url("../images/mobileBg.png") no-repeat center center fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}
body{
    font-family: Montserrat, "Open Sans", Helvetica, Arial, sans-serif;
    text-align: center;
    margin: 0;
}
.header {
    background-color: rgb(255, 255, 255);
    padding: 10px 8% 5px 10%;
    clear: both;
    overflow: auto; 
    border-bottom: 3px solid rgb(253, 207, 61);
    border-width: thick;
    position: sticky;
    top: 0;
    z-index: 1;
}
.logo > a > img {
    width: 92%;
}
nav a {
    text-align: center;
    text-transform: uppercase;
    text-decoration: none;
    display: inline-block;
    margin: 0px 10px;
    padding: 12.5px 10px;
    border-radius: 8px;
    outline: 0;
    font-size: 14px;
    color: rgb(0, 0, 0);
}
nav a:hover:not(.active) {
    background-color: rgb(225, 225, 225);
    color: rgb(255, 255, 255);
    cursor: pointer;
}
a.active {
    background-color: rgb(253, 207, 61);
    color: rgb(255, 255, 255);
    cursor: pointer;
}

@media only screen and (min-width: 1030px) {
    html { 
        background: url("../images/desktopBg.png") no-repeat center center fixed;
        -webkit-background-size: cover;
        -moz-background-size: cover;
        -o-background-size: cover;
        background-size: cover;
    }
}
@media only screen and (min-width: 1000px) {
    .header {
        background-color: rgb(255, 255, 255);
        padding: 10px 8% 5px 10%;
        clear: both;
        overflow: auto;
        border-bottom: 3px solid rgb(253, 207, 61);
        border-width: thick;
    }
    nav {
        position:flex;
        display: unset;
        padding-top: inherit;
        float: right;
    }
    .logo > a > img {
        float: left;
        width: 30%;
    }
}

@media only screen and (max-width: 500px) {
    nav a {
        text-align: center;
        text-transform: uppercase;
        text-decoration: none;
        display: inline-block;
        margin: 0px 10px;
        padding: 12.5px 5px;
        border-radius: 8px;
        outline: 0;
        font-size: 14px;
        color: rgb(0, 0, 0);
    }
}