html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    font-family: 'Open Sans Condensed', sans-serif;
    background: linear-gradient(270deg, #000000, #323232, #000000);
    background-size: 600% 600%;
    animation: gradientFlow 10s ease infinite;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  @keyframes gradientFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
  }
  
  .container {
    width: 100%;
    padding: 20px;
  }
  
/*HEADER*/

  header {
    position: fixed;
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 999;
    width: auto;
  }
  
  .nav-wrapper {
    margin: 0 auto;
    padding: 20px 30px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 750px;
    backdrop-filter: blur(10px);
  }
  
  .logo img  {
    margin: 0 20px;
    height: 40px;
  }
  
  .nav-menu ul {
    display: flex;
    align-items: center;
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
  }
  
  .nav-menu ul li a {
    color: #ccc;
    text-decoration: none;
    font-size: 1rem;
    padding: 8px 16px;
    border-radius: 30px;
    transition: background 0.3s, color 0.3s;
  }
  
  .nav-menu ul li a:hover {
    color: #ffdd00;
  }

  
/*HERO*/
 
  #hero {
    text-align: center;
    padding: 220px 20px 150px;
  }
  
  #hero h1 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.3;
    background: linear-gradient(to right, #00aeef, #ffdd00);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  
  #hero h2 {
    font-size: 1.2rem;
    font-weight: 300;
    color: #aaa;
    margin-bottom: 40px;
  }
  
  #hero button {
    background: #1d1e21;
    border: 1px solid #393a3b;
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    border-radius: 50px;
    cursor: pointer;
    transition: background 0.4s ease, transform 0.3s ease;
  }

  #hero button:hover {
    transform: scale(1.05);
    background: linear-gradient(to right, #ffdd00, #00aeef);
    color: #fff;
  }
  
/*ABOUT*/

  #about {
    padding: 100px 20px;
    text-align: center;
  }
  
  #about-content {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
 
  #about-image img {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 30px;
  }

  #about-image img:hover {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 0 20px #00aeef;
    margin-bottom: 30px;
  }
  
  #about-text h1 {
    font-size: 2.2rem;
    margin-bottom: 20px;
  }
  
  #about-text p {
    font-size: 1rem;
    line-height: 1.6;
    color: #ccc;
    margin-bottom: 30px;
  }
  
  .skillcards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
  }
  
  .skillcards button {
    background: #1f1f1f;
    border: 1px solid #333;
    color: white;
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background 0.3s;
  }
  
  .skillcards button:hover {
    background: linear-gradient(to right, #00aeef, #ffdd00);
  }

/*WORKS*/

  #works h1 {
    justify-self: center;
  }
  .hover-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    padding: 40px 75px;
  }
  
  .img-wrapper {
    width: 300px;
    height: 180px;
    background: #1a1a1a;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    position: relative;
  }
  
  .img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
  }

  .img-wrapper:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 1px 1px 10px #000000;
  }
  
  .img-wrapper:hover img {
    transform: scale(1.01);
  }

  /*CONTACT*/

  #contact {
    text-align: center;
    padding: 100px 20px;
  }
  
  .button-link {
    display: inline-block;
    margin: 20px 10px;
    padding: 14px 28px;
    background: #fff;
    border-radius: 50px;
    color: black;
    font-weight: 600;
    text-decoration: none;
    font-size: 1rem;
    transition: background 0.4s ease, transform 0.3s ease;
    cursor: pointer;
  }
  
  .button-link:hover {
    transform: scale(1.05);
    background: linear-gradient(to right, #ffdd00, #00aeef);
    color: white;
  }
  
  

/*FOOTER*/

  .site-footer {
    width: 100%;
    margin-top: 50px;
    padding: 3rem 2rem;
    border-top: 1px solid #FFF;
    text-align: center;
    font-size: 0.95rem;
    color: #FFF;
  }

  .site-footer h2 {
    font-size: 32px;
  }
  
  .site-footer .footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 1rem 0;
  }
  
  .site-footer .footer-links a {
    text-decoration: none;
    color: #FFF;
    font-weight: 500;
    transition: color 0.2s ease;
  }
  
  .site-footer .footer-links a:hover {
    color: #FFdd00;
  }
  
  .site-footer .copyright {
    font-size: 0.85rem;
    color: #aaa;
    margin-top: 1.5rem;
  }

  /*MOBILE*/

  @media (max-width: 400px) {
    .nav-wrapper {
      gap: 10px;
      padding: 15px 30px;
    }
  
    .nav-menu ul {
      gap: 10px;
    }
  
    .nav-menu ul li a {
      font-size: 0.9rem;
      padding: 6px 12px;
    }
  
    .logo {
      font-size: 1rem;
      white-space: nowrap;
    }

    .site-footer {
        margin: 20px;
    }

    .site-footer h1 {
        font-size: 0.6rem;
    }
  }