/* another nice color: #CE4A7EFF */

@font-face {
    font-family: eightBit;
    src: url(pixeloid-font/PixeloidMono-d94EV.ttf);
    font-weight: bold;
}

*{
    margin:0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    box-sizing: border-box;
}

html{
    scroll-behavior: smooth;
}

/*--------------------------- MY NAME IN A FANCY FONT ---------------------------*/
#name-fancy{
    font-family: eightBit;
}

#name-fancy span{
    color: aqua;
}

body{
    background: #080808;
    color: #fff;
}

.container{
    padding: 10px 10%;

}

.sub-heading{
    font-size: 60px;
    font-weight: 600;
    color:#fff;
}

/*--------------------------- NAVIGATION BAR ---------------------------*/
nav{
    display:flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap:wrap;
}

nav ul li a{
    color:#fff;
    text-decoration: none;
    font-size: 20px;
    position: relative;
}

nav ul li{
    display: inline-block;
    list-style: none;
    margin: 10px 30px;
    transition: transform 0.5s;
}

nav ul li a::after{
    content: '';
    width: 0;
    height: 3px;
    background: aqua;
    position: absolute;
    left: 0;
    bottom: -6px;
    transition: 0.5s;
}

nav ul li a:hover::after{
    width: 100%;
}

/*--------------------------- INTRO ---------------------------*/

#name-fancy2 {
    font-family: eightBit;
}


#name-fancy2 span{
    color:aqua;
}


#my-picture{
    border-radius: 50%;
    max-width: 40%;
    display:block;
    margin-top: 5px;
    margin-left: auto;
    margin-right: auto;
}

#git-and-linkedin{
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 25px;
}


#git-and-linkedin a{
    text-decoration:none;
    font-size: 40px;
    color:lightgray;
    display: inline-block;
    transition: transform 0.5s;
    margin-right: 20px;
}


#git-and-linkedin a:hover{
    color:#CE4A7EFF;
    transform: translateY(25px);
}

#git-and-linkedin a:hover span{
    display: block;
    transform: translateY(-35px);
}

#git-and-linkedin a span{
    display: none;
    font-family: eightBit;
    font-size: xx-small;
    position:absolute;
    transition: transform 0.5s;
}


.intro-text{
    text-align: center;
    font-size: larger;
}

.intro-text h1{
    font-family: eightBit;
}

#show-resume{
    display: flex;
    justify-content: center;
    margin-top: 5px;
}

.resumeDropDown{
    margin-top: 0px;
    background-color: #262626;
    position:absolute;
    display: none;
}

#dropDown1{
    margin-left: 4px;
    transform: translateY(-127%);
}

#learnBTN{
    margin-top: 0px;
    width:100%;
}

#resume1{
    margin-top: 0px;
    margin-left: 5px;
    margin-bottom: 0px;
    width: 100%;
}



.resume{
    margin-top: 10px;
}
.resume a{
    text-decoration: none;
    display: flex;
    align-items: center;
}

.resume a i{
    color:lightgray;
    font-size: 50px;
}

.resume a p{
    vertical-align: middle;
    margin-left: 5px;
    font-family: eightBit;
    font-size: x-small;
    color: #fff;
}

.resume:hover{
    background-color: aqua;
}

.resume:hover a i{
    color:#CE4A7EFF;
}

.resume:hover a p{
    color:#262626;
    font-weight: 600;
}

.resume:hover a{
    transform: translateX(-5px);
}

#hide-btn{
    display: flex;
    justify-content: center;
    margin-top: 5px;
    width:100%;
}

#hide{
    margin-top: 21px;
}

#resume3{
    margin-top: 21px;
    margin-left: 5px;
    margin-bottom: 0px;
    width: 100%;
}

#introduction{
    display: none;
}

.description{
    margin-top: 10px;
    text-align: left;
}

.description h2{
    text-align: center;
}
.description ul{
    margin-left: 10px;
    list-style: none;
}

.description ul li{
    display: inline-block;
    list-style: none;
    font-size: small;
}

.description ul li span{
    color: aqua;
    font-family: eightBit
}

#skills{
    background-color: #262626;
    border-radius: 10px;
}

#skills i{
    margin-left: 5px;
}

#skills:hover{
    background-color: aqua;
}

#skills:hover i{
    color: #CE4A7EFF;
}

#skills:hover ul li span{
    color: #CE4A7EFF;
}

#skills:hover ul li{
    color: #262626;
}

.links{
    color:#CE4A7EFF;
}

/*--------------------------- ABOUT ME ---------------------------*/

#about{
    padding: 30px 0;
}
.credentials{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-gap: 40px;
    margin-top:50px;
}

.credentials div{
    background: #262626;
    padding: 40px;
    font-size: 13px;
    font-weight: 300;
    border-right: 10px;
    transition: background 0.5s, transform 0.5s;
}

.credentials div i{
    font-size: 50px;
    margin-bottom: 30px;
}

.credentials div h2{
    font-family: eightBit;
    font-size: 30px;
    font-weight: 500;
    margin-bottom: 15px;
}

.credentials div:hover{
    color: #CE4A7EFF;
    background: aqua;
    transform: translateY(-10px);
}

.credentials div:hover li span{
    color:#262626;
    font-weight: 600;
}

.credentials div:hover .cred-details li{
    font-weight: 400;
}

.credentials div:hover .cred-details li a{
    color:purple;
}
.cred-details li{
    list-style: none;
    margin: 10px 0; 
}

