body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-image: url(../img/FondoSinLogo.png);
  background-repeat: no-repeat;
  background-size: cover; 
  background-position: center; 
  background-attachment: fixed;
  color: #e0e0e0;
  height: 100vh;
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', sans-serif;
}

h1 {
    color: #00ff88;
    margin-bottom: 20px;
    font-weight: 500;
}

.roles {
  display: flex;
  justify-content: center;
  gap: 2rem;
  padding: 1rem;
  box-sizing: border-box;
  overflow-x: auto;
  padding-bottom: 1rem;

}

.card {
    padding: 2rem;
    background: #2a2a2a;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.15);
    cursor: pointer;
    text-align: center;
    transition: transform 0.2s ease, background-color 0.3s ease;
    width: 250px;
    height: 150px;
    min-width: 250px;
    margin-right: 1rem;

}

.card:hover {
    transform: scale(1.05);
    background-color: #333;
}

.card h2 {
    margin-bottom: 10px;
    color: #00ff88;
    font-size: 1.3rem;
}

.card p {
    font-size: 0.95rem;
    color: #ccc;
}
@media (max-width: 768px) {
  body {
    height: auto;
    padding: 2rem 1rem;
  }

  .roles {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }

  .card {
    width: 100%;
    max-width: 300px;
    padding: 1.5rem;
  }

  .card h2 {
    font-size: 1.2rem;
  }

  .card p {
    font-size: 0.9rem;
  }
}
.btn-volver {
  position: fixed;
  top: 20px;
  left: 20px;
  width: 40px;
  height: 40px;
  background-color: #00ff80;
  color: #1e1e1e;
  border: none;
  border-radius: 6px;
  font-size: 1.2rem;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 0 8px rgba(0, 255, 128, 0.3);
  transition: background-color 0.3s, transform 0.2s;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.btn-volver:hover {
  background-color: #00cc66;
  transform: scale(1.05);
}