body * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background: linear-gradient(130deg, #4f358f, #9d2182, #d93d4b);
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    font-family: 'Arial', sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: black;
}

.hero-container {
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
    gap: 35px;
    color: white;
    flex-wrap: wrap;
    text-align: center;
}

.hero-container img {
    width: 300px;
    border: 3px solid #fff;
    border-radius: 10%;
}

.hero-container .hero h1 {
    font-size: 75pt;
    text-align: center;
}

@media screen and (max-width: 768px) {
    .hero-container .hero h1 {
        font-size: 50pt;
    }
    
}

.hero-container .hero p {
    font-size: 18pt;
}

main {
    width: 100%;
    max-width: 1200px;
    background-color: rgba(255, 255, 255, 0.5);
    padding: 35px;
    border-radius: 20px;
    margin: 50px 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.buscador {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 20px;
}

.buscador input {
    height: 30px;
    width: 300px;
    padding: 10px;
    border-radius: 10px;
    border: none;
}

.buscador button {
    height: 30px;
    width: 100px;
    border-radius: 10px;
    border: none;
    background-color: #4f358f;
    color: white;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.buscador button:hover {
    background-color: #9d2182;
}

.botonera {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    width: 100%;
    margin-top: 50px;
    align-items: start;
    text-align: center;
}

@media (min-width: 800px) {
    .botonera {
        grid-template-columns: repeat(5, 1fr);
    }
}
@media (min-width: 1200px) {
    .botonera {
        grid-template-columns: repeat(7, 1fr);
    }
}

.botonera .boton-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.boton {
    background-image: url('../img/boton.png');
    height: 100px;
    width: 100px;
    background-size: cover;
    background-repeat: no-repeat;
    transition: transform 0.3s ease, background-image 0.3s ease;
    margin-top: 15px;
}

.boton:hover {
    background-image: url('../img/boton-hover.png');
    transform: scale(1.05);
    cursor: pointer;
}

#noResults {
    margin-top: 20px;
    font-size: 18px;
    font-weight: bold;
    color: #4f358f;
    display: none;
    text-align: center;
}

footer {
    color: white;
    margin-bottom: 20px;
    text-align: center;
}
