@import url("https://fonts.googleapis.com/css2?family=Marhey:wght@400;500;600;700&family=Quicksand:wght@300;400;500;600;700&display=swap");

* {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
      font-family: "Quicksand", sans-serif;
    }

    body {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      text-align: center;
      margin: 0;
      background-image: 
        linear-gradient(to top, rgba(0, 0, 0, 0.2),#74091b),
        linear-gradient(to right, rgba(245, 177, 51, 0.1) 1px, transparent 2px),
        linear-gradient(to bottom, rgba(245, 177, 51, 0.1) 1px, transparent 2px);
      background-color:#74091b;
      color:white;
      min-height: 100vh;
      overflow-x: hidden;
  overflow-y: auto;
      background-size: 25px 25px; 
    }

    h1{
      font-family: "Marhey", sans-serif;
      font-size: clamp(3rem, 5vw, 4rem);
      margin-bottom: 50px;
      text-align: center;
      letter-spacing: 2px;
      color: #fff;
    }

    .grid-container {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 30px;
      max-width: 1500px;
      width: 100%;
    }

    .profile-card {
      background: rgba(0,0,0,0.6);
      backdrop-filter: blur(10px);
      border-radius: 12px;
      padding: 35px;
      color: #fff;
      box-shadow: 0 8px 30px rgba(0,0,0,0.5);
      display: flex;
      flex-direction: row;
      align-items: center;
      gap: 30px;
      transition: transform 0.3s ease;
    }

    .profile-card:hover {
      transform: translateY(-5px) scale(1.02);
    }

    .profile-card .img-frame {
      overflow: hidden;
      width: 300px;
      border-radius: 8px;
      box-shadow: 
    rgba(116, 9, 27, 0.8) 0px 10px 30px 8px,
    rgba(116, 9, 27, 0.9) 0px 0px 0px 2px;
    }

    .profile-card .img-frame img {
      width: 100%;
      aspect-ratio: 6/7;
      object-fit: cover;
      transition: transform 1s;
    }

    .profile-card .img-frame:hover img {
      transform: rotate(4deg) scale(1.25);
    }

    .profile-card .hero-content {
      flex: 1;
    }

    .profile-card h1 {
      font-family: "Marhey", sans-serif;
      font-size: clamp(1.8rem, 2.5vw, 2.2rem);
      margin-bottom: 15px;
    }

    .profile-card p {
      font-size: 1.1rem;
      line-height: 1.6;
    }

   @media (max-width: 900px) {
  .grid-container {
    grid-template-columns: 1fr;
    padding: 0 20px;
  }

  .profile-card {
    flex-direction: column;
    text-align: center;
    padding: 25px;
  }

  .profile-card .img-frame {
    width: 80%;
    max-width: 250px;
    margin: 0 auto;
  }

  .profile-card .hero-content {
    margin-top: 20px;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 2rem;
    margin-bottom: 30px;
  }

  .profile-card {
    padding: 20px;
    gap: 20px;
  }

  .profile-card .img-frame {
    width: 100%;
    max-width: 200px;
  }

  .profile-card h1 {
    font-size: 1.4rem;
  }

  .profile-card p {
    font-size: 0.95rem;
    padding: 0 10px;
  }
}