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

* {
  margin: 0;
  padding: 0;
}

body {
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  background-color: #015258;
  color: #ff9479;
  font-family: "Azeret Mono", monospace;
  font-optical-sizing: auto;
  font-style: normal;
}

canvas,
img,
picture,
svg,
video {
  display: block;
  max-width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  overflow-wrap: break-word;
}

#__next,
#root {
  isolation: isolate;
}

.container {
  max-width: 600px;
  text-align: center;
  padding: 3rem 5rem;
  border-radius: 1rem;
}

#date,
#food,
.title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.title {
  opacity: 0;
}

#days {
  font-size: clamp(4rem, 10vw, 7rem);
}

@media screen and (max-width: 500px) {
  #date,
  #food {
    max-width: 18ch;
    align-self: center;
  }

  .container {
    width: 100%;
    padding: 0;
    border: none;
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }

  #food {
    justify-self: center;
    word-wrap: break-word;
  }

  #date {
    justify-self: center;
  }
}

.fadeIn {
  animation: 1s ease-in-out forwards fadeIn-an;
}

@keyframes fadeIn-an {
  from {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}
