* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Helvetica Neue", sans-serif;
}

body {
  background-color: white;
  color: #000;
  padding-top: 80px;
  padding-left: 5%;
  padding-right: 5%;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 5%;
  background-color: white;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  height: 70px;
}

.title {
  font-size: 32px;
  font-weight: 400;
  text-align: center;
  flex: 1;
}

.nav-left,
.nav-right {
  font-size: 18px;
  cursor: pointer;
}

/* Hero section */
.hero {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.hero-image {
  width: 100%;
  height: auto;
  display: block;
}

.name {
  font-size: 36px;
  font-weight: 400;
  text-align: center;
  margin: 2% 0;
}

/* Box1 section */
.box1 {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  margin: 5% 2%;
}

.box1 img {
  width: 100%;
  max-width: 48%;
  object-fit: cover;
  flex: 1 1 48%;
}

.box1 .textbox {
  width: 100%;
  max-width: 48%;
  flex: 1 1 48%;
}

/* Box2 */
.box2 {
  margin: 5% 2%;
}

.box2 img {
  width: 100%;
  height: auto;
}

/* Box3 section */
.box3 {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  margin: 5% 4%;
  /* border: 2px solid black; */
  padding: 2%;
}

.box3 .textboxA,
.box3 .textboxB {
  flex: 1 1 48%;
  /* border: 2px solid black; */
  padding: 10px;
  height: auto;
}

.box3 .textboxA h4 {
  font-size: 24px;
  margin-bottom: 1em;
}

/* Container Grid Section */
.container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  padding: 5%;
  margin-top: -5%;
}

.credits,
.thank-you,
.archive {
  flex: 1 1 100%;
  text-align: center;
}

.credits button {
  background: none;
  border: 1px solid #ccc;
  padding: 10px 20px;
  border-radius: 20px;
  cursor: pointer;
  margin-top: 20px;
}

.thank-you h1 {
  font-size: 2.5em;
  margin-bottom: 20px;
}

.thank-you p {
  line-height: 1.6;
  margin-bottom: 30px;
}

.thank-you button {
  background-color: #000;
  color: #fff;
  padding: 12px 24px;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  margin: 0 5px;
  margin-bottom: 5%;
}

.archive a {
  text-decoration: none;
  color: #000;
}

.archive a::after {
  content: "→";
  margin-left: 5px;
}

.circle-text {
  width: 120px;
  height: 120px;
  border: 2px solid #000;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 20px auto 0;
}

.circle-text span {
  transform: rotate(calc(var(--i) * 36deg));
}
.name a {
  color: #ff3cac; /* Tiktok-ish pink or whatever you like */
  font-style: italic;
}

/* .about-text h2{
  font-family: "Helvetica Neue"
} */

.about-text a {
  color: #ff3cac;
  font-style: italic;
  font-family: Arial, Helvetica, sans-serif;
}

.about-text p {
  font-size: 20px;
  line-height: 1.8;
}

.about {
  height: 400px;
  display: flex;
  justify-content: space-between;
  gap: 20px; /* Adds space between the elements */
}

.about-image {
  width: 48%;
  overflow: hidden; /* Hide overflow if image is too big */
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Makes it fill the space while cropping if necessary */
  display: block;
}

.about-text {
  width: 50%;
}

/* --- Media Queries --- */

/* For Medium Screens (tablets) */
@media (max-width: 1024px) {
  .about {
    flex-direction: column;
    height: auto; /* Adjust height when stacked vertically */
  }

  .about-image,
  .about-text {
    width: 100%; /* Full width for both image and text */
  }

  .about-text p {
    font-size: 18px; /* Slightly smaller font for readability */
  }
}

/* For Small Screens (mobiles) */
@media (max-width: 768px) {
  .about {
    padding: 10px; /* Add some padding for better spacing */
  }

  .about-text p {
    font-size: 16px; /* Smaller font for mobile screens */
    line-height: 1.6; /* Slightly tighter line spacing for smaller screens */
  }

  .about-image img {
    height: auto; /* Adjust height to auto for mobile */
  }

  .about-text {
    width: 100%; /* Full width for text on small screens */
    text-align: center; /* Center align text */
    padding: 10px; /* Add padding around text */
  }

  .about-image {
    width: 100%; /* Full width for the image */
    margin-bottom: 20px; /* Add some space below the image */
  }
}


.circle-text span b {
  transform: rotate(calc(var(--i) * -36deg));
  white-space: nowrap;
  font-size: 0.9em;
}

@media (max-width: 768px) {
  .title {
    font-size: 24px;
  }

  .name {
    font-size: 24px;
  }

.name {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  text-align: center;
}

.name a {
  color: #ff3cac; /* Tiktok-ish pink or whatever you like */
  font-style: italic;
}

.box1 {
  border: 2px solid black;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  max-width: 600px;
  margin: 0 auto; /* center on page */
  padding: 0;
}

.box1 img {
  width: 100%;
  height: auto;
  display: block;
}

.textbox {
  width: 100%;
  padding: 1rem;
  box-sizing: border-box;
  text-align: center;
}



  
  .box3 {
    flex-direction: column;
    align-items: center;
  }

 
  .box3 .textboxA,
  .box3 .textboxB {
    width: 100%;
  }

  .thank-you h1 {
    font-size: 2em;
  }

  .box1 img .textbox {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  @media (min-width: 1024px) {
    .container .archive {
      margin-top: 5%;
    }

    .container {
      margin-top: -5%;
    }
  }

  @media (max-width: 480px) {
    .navbar {
      flex-direction: column;
      height: auto;
      padding: 10px;
    }

    .title {
      font-size: 20px;
      margin: 10px 0;
    }

    .nav-left,
    .nav-right {
      font-size: 16px;
    }

    .thank-you button {
      width: 100%;
      margin: 10px 0;
    }
  }
}
