body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: black;
    color: #f5f5f5;
}
header {
    background: black;
    color: white;
    padding: 1rem 0;
    text-align: center;
}
header h1 {
    margin: 0;
    font-size: 2.5rem;
}
header p {
    font-size: 1.2rem;
    margin-top: 0.5rem;
}
nav ul {
    background: #333;
    padding: 0;
    margin: 0;
    list-style: none;
    display: flex;
    justify-content: center;
}
nav ul li {
    margin: 0;
}
nav ul li a {
    color: #f5f5f5;
    text-decoration: none;
    padding: 0.8rem 1.5rem;
    display: block;
}
nav ul li a:hover {
    background: #575757;
}
main {
    max-width: 800px;
    margin: 2rem auto;
    padding: 0 1rem;
}
section {
    display: block;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #0f0f0f;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
section h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #f5f5f5;
}
ul {
    padding: 0;
    margin: 0;
    list-style: none;
}
ul li {
    margin-bottom: 0.5rem;
}
a {
  color: #f5f5f5;
}
.skills-lists {
    display: flex;           
    gap: 1.8rem;               
    justify-content: space-between; 
}
.skills-lists ul {
    list-style: none;   
    padding: 0;
    margin: 0;
}
.skills-lists li {
    margin-bottom: 0.5rem;  
}
.project {
    margin-bottom: 1.5rem;
}
.project h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: white;
}
.project p {
    margin-bottom: 0.5rem;
}
.project a {
    color: #f5f5f5;
    text-decoration: none;
    font-weight: bold;
}
.project a:hover {
    text-decoration: underline;
}
footer {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 1rem 0;
    margin-top: 2rem;
}
footer p {
    margin: 0;
}
@media (max-width: 1200px) {
    main {
      max-width: 90%;
    }
  }
  @media (max-width: 768px) {
    body {
      font-size: 14px;
    }
    header h1 {
      font-size: 2rem;
    }
  
    header p {
      font-size: 1rem;
    }
    nav ul {
      flex-direction: column;
      text-align: center;
    }
  
    nav ul li a {
      padding: 0.8rem;
      border: solid black 1px;
    }
    section {
      padding: 1rem;
      margin-bottom: 1.5rem;
    }
    section h2 {
      font-size: 1.5rem;
    }
    .skills-lists {
      flex-direction: row;
      gap: 1rem;
    }
    .skills-lists ul {
      width: 100%;
      margin: 0;
    }
    .skills-lists li {

    }
    .project h3 {
      font-size: 1.3rem;
    }
    .projects{
      margin: 0;
    }
    .project a {
      display: block;
      margin: 0.1rem;
      color: rgb(214, 214, 214);
      text-decoration: underline;
    }
    #contact ul li {
      margin-bottom: 1rem;
      word-break: break-all;
    }
  }
  @media (max-width: 480px) {
    header h1 {
      font-size: 1.8rem;
    }
    section {
      border-radius: 4px;
    }
    .project h3 {
      font-size: 1.2rem;
    }
  }
  img {
    max-width: 100%;
    height: auto;
  }
  table {
    width: 100%;
    overflow-x: auto;
    display: block;
  }
  .video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
  }
  .video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
@media (hover: none) {
    nav ul li a:hover {
      background: transparent;
    }
    .project a:hover {
      text-decoration: none;
    }
}