/* Favicon styling */
link[rel="icon"] {
    border-radius: 50%;
    color: white;
}

/* Logo image animation */
/* .header.logo img {
    width: auto;
    max-height: 30px;
    min-height: 10px;
    margin-right: 5px;
    animation: floatImage 4s ease-in-out infinite;
   
    
     */
/* } */

  
  .logo img {
    width: auto;
    height: 40px;
    margin-right: 5px;
    animation: floatImage 4s ease-in-out infinite;
  }
  
  /* Add the keyframes for the floatImage animation */
  @keyframes floatImage {
    0%, 100% {
      transform: translateY(0);
    }
    50% {
      transform: translateY(-10px);
    }
  }
  

/* Home section paragraph */
.home-content p {
    max-width: 80%;
}

/* Section titles */
h1.section-title {
    color: #e6e8f1;
    font-weight: 500;
    font-style: oblique;
    font-size: 40px;
    align-items: center;
    text-align: center;
}

/* Progress bars */
.progress-bar {
    width: 90%;
}

/* Specific progress bar widths */
.progress-bar.html { width: 90%; }
.progress-bar.css { width: 90%; }
.progress-bar.javascript { width: 75%; }
.progress-bar.react { width: 70%; }
.progress-bar.node { width: 60%; }
.progress-bar.express { width: 60%; }
.progress-bar.bootstrap { width: 90%; }
.progress-bar.sass { width: 80%; }
.progress-bar.tailwind { width: 80%; }
.progress-bar.github { width: 90%; }
.progress-bar.python { width: 90%; }
.progress-bar.java { width: 90%; }
.progress-bar.c { width: 90%; }
.progress-bar.dbms { width: 60%; }
.progress-bar.sql { width: 60%; }

/* Footer content */
footer .footer-content h1, footer .footer-content h2 {
    font-size: 20px;
    font-style: oblique;
    align-items: center;
    text-align: center;
    text-decoration: solid;
}

footer .footer-content h2 span {
    color: red;
}


@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:ital,opsz,wght@0,6..12,200..1000;1,6..12,200..1000&display=swap');
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    border: none;
    outline: none;
    scroll-behavior: smooth;
    font-family: 'Nunito', sans-serif;

}
:root{
    --bg-color:#191f36;
    --snd-bg-color:#262B40;
    --text-color:#fff;
    --main-color:#59B2F4;
}

html{
    font-size: 62.5%;
    overflow-x: hidden;
}
body{
    background: var(--bg-color);
    color: var(--text-color);
}
section{
    min-height: 100vh;
    padding: 10rem 9% 2rem;

}
.header{
position: fixed;
top: 0;
left: 0;
width: 100%;
padding: 2rem 9%;
background: var(--bg-color);
display: flex;
justify-content: space-between;
align-items: center;
z-index: 100;
}

/* .logo{
    font-size: 2.5rem;
    color: var(--text-color);
    font-weight: 700;
    cursor: default;
    text-decoration: none;

} */
.navbar a{
    font-size: 2rem;
color: var(--text-color);
margin-left: 4rem;
display: block;
font-weight: 700;
text-decoration: none;

}
.navbar.active{
    display: block;
}
 .navbar a:hover,
.navbar a.active{
    color: var(--text-color);
}


#menu-icon{
    font-size: 3.6rem;
    color: var(--text-color);
    display: none;
    text-decoration: none;
} */


 body, html {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    margin: 5px 10px ;
    background-color: #191f36;
}

/* .header .logo img {
    min-height: 5px;
    height: 100%;
    width: 100%;
    border-radius: 10px;
} */

.header .navbar {
    display: flex;
}

.header .navbar a {
    color: rgb(248, 247, 247);
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 20px;
}

.header .navbar a.active, .header .navbar a:hover {
    background-color: #edeff3;
    color: crimson;
}

#menu-icon {
    display: none;
    color: #59B2F4;
    font-size: 24px;
    cursor: pointer;
}
#menu-icon:hover{
    color: crimson;
}

@media (max-width: 768px) {
    .header .navbar {
        display: none;
        flex-direction: column;
        width: 100%;
    }

    .header .navbar a {
        padding: 15px;
        text-align: center;
    }

    #menu-icon {
        display: block;
    }

    .header .navbar.active {
        display: flex;
    }
}

