*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body{
    background-color: #f0f0f0;
}

.container{
    width: 100%;
    min-height: 100vh;
    padding: 5%;
    background-image: url('img/fondo.jpg');
    background-position: center;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.5);
    border-radius: 20px;
    overflow: hidden;
}

.busqueda .barbus{
    background-color: rgba(255, 255, 255, 0.8);
    height: 50px;
    flex: 1;
    border: 2px solid #fff;
    border-radius: 25px;
    padding: 15px 20px;
    font-size: 18px;
    color: #333;
    transition: all 0.3s ease-in-out;
}

.busqueda .barbus:focus{
    border-color: #ff8c00;
    background-color: rgba(255, 255, 255, 1);
    box-shadow: 0 0 10px rgba(255, 140, 0, 0.5);
}

::placeholder{
    color: rgb(71, 71, 71);
}

.busqueda .btn-enviar{
    border: 0;
    border-radius: 25px;
    width: 120px;
    height: 50px;
    cursor: pointer;
    background: linear-gradient(145deg, #00bcd4, #0097a7); /* Azul claro */
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: bold;
    color: #fff;
    transition: background 0.3s ease, transform 0.2s ease;
    margin-top: 20px;
}

.busqueda .btn-enviar:hover{
    background: linear-gradient(145deg, #0097a7, #00bcd4); /* Cambia la dirección del gradiente */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transform: scale(1.05);
}

.container img{
    display: block;
    margin: auto;
    width: 200px;
    height: auto;
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    margin-bottom: 20px;
}

.container h1{
    font-size: 2.5rem;
    color: #fff;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.6);
    margin-bottom: 20px;
}

.container span{
    background-color: rgb(255, 0, 0);
    display: flex;
    flex-direction: column;
    border-radius: 15px;
    font-size: 50px;
    font-weight: bold;
    text-align: center;
    color: #fff;
    padding: 20px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
    margin-top: 20px;
    transition: transform 0.3s ease-in-out;
}

.container span:hover{
    transform: translateY(-10px);
}

/* Media Queries */
@media (max-width: 768px) {
    .container{
        padding: 10%;
    }

    .busqueda .barbus{
        font-size: 16px;
        padding: 14px 18px;
    }

    .busqueda .btn-enviar{
        width: 110px;
        font-size: 16px;
    }

    .container img{
        width: 150px;
    }

    .container h1{
        font-size: 2rem;
    }

    .container span{
        font-size: 40px;
    }
}

@media (max-width: 480px) {
    .container{
        padding: 15%;
    }

    .busqueda .barbus{
        font-size: 14px;
        padding: 12px 16px;
    }

    .busqueda .btn-enviar{
        width: 100px;
        font-size: 14px;
    }

    .container img{
        width: 130px;
    }

    .container h1{
        font-size: 1.7rem;
    }

    .container span{
        font-size: 30px;
    }
}
