* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
  width: 100%;
  background-color: #000;
  font-family: "HelveticaNeue", sans-serif;
  color: white;
}

.landing-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 1753 / 982;
  background-image: url("./img/bg-ellipsis0.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.header, .footer {
  position: absolute;
  left: calc(150 / 1753 * 100%);
  right: calc(150 / 1753 * 100%);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header {
  top: 32px;
}

.footer {
  bottom: calc(33 / 982 * 100%);
  font-size: 10px;
  color: rgba(255, 255, 255, 0.5);
}

.logo-ellipsis-text {
  display: flex;
  align-items: center;
  gap: 20px;
}

.logo-ellipsis-text .logo-icon {
  width: 56px;
  height: 56px;
}

.logo-ellipsis-text .logo-text {
  font-size: 19px;
  font-weight: bold;
  font-family: "HelveticaNeue", sans-serif;
  color: white;
}

.based-on-inmersion {
  font-weight: bold;
  font-size: 19px;
}

.main-message {
  position: absolute;
  top: calc(180 / 982 * 100%);
  left: 50%;
  transform: translateX(-50%);
  width: 1000px;
  text-align: center;
  font-size: 30px;
  font-weight: bold;
}

.sub-message {
  position: absolute;
  top: calc(750 / 982 * 100%);
  left: 50%;
  transform: translateX(-50%);
  width: 292px;
  text-align: center;
  font-size: 12px;
  font-weight: bold;
  line-height: 1.4;
}

.icon-write-container {
  position: absolute;
  top: calc(790 / 982 * 100%);
  left: 50%;
  transform: translateX(-50%);
  width: 96px;
  height: 96px;
}

.icon-write-container img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transition: opacity 0.3s ease;
}

.icon-write-on {
  opacity: 0;
}

.icon-write-container:hover .icon-write-on {
  opacity: 1;
}

.icon-write-container:hover .icon-write-off {
  opacity: 0;
}

.esp-eng-cat span {
  color: white;
}

.esp-eng-cat-link {
  color: white;
  text-decoration: none;
  transition: text-decoration 0.3s;
}

.esp-eng-cat-link:hover {
  text-decoration: underline;
}

.footer-link {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: text-decoration 0.3s;
}

.footer-link:hover {
  text-decoration: underline;
}

/* RESPONSIVE */

@media (max-width: 1000px) {
  .main-message {
    font-size: 26px;
  }
}

@media (max-width: 892px) {
  .main-message {
    font-size: 18px;
    top: calc(250 / 982 * 100%);
  }
}

@media (max-width: 768px) {
  .landing-wrapper {
    height: 100vh;
    aspect-ratio: auto;
    background-size: auto 100%;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
  }

  .header, .footer {
    position: absolute;
    width: 90%;
    left: 5%;
    flex-direction: row;
    justify-content: space-between;
    gap: 0;
  }

  .header {
    top: 32px;
  }

  .footer {
    bottom: calc(33 / 982 * 100%);
  }

  .main-message {
    top: calc(180 / 982 * 100%);
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    font-size: 22px;
  }

  .sub-message {
    top: calc(750 / 982 * 100%);
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    font-size: 12px;
  }

  .icon-write-container {
    top: calc(820 / 982 * 100%);
    width: 96px;
    height: 96px;
  }
}
