*{
    margin: 0;
    padding: 0;
    font-family: 'Poppins' , sans-serif;
    box-sizing: border-box;
}

html{
    scroll-behavior:smooth  ;
}
body{
    background-color: black;
    color: white;
    font-family: 'Poppins', sans-serif;
}

#header{
    background-image: url(bg.jpg);
    width: 100%;
    height: 100vh;
    background-size: cover;
    background-position: center;
    
}

.logo{
    height: 15%;
    width: 15%;
}

.container{
    padding: 10px 5%;
}

nav{
    display: flex;
    align-items:center;
    justify-content: space-between;
    flex-wrap: wrap;
}

nav ul li{
    display: inline-block;
    list-style: none;
    margin: 10px 20px;
}

nav ul li a{
    color: white;
    text-decoration: none;
    font-size: 18px;
    position: relative;
}

nav ul li a::after{
    content: '';
    width: 0;
    height: 3px;
    background: #00FFFF;
    position: absolute;
    left: 0;
    bottom: -6px;
    transition: 0.5s;
}

nav ul li a:hover::after{
    width: 100%;
}

.header-text{
    margin-top: 20%;
    font-size:400%;
}

.header-text h1{
    margin-top: 60px;
    font-size: 20px;
}

.header-text span{
    color: #00FFFF;
}


.class{
 color: white;
}

/* about */

#about{
    padding: 80px 0;
    color: #ababab;    
}

.row{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-top: 10%;
}


.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;
    color: #1F51FF; 
    -webkit-text-stroke: 0.5px white; 
    text-shadow: 0 0 1px #1F51FF, 0 0 3px #1F51FF, 0 0 7px #1F51FF;
}

.tab-links::after{
    content: '';
    width: 0;
    height: 3px;
    background: #728ae1;
    position: absolute;
    left:0; 
    bottom: -8px;
    transition: 0.5s;
}

.active-link.active-link::after{
    width: 50%;
}

.tab-contents ul li{
    margin: 10px 0;
}

.tab-contents ul li span{
    font-size: 16px;
    color: rgb(147, 181, 209);

}
.tab-contents{
    display: none;
}

.tab-contents.active-tab{
    display: block;
}   

.tab-links:hover{
    transform: scale(1.1);
}

#sizemenu{
    color: #48A6A7;
    -webkit-text-stroke: 0.5px white; 
    text-shadow: 0 0 1px #1F51FF, 0 0 3px #48A6A7, 0 0 7px #1F51FF;
}

/* services */

 #services{
    padding: 30px 0;
}

.services-list{
    display:grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-gap:40px;
    margin-top: 50px;
}

.services-list div{
    background: #262626;
    padding: 40px;
    font-size: 13px;
    font-weight: 300;
    border-radius: 10px;
    transition: background- 0.5s, transform 0.5s;
}

.services-list div i{
    font-size: 50px;
    margin-bottom: 20px;
}

.services-list div h2{
    font-size: 30px;
    font-weight: 500;
    margin-bottom: 15px;
}

.services-list div a{
    text-decoration: none;
    color: white;
    font-size:12px;
    margin-top: 20px;
    display: inline-block;
}

.services-list div div:hover{
    background: #48A6A7;
    transform: translateY(-10px);
} 

.certi{
    color: white;
    border-radius: 5px;
    padding: 5px;
    margin-left: 130%;
    background:  #006A71;
    }
    

.certi:hover{
    background:#48A6A7 ;
   transform: scale(1.1);
}
/* port */

#portfolio{
    padding: 50px 0;
    margin-top: 10%;
}

.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 0.5s;
}

.layer {
    width: 100%;
    height: 0;
    background: linear-gradient(rgba(0,0,0,0.6), #48A6A7);
    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 a {
    margin-top: 20px;
    color: #48A6A7;
    text-decoration: none;
    font-size: 18px;
    line-height: 60px;
    background: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    text-align: center;
}

.work:hover img{
    transform: scale(1.1);
}

.work:hover .layer{
    height: 100%;
}

.btn{
    display: block;
    margin: 50px auto;
    width: fit-content;
    border: 1px solid #48A6A7;
    padding: 14px 50px;
    border-radius: 6px;
    text-decoration: none;
    color: white;
    transition: background 0.5s;
}

.btn:hover{
    background:#48A6A7 ;

}


/* PROFILE SECTION */



.section__text__p2 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
  }
  
  .title {
    font-size: 3rem;
    text-align: center;
  }
  
  #socials-container {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
    gap: 1rem;
  }
  
  
  .btn-color-1,
  .btn-color-2 {
    border: rgb(53, 53, 53) 0.1rem solid;
  }
  
  .btn-color-1:hover,
  .btn-color-2:hover {
    cursor: pointer;
  }
  
  .btn-color-1,
  .btn-color-2:hover {
    background: rgb(53, 53, 53);
    color: #00FFFF;
  }
  
  .btn-color-1:hover {
    background: rgb(0, 0, 0);
  }
  
  .btn-color-2 {
    background: none;
  }
  
  .btn-color-2:hover {
    border: rgb(255, 255, 255) 0.1rem solid;
  }
  
  .btn-container {
    gap: 1rem;
  } 
  
  
  /* ABOUT SECTION */
  
  #about {
    position: relative;
  }
  
  .about-containers {
    gap: 2rem;
    margin-bottom: 2rem;
    margin-top: 2rem;
  }
  
   .about-details-container {
    justify-content: center;
    flex-direction: column;
  } 
  
  .about-containers,
  .about-details-container {
    display: flex;
  }
  
  .about-pic {
    border-radius: 2rem;
  }
  
  
  .details-container {
    padding: 1.3rem;
    flex: 1;
    background: #7ab7b7;
    border-radius: 2rem;
    border: rgb(53, 53, 53) 0.1rem solid;
    border-color: black;
    text-align: center;
  }
  
  .section-container {
    gap: 4rem;
    height: 80%;
  }
  
  .section__pic-container {
    height: 400px;
    width: 400px;
    margin: auto 0;
  }
  
  
  /* PROJECTS SECTION */
  
  #projects {
    position: relative;
  }
  
  .color-container {
    border-color: black;
    background: grey;
  }
  
  .project-img {
    border-radius: 2rem;
    width: 90%;
    height: 50%;
  }
  
  .project-title {
    margin: 1rem;
    color: black;
  }
  
  .project-btn {
    color: black;
    border-color: black;
  }
  
  .extra{
      text-align: left;
      margin-bottom: 5%;
      margin-top: 3%;
  }

