* {
  margin: 0;
  padding: 0;
}

*,
*::after,
*::before {
  box-sizing: inherit;
}

html {
  height: 100%;
}

body {
  font-family: "Nunito", sans-serif;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #14151e;
  color: #fff;
}

button:hover {
  cursor: pointer;
}

.loading .content {
  display: none;
}

.loading .loader {
  display: block;
}

.loader {
  width: 15%;
  margin: 0 auto;
  display: none;
}

.container {
  width: 100%;
  max-width: 1280px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.content {
  display: flex;
  flex-grow: 1;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  gap: 2rem;
}

/* HEADER */
header {
  width: 100%;
  max-height: 3rem;
  display: flex;
  justify-content: space-between;
}

.logo>img {
  height: 100%;
}

.i18n {
  display: flex;
  gap: 0.75rem;
}

.i18n>button {
  border: none;
  background-color: transparent;
  scale: 0.9;
  opacity: 0.5;
  transition: all 250ms ease-in-out;
}

.i18n>button.selected,
.i18n>button:hover {
  opacity: 1;
  scale: 1;
}

/* MAIN */
main {
  text-align: center;
  font-size: 3rem;
  line-height: 1.25;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2rem;
}

.countdown {
  display: flex;
  gap: 1rem;
}

.countdown .spinner {
  height: 2.5rem;
  vertical-align: baseline;
}

.label {
  margin-top: 1rem;
  font-size: 1.5rem;
}

/* MEDIA QUERIES */
@media screen and (max-width: 600px) {
  .loader {
    width: 30%;
  }

  main {
    font-size: 2rem;
  }

  .label {
    font-size: 1rem;
  }

  .countdown {
    gap: 0.5rem;
  }

  .countdown .spinner {
    height: 1.5rem;
  }
}
