@font-face{
    font-family: Intro-Trial;
    src: url(../Fonts/Intro-Trial-Md.otf);
    font-weight: 200;
}

@font-face{
    font-family: Intro-Trial;
    src: url(../Fonts/Intro-Trial-Bd.otf);
    font-weight: bold;
}

@font-face{
    font-family: Intro-Trial;
    src: url(../Fonts/Intro-Trial-Bk.otf);
    font-weight: 900;
}

html::-webkit-scrollbar{
    width: .7rem;
}

html::-webkit-scrollbar-thumb{
    background-color: #e7e5e5;
    border-radius: 10px;
}
html::-webkit-scrollbar-track{
    background-color: none;
}
a{
    text-decoration: none;
    color: #4B4B4B;
}
.pageTitle{
    position:fixed;
    left: 20px;
    top: 10px;
    font-size: 1.5rem;
    font-weight: 600;
    transition: color .4s;
}

.pageTitle:hover{
    cursor: pointer;
    color: #F87474;
}

.nav{
    text-align: center;
    margin-top: 0;
    padding-top: 10px;
}

.nav li{
    display: inline;

}

.nav a{
    padding-left: 50px;
    padding-right: 50px;
    padding-bottom: 20px;
    padding-top: 10px;
    margin-left: 5px;
    margin-right: 5px;
    text-decoration: none;
    color: #4B4B4B;
    font-weight: bold;
    font-size: 1.5rem;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}

.nav a:hover{
    box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.253);
}

.home{
    background-color: #3AB0FF;
}
.projects{
    background-color: #FFB562;
}
.skills{
    background-color: #F87474;
}
.resume{
    background-color: #F87474;
}

body{
    font-family: 'Sen', sans-serif;
    background-color: #FFB562;
    margin: 0;
    padding: 0;
    
}


.title{
    position: relative;
    color: #F9F2ED;
    text-align: center;
    /* font-size: 12rem; */
    font-size: max(12vw, 5rem);
    /* font-size: 5rem; */
    font-weight: bolder;
    margin-top: 60px;
}

.projectContainer{
    /* background-color: #20D8A4; */
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 150px;
    /* width: 800px; */
    width: max(70%, 400px);
    /* background-color: #20D8A4; */
    margin: 150px auto;
}

.projectItem{
    /* background-color: #20D8A4; */
    height: auto;
    color: #F9F2ED;
    text-align: center;
    font-size: 5rem;
    font-weight: bold;
    position: relative;
    flex-basis: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    
}

a{
    text-decoration: none;
}

.projectItem:hover{
    scale: 1.2;
    /* background: #4B4B4B; */
    align-items: flex-start;
    transition-duration: .5s;
}

.shipImg{
    position: absolute;
    width: 140px;
    top: 70px;
    transition: transform 1s, opacity 1s;
    visibility: hidden;
    opacity: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
}

.projectItem:hover .projectDescription{
    visibility: visible;
    opacity: 1;
}
.projectItem:hover .projectRole{
    visibility: visible;
    opacity: 1;
}

.projectItem:hover .shipImg{
    /* display: block; */
    transform: translateY(-110px);
    visibility: visible;
    opacity: 1;
    
}

.descCont{
    display: flex;
}

.projectDescription{
    color: #4B4B4B;
    font-size: 15px;
    position: absolute;
    left: 40px;
    top: 70px;
    visibility:hidden;
    opacity: 0;
    
    transition: opacity 1s;
}

.projectRole{
    color: #4B4B4B;
    font-size: 15px;
    position: absolute;
    right: 40px;
    top: 70px;
    visibility:hidden;
    opacity: 0;
    
    transition: opacity 1s;
}

.pockChange{
    position: absolute;
    width: 150px;
    top: 70px;
    transition: transform 1s, opacity 1s;
    visibility: hidden;
    opacity: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
}

.projectItem:hover .pockChange{
    /* display: block; */
    transform: translateY(-210px);
    visibility: visible;
    opacity: 1;
    
}

.projectLogo{
    /* width: 500px; */
    width: max(35vw, 300px);
    
}



.projectItem:hover{
    cursor: pointer;
}

.campTitle{
    font-family: 'Changa One', cursive;
    flex-basis: 100%;
    font-size: max(6vw, 50px);
}

.campImg{
    position: absolute;
    width: 240px;
    top: 40px;
    transition: transform 1s, opacity 1s;
    visibility: hidden;
    opacity: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
}

.projectItem:hover .campImg{
    /* display: block; */
    transform: translateY(-110px);
    visibility: visible;
    opacity: 1;
    
}

.brandImg{
    position: absolute;
    width: 200px;
    top: 40px;
    transition: transform 1s, opacity 1s;
    visibility: hidden;
    opacity: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
}

.brandTitle{
    font-size: max(6vw, 50px);
}

.projectItem:hover .brandImg{
    /* display: block; */
    transform: translateY(-90px);
    visibility: visible;
    opacity: 1;
    
}

.burger{
    visibility: hidden;
    right: 20px;
    top: 20px;
    position: absolute;
    /* background-color: #3AB0FF; */
    /* z-index: 99; */
    padding: 5px;
}

.exitMenu{
    position: absolute;
    top: 20px;
    right: 20px;
}

.mobile_nav{
    position: fixed;
    top: 0;
    left: 100%;
    width: 100%;
    min-height: 100vh;
    display: block;
    z-index: 98;
    background-color: #044d91;
    padding-top: 120px;
    transition: 0.4s;
}

.mobile_nav.is-active{
    left: 0;
}


.mobile_nav a{
    display: block;
    width: 100%;
    max-width: 200px;
    text-align: center;
    margin: 0 auto 16px;
    padding: 12px 16px;
    color: #F9F2ED;
    text-decoration: none;
    font-size: 25px;
}

@media screen and (max-width: 1300px) {
    .nav{
        display: none;
    }

    .projButton{
        display: block;
    }

    .pageTitle{
        position: absolute;
    }

    .burger{
        visibility: visible;
    }
}