html {
  margin: 0;
  padding: 0;
}

body {
  margin: 0;
  background-color: var(--background);
  padding: var(--large);
  height: calc(100dvh - var(--large) - var(--large));
  transition: background-color var(--ani-l) var(--easing);
}

#wrapper {
  height: 100%;
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  gap: var(--large);
}

#logo {
  padding-top: var(--medium);
  max-width: 6vw;
}

#lang {
  min-height: 40px;
  min-width: 40px;
}

#lang svg {
  background: transparent;
  fill: var(--foreground);
  opacity: 1;
  filter: none;
  border-radius: 0;
  border: 0;
  z-index: 999 !important;
}

#logo svg {
  background: transparent;
  fill: var(--foreground);
  opacity: 1;
  filter: none;
  border-radius: 0;
  border: 0;
  z-index: 999 !important;
  transition: fill var(--ani-l) var(--easing);
}

#content {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-direction: row;
  gap: var(--medium);
}

#story {
  width: 100%;
  max-width: 60dvh;
}

.text {
  fill: var(--tan);
}

.highlight {
  fill: var(--foreground);
  transition: all var(--ani-l) var(--easing);
}

/*          BUTTONS         */

#buttons {
  display: flex;
  flex-direction: column;
  justify-content: end;
  gap: var(--small);
}

button {
  width: 440px;
  background-color: transparent;
  padding: var(--small);
  border: 1px solid var(--foreground);
  border-radius: 5px;
  display: flex;
  justify-content: space-between;
  transition: background-color var(--ani-s) var(--easing);
  transition: stroke var(--ani-l) var(--easing);
  transition: fill var(--ani-s) var(--easing);
}

button svg {
  fill: var(--foreground);
  transition: fill var(--ani-s) var(--easing);
}

button:hover {
  background-color: var(--foreground);
}

button:hover svg {
  fill: var(--background);
}

#nonspace {
  width: 100%;
  display: flex;
  justify-content: end;
}

/*          MEDIA QUERIES           */
@media only screen and (max-width: 1024px) {
  body {
    height: calc(100dvh - var(--medium) - var(--medium));
    padding: var(--medium);
  }

  #logo {
    min-width: 12vw;
  }

  #content {
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    gap: var(--large);
  }

  #story .text {
    max-width: 70dvw;
  }

  #buttons {
    width: 100%;
  }

  button {
    min-height: 40px;
  }

  #nonspace {
    width: 100%;
    display: flex;
    justify-content: start;
  }
}

@media only screen and (max-width: 500px) {
  body {
    height: calc(100dvh - var(--small) - var(--small) - var(--medium));
    padding: var(--small);
  }

  #logo {
    min-width: 16vw;
  }

  button {
    width: 100%;
  }
}

@media only screen and (min-width: 1920px) {
  body {
    height: calc(100dvh - var(--xlarge) - var(--xlarge));
    padding: var(--xlarge);
  }
}
