@import url("https://fonts.googleapis.com/css2?family=Oswald:wght@200..700&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: sans-serif;
}

html,
body {
  width: 100%;
  height: 100%;
}

main {
  width: 100%;
  height: 100vh;
  background: url("./images/bg.webp");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.4s ease;
}

main.hidden {
  display: none;
}

main.fade-out {
  opacity: 0;
}

.container {
  text-align: center;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 20px;
  padding: 0 16px;
}

.container h2 {
  font-family: "Oswald", sans-serif;
  text-transform: uppercase;
  font-size: 20px;
  font-weight: 400;
}

.container p {
  font-size: 16px;
}

.container img {
  max-height: 240px;
  animation: chest 1s ease-in-out infinite;
}

@keyframes chest {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.04);
  }

  100% {
    transform: scale(1);
  }
}

button {
  background-color: #ff9e2c;
  padding: 10px 76px;
  font-size: 20px;
  text-transform: uppercase;
  border: none;
  outline: none;
  border-radius: 10px;
  color: #000;
  text-decoration: none;
  font-weight: 700;
  font-family: "Oswald", sans-serif;
  margin-top: 20px;
  cursor: pointer;
}

@media (max-width: 768px) {
  .container p {
    font-size: 12px;
  }
}
