/* Ready for production */

:root {
  font-size: 16px;
  --color-white: #f8f7f3;
  --color-black: #0d1111;
  --color-red: #ff2121;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
  background-color: var(--color-white);
  color: var(--color-black);
  font-family: "Inter", sans-serif;
}

ul {
  list-style: none;
}

.container {
  display: flex;
  justify-content: space-between;
  width: 100%;
  height: 100%;
}

.header {
  width: calc(100% - 400px);
  height: 100%;
}

.white-logo {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  z-index: 999;
  width: 300px;
}

.main {
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  overflow: scroll;
  height: 100%;
  max-width: 400px;
}

.content-container {
  padding: 0 1rem;
  margin-top: 1rem;
}

.description {
  background-color: var(--color-white);
}

.footer {
  margin-top: 2rem;
  /* z-index: 999; */
  z-index: 1;
  background-color: var(--color-red);
}

/* .footer::before {
  content: "";
  width: 600px;
  height: 500px;
  position: fixed;
  bottom: -170px;
  right: -170px;
  background-color: var(--color-red);
  z-index: -1;
  transform: rotate(-18deg);
} */

.footer ul {
  margin: 1rem 0;
}

.footer ul {
  margin: 1rem 0;
}

.footer ul:last-child {
  margin-bottom: 0;
}

.footer-detail {
  padding: 1rem;
  z-index: 999;
  color: var(--color-white);
  font-size: 0.875rem;
  font-weight: 400;
}

.footer-detail a {
  color: inherit;
}

.person-name {
  font-size: 1.875rem;
  font-weight: 600;
  margin-bottom: 2rem;
}

.content-md {
  margin: 0 0 2rem;
}

.content-md p {
  margin-bottom: 2rem;
}

.short-description {
  position: absolute;
  color: var(--color-white);
  font-weight: 400;
  line-height: 2.5rem;
  font-size: 1.5rem;
  bottom: 4.5rem;
  left: 1rem;
  max-width: 400px;
  z-index: 9;
}

.logo {
  max-width: 100%;
  margin: 0 0 1rem;
}

.swiper,
.swiper-slide,
.swiper-wrapper {
  width: 100%;
  height: 100%;
}

.swiper-wrapper img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  display: block;
}
.short-description .image-title {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  color: var(--color-white);
}

.mobile {
  display: none;
}

@media screen and (max-width: 992px) {
  .container {
    display: block;
  }

  .logo {
    padding: 0 1rem;
    margin: 1rem 0;
  }

  .short-description {
    line-height: 1.65rem;
  }

  .content-container {
    margin: 2rem 0 1rem;
    position: relative;
    z-index: 99;
  }

  .content-md p {
    margin-bottom: 0;
  }

  .header {
    overflow: hidden;
  }

  .header,
  .swiper,
  .swiper-wrapper img {
    width: 100%;
    min-height: 100vh; /* fall-back */
    min-height: -moz-available;
    min-height: -webkit-fill-available;
    min-height: fill-available;
    z-index: 999;
  }

  .footer {
    position: relative;
    overflow: hidden;
    margin-top: 0;
    z-index: 99;
  }

  .footer-detail {
    color: var(--color-white);
    padding-top: 2rem;
  }

  .extra-padding-top {
    padding-top: 25vw;
  }

  .footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    clip-path: polygon(0 20vw, 100% 0, 100% 100%, 0% 100%);
    transform: rotate(0);
  }

  .description {
    font-size: 1.25rem;
    z-index: 999;
  }

  .content-container:after {
    content: "";
    position: absolute;
    width: 100%;
    height: calc(100% + 40vw);
    top: -2rem;
    left: 0;
    background-color: var(--color-white);
    z-index: -1;
  }

  .main {
    height: fit-content;
    max-width: 100%;
    background-color: var(--color-red);
  }

  .content-md {
    margin: 0;
  }

  .mobile {
    display: block;
  }

  .desktop {
    display: none;
  }
}
