/* Global */
@import url(global.css);


/* old navigation menu */
aside{
    display: none;
}
main {
    margin-left: 0px;
}


/* Content */
#mainContent{
    max-width: 940px;
}
/* Intorduction */
/* #introduction{
    display: flex;
    padding-top: 30px;
    width: 100%;
}

#introduction h2{
    margin-bottom: 5px;
    font-size: 24px;
}
h1{
    font-size: 50px;
    margin: 0;
}
    
h1 span{
    background: linear-gradient(90deg, #487BFF 0%, #FFF 100%);
    background-clip: text;
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
}

#introText p{
    line-height:1.5;
    font-size: 20px;
    margin-top: 15px;
} */

spline-viewer{
    position: relative;
    max-height: 100vh;
    max-height: 100svh;
    margin-top: -36px;
    margin-bottom: -114px;
    z-index: 0;
}
#introduction{
    position: relative;
    display: flex;
    gap: 20px;
    justify-content: space-between;
    background-color: var(--background);
    z-index: 0;
    
    padding-bottom: 20px;
}
#introText{
    display: flex;
    gap: 20px;
}
#intro1,#intro2{
    font-size: 14px;
    font-weight: 100;
    margin: 0;
    padding: 20px 0;

}
#intro1{
    max-width: 240px;
}
#intro2{
    max-width: 300px;
}
#introNBtn{
    display: flex;
    align-items: center;
}
#scrollDownBtn{
    height: 40px;
    width: 40px;
    -moz-animation: bounce 2s infinite ease;
    -webkit-animation: bounce 2s infinite ease;
    animation: bounce 2s infinite ;
}
#downArrow path{
    fill: var(--paragraph);
}
#scrollDownBtn:hover #downArrow path{
    fill: var(--background);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(6px);
    }
    60% {
        transform: translateY(3px);
    }
}



#socialIcons{
    display: flex;
    align-items: center;
    gap:18px;

}
#socialIcons svg{
    fill: #eee;
    transition: 0.15s;
}

#socialIcons svg:hover{
    fill: #6f98ff;
}


/* UI Alien */
#coolStuff{
    min-width: 364px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
#UIalienS{
    cursor: pointer;
}
#blush rect{
    fill: #C2C2C2;
    transition: 0.25s ease;
}
#eyeClose,
#eyeOpen{
    transition: 0.25s ease;
}

#output{
    opacity: 0;
    transition: 0.2s;
}

#UIalienMobile{
    display: none;
}

/* New Projects */
#newProjects h2{
    font-size: 20px;

    color: #C2C2C2;
    font-weight: 200;
    /* font-style: italic; */
}
#newProjects hr{
    margin-top: 0px;
}


/* Project Title */
/* Recent Projects */
#recentProjects{
    display: flex;
    gap: 20px;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.projectTitle{
    display: flex;
    flex-wrap: wrap;

    gap: 20px;
    width: calc(50% - 10px);
    max-width: 500px;
    border-radius: 20px;

    /* background-color: #222222; */

    margin-bottom: 20px;
}
.projectTitle img{
    width: 100px;
    aspect-ratio: 1 / 1;
    object-fit: cover;

    border-radius: 20px ;
    padding: 10px;
    background-color: #efefef;
}
#lastDropOfHopeIcon{
    background-color: #c8b6e2;
}
.projectTitle h3{
    /* color: #D66666; */
    font-size: 20px;
    margin-top: 5px;
    margin-bottom: 0;
}
.projectTitle p{
    margin-top: 0px;
    font-size: 16px;
    color: var(--paragraph);
}
.btnContainer{
    display: flex;
    gap: 10px;
}
.projectTitle .linkBtn {
    width: 80px;
    height: 36px;
}

/* Projects */
#projects{
    margin-top: 30px;
    margin-bottom: 180px;
    width: 100%;
}
#projects a{
    color: #FFF;
    text-decoration: none;

    position: relative;
}

.project{
    height: 480px;
    width: 100%;
    max-width: 960px;

    display: flex;
    margin-bottom: 40px;

    border-radius: 20px;
    border: 0.5px solid #c2c2c25f;
    overflow: hidden;

    cursor: pointer;
    transition: 0.5s ease;
}

.project:hover{
    box-shadow: 0px 0px 18px 0px rgba(255, 255, 255, 0.35);
}


.projectImage{
    width: 63%;
    position: relative;
    overflow: hidden;
    /* background-repeat: no-repeat;
    background-position: center;
    background-size: cover; */
}
.projectImage::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover; /* Base size */
    /*transform: scale(1.2);  Increase the size by 120% */
    /*transform-origin: center;  Keep the zoom centered */
    transition: 0.5s ease;
}
.project:hover .projectImage::before{
    transform: scale(1.04);  /*Increase the size by 120% */
    transform-origin: center;  /*Keep the zoom centered */
}

