@import url(./vars.css);

.top-content {
  background-color: var(--main-bg-color);
  height: 40rem;
  max-height: calc(100vh - 4rem);
  width: 100%;
  overflow: hidden;
  position: relative;
}

.top-bg {
  position: absolute;
  width: max(100vw, 10%);
  height: auto;
}

@media (max-width: calc(100vh * 16 / 9)) {
  .top-bg {
    position: absolute;
    width: auto;
    height: max(100vw, 100%);
    left: -25vw;
  }
}

.top-bg-box::after {
  position: absolute;
  display: block;
  left: 0;
  top: 0;
  height: min(100vw, 100vh);
  width: 100vw;
  content: "";
  background-color: rgba(0, 0, 0, 0.788);
  backdrop-filter: blur(.3vw);
}

.top-caption {
  position: relative;

}

.top-objects {
  position: absolute;
  color: white;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  text-align: center;
  justify-content: center;
  align-items: center;
  display: flex;
  flex-direction: column;
}

.top-caption {
  width: min(50%, 80vh);
}

@media (max-width: calc(100vh * 16 / 9)) {
  .top-caption {
    width: min(60%, calc(100vw * 0.6));
  }
}

.top-showmore-block {
  margin-top: 2rem;
}