/* Estilos globales */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Poppins", Arial, sans-serif;
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* Asegura que el cuerpo ocupe toda la altura de la ventana */
    margin: 0;
}

main {
    flex: 1; /* Ocupa todo el espacio disponible entre el header y el footer */
}

a {
    text-decoration: none;
    color: white;
}

/* Header */
.main-header {
    margin-top: 50px; /* Separación desde la parte superior del navegador */
    width: 80%;
    margin-left: auto;
    margin-right: auto;
}

.header-content {
    display: flex;
    justify-content: space-between; /* Alinea el logo a la izquierda y el botón a la derecha */
    align-items: center; /* Mantiene los elementos en la misma línea */
}

.logo {
    width: 123px;
    height: 65px; /* Tamaño del logo, ajusta según sea necesario */
}



/* Sección de la imagen */
.image-section {
    margin-top: 20px;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;
}

.main-image {
    width: 100%; /* La imagen ocupa el 80% del ancho del contenedor */
    display: block;
    margin-left: auto;
    margin-right: auto;
}






.btn-alias {
  background: #fff;
  font-size: 14px;
  border-radius: 2px;
  border: 1px solid black;
  color: black;
  font-weight: 500;
  padding: .6rem 1rem;
  width: auto;
  min-width: 150px;
  height: 50px;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: color 0.5s ease-in-out, background-color 0.5s ease-in-out, border-color 0.5s ease-in-out, box-shadow 0.5s ease-in-out;
}

.btn-alias:hover, .btn-alias:focus {
  color: #fff;
  background-color: black;
  border-color: black;
}

/* --- Desktop Styles --- */
.btn-header {
    /* Marker for the top-right desktop button */
}

.buttons-section {
    display: flex;
    justify-content: flex-end;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 20px;
    margin-bottom: 20px;
    gap: 10px;
}

.btn-main {
    /* Marker for the bottom-row desktop buttons */
}


/* --- Media Query for Mobile --- */
@media (max-width: 900px) {
    .main-header {
        margin-top: 15px;
    }

    .header-content {
        /* On mobile, center the content and allow wrapping */
        justify-content: center;
        flex-wrap: wrap;
        gap: 15px;
    }

    .btn-header {
        width: 100%; /* Make header button full width */
        margin: 0; /* Remove right margin if any */
    }

    .buttons-section {
        flex-direction: column; /* Stack buttons vertically */
        align-items: center; /* Center them */
        gap: 15px; /* Add space between stacked buttons */
    }

    .buttons-section .btn-alias {
        width: 100%; /* Make bottom buttons full width */
    }
}




/* Footer */
footer {
    background-color: black;
    color: #626262;
    text-align: center;
    padding: 20px;
    margin-top: auto;
    font-size: 12px;
    height: 25vh; /* Mantén esta altura si la prefieres */
    display: flex; /* Activa Flexbox */
    flex-direction: column; /* Organiza los elementos en una columna */
    justify-content: center; /* Centra verticalmente los elementos */
    align-items: center; /* Centra horizontalmente los elementos */
}

footer p {
    margin: 0;
}

.copyright-text {
  /*display: flex;
  justify-content: center; /* Centra horizontalmente */
  /*align-items: center; /* Centra verticalmente */
  /*height: 100%; /* Asegura que el contenedor ocupe toda la altura del padre */
  text-align: center; /* Alinea el texto si es necesario en múltiples líneas */
}

/* Estilos del menú en el footer */
.footer-menu {
   /* text-align: center; /* Centra el menú horizontalmente */
    margin-bottom: 13px; /* Añade algo de espacio entre el menú y el aviso de copyright */
}

.footer-link {
    color: #626262; /* Color inactivo */
    font-size: 14px; /* Tamaño de fuente adecuado */
    text-decoration: none; /* Elimina el subrayado predeterminado de los enlaces */
    margin: 0 5px; /* Espaciado entre los enlaces */
    transition: color 0.3s ease-in-out, font-weight 0.3s ease-in-out; /* Transición suave para color y peso */
}

.footer-link:hover, .footer-link:focus {
    color: #fff; /* Cambia el color al blanco cuando se pasa el mouse o se enfoca */
    /*font-weight: bold; /* Hace que el texto sea bold cuando se pasa el mouse o se enfoca */
}
