.custom-carousel {
    position: relative;
    width: 100%;
    height: 88vh;
    overflow: hidden;
    margin: 0;
}

.custom-carousel-inner {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.custom-carousel-item {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.custom-carousel-item.active {
    opacity: 1;
}

.custom-carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-caption {
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: white;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 10px;
    border-radius: 5px;
}

.custom-carousel-control-prev,
.custom-carousel-control-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    cursor: pointer;
    font-size: 24px;
    padding: 10px;
    z-index: 10;
}

.custom-carousel-control-prev {
    left: 10px;
}

.custom-carousel-control-next {
    right: 10px;
}

.carousel-caption {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    background-color: rgba(0, 0, 0, 0.4);
    padding: 20px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.carousel-caption.visible {
    opacity: 1;
    transform: translateY(0);
}

#inicio {
    margin: 0;
    padding: 0;
}

.carousel-caption h1 {
    font-size: 10vw;
    color: white !important;
}

.carousel-caption h3 {
    font-size: 4vw;
    color: white !important;
}