 /*Caroussel */
 .carousel {
    width: 100%VW;
    height: 100VH;
    overflow: hidden;
  }
  
.carousel-image {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
display: flex;
z-index: 1;
}

.carousel-image .slice {
width: 25%;
height: 100%;
background-size: cover;
background-position: center;
transition: transform 1.25s ease;
transform-origin: center;
transform: rotateY(0deg);
background-repeat: no-repeat;
}

.carousel-image.first-image .slice1 {
background-image: url('img/home/image1x1.webp');
}
.carousel-image.first-image .slice2 {
background-image: url('img/home/image2x1.webp');
}
.carousel-image.first-image .slice3 {
background-image: url('img/home/image3x1.webp');
}
.carousel-image.first-image .slice4 {
background-image: url('img/home/image4x1.webp');
}

.carousel-image.second-image .slice1 {
background-image: url('img/home/image3x3.webp');
}
.carousel-image.second-image .slice2 {
background-image: url('img/home/image4x4.webp');
}
.carousel-image.second-image .slice3 {
background-image: url('img/home/image5x5.webp');
}
.carousel-image.second-image .slice4 {
background-image: url('img/home/image6x6.webp');
}
  
/* */
body {
    background-color: #5a78ac;
    color: #4e2d18;
    overflow-x: hidden;
}

.navbar {
    background-color: #4e2d18;
    transition: top 0.3s;
}

.section {
    background-color: white;
    padding: 60px 20px;
    opacity: 0;
    transform: translateY(100px);
    transition: opacity 1s ease-out, transform 1s ease-out;
    height: 100VH;
}

.section.visible {
    opacity: 1;
    transform: translateY(0);
}

.image-left img,
.image-right img {
    width: 80%;
    transition: transform 1s ease-out;
}

.image-left img {
    transform: translateX(-100%);
}

.image-right img {
    transform: translateX(100%);
}

.section.visible .image-left img {
    transform: translateX(0);
}

.section.visible .image-right img {
    transform: translateX(0);
}

.icon-circle {
    border-radius: 50%;
    width: 20VH;
    height: 20VH;
    font-size: xx-large;
    padding-top: 6VH;
    transition: transform 0.5s;
}

.icon-circle:hover {
    transform: rotate(360deg);
}

.testimonial-carousel .carousel-item {
    text-align: center;
}

.testimonial-carousel img {
    border-radius: 50%;
    width: 100px;
    height: 100px;
    margin-bottom: 15px;
}

footer {
    background-color: white;
    padding: 20px;
    text-align: center;
}

#don-button {
    position: fixed;
    right: 3px;
    bottom: 20px;
    background-color: #ffc107;
    color: #4e2d18;
    padding: 15px;
    border-radius: 50px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

@media (max-width: 768px) {
    .image-left,
    .image-right {
        order: 2;
    }

    .image-left img,
    .image-right img {
        transform: translateY(-100%);
    }

    .section.visible .image-left img,
    .section.visible .image-right img {
        transform: translateY(0);
    }

    #carouselArea{
        display: none;
    }
    
    h1, h6{
        position: relative;
        top: 11VH;
        text-align: center;
        color:white;
    }

    .section{
        height: fit-content;
    }
    
    .img-events{
        height:max-height;
    }
    
.btn-events{
    text-align:center;
}
}

footer{
    background-color: #4e2d18;
    color:rgba(255, 255, 255, 0.7);
    font-size: larger;
}

footer a {
    color:rgba(255, 255, 255, 0.7);
}

a{
    text-decoration: none;
}

@media (min-width: 768px) {
    #carouselAreaMobile{
        display: none;
    }
    h1{
        text-align: center;
        position: absolute;
        top: 50VH;
        z-index: 15;
        left:20VW;
        font-size: 4em;
        text-shadow: 0px 0px 5px black;
        color: white;
    }
    h6{
        text-align: center;
        position: absolute;
        top: 62VH;
        z-index: 15;
        left:30VW;
        font-size: 1.6em;
        text-shadow: 0px 0px 5px black;
        color: white;
    }
    
    .img-events{
        width:50%;
    }
}

.events{
    margin-bottom:4VH;
    border: 2px solid #4e2d18;
    border-radius:8px;
    box-shadow: 3px 3px 8px #ffc107;
}