/*hamburger*/
#hero_mobile_img{
    display: none;
}
.off-screen-menu{
    display: none;
}
nav{
    display: none;
}
/*hamburger*/

/*Display original nav*/
#nav_bar{
    display: flex;
    border: 0px solid orange;
    background-color: #74b3ce;
}
#def_nav{
    border: 0px solid red;
    flex: 4;
    display: block;
}
/*Display original nav*/

/*h3, h4 headers*/

/*footer*/

footer{
    display: flex;
    border: 0px solid #74b3ce;
    background-color: #74b3ce;
    height: fit-content;
    box-sizing: border-box;
    margin-top: 0vh;
    padding-bottom: 15px;
}
footer div{
    flex: 4;
    border-left: 1px solid rgb(255, 255, 255);
    padding: 0px 10px 10px 10px;
    margin-left: 4.444444vw;
    margin-top: 30px;
    height:fit-content;
}
footer h3{
    text-align: left;
    font-size: clamp(25px, 2.8vw, 36px);
    font-weight: 800;
    font-family:system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    color: #ffffff;
    padding: 0px;
    margin: 0px;
}
footer h5{
    text-align: left;
    font-size: 16px;
    font-family:system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    color: rgb(255, 255, 255);
    padding: 0px 5px;
    margin: 10px 0px 5px 0px;
    box-sizing: border-box;
    border: 0px solid rgb(0, 255, 13);
}
footer p{
    text-align: left;
    font-weight: 400;
    padding: 5px 10px;
    color: white;
    font-family:system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    border: 0px solid rgb(255, 0, 0);
    line-height: 1.3;
}
footer ul{
    border: 0px solid rgb(255, 0, 0);
    list-style: none;
    padding: 0px 10px;
    margin: 0px;
}
footer li{
    border: 0px solid rgb(255, 251, 0);
    width: fit-content;
    padding: 2px 5px;
}
footer a{
    text-decoration: none;
    font-size: 15px;;
    text-align: left;
    font-weight: 400;
    padding: 0px;
    margin: 0px;
    color: rgb(255, 255, 255);
    font-family:system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    border: 0px solid rgb(0, 255, 234);
    line-height: 1.1;
}

/*functionality*/
@media screen and (width <= 480px){

    #one h1{
    text-align: left;
    font-size: 38px;
    width: fit-content;
    color: #ffffff;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    border: 0px solid black;
    margin: 0px;
    padding: 0px 0px 0px 3vw;
    position: absolute;
    top: 10px;
    box-sizing: border-box;
    }
    #hero_mobile_img{
        display: block;
    }

    .off-screen-menu{
        background-color: #74b3ce;
        height: 100vh;
        width: 100%;
        max-width: 320px;
        position: absolute;
        top: 0px;
        right: 100vw;
        display: flex;
        font-size: 2rem;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        transition: .4s ease;
        z-index: 4;
    }
    .off-screen-menu.active{
        right: 0;
        position: fixed;
    }
    .off-screen-menu ul{
        list-style: none;
        display: flex;
        line-height: 1.1;
        flex-direction: column;
        justify-content:center;
        font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    }
    #one a{
        text-decoration: none;
        color: white;   
        font-size: 24px;
    }

    nav{
        padding: 0.5rem 0.8rem;
        display: flex;
        background-color: #74b3ce;
        height: 50px;
    }
    .ham-menu{
        height: 40px;
        width: 40px;
        margin-left: auto;
        position: relative;
        display: block;
        z-index: 5;
    }
    .ham-menu span{
        height: 3px;
        width: 90%;
        background-color: #ffffff;
        border-radius: 25px;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        transition: .2s ease;
    }

    .ham-menu span:nth-child(1){
        top: 25%;
    }
    .ham-menu span:nth-child(3){
        top: 75%;
    }

    .ham-menu.active span:nth-child(1){
        top: 50%;
        transform: translate(-50%, 50%) rotate(-45deg);
    }
    .ham-menu.active span:nth-child(2){
        opacity: 0;
    }
    .ham-menu.active span:nth-child(3){
        top: 50%;
        transform: translate(-50%, 50%) rotate(45deg);
    }

    #one ul{
        padding: 0px;
    }

    #def_nav{
        display: none;
    }
    #title{
        position: relative;
        top: -1px;
        display: block;
        padding: 0px 0px 0px 0px;
        height: fit-content;
        background-color: white;
        border-bottom: 0px solid #74b3ce;

    }
    #title h2{
        text-align: center;
        font-size: 36px;
        font-weight: 500;
        color:#ffffff;
        background-image: linear-gradient(to right, #ecf9ffc0, #74b3ceef, #74b3ceef, #ecf9ffc0);
        font-family: Verdana, Geneva, Tahoma, sans-serif;
        border: 0px solid black;
        margin: 0px;
        padding: 15px 0px 15px 0px;
        box-sizing: border-box;
    }
/*functionality*/

    footer{
        display: flex;
        flex-direction: column;
        height: fit-content;
        padding-top: 15px;
        padding-bottom: 10px;
        padding-left: clamp(15px,7vw,40px);
        box-sizing: border-box;
    }
    footer p,footer h3,footer ul,footer a,footer h5{
        font-size: 14px;
    }
    footer h3{
        font-size: 18px;
    }
    footer ul, footer p{
        border: 0px solid green;
        padding: 0px;
        margin-top:4px;
        width: 100%;
        line-height: 1.3;
    }
    footer li{
        padding: 0px 0px;
        width: 80%;
    }
    footer a{
        text-decoration: underline;
    }
    footer h5{
        width: fit-content;
        margin: 0px;
        margin-top: 15px;
        padding: 0px;
        font-size: 16px;
        font-weight: 500;
    }
    #f_one{
        font-size: 10px;
        margin: 0px;
        padding: 0px;
        width: fit-content;
        height: fit-content;
        border: 0px solid red;
    }
    #f_two,#f_three{
        height: 130px;
        width: clamp(120px, 38vw, 200px);
        margin: 0px;
        padding: 0px;
        display: inline-block;
        vertical-align: top;
        border: 0px solid rgb(47, 0, 255);
    }
    #f_two{
        margin: 0px;
    }
    #f_three{
        width: 240px;
    }
}

/*Animation styles*/
.hidden{
    transform: translateX(120px);
    transition: all 1.5s ease-out;
}
.showUp.animate{
    transform: translateX(0);
}

.lift{
    box-shadow: -10px 10px #74b3ce;
    transform: translateX(0px);
    transition: all 1.5s ease-out;
}
.ground.flat{
    box-shadow: 0px 0px #74b3ce;
    transform: translateX(-65px);
}

.readable{
    width: 95%;
    transition: all 1.5s ease-out;
}
.read{
    width: 35%;
}

.appear{
    opacity: 1;
    transition: all 2s ease-out;
}
.unappear{
    opacity: 0;
}
