html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #f5f5f5;
  background:
    linear-gradient(to bottom, #1f1f1fbe 0%, #1f1f1fe5 50%, #1F1F1F 100%),
    url('background.png') no-repeat center top;
  background-size: cover;
  background-attachment: fixed;
}

main {
  text-align: center;
  margin-top: 12rem;
  flex: 1;
}


.welcome p {
  color: #ffffff;
  font-size: 1.5rem;
}

.logo-img2 {
  height: 80px;
  width: auto;
  cursor: pointer;
}


.home-buttons {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
}

.home-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border: 4px solid #E4700F;
  border-radius: 8px;
  padding: 1.5rem 2rem;
  text-decoration: none;
  
  width: clamp(50px, 40vw, 150px);
  height: 8px;

  color: #000000;
  background-color: #E4700F;
  font-weight: bold;
  font-size: clamp(0.9rem, 3vw, 1.1rem);
  transition: transform 0.2s, background-color 0.2s;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.home-btn:hover {
  transform: scale(1.05);
}

.btn-icon {
  width: 200px;
  height: 200px;
  margin-bottom: 2rem;
  fill: #E4700F;
  filter: invert(500%);
}

.btn-desc {
  font-size: 0.9rem;
  color: #b0b0b0;
  text-align: center;
  margin-top: 0.3rem;
  max-width: 180px;
}

footer {
  width: 100%;
  margin-top: 4rem;
  padding: 1.5rem 0;
  background: rgba(20, 20, 20, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  text-align: center;
  font-size: clamp(0.65rem, 1.8vw, 0.85rem);
  color: #a0a0a0;
  border-top: 1px solid #333;
}

footer a {
  color: #E4700F;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}


/* Adaptación móvil */
@media (max-width: 768px) {
  .nav-left {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .nav-links {
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .logo-img {
    height: 32px;
  }

  .home-buttons {
    gap: 0.8rem;
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .nav-left {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .nav-links {
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .logo-img {
    height: 32px;
  }

  .home-buttons {
    gap: 0.6rem;
    flex-direction: column;
  }
}