

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "yomogi", creative;
    letter-spacing: 0.175rem;
}

section {
  position: relative;
  width: 100vw;
  min-height: 100vh;
  overflow: hidden;
}

img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

h1 {
  font-size: 4rem;
  font-weight: 500;
  line-height: 1;
}


.spotlight-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.15);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  z-index: 1;
  height: 100vh;
}

.spotlight-backdrop.active {
  opacity: 1;
}

.spotlight-intro-text-wrapper {
  position: absolute;
  width: 100%;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  gap: 0.5rem;
  font-size: 2rem;
}

.spotlight-intro-text {
  flex: 1;
  position: relative;
  will-change: transform;
}

.spotlight-intro-text:nth-child(1) {
  display: flex;
  justify-content: flex-end;
}

.spotlight-bg-img {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;
  transform: scale(0);
  will-change: transform;
}

.spotlight-bg-img img {
  transform: scale(1.5);
  will-change: transform;
}

.spotlight-titles-container {
  position: absolute;
  top: 0;
  left: 15vw;
  width: 100%;
  height: 100%;
  overflow: hidden;
  clip-path: polygon(
    50vh 0px,
    0px 50%,
    50vh 100%,
    100% calc(100% + 100vh),
    100% -100vh
  );
  --before-opacity: 0;
  --after-opacity: 0;
  z-index: 100;
  transform: translateZ(0);
}

.spotlight-titles-container::before,
.spotlight-titles-container::after {
  content: "";
  position: absolute;
  width: 100vh;
  height: 2.5px;
  background: #fff;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 10;
}

.spotlight-titles-container::before {
  top: 0;
  left: 0;
  transform: rotate(-45deg) translate(-7rem);
  opacity: var(--before-opacity);
}

.spotlight-titles-container::after {
  bottom: 0;
  left: 0;
  transform: rotate(45deg) translate(-7rem);
  opacity: var(--after-opacity);
}

.spotlight-titles {
  position: relative;
  left: 15%;
  width: 75%;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 5rem;
  transform: translateY(100%);
  z-index: 30;
}

.spotlight-titles h1 {
  color: #fff;
  opacity: 0.85;
  transition: opacity 0.4s ease;
  font-size: 3rem;
  max-width: 20ch;
}

.spotlight-images {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  min-width: 300px;
  height: 100%;
  z-index: 5;
  pointer-events: none;
}

.spotlight-img {
  position: absolute;
  width: 200px;
  height: 150px;
  will-change: transform;
  pointer-events: none;
  z-index: 5
}

.spotlight-header {
  position: absolute;
  top: 50%;
  left: 10%;
  transform: translateY(-50%);
  color: #fff;
  font-weight: 700;
  transition: opacity 0.3s ease;
  z-index: 2;
  opacity: 0;
  z-index: 20;
}

.spotlight-tile {
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.spotlight-tile h1{
  margin: 0;
  color: #fff;
}

.spotlight-subtitle{
  font-size: .75rem;
  letter-spacing: 0.08rem;
  opacity: 1;
  text-transform: uppercase;
  color: #fff;
  padding: 1rem 0;
}

/* Outro Section */

.outro {
  display: flex;
  justify-content: center;
  align-items: center;
}

.outro-content {
  width: 100%;
  height: 100%;
  padding: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.img-container {
  width: calc(50svw - 30px);
  height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.img-wrapper {
  width: 70%;
  height: 100%;
  background: url("../images/about-img.jpg");
  background-size: cover;
  border: 4.5px solid #000;
  border-radius: 255px 15px 225px 15px/15px 225px 15px 255px;
}

/* changed */
.img-wrapper img {
  display: none;
}

.about-content {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  width: calc(50svw - 30px);
  padding: 30px;
  position: relative;
}

.about-content h3 {
  color: #000;
  font-family: "caveat brush", cursive;
  font-size: 2.5rem;
  line-height: 2.75rem; 
  letter-spacing: 0.75rem;
  text-align: right;
  text-transform: uppercase;
}

.about-text p {
  padding: 40px 0;
  color: #000;
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.875rem;
  letter-spacing: 0.25rem;
  text-align: left;
}

.contact-information {
  display: flex;
  width: 100%;
  height: 200px;
}

.about-text ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  align-self: flex-end;
  justify-items: end;
  width: 100%;
}

.about-text li {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: right;
}


.about-text li a {
  color: #000;
  font-size: .8rem;
  text-decoration: none;
  opacity: .6;
  text-align: right;
}

.about-text li a:hover {
  opacity: 1;
  transition: all .3s ease;
}



@media (max-width: 1000px) {
  h1 {
    font-size: 2rem;
  }


  .spotlight-titles-container {
    clip-path: none;
  }

  .spotlight-titles-container::before,
  .spotlight-titles-container::after {
    display: none;
  }

  .spotlight-titles {
    left: 0;
  }

  .spotlight-header {
    display: none;
  }

  .spotlight-images,
  .spotlight-img {
    display: none !important;
  }

}

@media (max-width: 800px) {
  .outro-content{
    flex-wrap: wrap
  }
  .outro-content .img-container {
    width: 80svw;
    height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .outro-content .img-wrapper img{
    display: none;
  }

  .outro-content .img-wrapper{
    width: 270px;
    height: 400px;
    aspect-ratio: 128/213;
    border-radius: 14.78125rem;
    border: 1.5px solid rgba(58, 58, 58, 0.80);
  }

  .about-content {
    width: 80svw;
  }
  .about-content h3,
  .about-content p {
    text-align: center;
  }

  .about-content p {
    font-size: 1rem;
}

}

