*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
html, body {
    width: 100%;
    overflow-x: hidden; 
    background-color: #111;
  }
.nav ul{
    display: flex;
    justify-content: flex-end;
    gap: 3rem;
    background-color: black;
    font-family: Arial, Helvetica, sans-serif;  
      }
  .nav ul li a{
    text-decoration: none;
    color: white;
    font-size: 1.5rem;
      cursor: pointer;
      transition: color 0.3s;

  }
  .nav ul li{
      list-style: none;
      padding: 1rem 2rem;

  }
  .nav ul li:hover a{
      color: goldenrod;
  }
  .banner {
    position: relative;
    padding: 0px 4rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100vh;
    width: 100vw;
    background-image: url('/item/lds.png'); 
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    flex-wrap: wrap; 

  }
  .header{
    flex: 2;
    width: clamp(3rem, 50vw, 50rem);
  }
  .header h1{
    text-shadow: 0 0 20px white;
    font-size: clamp(2rem, 5vw, 6rem);
    font-family: 'Cinzel Decorative', serif;
    color: aliceblue;
    font-weight: 900;
    animation: glow 4s forwards infinite;
  

  }
  @keyframes glow {
    0%{
      text-shadow: 0 0 0px white;}
    50% {
      text-shadow: 0 0 60px white;}
      100%{
        text-shadow: 0 0 0px white;}
  
    }
  
  .aqsa {
    position: absolute;
    right: clamp(2vw, 5vw, 8vw);
    bottom: clamp(2vh, 8vh, 15vh);
    width: clamp(35vw, 50vw, 80vw);
    height: auto;
    z-index: 1;
    opacity: 0.3;
  }

  .rider {
    position: absolute;
    bottom: clamp(-7vh, -16vh, -20vh);
    right: clamp(5vw, 10vw, 15vw);
    width: clamp(15vw, 45vw, 50vw);
    height: auto;
    z-index: 1;
    overflow: hidden;
    filter: brightness(10%);
    /* border: 2px solid red; */
  }

  .intro{
    background-color: #000000;
    display: flex;
    padding: 2rem 4rem;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    position: relative;
  }
.parchment{
  position: relative;
  background: url('https://images.stockcake.com/public/4/c/a/4ca5e840-7cd0-4909-b003-b435b1250aab_large/aged-parchment-texture-stockcake.jpg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover; 
  padding: 6rem 3rem;
  width: clamp(7ch ,70vw , 75vw );
  margin: 6rem 3rem;
  border-radius: 60px;
  border: 2px solid goldenrod;
  box-shadow: 0 0 40px rgba(218,165,32, 0.3);
  transform: rotate(-2.5deg);
  transition: all 0.4s ease;
}
.parchment ::after{
  position: relative;
  inset: 0;
  background: linear-gradient(135deg, transparent, #a3922e57);
  pointer-events: none;
  border-radius: 1.5rem;
}
.parchment h1{
    font-family: 'UnifrakturCook', cursive;
    font-size: clamp(3rem , 5vw , 5rem);
    color: #3b240b;
    margin-bottom: 1.5rem;

}
.parchment p{
  font-family: 'Cinzel Decorative', serif;
  font-size: clamp(1rem , 2rem , 1.25vw);
  color: #000000;
  line-height: 1.8;
  text-align: justify;
  text-indent: 2rem;
  opacity: 0;
  transform: translateY(40px);
  animation: fadeInUp 1.2s ease forwards;
  animation-delay: 0.3s;

  
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.parchment:hover{
  transform: rotate(0deg);
  box-shadow: 0 0 80px rgba(218,165,32, 0.3);
}

.feather{
  position: relative;
  bottom: 74rem;
  left: 38rem;
  transform: rotate(59deg);
  
}
.cardSec,.quoteSec{
  
  padding: 0 2rem;
  background-color: #000000;
  color: white;
}

.cardSec h1,.quoteSec h1{
  padding: 3rem;
  font-size: clamp(2rem, 5vw, 6rem);
  font-family: 'Cinzel Decorative', serif;
}

.cards{
  
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 2.5rem;
  padding: 2rem;
  justify-items: center;
  
}
.card{
  width: 100%;
  height: auto;
  border: 1px solid silver;
  border-radius: 18px;
  overflow: hidden;
  transition: ease-in-out 0.5s ;
  
  
}

.card h1{
  font-size: 200%;
  text-align: center;
  padding: 7% 0;
  transition: ease-in-out 0.5s ;


}

.card hr{
  width: 70%;
  margin-left: 15%;
  margin-bottom: 5%;
  color: silver;
  background-color: silver;
  height: 3px;

}
.card img{
  object-fit: cover;
  object-position: center;
  width: 100%;
  height: 30vh;
  filter: grayscale(100%);
}

.card p{
  padding: 5% 2%;
  font-size: 120%;
}
.card:hover{
  transform:scale(105%);
  box-shadow: 0 0 60px silver;

}
.card:hover img{
  filter: grayscale(0);
}
.card:hover h1{
  color: gold;
  
}


.quotes{
  
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 2.5rem;
  padding: 2rem;
  justify-items: center;
  
}

.quote{
  width: clamp(25rem,30rem,35rem);
  height: 30vh;
  perspective: 1000px;
  
}
.quote-inner{
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}
.quote:hover .quote-inner {
  transform: rotateY(180deg);
}
.quoteFront, .qback{
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 10px;
  backface-visibility: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
}
.quoteFront{
  
  background-image: linear-gradient(to right bottom, #ffd800, #d4ac2d, #a6833a, #755e3e, #3f3e3d);
}
.quoteFront img{
  width: 100%;
  height: auto;
}

.qback {
  transform: rotateY(180deg);
  font-style: italic;
  font-size: 107%;
  font-weight: bold;
  background-image: black;
}

.footer{
  margin-top: 5rem;
  margin-bottom: 5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: white;
  height: auto;
}

.cover{
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 0;
}
.github-follow-button {
  display: inline-flex;
  align-items: center;
  padding: 12px 20px;
  background-color: #181616;
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  font-family: Arial, sans-serif;
  font-size: 16px;
  font-weight: 500;
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.1);
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.github-follow-button:hover {
  background-color: #2c2a2a;
  transform: translateY(-2px);
}

.github-icon {
  width: 40px;
  height: 40px;
  margin-right: 10px;
}


  @media (max-width: 768px) {
    .nav ul {
      justify-content: center;
      gap: 1rem;
      padding: 1rem;
      flex-wrap: wrap;
    }
  
    .nav ul li {
      padding: 0.75rem 1rem;
      font-size: 1.25rem;
    }
  }

  

  @media (max-width: 360px) {
    .nav ul {
      gap: 1rem;
      padding: 0.5rem 0.25rem;
    }
  
    .nav ul li {
      font-size: 1rem;
      padding: 0.25rem 0.5rem;
    }
  }