:root {
    --primary-color: #053e88; /* Azul */
    --secondary-color: #333; /* Cor escura para o texto */
    --background-light: #f9f9f9;
    --white: #fff;
    --accent-green: #34A853; /* Verde para botões */
  }
/* Configurações do carrossel */
.carousel-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: auto;
    overflow: hidden;
    border-radius: 10px;
}



@media (max-width: 150px) {

    }

/* Slides */
.carousel {
    display: flex;
    width: 100%;
}

.slide {
    display: none;
    position: relative;
    width: 100%;
        
}

.slide.active {
    display: block;
    animation: fade 2s ease-in-out;
}

/* Imagens */
.slide img {
    top: 1000px;
    left: auto;
    width: 100%;
    height: 300px;
    object-fit: cover;
}

/* Legenda */
.caption {
    position: absolute;
    bottom: 20%;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: white;
    background: rgba(0, 0, 0, 0.5);
    padding: 15px;
    border-radius: 5px;
    max-width: 80%;
}
.caption h2 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: white;
}
/* Botão */
.btn {
    background-color: var(--accent-green);
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 5px;
    margin-top: 10px;
    font-size: 16px;
    transition: background 0.3s, transform 0.3s;
}

.btn:hover {
    background: var(--primary-color);
    transform: scale(1.05);

}

/* Botões de navegação */
.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    cursor: pointer;
    padding: 10px;
    font-size: 24px;
    border-radius: 50%;
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

.prev:hover, .next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* Animação de transição */
@keyframes fade {
    from {
        opacity: 0.5;
    }
    to {
        opacity: 1;
    }
}
