* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    height: 100vh;
    background: #141E30;
    /* fallback for old browsers */
    background: -webkit-linear-gradient(to right, #243B55, #141E30);
    /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to right, #243B55, #141E30);
    /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
    overflow: auto;
}
header{
    display: block;
}
nav {
    border-bottom: 2px solid #FFE5B4;
    height: 80px;
    margin-bottom: 50px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.openNav {
    width: 100%;
    height: 100vh;
    position: fixed;
    top: -100vh;
    z-index: 100;
    background: #141E30;
    /* fallback for old browsers */
    background: -webkit-linear-gradient(to right, #243B55, #141E30);
    /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to right, #243B55, #141E30);
    /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
    -webkit-transition: all 1s ease-in-out;
    -moz-transition: all 1s ease-in-out;
    -o-transition: all 1s ease-in-out;
    transition: all 1s ease-in-out;
    display: flex;
    justify-content: center;
    align-items: center;

}

.openNav.open {
    top: 0px;
    border-radius: initial;
}


.openNav .nav-list {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    list-style-type: none;


}

.openNav .nav-list li {
    margin-bottom: 25px;
    cursor: pointer;
}


.openNav .nav-list .nav-linkMobile {
    font-size: 18px;
    /* position: relative; */
    color: #FFE5B4;
    text-decoration: none;
}

.hamburger {
    width: 60px;
    height: 40px;
    position: relative;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: 1s ease-in-out;
    -moz-transition: 1s ease-in-out;
    -o-transition: 1s ease-in-out;
    transition: 1s ease-in-out;
    cursor: pointer;
    z-index: 1500;
    margin-right: 20px;

}



.hamburger .bar {
    display: block;
    position: absolute;
    height: 4px;
    width: 100%;

    background: #FFE5B4;

    border-radius: 6px;
    opacity: 1;
    left: 0;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: 1s ease-in-out;
    -moz-transition: 1s ease-in-out;
    -o-transition: 1s ease-in-out;
    transition: 1s ease-in-out;
}

.hamburger .bar.top {
    top: 0px;
}

.hamburger .bar.middle {
    top: 18px;
}

.hamburger .bar.bottom {
    top: 36px;
}

.hamburger.open .bar.top {
    top: 18px;
    -webkit-transform: rotate(135deg);
    -moz-transform: rotate(135deg);
    -o-transform: rotate(135deg);
    transform: rotate(135deg);
}

.hamburger.open .bar.middle {
    opacity: 0;
    right: 60px;
}

.hamburger.open .bar.bottom {
    top: 18px;
    -webkit-transform: rotate(-135deg);
    -moz-transform: rotate(-135deg);
    -o-transform: rotate(-135deg);
    transform: rotate(-135deg);
}
.builtBy{
    width: 100%;
    height: auto;
    text-align: center;
    color: #FFE5B4;
    font-size: 32px;
    margin: 40px 0;
}
.builtBy a{
    color: #FFE5B4;

}
/* ------- */
.myLinks {
    display: none;
}

.contents {
    
    display: none;
    max-width: 1000px;
    min-height: 400px;
    border: 1px solid #FFE5B4;
    margin: 0 auto;
    border-radius: 5px;
    color: #FFE5B4;
   
}

.contents .mainTitle {
    font-size: 24px;
    padding: 10px;
    border-bottom: 1px solid #FFE5B4;
}

.content {
    width: 100%;
    height: 120px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    border-bottom: 1px solid #FFE5B4;
}

.content .title {
    font-size: 14px;
    padding-left: 3px;
    margin-bottom: 20px;
}

.content a {
    text-decoration: none;
    color: #EAE3D2;
    border: 2px solid #EAE3D2;
    width: 150px;
    height: 40px;
    margin-bottom: 5px;
    margin-right: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 1s;
    font-size: 12px;
    border-radius: 5px;
    position: relative;
    overflow: hidden;
    z-index: 0;
}


.content a::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #EAE3D2;
    transition: all 1s;
    z-index: -1;
    transform: translateX(-100%);
  }
  
  .content a:hover::before {
    transform: translateX(0);
  }
  .content a:hover {
    color: black;
  }
/* .content a:hover {
    background-color: #0A043C;
} */


.active {
    display:block;
 
 }
 

@media (min-width:768px) {
    nav {
       
        height: 150px;
        
    }
    .hamburger {
        display: none;
    }

    .myLinks {
        display: block;
        width: 100%;
        height: 50px;
        margin: 100px auto;
        color: #FFE5B4;
        text-align: center;
        font-size: 22px;
    }

    .links {
        list-style-type: none;
    }

    .link {
        display: inline-block;
        padding-left: 40px;
        cursor: pointer;
        transition: all .5s;
        padding-top: 10px;

    }

    .link:hover {
        color: #D06224;
    }

    .contents .mainTitle {
        font-size: 30px;
    }

    .content {
        justify-content: space-between;
        align-items: flex-end;
        flex-direction: row;
    }

    .content .title {
        font-size: 22px;
        padding-left: 3px;
       
    }

    .content a {
        font-size: 18px;
        justify-content: center;
        align-items: center;
        width:200px
       
    }

    .content a:hover {
        background-color: #0A043C;
    }

    .active {
        display: block;
    }

}



@media (min-width:961px) {
    .myLinks {
        font-size: 28px;
    }
    
    .contents .mainTitle {
        font-size: 40px;
        
    }
    .content .title {
        font-size: 24px;
        
    }

    .content a {
        font-size: 22px;
        justify-content: center;
        align-items: center;
       
       
    }
}