#haiTouImg::before{
    background-image: url("../media/haitouMockUp.webp");
}
#allaraImg::before{
    background-image: url("../media/AllaraMockup.webp");
}
#providencePlaceImg::before{
    background-image: url("../media/ProvidencePlaceMockup.webp");
}
#vendingMachineImg::before{
    background-image: url("../media/VendingMachineMockup.webp");
}
#accordionImg::before{
    background-image: url("../media/AccordionMockup.webp");
}
#baeometerImg::before{
    background-image: url("../media/BaeometerMockup.webp");
}
#artPlaceImg::before{
    background-image: url("../media/artPlaceMockup.webp");
}
#pharmailyImg::before{
    background-image: url("../media/PharmailyMockUp.webp");
}
#tritonImg::before{
    background-image: url("../media/triton2goMockupClean.webp");
    opacity: 0.9;
}
#otherProjectsImg::before{
    background-image: url("../media/otherProjectsMockup.webp");
}

.projectInfo{
    width: 37%;
    min-width: 284px;
    background-color: #222222;

    padding: 0 40px;
    display: flex;
    align-items: center;
}

.projectInfo h3{
    font-size: 20px;
    color: #C2C2C2;
    margin-bottom: 0;
}
.projectInfo h2{
    font-size: 40px;
    margin: 0;
}
#otherProjects h2{
    font-size: 33px;
}
#haiTouProject .projectInfo h2{
    color: #2e85ef;
}
#allaraProject .projectInfo h2{
    color: #9AB8FF;
}
#providencePlaceProject .projectInfo h2{
    background: linear-gradient(175deg, #613931 -12.09%, #F9F7EE 102.1%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
#vendingMachineProject h2{
    font-size: 28px;
}
#accordionProject h2{
    color: #0098FD;
}
#baeometerProject .projectInfo h2{
    background: linear-gradient(90deg, #F9B1B1 0%, #DB8FFF 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
/* #artPlaceProject .projectInfo h2{
    color: #FFCA2A;
    text-shadow: 0px 0px 13px rgba(255, 255, 255, 0.40);
} */
#pharmailyProject .projectInfo h2{
    background: linear-gradient(90deg, #66C3D4 2.56%, #6ACBB7 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0px 0px 7px rgba(255, 255, 255, 0.20);
}

#tritonProject .projectInfo h2{
    color: var(--discoverColor);
}

.taskList{
    margin-top: 50px;
    color: #C2C2C2;
}


/* New hover alien appear effect */
#projects .alien2,
#projects .sparks{
    max-width: 200px;
    max-height: 200px;

    position: absolute;
    top: 50%;
    left: 0;

    opacity: 0;
    transform: translate(-88px, -50%);

    transition: 0.5s ease;
}
#projects .sparks{
    transition: 0.4s ease;
}
#projects a:hover .alien2,
#projects a:hover .sparks{
    opacity: 100;
    transform: translate(-110px, -50%);
}


/* Other Projects */
#projectArchive{
    display: flex;
    max-width: 640px;
    margin: 0 auto;

    background-color: #222222;
    border: var(--border);
    border-radius: 20px;

    overflow: hidden;
    transition: 0.5s ease;
}

#projectArchive:hover{
    box-shadow: 0px 0px 18px 0px rgba(255, 255, 255, 0.35);
}
/* #projectArchiveImage{
    max-width: 160px;
    aspect-ratio: 1/1;
    object-fit: cover;

    border-radius: 20px 0 0 20px;
} */
#projectArchiveImage{
    width: 100%;
    max-width: 160px;
    aspect-ratio: 1/1;

    position: relative;
    overflow: hidden;
}
#projectArchiveImage::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 160px;
    height: 100%;
    background-image: url("../media/otherProjectsMockup.webp");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover; 
    
    transition: 0.5s ease;
}

#projectArchive:hover #projectArchiveImage::before{
    transform: scale(1.04);
    transform-origin: center;
}

#projectArchiveContent{
    max-width: 455px;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    align-items: center;
    padding: 20px;
}
#projectArchiveContent h3{
    font-size: 24px;
    margin: 0;
    margin-bottom: 4px;
}
#projectArchiveContent p{
    font-size: 14px;
    color: #D9D9D9;
    margin: 0;
}


/* ///Contact/// */
hr{
    margin-top: 80px;
}
#contact{
    position: relative;

    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: 960px;
    
    border-top: var(--border);
    background-color: var(--background);
    color: #EEE;
    padding: 36px 0;
}

#emailInfo{
    padding-left: 5px;
}

#contact h2{
    font-size: 40px;
    margin-bottom: 0;
    margin-top: 5px;
}
#contact h3{
    display: flex;
    align-items: center;
    gap: 10px;
}
#contact svg{
    fill: #EEE;
}