/* contact */

#contact{
    margin-top: 9%;
    font-size: 18px;
    margin-top: 10px;
}

.contact-left {
    flex-basis: 35%;
}

.contact-right {
    flex-basis: 60%;
}

.contact-left p {
    margin-top: 30px;
}

.contact-left p a {
    text-decoration: none ; 
    color: white ;
    color: white;
}

.contact-left p :hover{
    background: #48A6A7 ;
   transform: scale(1.1);
}
.contact-left p i{
    color: #48A6A7;
    margin-right: 15px;
    font-size:25px
}

.iconed{
    margin-right: 2%;
}
.social-icons{
    margin-top: 30px;
}

.social-icons a{
    text-decoration: none;
    font-size: 20px;
    margin-right: 15px;
    color: #ababab;
    display: inline-block;
    transition: transform 0.5s;
}

.social-icons .fa-solid{
    color: #48A6A7;
    font-size: 22px;
    padding-right: 2%;
}
.social-icons a:hover{
    color: #00FFFF;
    transform: translateY(-5px);
}

.btn.btn2{
    display: inline-block;
    background-color: #006A71;
}

.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: 15px;
    border-radius: 6px;

}

form .btn2{
    padding: 14px 60px;
    font-size: 18px;
    margin-top: 20px;
    cursor: pointer;
}

/* copyright */
.copyright{
    width: 100%;
    text-align: center;
    padding: 25px 0;
    background: #262626;
    font-weight: 300;
    margin-top: 20px;
}

nav .fas{
    display: none;
}


.p{
    margin-top: 4%;
}

.icon {
    font-size: 22px;
    margin-top: 10px;
}


/* media query */
@media only screen and ( max-width:600px) {
    #header{
        background-image: url(profile2.jpg);
    }

    .header-text{
        margin-top: 50%;
        font-size:17px;
    }
    .header-text h1{
        font-size: 30px;
    }
    nav .fas{
        display: block;
        font-size: 25px;
    }

    nav ul{
        background: #31a7a7;
        position: fixed;
        top: 0;
        right: -200px;
        width: 200px;
        height: 100vh;
        padding-top: 50px;
        z-index: 2;
        transition:right 0.5s ;
    }

    nav ul li{
        margin: 25px;
        display: block;
    }

    nav ul .fas{
        position: absolute;
        top: 25px;
        left: 25px;
        cursor: pointer;
    }
    
    .sub-title{
        font-size: 40px;
    }
        
    .about-col-1{
            flex-basis: 100%;
            margin-top: 110%;
        }

    .about-col-1{
            margin-bottom: 40px;
        }

    .about-col-2{
            font-size: 14px;
            text-align: center;
            width: 100%;
            display: flex;
            flex-direction: column;
            align-items: center;
        }

    .about-col-2 p {
            text-align: justify;
        }
        p {
            text-align: justify;
        }
                
        ul {
            text-align: left;
            padding-left: 20px;
            list-style-position: inside; 
        }

        .tab-contents ul {
            text-align: left;
        }


        .row {
            display: flex;
            flex-direction: column; 
            align-items: center; 
            text-align: center;
        }
        
        .tab-links{
            font-size: 16px;
            margin-right: 20px;
        }

        .contact-left, .contact-right{
            flex-basis: 100%;
        }

        .copyright{
            font-size: 14px;
        }
    
        .contact-left p a {
            text-decoration: none ; 
            color: white ;
            color: white;
        }
        
        .contact-left p :hover{
            background:purple ;
           transform: scale(1.1);
        }
        .title{

        font-size: 40px;
        }

        .about-containers {
            display: flex ;
            flex-direction: column ;
            align-items: center 
        }
           
    }

#msg{
    color: #61b752;
    margin-top: -40px;
    display: block; 
}


/* EXPERIENCE SECTION */

.para{
    color: #000000b7;
}
#experience {
    position: relative;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
  
  .experience-sub-title {
    color: rgb(85, 85, 85);
    font-weight: 600;
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
  }
      
    .experience-details-container {
        display: flex;
        justify-content: center;
        flex-direction: column;
    }
  
  .article-container {
    display: flex;
    text-align: initial;
    flex-wrap: wrap;
    flex-direction: row;
    gap: 1.5rem;
    justify-content: space-around;
  }
  
  article {
    display: flex;
    width: 10rem;
    justify-content: space-around;
    gap: 0.5rem;
  }
  
  article .icon {
    cursor: default;
  }

  .icon{
    width: 40%;
    height: 50%;
  }

  .images{
    height: 100%;
  }