@import url("https://fonts.googleapis.com/css2?family=Raleway:wght@400;700&display=swap");

body {
  background-color: black;
  min-height: 100vh;
  background-size: cover;

  background-size: 100% 400%;
  animation: gradientFade 50s ease infinite;
  margin: 0;
  padding: 0;
}

.about {
  padding: 30px;
  color: white;
  font-family: "montserrat";
  font-size: 1.2rem;
  background-color: rgb(0, 0, 0, 0.5);
  border-radius: 10px;
  margin: 200px;
  margin-top: 100px;
  transition: 0.2s all;
}

.about header {
  font-size: 2rem;
  color: white;
}

.about header h1 {
  text-align: center;
  font-size: 50px;
}

.about h2 {
  font-family: "Raleway";
  font-weight: 180;
  letter-spacing: 2px;
  word-spacing: 3px;

  display: block;
  font-size: 1.5em;
  margin-block-start: 0.83em;
  margin-block-end: 0.83em;
  margin-inline-start: 0px;
  margin-inline-end: 0px;
  font-weight: bold;
  unicode-bidi: isolate;
}

.about aside {
  width: 300px;
  background-color: black;
  padding: 20px;
  box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
  position: fixed;
  right: 0;
  top: 25%;
  border-radius: 10px 0 0 10px;
}

.about h4 {
  color: #333;
  font-size: 1.2em;
  margin-bottom: 5px;
}

.about section {
  margin-bottom: 20px;
  padding: 20px;
  color: white;
}

.about ul {
  margin-left: 40px;
}

.about a {
  color: white;
  text-decoration: underline;
  font-weight: bold;
}

.about .grid-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 20px;
}
.footer1{
  color: white;
  font-size: 1.3em;
  margin-top: 20px;
  text-align: center;
}
.about .item {
  background: #000000;
  padding: 20px;
  border-radius: 5px;
  box-shadow: 0 0 10px 5px rgba(84, 84, 84, 0.668);
}

.about .item:hover {
  box-shadow: 0 0 50px 5px rgba(84, 84, 84, 0.668);
  transform: scale(1.01);
}

.about .Photo-Item img {
  width: 100%;
}

.footer {
  width: 100%;
  text-align: center;
  padding-top: 10px 0;
  margin-top: 30px; /* Add spacing above the footer */
}

/* ✅ Media query for screens smaller than 600px */
@media screen and (max-width: 600px) {
  .parallax {
    background-position: left !important;
  }
  .about {
    margin: 20px 10px;
    padding: 15px;
    font-size: 1rem;
  }

  .about header {
    font-size: 1.5rem;
    text-align: center;
  }

  .about h2 {
    font-size: 1.2rem;
  }

  .about section {
    padding: 10px;
  }

  .about aside {
    position: relative;
    width: 100%;
    box-shadow: none;
    border-radius: 10px;
    margin-top: 20px;
    top: auto;
    right: auto;
  }

  .footer {
    font-size: 0.9rem;
    padding-top: 5px;
  }
}
@media screen and (max-width: 768px) {
  .parallax {
    background-position: left !important;
  }
  .about {
    margin: 20px 10px;
    padding: 15px;
    font-size: 1rem;
  }

  .about header {
    font-size: 1.5rem;
    text-align: center;
  }

  .about h2 {
    font-size: 1.2rem;
  }

  .about section {
    padding: 10px;
  }

  .about aside {
    position: relative;
    width: 100%;
    box-shadow: none;
    border-radius: 10px;
    margin-top: 20px;
    top: auto;
    right: auto;
  }

  .footer {
    font-size: 0.9rem;
    padding-top: 5px;
  }
}
@media screen and (max-width: 1440px) {
  .parallax {
    background-position: left !important;
  }
  .about {
    margin: 20px 10px;
    padding: 15px;
    font-size: 1rem;
  }

  .about header {
    font-size: 1.5rem;
    text-align: center;
  }

  .about h2 {
    font-size: 1.2rem;
  }

  .about section {
    padding: 10px;
  }

  .about aside {
    position: relative;
    width: 100%;
    box-shadow: none;
    border-radius: 10px;
    margin-top: 20px;
    top: auto;
    right: auto;
  }

  .footer {
    font-size: 0.9rem;
    padding-top: 5px;
  }
}

/* Scroll field styling */
.scroll-field {
  margin-bottom: 0.5rem;
}

.scroll-field .scroll-container {
  width: 100%;
  height: 400px;
  overflow-y: auto;
  padding: 1rem;
  border: none;
  border-radius: 8px;
  background-color: #000;
}

.scroll-field .content {
  padding-right: 0.5rem;
}

.scroll-field h2 {
  color: #fff;
  margin-bottom: 1rem;
  font-family: "Raleway";
  font-weight: 180;
  letter-spacing: 2px;
  word-spacing: 3px;
  font-size: 1.8rem;
}

.scroll-field p,
.scroll-field ul {
  color: white;
  font-family: "Raleway";
  font-weight: 50;
  line-height: 27px;
  font-size: 14px;
  letter-spacing: 2px;
  word-spacing: 1px;
  margin-bottom: 0.8rem;
}

.scroll-field ul {
  padding-left: 1.2rem;
}

.scroll-field li {
  margin-bottom: 0.6rem;
}

/* Intro section styling */
.intro {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin: 0.5rem 0;
  padding: 0 1rem;
}

.intro .column {
  flex: 1;
  margin: 0 0.5rem;
}

.intro .column-1 {
  max-width: 45%;
}

.intro .column-2 {
  max-width: 55%;
}

.intro .column-2 img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(255, 255, 255, 0.1);
}

/* Responsive design */
@media screen and (max-width: 768px) {
  .intro {
    flex-direction: column;
    padding: 0 0.5rem;
  }

  .intro .column-1,
  .intro .column-2 {
    max-width: 100%;
    margin: 0.3rem 0;
  }

  .scroll-field .scroll-container {
    height: 350px;
  }

  .intro .column-2 img {
    height: 350px;
  }

  .scroll-field h2 {
    font-size: 1.5rem;
  }

  .scroll-field p,
  .scroll-field ul {
    font-size: 1.1rem;
  }
}

.scroll-field .scroll-container .content h2 {
  font-family: "Raleway";
  font-weight: 180;
  letter-spacing: 2px;
  word-spacing: 3px;
}

.scroll-field .scroll-container .content p {
  font-family: "Raleway";
  font-weight: 50;
  line-height: 1.9;
  font-size: 14px;
  letter-spacing: 2px;
  word-spacing: 1px;
}

.scroll-field .scroll-container .content ul {
  font-family: "Raleway";
  font-weight: 50;
  line-height: 1.9;
  font-size: 14px;
  letter-spacing: 2px;
  word-spacing: 1px;
}
