body{
  font-family: Arial, Helvetica, sans-serif;
  padding: 0%;
  margin: 0px;
 background:linear-gradient(220deg,grey,black);
}
.logo{
      font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
      font-style: oblique;
        background: linear-gradient(110deg, navy, darkgray);
      
}

.navbar{
     display: flex;
     align-items: center;
     justify-content: space-between;
     background:linear-gradient(220deg,grey,black);
     color: white;
       padding: 12px;
     
}

.navbar ul{
  list-style: none;
  display: flex;
  gap: 12px;
  font-size: 18px;

}
.navbar li a{
  color: white;
  padding: 14px;
  text-decoration: none;
  font-weight: bold;
}
.navbar li a:hover{
     text-decoration: underline;
     font-family:'Courier New', Courier, monospace;
     /* font-size: larger; */
     background: linear-gradient(160deg,navy,darkgray);
}

/* about */

#about h1{
  text-align: center;
  font-size: 32px;
  text-decoration: underline;
}
.about{
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background:linear-gradient(220deg,grey,black);
  color: white;
 padding: 12px;
 margin: 12px;
 border-radius: 8px;
 
}
.about img{
  width: 250px;
  height: 300px;
  border-radius: 50%;
}
.about p{
    font-style: italic;
    font-size: 18px;
  
}
.about h2{
     font-family: Georgia, 'Times New Roman', Times, serif;
     font-size: 32px;
}
.about h3{
      font-size: 24px;
}
.about ul{
  list-style: none;
  display: flex;
  gap: 12px;
}
.about li a{
           text-decoration: none;
           font-size: 18px;
            
}
.about a:hover{
  font-weight: bold;
  cursor: pointer;
  text-decoration: underline;
}


/* skills */

#skills h1{
  text-align: center;
  font-size: 32px;
  font-weight: bold;
  text-decoration:underline;
 
}
.myskills{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background:linear-gradient(220deg,grey,black);
    color: white;
    margin: 12px;
    border-radius: 8px;
}
.myskills h2{
        font-size: 28px;
        font-family: Georgia, 'Times New Roman', Times, serif;
}
.myskills ul{
  display: flex;
         flex-direction: column;
         gap: 12px;    
      list-style:circle;     
}

.myskills li:hover{
          background:linear-gradient(190deg,navy,white);
          font-size: large;
          cursor: pointer;
          font-weight: bold;
          font-family: Arial, Helvetica, sans-serif;
}
/* Skills */
#projects{
     text-align: center;
     /* height: 100vh; */
     
}
#projects h1{
    font-size: 32px;
    text-decoration: underline;
}

.myprojects{
     display: flex;
     align-items: center;
     flex-direction: column;
     justify-content: center;
     color: white;
     background:linear-gradient(220deg,grey,black);
     margin: 12px;
     border-radius: 8px;
}
.myprojects h2{
     font-size: 28px;
     font-weight: bolder;
     font-family: Georgia, 'Times New Roman', Times, serif;
}
.projects{
        border: 2px solid white;
        margin: 12px;
        background-color: aliceblue;
        color: black;
        border-radius: 4px;
        width: 250px;        
}
.projects h3{
    text-decoration: underline;
    font-weight: bolder;
}
.projects a{
          font-size: large;
}

/* contact */
#contact{
  text-align: center;
  /* height: 100vh; */
  /* width: 100vh; */
         margin: 12px;
         padding-top: 12px;
        
     

}
#contact h1{
       font-size: 32px;
       text-decoration: underline;
    
}
.contact-form{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
     background:linear-gradient(220deg,grey,black);
      color: white;
      width: 100%;
        border-radius: 8px;
}      

.contact-form h2{
    font-size: 28px;
    /* font-weight: bolder; */
    font-family:Georgia, 'Times New Roman', Times, serif;
}
.contact-form form{
  display: flex;
  flex-direction:column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  
  /* background-color: black; */
  color: white;
}
.contact-form form input,
.contact-form form textarea{
      width: 250px;
}
.contact-form form label{
      font-size: large;
      font-weight: bolder;
     
}
.contact-form  form button{
                background-color: black;
                color: white;
                font-size: large;
                border: 2px solid white;
                border-radius: 4px;
                margin: 5px;
                font-weight: bold;
}
.contact-form form button:hover{
        box-shadow: inset;
        font-size: larger;
        background-color: darkgray;
}
a:visited{
    color: blue;
}
/* footer */
.footer{
        text-align: center;
        /* background-color: black; */
        color: white;
        font-size: 20px;
        font-style: italic;
        font-weight: bold;
}

/* 📱 Mobile (up to 600px) */
@media (max-width: 600px) {
  /* Navbar */
  .navbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .navbar ul {
    flex-direction: column;
    gap: 8px;
    margin-top: 10px;
    width: 100%;
  }

  .navbar li a {
    display: block;
    width: 100%;
    padding: 10px;
  }

  /* About section */
  .about {
    padding: 15px;
  }

  .about img {
    width: 150px;
    height: 150px;
    margin-bottom: 15px;
  }

  .about ul {
    flex-direction: column;
    gap: 6px;
  }

  /* Skills */
  .myskills ul {
    flex-direction: column;
    gap: 8px;
    padding: 0;
  }

  .myskills li {
    text-align: center;
  }

  /* Projects */
  .myprojects {
    padding: 15px;
  }

  .projects {
    width: 90%;
    max-width: 300px;
  }

  /* Contact Form */
  .contact-form form input,
  .contact-form form textarea {
    width: 90%;
    max-width: 300px;
  }
}

/* 💻 Tablet (601px – 900px) */
@media (min-width: 601px) and (max-width: 900px) {
  .navbar ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
  }

  .about img {
    width: 200px;
    height: 200px;
  }

  .myskills ul {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .myprojects {
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: center;
  }

  .projects {
    width: 40%;
    min-width: 220px;
  }

  .contact-form form input,
  .contact-form form textarea {
    width: 80%;
    max-width: 400px;
  }
}
