body, html {
    margin: 0;
    padding: 0;
    height: 100vh;
    width: 100vw;
    font-family: Arial, Helvetica, sans-serif;
    background-color: #111;
    color: white;
    overflow: hidden;
}

.background-images {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.background-images img {
    width: 20%;
    height: auto;
    opacity: 0.4;
    object-fit: cover;
}

.content {
    position: relative;
    z-index: 2;
    text-align: center;
    margin-top: 50px;
}

.search-box {
    margin: 20px 0;
    display: inline-flex;
    border: 3px solid #ff0000;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 0 15px rgba(255,0,0,0.7);
}

.search-box input {
    padding: 12px 20px;
    width: 300px;
    border: none;
    outline: none;
    font-size: 16px;
    border-radius: 25px 0 0 25px;
}

.search-box button {
    padding: 12px 25px;
    background: #ff0000;
    color: white;
    border: none;
    cursor: pointer;
    font-weight: bold;
    border-radius: 0 25px 25px 0;
    transition: background 0.3s;
}

.search-box button:hover {
    background: #cc0000;
}

.resultado {
    margin: 30px auto;
    width: 90%;
    max-width: 800px;
    background-color: rgba(0,0,0,0.7);
    padding: 20px;
    border-radius: 15px;
    z-index: 2;
}

.carousel {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    gap: 15px;
    padding: 10px 0;
}

.carousel img {
    flex: 0 0 auto;
    width: 200px;
    height: auto;
    border-radius: 10px;
    transition: transform 0.3s;
    cursor: pointer;
}

.carousel img:hover {
    transform: scale(1.05);
}

.carousel::-webkit-scrollbar {
    display: none;
}
.carousel {
    -ms-overflow-style: none;  
    scrollbar-width: none;      
}

#back-button {
    display: block;
    margin: 20px auto 0 auto;
    padding: 10px 20px;
    background: #ff0000;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
}

#back-button:hover {
    background: #cc0000;
}
