.landing {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  background-color: var(--background--color);
  height: 85dvh;
  min-height: 760px;
  max-height: 984px;
  overflow: hidden;
  z-index: 1;
  border-right: 1px solid var(--stroke--color);
  border-bottom: 1px solid var(--stroke--color);
  border-left: 1px solid var(--stroke--color);
}

.grid-medium,
.grid-small {
  display: none;
}

.grid-large,
.grid-medium,
.grid-small {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: auto;
  object-fit: cover;
  z-index: -1;
}

.grid-large {
  min-width: 1800px;
}

.grid-medium {
  min-width: 1250px;
}

.grid-small {
  min-width: 577px;
}

.grid-background {
  fill: var(--grid--background);
}

.grid-foreground {
  fill: var(--grid--foreground);
}

.icon-background {
  fill: var(--icon--background);
}

.icon-fill {
  fill: var(--icon--foreground);
}

.icon-stroke {
  stroke: var(--icon--foreground);
}

.large-logo {
  width: 80%;
  max-width: 624px;
  margin: auto 0 4rem 0;
}

.logo-letters {
  fill: var(--foreground--color);
}

.subheading {
  align-self: center;
  margin-top: auto;
  margin-bottom: 1rem;
}

.process-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-left: 1px solid var(--stroke--color);
  border-bottom: 1px solid var(--stroke--color);
  border-right: 1px solid var(--stroke--color);
}

.process-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 24px 0;
  max-width: 2000px;
}

.process-cta {
  padding: 0 1rem;
  box-sizing: border-box;
  width: 100%;
  margin-top: 24px;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-end;
  flex-wrap: wrap;
}

.works-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-left: 1px solid var(--stroke--color);
  border-bottom: 1px solid var(--stroke--color);
  border-right: 1px solid var(--stroke--color);
}

.bento-grid-container {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 24px;
  box-sizing: border-box;
  padding: 36px 1rem 24px 1rem;
  max-width: 1661px;
}

.vertical-1x1 {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 187px;
  max-width: 251px;
  height: 454px;
}

.horizontal-1x1 {
  display: flex;
  flex-direction: row;
  gap: 24px;
  width: 100%;
  max-width: 526px;
  height: 215px;
}

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

.bounce {
  display: inline-block;
  animation: bounce 0.5s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.large-logo {
  animation: fadeIn 1s ease-in-out;
  animation-delay: 50ms; /* Delay for 2 seconds */
  opacity: 0; /* Start with the element invisible */
  animation-fill-mode: forwards; /* Ensures the element remains visible after animation */
}

@media screen and (min-width: 1400px) {
}

@media screen and (min-width: 1900px) {
}

@media screen and (min-width: 2500px) {
}

@media screen and (max-width: 1400px) {
  /* XXL */
}

@media screen and (max-width: 1250px) {
  .grid-large {
    display: none;
  }

  .grid-medium {
    display: block;
  }
}

@media screen and (max-width: 1200px) {
  /* XL */
  .grid-medium {
    display: none;
  }

  .grid-small {
    display: block;
  }
}

@media screen and (max-width: 992px) {
  /* LG */
  .horizontal-1x1 {
    flex-direction: column;
    width: calc(33.33% - 24px);
    height: 100%;
  }
}

@media screen and (max-width: 768px) {
  /* M */

  .large-logo {
    margin: auto 0 0 0;
  }
  .vertical-1x1 {
    flex-direction: column;
    max-width: calc(50% - 12px);
  }
  .horizontal-1x1 {
    flex-direction: row;
    width: calc(50% - 12px);
    height: 215px;
  }
}

@media screen and (max-width: 576px) {
  /* S */
  .vertical-1x1,
  .horizontal-1x1 {
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    min-width: 100%;
    height: auto;
  }
}

@media screen and (max-width: 258px) {
  /* XS */
}