#myEmail{
    background-color: var(--lightBack);
    padding: 10px 20px;
    border-radius: 10px;
    max-width: 300px;

    font-family: 'Courier New', Courier, monospace;
    font-weight: 500;

    cursor: pointer;
}

.visitLinks{
    display: flex;
    gap:10px;

    margin: 20px 0 50px 0;
}
/* .linkBtn{
    display: flex;
    justify-content: center;
    align-items: center;
    color: #FFF;
    background-color: #eeeeee00;
    text-decoration: none;
    font-size: 16px;

    border: 1.5px solid var(--borderColor);
    border-radius: 50px;

    width: 140px;
    height: 46px;
    padding: 0 8px;

    transition: var(--fastTransition);
    cursor: pointer;
}

.linkBtn:hover{
    color: var(--background);
    background-color: #fff;
    border: 1.5px solid var(--paragraph);
}

.linkBtn.fill{
    color: var(--background);
    background-color: #fff;
    border: 1.5px solid var(--paragraph);
}
.linkBtn.fill:hover{
    color: #fff;
    background-color: var(--borderColor);
    border: 1.5px solid var(--borderColor);
} */



#contactWays{
    border-left: var(--border);
    padding: 20px 40px;
    display: flex;
    gap: 10px;
    flex-direction: column;
    justify-content: space-evenly;
    width: 42%;
}


#contactWays a{
    display: flex;
    color: #EEE;
    text-decoration: none;
    align-items: center;
    justify-content: space-between;

    width: 100%;
    text-align: center;

    border: 1px solid var(--borderColor);
    border-radius: 10px;
    padding: 12px;

    transition: 0.2s ease;
}

.spaceHolder{
    width: 26px;
}

#contactWays a:hover{
    box-shadow: 0px 0px 10px 0px rgba(255, 255, 255, 0.25);
}

#contact img{
    position:absolute;
    max-width: 200px;
    right: 30px;
    top:-65px;
    z-index: -1;
}

/* Small Screen */
@media only screen and (max-width: 767px), 
screen and (max-height: 480px) {
    
    /* Introduction */
    spline-viewer{
        margin-bottom: -160px;
    }
    #introduction{
        flex-direction: column;
        padding-bottom: 20px;
    }
    #introText{
        flex-direction: column;
        gap: 10px;
    }
    #introText p{
        padding: 0;
    }
    #introduction h2{
        font-size: 20px;
    }
    h1{
        max-width: 200px;
        font-size: 40px;
    }

    /* #introText p {
        font-size: 16px;
    } */
    /* UI Alien */
    #coolStuff{
        display: none;
    }
    /* #UIalienMobile{
        display: block;
        position: absolute;
        top: 50px;
        right: 50px;

        width: 150px;
        z-index: -1;
        opacity: 0.25;
    } */

    /* Project Title */
    /* Recent Projects */
    .projectTitle{
        min-width: none;
        flex-wrap: nowrap;
        width: auto;
    }


    /* New Project */
    .projectTitle{
        gap: 10px;
    }
    .projectTitle img{
        width: 91px;
        height: 91px;;
    }
    .projectTitle h3{
        font-size: 16px;
    }
    .projectTitle p{
        font-size: 14px;
    }

    /* Project */
    .project{
        flex-direction: column;
        height: auto;
        margin-bottom: 20px;
    }
    .projectInfo{
        min-width: 0;
        width: 100%;
        padding: 20px;
    }
    .projectInfoContainer{
        width: 100%;
        display: flex;
        justify-content: space-around;
        gap: 10px
    }
    .projectInfoContainer > div{
        max-width: 300px;
    }

    .projectImage{
        width: 100%;
        aspect-ratio: 16/9;
    }
    .projectInfo h3 {
        margin-top: 0;
        font-size: 16px;
    }
    .projectInfo h2{
        font-size: 30px;
    }
    .projectInfo p{
        font-size: 14px;
    }

    .taskList{
        margin-top: 0;
    }

    /* Project Archive */
    #projectArchiveImage{
        width: 120px;
    }
    #projectArchiveContent{
        justify-content: flex-start;
    }
    #projectArchiveContent svg{
        width: 30px;
    }
    #projectArchiveContent h3{
        font-size: 16px;
    }

    /* Contact */
    #contact{
        flex-direction: column;
    }
    #contact h2{
        font-size: 30px;
    }

    #emailInfo{
        width: 100%;
        max-width: 300px;
        margin: 30px auto 0 auto;
        padding: 0;
    }
    .visitLinks{
        margin-bottom: 20px;
    }


    #contactWays{
        width: 100%;
        
        border: none;
        padding: 20px;
    }

    /* Even smaller screen */
    @media only screen and (max-width: 310px){
        .projectInfoContainer{
            flex-direction: column;
        }
    } 
}