@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Poppins',sans-serif;
}
html{
    scroll-behavior: smooth;
}
a{
    color:#fff;
    text-decoration: none;

}
.navbar{
    position:fixed;
    left:0;
    top:0;
    width:100%;
    padding:25px 9%;
    display:flex;
    justify-content: space-between;
    align-items: center;
    z-index:100;
    visibility: hidden;
    opacity: 0;
    animation:show-content 1.5s linear forwards;
    animation-delay:1.2s ;
}
@keyframes show-content{
    100%{
        visibility: visible;
        opacity: 1;
    }
}

.navbar .logo{
    font-size:30px;
    font-weight: 700;
}
.navbar .logo::first-letter{
    color:yellow;
    font-size: 40px;
}
.navbar ul {
    display:flex
}
.navbar ul li {
    margin-left: 35px;
} 
.navbar ul li a{
    font-size:20px;
    font-weight: 500;
    transition: .5s;
}
.navbar ul li a:hover ,
.navbar ul li a.active {
    color:yellow;
}
.home{
    display: flex;
    align-items: center;
    gap:100px;
    height:100vh;
    padding:60px 9% 0;
    color:#fff;
    visibility: hidden;
    opacity: 0;
    animation:show-content 1.5s linear forwards;
    animation-delay:1.6s ;
}
.home-info h1{
    font-size:55px;
}

.home-info h2{
    display: inline-block;
    font-size:32px;
    margin-top:-10px;
}
.home-info h2 span{
    position: relative;
    display: inline-block;
    color: transparent;
    -webkit-text-stroke: 1.9px yellow ;
    animation: display-text 16s linear infinite;
    animation-delay:calc(-4s * var(--i)) ;
}
@keyframes display-text{
    25%,100% {
        display: none;
    }
}
.home-info h2 span::before{
    content:attr(data-text);
    position: absolute;
    width: 0;
    border-right: 2px solid yellow;
    color:blue;
    white-space: nowrap;
    overflow:hidden;
    animation:fill-text 4s linear infinite;
    animation-delay:calc(-4s * var(--i));
}
@keyframes fill-text{
    10%,100%{
        width:0;
    }
    70%,90%{
        width: 100%;
    }
}


.home-info p{
    font-size:16px;
    margin:10px 0 25px;
}
.home-info .btn-sci{
    display:flex;
    align-items: center;
}
.btn{
    display:inline-block;
    padding:10px 30px;
    background: yellow;
    border:2px solid yellow;
    border-radius: 40px;
    box-shadow: 0 0 7px yellow;
    font-size: 16px;
    color:#1f242d;
    font-weight:600; 
    transition: .5s;
}
.btn:hover{
    background: transparent;
    color:white;
    box-shadow: none;
}
.home-info .btn-sci .sci{
    margin-left:20px;  
}
.home-info .btn-sci .sci a{
    display: inline-flex;
    padding:8px;
    border:2px solid yellow;
    border-radius: 50%;
    font-size:20px;
    color:yellow;
    margin:0 8px;
    transition: .5s;
}
.home-info .btn-sci .sci a:hover{
    background-color: white;
    color:#1f242d;
    box-shadow: 0 0 5px yellow;
}
.home-img .img-box{
    position: relative;
    width:32vw;
    height:32vw;
    border-radius:50%;
    padding: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}
.home-img .img-box::before,
.home-img .img-box::after{
    content:'';
    position:absolute;
    width:500px;
    height:500px;
    background: conic-gradient(transparent,transparent,transparent,yellow) ;
    transform: rotate(0deg);
    animation:rotate-border 10s linear infinite;

}
.home-img .img-box::after{
    animation-delay: -5s;
}
@keyframes rotate-border{
    100%{
        transform: rotate(360deg);
    }
}
.home-img .img-box .img-item{
    position:relative;
    width:100%;
    height:100%;
    background:#1f242d;
    border-radius: 50%;
    border:.1px solid #1f242d;
    display: flex;
    justify-content: center ;
    overflow: hidden;
    z-index: 1;
}
.home-img .img-box .img-item img{
    position: absolute;
    top:25px;
    display: block;
    width:85%;
    object-fit: cover;
    mix-blend-mode:difference;
}
.bars-animation{
    position:absolute;
    height: 100%;
    width: 100%;
    display: flex;
    z-index: -1;
}
.bars-animation .bar{
    width: 100%;
    height: 100%;
    background: #1f242d;
    transform: translateY(-100%);
    animation:show-bars .5s ease-in-out forwards;
    animation-delay:calc(.1s * var(--i));
}
@keyframes show-bars{
    100%{
        transform:translateY(0%);
    }
}

