 /*test this to remove gap at bottom on chrome mobile*/
 html,body {
    width: 100%;
    height: 100%;
    margin: 0px;
    padding: 0px;
    overflow-x: hidden;
}
/*test this to remove gap at bottom on chrome mobile*/

/*hide on mobile*/
.hide-mobile{
    display:none;
}


/*Header Start----------------------------------------------------------------*/
/*Clasess*/



.main-header, .mobile-top-logo-header{
position:fixed;
background-color:var(--color3);
width:100vw;
height: 10vh;
z-index: 1000;
}

.main-header{
    bottom:0;
    box-shadow: 0 -2px 6px black;
}

.mobile-top-logo-header{
    top:0;  
    display: flex;
    justify-content: center;
    box-shadow: 0 2px 6px black;
}

.logo-img-mobile{
    max-height:6vh;
    align-self: center;
}

/*Bottom Header Buttons*/

.container-80{
    width:85%;
    height:10vh;
    position:relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.call-button {
    box-shadow: 1px 1px 3px rgba(0,62,69,0.3);
    border:2px solid rgba(0,62,69,0.9);
    text-decoration: none;
    font-size: 2.5vh;
    color:rgba(0,62,69,0.9);
    padding:1vh;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 3px;
    transition: 0.55s;
    margin-left: 3rem;
    padding-left:1.3vh;
    background-color:var(--color1);
    border-radius: 5px;
    opacity:0.8;
    
}



.call-button:hover{
    background-color: rgba(135,233,239, 0.3);
}

/*Hamburger Menu-----------------------*/

#hamburger{
    position:absolute;
    right:4vw;
    top:50%;
    transform: translateY(-50%);
    font-size: 3.5vh;
    background-color: var(--color1);
    padding:0 1vh 0.25vh 1vh;
    border:2px solid rgba(0,62,69,0.9);
    border-radius: 5px;
    transition:0.55s;
    opacity:0.8;
}

#hamburger:hover{
    background-color: rgba(135,233,239, 0.4);
    cursor: pointer;
}

#toggle:checked + .main-nav{
    display: block;
}

.main-nav, #toggle{
    display: none;
    transition-duration: 5000ms;
    transition-property:display;
}



.main-nav > ul{
    list-style: none;
    width:100vw;
    position:absolute;
    bottom:10vh;
    margin:0;
    padding:0;
}

/*Dropdown*/

.dropdown{
    padding-left:0;
}
ul li ul.dropdown li {
    display: block;
}



ul li ul.dropdown {
    width: 100%;
    background-color: var(--color3);
    position: absolute;
    z-index: 999;
    display: none;
}

ul li ul.dropdown a {
   color:white;
}




.main-nav li {
    
    text-align: center;
}

#pilot-courses:hover{
    cursor: pointer;
}

#courses-toggle:checked + .dropdown{
    display: block;
}

.dropdown, #courses-toggle{
    display:none;
    transition-duration: 5000ms;
    transition-property:display;
}


/*dropdown end*/
.add-border-to-top-of-menu{
    border-top:.3vh solid lightgrey;
}

.main-nav a, #pilot-courses{
    text-decoration: none;
    font-size: 2vh;
    letter-spacing: 3px;
    color:rgba(0,62,69,0.9);
    display: block;
    width: 100%;
    
    /*add this part BELOW back to main-nav li above if things are messed up with it here. Trying to solve for having entire link clickable on mobile - remove this comment if menu's look coorect later */
    border-bottom:.3vh solid lightgrey;
    border-left:.3vh solid lightgrey;
    border-right:0.3vh solid lightgrey;
    padding:2vh;
    /*add this part ABOVE back to main-nav li above if things are messed up with it here. Trying to solve for having entire link clickable on mobile - remove this comment if menu's look coorect later*/
}

.main-nav >ul > li > a, #pilot-courses {
background-color: rgb(250, 250, 250);
}
/*Header End----------------------------------------------------------------*/

.all-content-between-headers{
    margin:10vh 0;
}


/*media queiries*/


@media all and (min-width:900px){

    .all-content-between-headers{
        margin-bottom:0;
    }
    .desktop-container-40{
        width:30vw;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .container-20{
        width:70vw;
    }
    .hide-desktop{
        display:none;
    }
    .main-header{
        top:0;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .mobile-top-logo-header{
        display: none;
        box-shadow: none;
    }
 
    #hamburger{
        display:none;
    }
    .hide-mobile{
        display:inline-block;
    }
    .logo-img-desktop{
        max-height:6vh;
        padding-left: 2vw;
    }

    .main-nav{
        display: flex;
        justify-content: center;
    }
    
    .main-nav ul{
        bottom:auto;
        width:auto;
        position:relative;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .main-nav > ul > li{
        margin-right: 2vw;
        background-color: transparent;
        border:none;
        
        position: relative;
    }

    .main-nav ul li a, #pilot-courses{
        color:#E6F4F1;
        transition-duration: 400ms;

        /*added new remove if needed 24.5.6 remove this comment if menu's look coorect later*/
        background-color: transparent;
        border:none;
        padding:none;
        /*added new remove if needed 24.5.6 remove this comment if menu's look coorect later*/
    }

    ul li:hover ul.dropdown {
    display: block;
    }

    .main-nav ul li a:hover{
        color:var(--color2);
    }

    #pilot-courses:hover{
        color:var(--color2);
    }
    

    .add-border-to-top-of-menu{
        border:none;
    }

    .phone-number-main-header{
        color:var(--color1);
        font-weight:bold;
        font-size: 1.3rem;
    }
    
}



