/* 📌 Reset Básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 📌 Contenedor Principal */
.container {
    display: flex;
    flex-direction: column; /*  Ajuste predeterminado para móvil */
    justify-content: center;
    align-items: center;
    height: 100vh;
    width: 100%;
    background: url("../images/background.jpeg") no-repeat 50% 33%;
    background-size: cover;
    position: relative;
}

/* 📌 Capa Oscura */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(2px);
    z-index: 1;
}

/* 📌 Degradado Naranja Inferior */
.gradient-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30%;
    background: linear-gradient(to top, #FF9D00 0%, rgba(0, 0, 0, 0) 100%);
    z-index: 1;
}

/* 📌 Contenedor del Logo */
.logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-grow: 1; /*  Empuja el logo hacia arriba en móviles */
    width: 100%;
    z-index: 2;
}

.logo {
    width: 325px;
    max-width: 80%;
    opacity: 0;
    animation: fadeIn 0.8s ease-in-out forwards;
}

/* 📌 Contenedor del Botón */
.boton-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-bottom: 30px;
    z-index: 2;
}

.boton {
   display: inline-block;
    font-size: 24px;
    font-family: sans-serif;
    padding: 15px 80px;
    background-color: #FF7931;
    color: white;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
    text-align: center;
    opacity: 0;
    animation: fadeIn 1s ease-in-out forwards;
    animation-delay: 0.4s; /*  Hace que el botón aparezca después del logo */
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.boton:hover {
    background-color: #d2510c;
    transform: scale(1.1); /*  Aumenta un 10% su tamaño */
    box-shadow: 0px 8px 20px rgba(255, 123, 31, 0.4); /*  Agrega una sombra para más efecto */
    z-index: 10;
}

/* 📌 Definimos la animación */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px); /* 🔥 Efecto de ligera elevación */
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 📌 Estilos para Escritorio */
@media (min-width: 769px) {
    .container {
        position: relative; 

    }

    .logo-container {
        flex-grow: 0; /*  Evita que el logo se suba demasiado */
        margin-bottom: 5px; /*  Espacio entre logo y botón */
    }

    .boton-container {
        margin-top: 5px;
    }
}

/* 📌 Estilos para Móviles */
@media (max-width: 768px) {
    .container {
        display: block;
        position: relative;
        background: url("../images/background.jpeg") no-repeat 50% 35%;
        background-size: cover;
        height: 100vh;
        width: 100%;


    }

    /* 📌 Capa Oscura */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(1.25px);
    z-index: 1;
}

    .logo-container{
        position: absolute;
        top: 5vh;
        right: 0%;
        left: 0%;
        width: 100%;
        max-width: 80vh;
    }
    .logo{
        width: 100%;
        max-width: 35vh;
    }

    .boton-container{
        position: absolute;
        bottom: 20vh;
        width: 100%;
        margin: auto;

    }

    .boton{
        padding: 2vh;
        width: 38vh;
        font-weight: bold;
        font-size: 3.5vh;
        
    }
}






