/* THINGS TO FIX/ADD: 
- add road lines of blue ridge parkway
- add hover state for sidebar list item that emphasizes marker on map of that specific park
    https://stackoverflow.com/questions/32351008/open-infowindows-from-an-external-link-outside-of-the-google-map
- close info window when open new one
*/

html, body{
    height: 100%;
    margin: 0;
    padding: 0;
}

@font-face {
    font-family: woodwud;
    src: url(../img/woodwud.otf);
}

.cafeteria{
    font-family: cafeteria, Georgia, 'Times New Roman', Times, serif;
    font-weight: 400;
    font-style: normal;
}

#navbar{
    border-bottom: 1.5px rgb(115, 194, 115) solid;
    padding: 10px;
    margin: 0;
    height: 60px;
    z-index: 100;
    position: fixed;
    width: 100%;
    top: 0;
    background-color: rgba(7, 58, 7, 0.75);
}

h1{
    text-align: center;
}

.no-underline{
    text-decoration: none !important;
}

#navbar-header{
    margin: 0!important;
    color:rgb(115, 194, 115);
    font-family: woodwud, Georgia, 'Times New Roman', Times, serif;
    font-size: 50px;
}

#navbar button{
    border-radius: 5px;
}

.view-button{
    height: 40px;
    padding: 0 15px!important;
    background-color: rgba(7, 58, 7, 0.75) !important;
    border: none !important;
    color:rgb(115, 194, 115);
}

.view-button:hover{
    background-color: rgb(115, 194, 115)!important;
    color: rgba(7, 58, 7, 0.75);
}

#park-menu-web, #park-menu-mobile{
    height: 40px;
    width: auto;
    padding: 0 15px!important;
    border: none !important;
    background-color: rgb(115, 194, 115)!important;
    color: rgba(7, 58, 7, 0.75);
    margin-left: 15px;
    border: 1.5px solid rgb(115, 194, 115) !important;
}

#park-menu-web:hover{
    background-color: rgba(7, 58, 7, 0.75) !important;
    color:rgb(115, 194, 115);
}

#navbar.past-map{
    background-color: rgba(7, 58, 7, 1) !important;
}

#sidebar-web.past-map, #sidebar-mobile.past-map{
    background-color: rgba(7, 58, 7, 1) !important;
}

.web-button{
    font-size: 28px;
}

.mobile-button{
    display: none;
}

#hamburger-icon{
    width: 30px;
    height: auto;
    margin: -8px -5px 0 5px;
    z-index: 101;
}

#map{
    height: 100%;
    width: 100%;
}

#map button{
    background-color: rgba(7, 58, 7, 1) !important;
    color:rgb(115, 194, 115) !important;
}

#sidebar-web{
    position: fixed;
    z-index: 102;
    width: 250px;
    right: -250px;
    top: 60px;
    background-color: rgba(7, 58, 7, 0.75);
    transition: transform 0.2s;
}

#sidebar-mobile{
    display: none;
}

#sidebar-close-button-web, #sidebar-close-button-mobile{
    width: 20px;
    height: auto;
    position: absolute;
    top: 10px;
    right: 10px;
}

#sidebar-close-button-web:hover{
    cursor: pointer;
}

#sidebar-list{
    list-style: none;
    font-size: 24px;
}

.sidebar-list-item{
    color:rgb(115, 194, 115) !important;
    text-decoration: none !important;
}

.sidebar-list-item:hover{
    text-decoration: underline !important;
    cursor: pointer;
}

.park-window{
    padding: 20px;
    margin: auto;
}

.park-window a{
    color:rgba(7, 58, 7, 1) !important;
    font-family: Arial, Helvetica, sans-serif;
}

.park-window p{
    font-family: Arial, Helvetica, sans-serif;
}

#list-view{
    width: 90%;
    margin: 0 auto;
    max-width: 1200px;
    margin-top: 100px;
}

#list-view-header{
    font-size: 75px;
    color:rgb(115, 194, 115);
}

.park-info{
    padding-top: 100px;
    margin-bottom: 50px;
}

.park-wide-img{
    width: 800px;
    height: auto;
    margin: 0 auto 15px auto;
    display: block;
    padding-right: 10px;
}

.park-info-name{
    font-family: woodwud;
    color: rgba(7, 58, 7, 1);
    font-size: 50px;
    text-align: center;
}

.park-info-tagline{
    margin-bottom: 15px;
    font-size: 35px;
    color:rgb(115, 194, 115);
    text-align: center;
}

.park-info p{
    margin-bottom: 5px !important;
}

.park-info span{
    font-weight: bold;
    color: rgba(7, 58, 7, 1);
}

.park-info-website{
    color:rgb(115, 194, 115) !important;
}

.park-info-website:hover{
    color: rgba(7, 58, 7, 1) !important;
}

footer{
    font-size: 10px;
    background-color: rgba(7, 58, 7);
    color: rgb(115, 194, 115);
    margin-top: 100px;
    padding: 15px;
    line-height: 10px;
}

footer p{
    margin-bottom: 0;
    text-align: center;
    width: 800px;
    margin: 0 auto;
}

footer a{
    color: rgb(115, 194, 115) !important;
    font-weight: bold;
    text-decoration: none;
}

footer a:hover{
    text-decoration: underline !important;
}


@media (max-width: 1300px) and (min-width: 1200px) {
    .park-wide-img{
        width: 750px;
        padding-right: 20px;
    }
}

@media (max-width: 1200px) and (min-width: 1100px) {
    .park-wide-img{
        width: 600px;
    }
}

@media (max-width: 1100px) and (min-width: 990px) {
    .park-wide-img{
        width: 550px;
    }
}

@media (max-width: 990px) and (min-width: 775px) {
    .park-wide-img{
        width: 80%;
        padding: 0;
    }
}

@media (max-width: 775px){
    .park-wide-img{
        width: 100%;
        padding: 0;
    }

    #navbar-header{
        font-size: 35px;
        padding-top: 8px;
    }

    .view-button{
        padding: 2px 12px 0 12px!important;
    }
}

@media (max-width: 575px){
    .mobile-button{
        display: flex;
        font-size: 24px;
    }

    .web-button{
        display: none;
    }

    #navbar{
        padding: 10px 0;
    }

    #hamburger-icon{
        margin: 4px -10px 0 -10px;
    }

    .list-view-button{
        display: none;
    }

    #sidebar-mobile{
        display: block;
        position: fixed;
        z-index: 102;
        width: 250px;
        right: 0px;
        top: 60px;
        background-color: rgba(7, 58, 7, 0.75);
        opacity: 0%;
    }
    
    #sidebar-web{
        display: none;
    }    
}