*,
::before,
::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background: black;
  font-family: Inter, sans-serif;
  min-height: 100vh;
}
img {
  user-select: none;
}
.glow-section {
  height: max-content;
  padding-top: 120px;
  padding-bottom: 160px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.glow-section > h1 {
  color: #b2b2b2;
  font-size: clamp(24px, 2rem, 40px);
  margin-bottom: 1rem;
}
.wrapper-card {
  gap: 14px;
  display: flex;
  flex-wrap: wrap;
}
.card-voyage {
  width: 240px;
  height: 350px;
  flex-shrink: 0;
  border-radius: 10px;
  cursor: pointer;
  position: relative;
  padding: 5px;
}

.glow-section__card {
  z-index: 1;
  position: relative;
  overflow: hidden;
  background-color: rgb(128, 128, 128, 0.1);
}
.glow-section__top-layer {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-radius: 7px;
  height: 100%;
  font-size: 28px;
  background-color: rgb(26, 26, 26);
  transition: background-color 0.4s ease-out;
}
.glow-section__top-layer figure {
  display: flex;
  justify-content: center;
}
.glow-section__top-layer figure img {
  height: 60px;
  object-fit: cover;
}
#mount {
  transform: scale(2) translate(0, 34px);
}

.glow-section__top-layer-text {
  color: #b2b2b2;
  margin-bottom: 36px;
  transform: translate(0, 67px);
  transition: transform 0.4s ease-out;
}
.glow-section__top-layer-date {
  margin-top: 36px;
  color: #b2b2b2;
}
.glow-section__top-layer figure,
.glow-section__top-layer-date {
  transform: translate(0, 67px);
  opacity: 0;
  transition: transform 0.4s ease-out, opacity 0.4s ease-out;
}
.card-voyage:hover #mount,
.activated-card #mount {
  transform: scale(2) translate(0, 0);
  opacity: 1;
}
.card-voyage:hover .glow-section__top-layer-text,
.card-voyage:hover .glow-section__top-layer figure,
.card-voyage:hover .glow-section__top-layer-date,
.activated-card .glow-section__top-layer-text,
.activated-card .glow-section__top-layer figure,
.activated-card .glow-section__top-layer-date {
  transform: translate(0, 0);
  opacity: 1;
}
@media (pointer: fine) {
  .glow-section__card:hover > .glow-section__top-layer {
    background: rgb(26, 26, 26, 0.9);
  }
}

.glow-section__blob {
  filter: blur(40px);
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
  opacity: 0;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background-color: rgb(255, 255, 255, 0.8);
}
.glow-section__blob--1 {
  background-color: rgba(89, 224, 248, 0.8);
}
.glow-section__blob--2 {
  background-color: rgb(255, 255, 255, 0.8);
}
.glow-section__blob--3 {
  background-color: rgba(245, 158, 59, 0.8);
}
.voyage {
  min-height: 100vh;
  color: #b2b2b2;
  display: flex;
}
.voyage-section__content {
  flex: 50%;
  gap: 10px;
  display: flex;
  flex-direction: column;
}
.wrapper-person {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding-left: 2rem;
}
.wrapper-voyage-text {
  background-color: rgb(128, 128, 128, 0.1);
  border-radius: 10px;
  padding: 6px;
  height: 100%;
  overflow: hidden;
}
.voyage-section__content-text {
  background-color: rgb(26, 26, 26);
  border-radius: 7px;
  padding: 1rem;
  height: 100%;
  transition: background-color 0.4s ease-out;
}
.wrapper-voyage-text:hover > .voyage-section__content-text {
  background: rgb(26, 26, 26, 0.9);
}
.container-person {
  padding: 4px;
  border-radius: 99px;
}
.voyage-section__content-person {
  display: flex;
  gap: 6px;
  background-color: rgb(26, 26, 26);
  transition: background-color 0.4s ease-out;
  padding-right: 15px;
  border-radius: 99px;
}

