@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@400;500;600;700&family=Pacifico&display=swap');

*{
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    box-sizing: border-box;
}

body{
    /* background: #080808; */
    color: #fff;
    background-image: url(./images/black-wall-texture-19.jpg);
    background-size: 100% 100vh;
    background-position: center;
    scroll-behavior: smooth;
}

#header{
    width: 100%;
    height: 100vh;
}

.container{
    padding: 10px 10%;
}

nav{
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    position:fixed;
    width:80%;
    background-color: #2626264b;
    z-index:1;
}

.name{
    width:200px;
}

.name:hover{
    color:#e5ff00
}

nav ul li{
    display: inline-block;
    list-style: none;
    margin: 10px 20px;
}

nav ul li a{
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    position: relative;
}

nav ul li a::after{
    content: '';
    width: 0;
    height: 3px;
    background: #e5ff00;
    position: absolute;
    left:0;
    bottom: -6px;
}

nav ul li a:hover::after{
    width:100%;
    transition: 0.2s;
}

.header-text{
    margin-top:20%;
    font-size: 30px;
}

.header-text h1{
    font-size: 60px;
    margin-top:20px;
}

.header-text h1 span{
    color: #e5ff00;
}

.header-text p{
    display: inline-block;
    font-size: 1.5em;
    letter-spacing: 0.1em;

    border-right: solid 3px #e5ff00;

    width:0 ;
    overflow: hidden;
    white-space: nowrap;

    animation: type 2s steps(19) 1s forwards,
    blink 1s steps(1) 2s;
}


@keyframes type {
    to{width: 20ch}
}

@keyframes blink {
    from {border-color: transparent}
    50% {border-color: #e5ff00;}
    to {border-color: transparent}
}

/* about */

#about{
    padding: 80px 0;
    color: #ababab;
    min-height: 100vh;
}

.row{
    display:flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.about-col-1{
    flex-basis: 35%;
}

.about-col-1 img{
    width: 100%;
    border-radius: 15px;
}

.about-col-2{
    flex-basis: 60%;
}

.sub-title{
    font-size: 60px;
    font-weight: 600;
    color: #fff;
    font-family:'Poppins', sans-serif;
}

.tab-titles{
    display: flex;
    margin: 20px 0;
}

.tab-links{
    margin-right: 50px;
    font-style: 18px;
    font-weight: 500;
    cursor: pointer;
    position: relative;
}

.tab-links::after{
    content: '';
    width:0;
    height:3px;
    background: #e5ff00;
    left:0;
    bottom:-8px;
    transition: 0.2s;
    position: absolute;
}

.tab-links.active-link::after{
    width:50%;
}

.tab-contents ul li{
    list-style: none;
    margin: 10px 0;
}

.tab-contents ul li span{
    color: #e5ff00  ;
    font-size: 14px;
}

.tab-contents{
    display:none;
}

.tab-contents.active-tab{
    display: block;
}

#interests{
    color: #e5ff00;
}

/* Skills */

#skills{
    padding: 50px 0;
    min-height: 100vh;
}

.skills-list{
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(250px,1fr));
    gap: 40px;
    margin-top: 50px;
}

.skills-list div i{
    font-size: 30px;
}

.skills-list div{
    font-size: 20px;
}

.skills-listt{
    display: flex;
    flex-wrap: wrap;
    gap:10px;
}

.skill{
    display: flex;
    min-width: 140px;
    color: black;
    font-weight: 800;
    padding: 8px;
    margin-top: auto;
    border-radius: 10px;
    font-size: 14px;
}

.skill div:nth-child(1){
    padding: 5px;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
}

.skill div:nth-child(2){
    padding: 5px;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}

.tools{
    margin-top: 10px;
    padding: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tool{
    min-height: 40px;
    min-width: 100px;
    padding: 5px;
    color:black;
    font-weight: 500;
}

/* Work and projects */

#workAndProjects{
    padding: 50px 0;
    min-height: 100vh;
}

.wp-list{
    display: grid;
    grid-template-columns: 300px 300px 300px;
    gap: 40px;
    margin: 50px 0;
    height: 60vh;
    overflow-y: scroll;
}

::-webkit-scrollbar{
    width: 5px;
    height: 0
}

::-webkit-scrollbar-track{
    background-color: black;
  }
  
  ::-webkit-scrollbar-thumb{
    background: #e5ff00;
    border-radius: 10px;
  }

.wp{
    border-radius:10px;
    position:relative;
    overflow: hidden;
    z-index:0;
    height: 320px;
}

.wp img{
    width:100%;
    border-radius: 10px;
    display: block;
    transition: transform 0.5s;
    height: 100%
}

.wp img:hover{
    transform: scale(1.1);
}

.layer h4{
    font-weight: bold;
    margin-bottom: 20px;
}

