
.portada {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: url('../images/width_1080.webp') no-repeat center center/cover;
    background: 
    linear-gradient(rgba(13, 25, 168, 0.8), rgba(13, 25, 168, 0.8)),
    url('../images/width_1080.webp') no-repeat center center/cover;
}

.menu {
    background-color: transparent;
    position: absolute;
    display: flex;
    justify-content: flex-end; /* Alinea los elementos dentro hacia la derecha */
    top: 20px;
    right: 20px; /* Ahora estará a la derecha */
}

.menu-line {
    position: absolute;
    top: calc(20px + 40px); /* 20px top + aprox altura del menú (ajusta) */
    left: 0;
    right: 0;
    height: 5px;
    background: #fff;
}

.menu ul {
    list-style: none;
    padding: 0;
}

.menu li {
    display: inline;
    margin-right: 15px;
}

.menu a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

.menu a:hover {
    color: rgb(153, 151, 151);
}

.whatsapp-icon {
    position: absolute;
    top: 60px;   /* 👉 distancia debajo del menú */
    right: 20px;
}

.hero {
    z-index: 1;
}

.logo-overlay {
    position: relative;
}

.logo-overlay img {
    max-width: 100%;
    height: auto;
}

.back-button {
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 10px 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    animation: bounce 2s infinite;
}

.back-button img {
    margin-right: 5px;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}