.cred-details li span{
    color:aqua;
    font-size: 14px;
}

/*--------------------------- PROJECTS ---------------------------*/


#projects{
    padding: 50px 0;
}

.projects-list{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-gap: 40px;
    margin-top:50px; 
}

.project{
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

.project img{
    object-fit: cover;
    height: 90%;
    width: 100%;
    border-radius: 10px;
    display: block;
    transition: transform 0.5;
}

.project-caption{
    text-align: center;
}

.project-caption h3{
    font-family: eightBit;
    font-size: smaller;
}

.project:hover .project-caption{
    visibility: hidden;
}



.layer{
    width: 100%;
    height: 0%;
    background: linear-gradient(rgba(0,0,0,0.6),aqua);
    border-radius: 10px;
    position: absolute;
    left: 0;
    bottom: 0;
    overflow:hidden;
    display: flex;
    align-items:center;
    justify-content: center;
    flex-direction: column;
    padding:0 40px;
    text-align: center;
    font-size: 14px;
    transition: height 0.5s;
}

.layer h3{
    font-weight: 500;
    margin-bottom: 20px;

}

.layer ul li{
    display: inline-block;
    list-style: none;
    margin: 10px 5px;
}


.layer a{
    display: inline-block;
    margin-top: 20x;
    color: aqua;
    text-decoration: none;
    font-size: 18px;
    line-height: 60px;
    background: #fff;
    width: 60px; 
    height: 60px;
    border-radius: 50%;
}



.project:hover img{
    transform: scale(1.1);
}

.project:hover .layer{
    height: 100%;
}


/*--------------------------- CONTACT ME ---------------------------*/

.contact-col1{
    flex-basis: 35%;
}

.contact-col2{
    flex-basis: 60%;
}

.contact-left p{
    margin-top: 30px;
}
.contact-col1 p i{
    color: #CE4A7EFF;
    margin-right: 15px;
    font-size: 25px;
}

.social-icons{
    margin-top: 30px;
}

.social-icons a{
    text-decoration:none;
    font-size: 30px;
    margin-right: 15px;
    color:#ababab;
    display: inline-block;
    transition: transform 0.5s;
}

.social-icons a:hover{
    color: #CE4A7EFF;
    transform: translateY(-5px);
}

.btn{
    display: block;
    margin: 50px auto;
    width: fit-content;
    border: 1px solid #CE4A7EFF;
    padding: 14px;
    border-radius: 6px;
    text-decoration: none;
    color: #fff;
    transition: 0.5s;
}

.btn:hover{
    background:#CE4A7EFF;
}

.btn.btn2{
    background:#CE4A7EFF;
    display: inline-block;
}

#resume2{
    margin-left: 0;
    margin-top: 5px;
    margin-bottom: 0px;
}

#dropDown2{
    margin-top:0px;
}

.contact-right form{
    width: 100%;
}

form input, form textarea{
    width: 100%;
    border: 0;
    outline: none;
    background:#262626;
    padding: 15px;
    margin: 15px 0;
    color:#fff;
    font-size:18px;
    border-radius: 6px;
}

form .btn2{
    padding: 14px 6opx;
    font-size: 18px;
    margin-top: 20px;
    cursor: pointer;
}

.credits{
    width: 100%;
    text-align: center;
    padding: 25px 0;
    background:#262626;
    font-weight: 300;
    margin-top: 20px;
}

.credits a{
    color: aqua;
}

.credits h3{
    font-size: small;
}

.credits p{
    font-size:smaller;
}

.row{
    display: flex;
    justify-content:space-between;
    flex-wrap: wrap;
}


#msg{
    color: #61b752;
    margin-top: -40 px;
    display: block;
}

nav .fa-solid{
    display: none;
}

/*--------------------------- SMALL SCREEN ---------------------------*/

@media only screen and (max-width: 600px){

    #name-fancy{
        visibility: hidden;
    }

    .intro-col-1{
        margin-top: 53%;
        flex-basis: 100%;
    }

    .intro-col-2{
        flex-basis: 100%;
    }

    #my-picture{
        margin-top:10%;
        max-width:80%;
    }

    #learnBTN{
        font-size: x-small;
    }

    #resume1{
        font-size:x-small;
    }

    #resume3{
        font-size:x-small;
    }

    #hide{
        font-size: x-small;
    }

    .intro-text{
        
        margin-top: 100;
        font-size: 16px;
    }

    .intro-text{
        font-size:30 px;
    }
    
    .intro-text h1{
        font-family: eightBit;
        font-size: 25px;
    }

    

    nav .fa-solid{
        display: block;
        font-size: 20px;
        cursor: pointer;
    }

    nav ul{
        background: #ff004f;
        position: fixed;
        top: 0;
        right: -200px;
        width: 200px;
        height: 100vh;
        padding-top: 50px;
        z-index: 2;
        transition: right 0.5s;
    }

    nav ul li{
        display: block;
        margin: 25px;
    }

    nav ul .fa-solid{
        position: absolute;
        top: 25px;
        left: 25px;
        cursor: pointer;
    }

    .description ul li{
        font-size: x-small;
    }

    .sub-heading{
        font-size: 40px;
    }

    .contact-col1, .contact-col2{
        flex-basis: 100%;
    }

    .credits h3{
        font-size: smaller;
    }

    .credits p{
        font-size:x-small;
    }
}