.home{
    display: flex;
    justify-content: center;
    align-items: center;
}
.home-content h3{
    font-size: 3.2rem;
    font-weight: 700;
}

.home-content h3:nth-of-type(2){
    margin-bottom: 2rem;
}

span{
    color: var(--main-color);
   
}

.home-content h1{
    font-size: 5.5rem;
    font-weight: 700;
    line-height: 1.3;
}

.home-img img{
    width: 20vw;
    animation: floatImage 4s ease-in-out infinite;
}

@keyframes floatImage{
    0%{
        transform: translateY(0);
}

50%{
    transform: translateY(-2.4rem);

}
100%{
    transform: translateY(0);
}
}

.home-content p{
    font-size: 1.6rem;
}

.socila-media a {
 
    display: inline-flex;
    justify-content: center;

    align-items: center;
    width: 4rem;
    height: 4rem;
    background: transparent;
    border: .2rem solid var(--main-color);
    border-radius: 50%;
    font-size: 2rem;
    color: var(--main-color);
    margin: 3rem 1.5rem 3rem 0;
    transition: .5s ease;
    text-decoration: none;

}
.socila-media a:hover{
    background: var(--main-color);
    color: var(--snd-bg-color);
    box-shadow: 0 0 1rem var(--main-color);

}

.btn{
    display: inline-block;
    margin-left: 50px;
    padding: 1rem 2.8rem;
    background: var(--main-color);
    border-radius: 4rem;
    box-shadow:  0 0 1rem var(--main-color);
    font-size: 1.6rem;
    color: var(--bg-color);
    letter-spacing: .1rem;
    font-weight: 600;
    transition: .5s ease;

}

.about{
    display: flex;
    justify-content: center;
    align-items: center;
    
      
     
}
.about-img img{
    width: 20vw;
    border-radius: 60%;
    animation: floatImages 4s ease-in-out infinite;
 
}
@keyframes floatImages{
    0%{
        transform: translateX(0);
}

50%{
    transform: translateX(-2.4rem);

}
100%{
    transform: translateX(0);
}
}

.heading{
    text-align: center;
    font-size: 4.5rem;
}
.about-content h2{
    margin-left: 20px;
    text-align: left;
    line-height: 1.1;
}
.about-content h3{
    margin-left: 20px;
    font-size: 2.6rem;
}
.about-content p{
    margin-left: 20px;
    font-size: 1.6rem;
    
}
.side-ho{
    align-items: center;
    text-align: center;
}

