/* Navigation */

header {
    background-color: #0D0D0D;
    width: 100%;
    height: 100px;
    overflow: hidden;
}

header a:hover{
    color: #d31212;
    text-decoration: none;
}

header ul {
    text-align: center;
    margin-top: 2.3rem;
}

header li {
    display: inline-block;
}

header li a {
    padding: 1rem;
    background-color: #0D0D0D;
    color: #F2F2F2;
}

.active {
    color: #A60F0F;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #F2F2F2;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}
  
.dropdown-content a {
    font-size: 1em;
    color: #ebebeb;
    background-color: #0D0D0D;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
}
  
.dropdown-content a:hover {
    color: #F2F2F2;
    background-color: #d31212;
}
  
.dropdown:hover .dropdown-content {
    display: block;
    margin-top: 15px;
}

.icon {
    position: absolute;
    max-height: 100px;
}

.nav-info {
    position: absolute;
    right: 25px;
    top: 1em;
    color: #F2F2F2;
}

/* Footer */

footer {
    background-color: #0D0D0D;
    height: 125px;
    padding: 5px 0;
    font-size: 1em;
    color: #ebebeb;
    position: absolute;
    bottom: 0;
    width: 100%;
}

footer p {
    margin: .5em;
}

footer a {
    font-size: 1em;
    font-weight: normal;
}

footer a:hover{
    text-decoration: none;
    color: #d31212;
}

.alt {
    display: none;
}

/* Change for Smaller Screens, 1000px, no logo/phone */

@media screen and (max-width: 1000px) {
    .icon, .nav-info, .hide{
        display: none; 
    }

    .alt {
        display: block;
    }
  }

/* For screens 600px and under, smaller nav bar */
@media screen and (max-width: 650px) {
    .topnav ul {
        width: 200px;
        margin: auto;
    }

    .topnav li a {
        display: block;
        padding: .4em;
    }

    header {
        height: auto;
    }

    .alt {
        margin: auto;
    }

    .dropdown:hover .dropdown-content{
        display: none;
    }
  }