/* ----------------------------------------------------about--------------------------------------*/
#about{
    background-color: #1f242d;
    padding:80px ;
    color: white;
}
.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:White;
}
.tab-titles{
    display:flex;
    margin:20px 0 40px;

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

}
.tab-links::after{
    content:'';
    width:0;
    height:3px;
    background:#ff004f;
    position:absolute;
    left:0;
    bottom:-8px;
    transition: 0.5s;
}
.tab-links.active-link::after{
    width:50%;
}
.tab-contents ul li{
    list-style:none;
    margin:10px 0;
}
.tab-contents ul li span{
    color:yellow;
    font-size:14px;
}
.tab-contents{
    display:none;
}
.tab-contents.active-tab{
    display:block;
}
/*------------------------------------portfolio-------------------------------------*/
#portfolio{
    padding:50px ;
    background-color: #1f242d;
}
.work-list{
    display:grid;
    grid-template-columns: repeat(auto-fit,minmax(250px,1fr));
    grid-gap:40px;
    margin-top:50px;
}
.work{
    border-radius:10px;
    position:relative;
    overflow:hidden;
}
.work img{
    width:100%;
    border-radius:10px;
    display:block;
    transition: transform .5s;
}
.layer{
    width:100%;
    height:0;
    background: linear-gradient(rgba(0,0,0,0.6),#ff004f);
    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;
    transition: height 0.5s;
    color:white;
}
.layer h3{
    font-weight:500;
    margin-bottom:20px;
}
.layer a{
    margin-top:20px;
    color:#ff004f;
    text-decoration: none;
    font-size:18px;
    line-height:60px;
    background: #fff;
    width:60px;
    height:60px;
    text-align: center;
    font-size:14px;
}
.work:hover img{
    transform:scale(1.1);
}
.work:hover .layer{
    height: 100%;
}
/*-------------------------------------My services---------------------------*/
#services{
    padding:30px ;
    background-color: black;
}
.services-list{
    display:grid;
    grid-template-columns: repeat(auto-fit, minmax(250px,1fr));
    grid-gap:40px;
    margin-top:50px;

}
.services-list div{
    background: #262622; 
    padding:40px;
    font-size:13px;
    font-weight:300;
    border-right:10px;
    transition: background 0.5s, transform 0.5s;
}
.services-list div i{
    color: white;
    font-size:50px;
    margin-bottom:30px;
}
.services-list div h2{
    font-size:30px;
    font-weight:500;
    margin-bottom:15px;
    color:white;
}
.services-list div a{
    text-decoration: none;
    color:#fff;
    font-size:12px;
    margin-top:20px;
    display:inline-block;
}
.services-list div p{
    color:white;
}
.services-list div:hover{
    background:#ff004f;
    transform: translateY(-10px);

}
/*------------------------------------contact-------------------------------------*/
#contact{
    background-color: black;
    padding: 40px;
}
.contact-left{
    flex-basis: 35%;
}
 .contact-right{
    flex-basis: 60%;
 }
 .contact-left p{
    margin-top:30px;
    color:white;
 }
 .contact-left p i{
    color:yellow;
    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:yellow;
    transform:translateY(-5px);
    
 }
 .btn-2{
    display: inline-block;
    background: yellow;
    padding:10px 30px;
    border:2px solid yellow;
    border-radius: 40px;
    box-shadow: 0 0 7px yellow;
    font-size: 16px;
    color:#1f242d;
    font-weight:600; 
    transition: .5s;
 }
 .btn-2:hover{
    background: transparent;
    color:white;
    box-shadow: none;
}
 .contact-right form{
    width: 100%;
 }
 form input, form textarea{
    width:100%;
    border:0;
    outline:none;
    background:#262622;
    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;
 }
 .copyright{
    width:100%;
    text-align: center;
    padding:25px 0;
    background: #262626;
    font-weight:300;
    margin-top:20px;
 }
.contact-right textarea{
    height: 200px;
}
/*---------------------------------CSS for small Screens--------------------*/
@media only screen and (max-with:600px){
    
}