.layer{
    width:100%;
    height:0;
    background: linear-gradient(rgba(255, 254, 254, 0.6),#e5ff00c4);
    border-radius: 10px;
    position:absolute;
    left:0;
    bottom:0;
    overflow:hidden;
    display:flex;
    align-items:center;
    justify-content: center;
    flex-direction: column;
    padding: 0 20px;
    text-align: center;
    color:black;
    transition: height 0.5s;
}

.wp:hover .layer{
    height:100%;
}

/* .layer i{
    font-size: 30px;
} */

.layer div a{
    border: 1px solid black;
    width: 30%;
}

.used{
    display: flex;
    flex-wrap: wrap;
    gap:5px;
    padding: 3px;
    margin: 3px;
}

.used span{
    background-color: white;
    border-radius: 10px;
    padding: 2px;
    font-size: 13px;
    margin:2px;
    font-weight: bold;
}

/* Contact */

.col-contact-1{
    flex-basis:35%;
}

.col-contact-2{
    flex-basis:60%;
}

.col-contact-1 p{
    margin:30px;
}

.col-contact-1 p i{
    color: #e5ff00;
    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:#e5ff00;
    transform: translateY(-5px);
}

.btn{
    display: block;
    margin: 50px auto;
    width:fit-content;
    border: 1px solid #e5ff00;
    padding:14px 50px;
    border-radius:6px;
    text-decoration: none;
    color:#080808;
    background: #e5ff00;
}

.col-contact-2 form{
    width: 100%;
}

form input, form textarea{
    width:90%;
    border:0;
    outline:none;
    background: #262626;
    padding:15px;
    margin: 15px 0;
    color: #fff;
    font-size: 18px;
    border-radius: 6px;
}

form .btn2{
    padding: 14px 60px;
    font-size: 18px;
    margin-top: 20px;
    cursor: pointer;
}

#msg{
    color: #61b752;
    margin-top: -40px;
}

.copyright{
    width:100%;
    text-align: center;
    padding:25px 0;
    background: #262626;
    font-weight: 300;
    margin-top:20px;
}

.uil.uil-arrow-circle-up{
    position:fixed;
    right: 60px;
    bottom:30px;
    font-size: 40px;
    cursor: pointer;
}

.uil.uil-arrow-circle-up:hover{
    color:#e5ff00
}

body a{
    text-decoration: none;
    color: #fff;
}

/* experience */

.wp-list{
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(300px,1fr));
    gap: 40px;
    margin: 50px 0;
}

#experience{
    padding: 50px 0;
    height: 100vh;
}

.exp-tab-links{
    margin-right: 50px;
    font-style: 18px;
    font-weight: 500;
    cursor: pointer;
    position: relative;
}

.exp-tab-links::after{
    content: '';
    width:0;
    height:3px;
    background: #e5ff00;
    left:0;
    bottom:-8px;
    transition: 0.2s;
    position: absolute;
}

.exp-tab-links.exp-active-link::after{
    width:50%;
}

.exp-tab-contents ul li span{
    color: #e5ff00  ;
    font-size: 14px;
}

.exp-tab-contents ul li{
    list-style-type: disc;
}

.exp-tab-contents{
    display:none;
}

.exp-tab-contents.exp-active-tab{
    display: block;
}


/* responsiveness */

nav .uil{
    display: none;
}

progress{
    accent-color: #e5ff00;
}
@media only screen and (max-width:900px){

    .header-text{
        margin-top: 100%;
        font-size: 16px;
    }

    .header-text h1{
        font-size: 30px;
    }

    nav{
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
    }

    nav .uil{
        display: block;
    }

    nav ul{
        background: #e5ff00 ;
        position: fixed;
        top: 0;
        right: -200px;
        width:200px;
        height:100vh;
        padding-top: 50px;
    }

    nav ul li{
        display: block;
        margin: 25px;
    }

    nav ul li a{
        color: #080808;
    }
    
    nav ul .uil{
        position: absolute;
        top:25px;
        left:25px;
        cursor: pointer;
        color: #080808;
    }

    .sub-title{
        font-size: 40px;
    }

    .about-col-1,.about-col-2{
        flex-basis: 100%;
    }

    .about-col-1{
        margin-bottom: 30px;
    }

    .about-col-2{
        font-size: 14px;
    }

    .tab-titles{
        display: grid;
        grid-template-columns: auto auto;
        margin: 20px 0;
        grid-gap: 20px;
    }

    .tab-links{
        font-size: 16px;
        margin-right: 20px ;
    }

    .col-contact-1, .col-contact-2{
        flex-basis: 100%;
        font-size: 13px;
    }

    .copyright{
        font-size: 14px;
    }

    .skills-list{
        height: 60vh;
        overflow-y: scroll;
    }

    .exp-tab-contents{
        display:none;
        font-size: 13px
    }

    .col-contact-1 p{
        margin:30px;
        font-size: 12px;
    }

}