html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
}

body {
  font-family: Montserrat, sans-serif;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  color: #ffffff;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: url("/img/background-kr8.svg") no-repeat center center/cover;
}

body::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 9, 0, 0.3); /* Película escura */
  z-index: -1;
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
  width: 100%;
  box-sizing: border-box;
}

.logo img {
  max-width: 30%;
  height: auto;
  margin-bottom: 20px;
}

h1 {
  font-size: 2.8em;
  font-weight: bold;
  margin-top: 10px;
  margin-bottom: 10px;
}

p {
  font-size: 1.2em;
  text-align: center;
  line-height: 1.5;
}

.instagram {
  text-decoration: none;
  color: #8D30F2;
  font-weight: bold;
}

a:hover {
  text-decoration: none;
}

footer {
  text-align: center;
  padding-bottom: 15px;
  width: 100%;
  box-sizing: border-box;
}

footer a {
  text-decoration: none;
  color: #8D30F2;
  font-weight: regular;
}

footer p {
  font-size: 0.95em;
  color: #f2f2fa;
  font-weight: regular;
}

.copy {
  margin-bottom: 1px;
}

.dev {
  padding-bottom: 20px;
  font-weight: regular;
}

/* Media Queries para dispositivos moveis */
@media (max-width: 768px) {
  h1 {
    font-size: 2em;
  }

  p {
    font-size: 1em;
  }

  .logo img {
    max-width: 90%;
  }

  footer {
    font-size: 0.8em;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 1.6em;
  }

  p {
    font-size: 0.9em;
  }

  .logo img {
    max-width: 80%;
  }

  footer {
    font-size: 0.9em;
  }
}
