:root {
    --green: #009725;
    --green_hover: #00731c;
    --yellow: #dd9800; 
    --yellow_hover: #c28500;
    --text: #3c3744;
    --background: #ffffff;
    --background_accent: #e3e4db;
}

body {
    padding: 0;
    font-family: 'Libre Baskerville', serif;
    background-color: var(--background);
    color: var(--text);
    margin: 0px;
}

#main_screen{
    position: relative;
    min-height: 100vh;
}

#nav_div{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

/* Add a black background color to the top navigation */
.topnav {
    background-color: var(--background);
    overflow: hidden;
    margin-bottom: 50px;
    display: flex;
    justify-content: center;
    width: 100%;
}

/* Style the links inside the navigation bar */
.topnav a {
    float: left;
    color: var(--text);
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 17px;
}

/* Change the color of links on hover */
.topnav a:hover {
    background-color: var(--background_accent);
    color: black;
    text-decoration: underline;
    transition: 0.2s;
}

/* Add a color to the active/current link */
.topnav a.active {
    background-color: var(--yellow);
    color: white;
}

.topnav a.active:hover{
    background-color: var(--yellow_hover);
    text-decoration: underline;
    transition: 0.2s;
}

/* mobile nav */
.dropdown {
    position: relative;
    display: none;
    width: 100%;
}

.dropbtn {
    background-color: var(--yellow);
    color: white;
    padding: 16px;
    font-size: 16px;
    border: none;
    cursor: pointer;
    font-family: 'Libre Baskerville', serif;
    font-size: 16px;
    width: 100%;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--background_accent);
    width: 100%;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

.dropdown-content a {
    color: var(--text);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.dropdown-content a:hover {
    background-color: var(--yellow);
    color: white;
}

.side{
    width: 25%;
}

.container_div{
    width: 50%;
}

.main_container{
    display: flex;
    flex-wrap: wrap;
    padding-bottom: 250px;
}

#logo{
    width: 300px;
    margin-bottom: 25px;
    margin-top: 50px;
}

#route_schedule_title{
    margin-top: 50px;
}

#route_schedule_overview_block{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
}

#route_schedule_overview_blurb{
    width: 50%;
    margin-top: 30px;
    text-align: justify;
}

#route_image{
    width: 45%;
    height: 45%;
    padding-left: 5%;
}

#route_container{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    margin-top: 50px;
    margin-bottom: 50px;
}

.route_block{
    width: 50%;
}

.route_block_title{
    font-weight: bold;
}

#footer {
    position: absolute;
    background-color: var(--text);
    bottom: 0;
    width: 100%;
    height: 250px;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: center;
}

#footer_logo{
    width: 300px;
    margin-top: 50px;
    margin-right: 70px;
    margin-left: 70px;
}

#footer_call{
    color: var(--yellow);
    font-weight: bold;
    margin: 70px;
}

#copy_write{
    width: 100%;
    text-align: center;
    color: var(--yellow);
    margin-bottom: 100px;
}

@media only screen and (min-width: 1900px){
    .payment_box{
        width: 300px;
    }
}

@media only screen and (max-width: 1400px) {
    .container_div{
        width: 74%;
    }
    .side{
        width: 13%;
    }
    #footer_logo{
        margin-left: 20px;
        margin-right: 20px;
    }
    #footer_call{
        margin-left: 20px;
        margin-right: 20px;
    }
}

@media only screen and (max-width: 950px){
    .container_div{
        width: 96%;
    }
    .side{
        width: 2%;
    }
    #footer_logo{
        margin-left: 20px;
        margin-right: 20px;
    }
    #footer_call{
        text-align: center;
        width: 100%;
        margin: 5px;
    }
}

@media only screen and (max-width: 750px) {
    .topnav{
        display: none;
    }
    #nav_div{
        text-align: center;
    }
    #route_schedule_overview_blurb{
        width: 100%;
    }
    #route_image{
        width: 100%;
        padding: 0%;
    }
    .route_block{
        width: 100%;
    }
    .dropdown{
        display: inline-block;
    }
}