.main {
  display: flex;
  flex-direction: column;
}

.logo-img {
  width: 100px;
  height: auto;
  position: absolute;
  top: 30px;
}

.hero {
  display: grid;
  grid-template-columns: 1fr;
  height: auto;
  position: relative;
  top: 0;
  width: 100%;

  @media screen and (min-width: 960px) {
    grid-template-columns: 1fr 1fr;
    min-height: 100vh;

    &.is-single {
      grid-template-columns: 1fr;
      min-height: unset;

      .hero-visual {
        width: 100%;
        position: relative;
        top: 0;
        aspect-ratio: 16/9;
        max-height: unset;
        min-width: 100%;
      }
    }
  }
}

.hero-visual {
  align-items: center;
  display: flex;
  height: 50vh;
  justify-content: center;
  left: 0;
  min-height: 50vh;
  position: relative;
  width: 100%;
  z-index: -1;

  @media screen and (min-width: 960px) {
    position: sticky;
    top: 0;
    height: 100vh;
    max-height: 100vh;
    min-height: unset;
  }

  .symbol {
    height: auto;
    max-width: 200px;
    pointer-events: none;
    position: absolute;
    width: 30%;
  }
}

.hero-visual:after {
  /* linear gradient from top to bottom black to transparent */
  background-image: linear-gradient(rgba(0, 0, 0, 0.2), transparent);
  top: 0;
  content: "";
  left: 0;
  position: absolute;
  right: 0;
  height: 40%;
}

.hero-visual img,
.hero-visual video {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

/* text */
.text {
  padding: 40px 20px;
  position: relative;

  @media screen and (min-width: 960px) {
    padding: 80px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
}

.text::-webkit-scrollbar {
  display: none;
}

/* .text-spacer {
  flex: 1;
} */

.text.no-mainimage {
  margin-top: 100px;
  color: #000;
}

.text > a:not(.scroll-scroll) {
  width: 100%;
  max-width: 860px;
}

.text-content {
  margin: 90px 0;

  a {
    text-decoration: underline;
    text-underline-offset: 0.2em;
  }
}

.text-content > * {
  width: 100%;
}

.heading {
  display: flex;
  flex-direction: column;
  gap: 1em;
  margin-bottom: 2rem;
  /* margin-top: 2rem; */
  max-width: 860px;
  width: 100%;
}

.heading h1 {
  font-weight: 500;
  display: inline-block;
}

.heading h1 a {
  display: inline-flex;
  align-items: center;
}

.heading h1 svg {
  height: 1em;
  width: auto;
}

/* blocks */
.blocks {
  display: flex;
  flex-direction: column;
  gap: 1.5em;
  max-width: 860px;
  position: relative;
  width: 100%;
}

.blocks:not(:first-of-type) {
  margin-top: 0rem;
}

.block-heading h1,
.block-text h1 {
  /* font-size: 1.675rem; */
}

.block-heading h2,
.block-text h2 {
  /* font-size: 1.25rem; */
  /* font-weight: 500; */
}

.block-text p {
  margin-bottom: 1em;
}

.block-text ul {
  padding-left: 0.9em;
}

.block-image {
  margin: 0.5em 0;
}

.block-image img {
  /* height: 45vw; */
  width: 100%;
  /* max-height: 500px; */
  object-fit: contain;
  object-position: center;
}

.block-image figcaption {
  font-size: 0.75rem;
  margin-top: 0.5rem;
  padding: 0 20px;
  margin-bottom: 1rem;
  border-left: 2px solid;
}

.block-gallery {
  /* border: 2px solid black; */
  /* height: 45vw; */
  /* max-height: 500px; */
  /* margin: 20px 0; */
  /* border-radius: 10px; */
  width: 100%;
}

.block-gallery img {
  /* height: 100%; */
  /* object-position: top left; */
  aspect-ratio: 3/2;
  object-fit: cover;
  object-position: center;
  width: 100%;
}

.block-gallery .swiper-pagination {
  display: flex;
  bottom: 0 !important;
  padding: 0;
  display: none;
}

.block-gallery .swiper-pagination .swiper-pagination-bullet {
  background-color: #fff !important;
  border-radius: 0 !important;
  flex: 1;
  height: 3px;
  margin: 0 !important;
  opacity: 1 !important;
}

.block-gallery .swiper-pagination .swiper-pagination-bullet-active {
  background-color: #000 !important;
}

.block-gallery .swiper-button-next,
.block-gallery .swiper-button-prev {
  color: #fff;
}

.block-gallery .swiper-button-prev {
  left: 10px;
}

.block-gallery .swiper-button-next {
  right: 20px;
}

.block-video iframe {
  width: 100%;
  aspect-ratio: 16/9;
}

.block-video figcaption {
  border-left: 2px solid;
  font-size: 0.75rem;
  margin-bottom: 1rem;
  margin-top: 0.5rem;
  padding: 0 20px;
}

.block-code iframe {
  width: 100%;
  /* aspect-ratio: 16/9; */
}

iframe {
  border: none;
}

.extra {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 3rem;
  padding: 0 2rem;
  margin-bottom: 3rem;
}

.other {
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #fff;
}

.back {
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  gap: 0.5em;
  margin-bottom: 0.5rem;
}

.back svg {
  transition: transform 0.3s;
}

.back:hover svg {
  transform: translateX(-0.5rem);
}

/* animate up and down (20px) with @keyframes */

@keyframes scroll {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

.scroll-scroll {
  padding: 20px;
  position: absolute;
  align-items: center;
  justify-content: center;
  left: 0;
  bottom: 0;
  right: 0;
  display: none;

  @media screen and (min-width: 960px) {
    display: flex;
  }

  .scroll-scroll-container {
    border: 2px solid;
    animation: scroll 3s infinite;
    padding: 8px;
    border-radius: 100%;

    @media screen and (min-width: 1920px) {
      border: 2.5px solid;
    }
  }


  svg {
    height: clamp(24px, calc(20px + 1vw), 48px);
    width: auto;
    transform: translateY(2%);
  }
}
