
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: sans-serif;
    color: white;
}
body{
    background-color: oklch(0.13 0.028 261.692);
}
#header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    
    padding: 10px;
}
#header img {
    height: 50px;
    width: 100px;
}
#nav-bar {
    display: flex;
    align-items: center;
    position: fixed;
    height: 100%;
    right: -300px;
    transition: right 0.3s;
    flex-direction: column;
    padding-top: 50px;
    width: 300px;
}
#nav-bar ul {
    list-style-type: none;
    padding: 0;
    width: 100%;
}
#nav-bar ul li {
    padding: 10px;
    text-align: center;
}
#nav-bar ul li a {
    text-decoration: none;
    color: white;
    display: block;
    width: 100%;
}
#toggle-btn {
    display: none;
    background-color: white;
    border: none;
    color: #333;
    padding: 10px;
    cursor: pointer;
    margin-right: 20px;
}
@media screen and (max-width: 500px) {
    #header {
        justify-content: space-between;
    }
    #header #nav-bar {
        display: block;
        right: -300px;
        top: 0;
    }
    #toggle-btn {
        display: block;
    }
}
@media screen and (min-width: 501px) {
    #nav-bar {
        display: flex;
        position: static;
        width: auto;
        height: auto;
        flex-direction: row;
        justify-content: flex-end;
        padding-top: 0;
        right: 0;
    }
    #nav-bar ul {
        display: flex;
        flex-direction: row;
    }
    #nav-bar ul li {
        padding: 10px 20px;
        text-align: center;
    }
    #toggle-btn {
        display: none;
    }
}
li a:hover {
    border-bottom: 2px #ff004f solid;
}
--home--
.home{
    display: flex;
}
.home-container{
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    padding-top: 20px;
    padding-left: 10px;
    padding-bottom: 50px;
    
    border-top:1px solid green
}

.home img{
    width: 300px;
    height: 300px;
    border-radius: 50%;
}
#home span{
    color: green;
    font-weight: 700;
    font-size: 40px;
}
.home p{
    font-size: 15px;
    margin-top: 15px;
}
/*about*/
#about {
    font-family: 'Verdana', sans-serif;
    max-width: 700px;
    margin: 0 auto;
    padding: 20px;
    background-color: #f0f0f0;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }
  
  #about h2 {
    text-align: center;
    color: #444;
    font-size: 2.2em;
    margin-bottom: 15px;
  }
  
  #about p {
    color: #555;
    font-size: 1.2em;
    line-height: 1.6;
    text-align: justify;
    margin-top: 10px;
  }
  

/*Skills*/


#skills-container {
    font-family: 'Helvetica', sans-serif;
    max-width: 1200px;
    margin: 20px auto;
    padding: 20px;
    background-color: #f5f5f5;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }
  
  #skills-container h1 {
    text-align: center;
    color: #333;
    font-size: 2.5em;
    margin-bottom: 20px;
  }
  
  #skills-container h2 {
    color: #555;
    font-size: 1.8em;
    margin-top: 20px;
    border-bottom: 2px solid #ccc;
    padding-bottom: 5px;
  }
  
  .skill {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 10px;
  }
  
  .skill p {
    display: flex;
    align-items: center;
    margin: 10px 0;
    font-size: 1.2em;
    background: black;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    flex: 1 1 calc(50% - 20px); /* Adjust width to take up half the container minus gap */
    box-sizing: border-box; /* Include padding and border in element's total width and height */
  }
  
  .skill img {
    width: 35px;
    height: 35px;
    margin-right: 10px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }
  
/*projects*/
#projects {
    text-align: center;
    padding: 50px 20px;
}

#project {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Responsive grid */
    gap: 20px;
    max-width: 1200px;
    margin: auto;
}

#project div {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

#project div:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

#project img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

#project h3 {
    font-size: 1.5rem;
    margin: 15px 0;
    color: #333;
}

#project p {
    font-size: 1rem;
    color: #555;
    line-height: 1.5;
}
 #project a{
    margin-top: 20px;
    background-color: black;
    text-decoration: none;
    font-size: 30px;
    border-radius: 12px;
    margin-right: 15px;
    color: #ababab;
    display: inline-block;
}

/*contant*/
.contact{
    padding-bottom: 20px;
    width: 100%;
   
}
.container{
    justify-content: center;
    padding:50px;
  
}
.row{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
}
.contact-left{
flex-basis: 35%;
}

.contact-right{
    flex-basis: 60%;
    }
.contact-left p{
    margin-top: 30px;
}
.contact-left p i{
    color: #ff004f;
    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{
    
    transform:translateY(-5px);
}
.btn2{
    text-decoration: none;
    display: inline-block;
}
.btn{
padding: 14px;
color: white;
background: #ff004f;
border: none;
}
.contact-right form{
    width: 100%;
}
form input, form textarea{
    width: 100%;
    border: 0;
    outline: none;
    margin: 15px 0;
    padding: 15px;
    color: black;
    font-size: 18px;
    border-radius: 6px;
}
form btn2{
    padding: 14px 60px;
    font-size: 18px;
    cursor: pointer;
    margin-top: 20px;
}
#msg{
color: #61b752;
margin-top: -40px;
display: block;
margin-bottom: 60px;
}


@media only screen and (max-width:600px){
    .home-container{
        display: block;
        font-size: 10px;
    }
        #nav-bar{
            background-color: #444;
            font-size:20px ;
        }
        li a:hover {
            border-bottom:2px gray ;
        }
    #Images{
        grid-template-columns: repeat(1,1fr);
       gap:50px
    }
    form input, form textarea{
        width: 100%;
    }
    .row{
        display: block;
    }
    
    .home img{
        border-radius: 60%;
        width: 200px;
        height: 200px;
    }
}
@media only screen and (min-width:768px){
    body{
        max-width:1024px;
    }
    #Images{
        grid-template-columns: repeat(2,1fr);
       gap:50px
    }
}
@media only screen and (min-width:1024px){
    body{
        max-width:2560px;
    }
    #Images{
        grid-template-columns: repeat(3,1fr);
       gap:50px
    }
    
}
@media only screen and (max-width:450px){
    .bar{
    flex-wrap: wrap;
    }
    #about p{
        font-size: 15px;
    }
}