.large-progress {
    font-size: 14px;
    height: 10px;
  }
  .container {
    flex-basis: 33.33%; /* adjust the width to fit three elements in a row */
    margin: 10px; /* add some margin for spacing */
    /* width: 50%; */
    /* display: flex;
    justify-content: space-around; */
  }
  .wrapper {
    display: flex;
    flex-wrap: wrap;
  }
  

  
  .image {
    opacity: 1;
    display: block;
    width: 100%;
    height: auto;
    transition: .5s ease;
    backface-visibility: hidden;
    margin-right: 20px;
  }
  
  .middle {
    transition: .5s ease;
    opacity: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    /* transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%); */
    text-align: center;
  }
  
  .container:hover .image {
    opacity: 0.3;
  }
  
  .container:hover .middle {
    opacity: 1;
  }
  
  .text {
    background-color: #04AA6D;
    color: white;
    font-size: 16px;
    padding: 16px 32px;
  }
  .skills{
    background: linear-gradient(#262B40 , #87b5d8  ); 
  }
  .project{
    background: linear-gradient(#262B40 , #87b5d8);
}

  .project-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
  }
  
  .project-box {
    position: relative;
    width: 300px; /* adjust as needed */
    margin: 15px; /* adjust as needed */
  }
  
  .image {
    display: block;
    width: 100%;
    height: auto;
  }
  
  .middle {
    transition: .5s ease;
    opacity: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
  }
  
  .project-box:hover .middle {
    opacity: 1;
  }
  
  .middle h4, .middle p {
    color: white;
  }
  
  .middle i {
    color: white;
    font-size: 24px;
  }
  

 
@media (max-width: 1200px){
    html {
        font-size:  55%;
    }
}

@media (max-width: 991px){
    .header {
        padding: 2rem 3%;

    }
    section {
        padding:  10rem 3% ;
    }
    .skills{
        padding: 7rem;
    }
    .project{
        padding-bottom: 7rem;
    }
    .contact{
        max-height: auto;
    }
    .footer{
        padding: 2rem 3%;
    }
}

@media(max-width: 786px){
    #menu-icon{
        display: block;
    }
    .home{
        flex-direction: column;
    }
    .home-content h3{
        font-size: 2.6rem;
    }
    .home-content h1{
        font-size: 5rem;
    }
    .home-img img{
        width: 70vw;
        margin-top: 4rem;
    }
    .about{
        flex-direction: column;
    }
    .about-img img{
        width: 60vw;
        margin-top: 4rem;
    }
    .skills{
        margin-bottom: 3rem;
    }
    .project h2{
        margin-bottom: 3rem;
    }
    .project-container {
        grid-template-columns: repeat(2 ,1fr);
    }
}
hr{
    border: none;
width: 90vw;
height: 3px;
background-color: hsl(160, 11%, 85%);

}
.contact{
    background: linear-gradient(#262B40 , #87b5d8);
}
.contact-container{

  
    width: 90vw;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
}

.contact-left{
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 20px;
}
.contact-left-title h2{
    font-weight: 500;
    color: #e8eaeb;
    text-align: center;
    font-size: 40px;
    margin-bottom: 5px;
}
.contact-left-title hr{
border: none;
width: 150px;
height: 5px;
background-color: hsl(164, 91%, 43%);
border-radius: 10px;
margin-bottom: 20px;

}

.contact-inputs{
   
    width: 100%;
    height: 50px;
    border: none;
outline: none;
padding-left: 25px;
font-weight: 500;
color: #262B40; 
border-radius: 50px;
}
.contact-left textarea{
    height: 100%;
    width: 100%;
    padding-top: 15px;
    border-radius: 20px;
   
    
}
.contact-inputs:focus{
    border: 3px solid #3c729c;
}

.contact-inputs::placeholder{
    color: #262B40;
    font-weight: 500;
    font-size: larger;
    font-weight: bolder;
font-style: oblique;
}

.contact-left button{
    display: flex;
    align-items: center;
    text-align: center;
    padding: 15px 30px;
    font-size: 16px;
    color: #fff;
    gap: 10px;
 align-items: center;
margin-left: 25%;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    background: linear-gradient(270deg, #2039c6 , #5997c6);
}
@media (max-width: 1400px) {
    .contact-container {
        padding: 10px;
    }
    .contact-left-title h2 {
        font-size: 30px;
    }
    .contact-inputs {
        font-size: 24px;
        padding: 8px;
    }
    button {
        font-size: 20px;
        padding: 8px;
    }
}

@media (max-width: 600px) {
    .contact-container {
        padding: 10px;
    }
    .contact-left-title h2 {
        font-size: 10px;
    }
    .contact-inputs {
        font-size: 14px;
        padding: 8px;
    }
    button {
        font-size: 16px;
        padding: 8px;
    }
}
@media (max-width: 400px) {
    .contact-container {
        padding: 10px;
    }
    .contact-left-title h2 {
        font-size: 30px;
    }
    .contact-inputs {
        font-size: 15px;
        padding: 8px;
    }
    button {
        font-size: 20px;
        padding: 8px;
    }
}
@media (max-width: 1600px) {
    .contact-container {
        padding: 10px;
    }
    .contact-left-title h2 {
        font-size: 40px;
    }
    .contact-inputs {
        font-size: 25px;
        padding: 8px;
    }
    button {
        font-size: 25px;
        padding: 8px;
    }
}


.span-sextion{
    text-align: center;
    align-items: center;
    text-decoration: #c7c9d9 1px solid underline;
    font-style: oblique;
font-size: xx-large;
}
.span-sextion:hover{
    color: crimson;
    text-decoration: #2039c6 2px solid overline;
}