.voyage-section__content-person-right {
  display: flex;
  flex-direction: column;
}
.voyage-section__content-person-right p {
  font-size: 12px;
}
.person-name {
  margin-top: 4px;
  font-size: clamp(18px, 1em, 30px) !important;
  color: #fff;
}
.voyage-section__content-person figure {
  width: 60px;
  height: 60px;
}
.voyage-section__content-person figure img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  border-radius: 50%;
}
.voyage-section__image {
  flex: 50%;
  display: flex;
  align-items: center;
  position: relative;
  user-select: none;
}
.voyage-section__image button {
  cursor: pointer;
  position: absolute;
  z-index: 1;
  appearance: none;
  border: none;
  height: 100%;
  background: transparent;
  opacity: 0;

  color: #b2b2b2;
  padding: 40px;
  font-size: 42px;
  transition: backgroundColor 0.4s ease-in-out, opacity 0.4s ease-in-out;
}
.voyage-section__image button:hover,
.voyage-section__image button.active-btn {
  background: rgb(0 0 0 / 60%);
  opacity: 1;
  transition: backgroundColor 0.4s ease-in-out, opacity 0.4s ease-in-out;
}
.voyage-section__image button.next {
  right: 0;
}
.voyage-section__image button.prev {
  left: 0;
  position: absolute;
}
.wrapper-image-carousel {
  position: relative;
  max-height: 100vh;
  height: 100%;
  width: 100%;
  overflow: hidden;
  display: flex;
  justify-content: center;
}
.voyage-section__image figure {
  opacity: 0;
  transition: opacity 0.4s ease-out;
  aspect-ratio: 4 / 3;
  position: absolute;
  top: 50%;
  transform: translate(400vw, -50%);
}
.voyage-section__image figure.vertical {
  aspect-ratio: 0 !important;
  height: 100% !important;
}
.voyage-section__image figure.active {
  opacity: 1 !important;
  transform: translate(0, -50%) !important;
}
.voyage-section__image figure.vertical img {
  object-fit: contain !important;
}
.voyage-section__image figure img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.disabled {
  display: none;
}
/* footer */
footer {
  display: flex;
  justify-content: space-around;
  align-items: center;
  color: #b2b2b2;
  border-top: 1px solid #b2b2b2;
  padding: 2rem;
}
footer a {
  display: inline-block;
  color: #b2b2b2;
  text-decoration: none;
}
footer a::after {
  content: "";
  display: block;
  width: 0;
  height: 1px;
  background-color: #d4d4d4;
  transition: width 0.2s ease;
  margin: 0 auto;
}
footer a:hover {
  color: #d4d4d4;
}
footer a:hover::after {
  width: 100% !important;
}

/* indicator */
.indicator {
  width: 0%;
  height: 6px;
  background-color: #d2d2d2;
  position: fixed;
  z-index: 99;
  transition: width 1s ease-in-out;
  /* border-top-right-radius: 99px;
  border-bottom-right-radius: 99px; */
}
@media screen and (max-width: 1450px) {
  .voyage-section__image figure.vertical {
    height: initial !important;
  }
}
@media screen and (max-width: 1100px) {
  .voyage {
    flex-direction: column;
  }
  .voyage-section__content,
  .voyage-section__image {
    flex: none !important;
  }
  .voyage-section__image {
    height: 86vh;
  }
  .wrapper-person {
    justify-content: center;
    padding-left: 0 !important;
  }
  .voyage-section__image figure.vertical {
    height: 100% !important;
  }
  /* .wrapper-image-carousel figure {
    top: 0!important;
    transform: translate(0, 0)!important;
  } */
}
@media screen and (max-width: 771px) {
  .wrapper-card {
    padding: 0 1rem;
    justify-content: center;
  }
  /* .wrapper-image-carousel {
    height: 50vh !important;
  } */
}
@media screen and (max-width: 627px) {
  .voyage-section__image figure.vertical {
    height: initial !important;
  }
}
@media screen and (max-width: 550) {
  .voyage-section__image {
    height: 50vh;
  }
}

.blur-load {
  background-size: contain;
  background-position: center;
}
