﻿.heading-txt {
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 100px;
    text-align: center;
    font-family: Garamond;
}

.gallery-center {
    display: flex;
    justify-content: center;
    align-items: center;
    height: auto;
    margin-top: -25px;
}

.image-gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
}

.image-block {
    align-self: flex-start;
    width: 30%;
    margin: 5px;
}

.aspect-ratio-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: calc(100% / (16 / 9));
}

.image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-image-container {
    display: flex;
    justify-content: center;
    height: auto;
    max-width: 90%;
}

.carousel-overlay {
    display: none;
    position: fixed;
    justify-content: center;
    align-content: center;
    align-items: center;
    z-index: 100;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
}

.carousel-content {
    display: flex;
    justify-content: center;
    align-content: center;
    align-items:center;
    width: 95%;
    overflow: hidden;
}

.carousel-slides {
    display: flex;
    justify-content: center;
    width: 90%;
    max-width: 145vh;
    overflow: hidden;
}

.carousel-slide {
    justify-content: center;
    align-items: center;
    width: fit-content;
    height: auto;
    overflow: hidden;
}

.carousel-slides img {
    position: absolute;
    z-index: 1;
    transition: transform 0.9s ease;
    max-width: 85%;
    max-height: 90vh;
    overflow: hidden;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 30px;
    color: white;
    cursor: pointer;
}

.prev,.next {
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    cursor: pointer;
    font-size: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
    padding: 0.5%;
}

.prev:hover, .next:hover{
    font-size: 35px;
    color: white
}

@media screen and (max-width: 700px) {
    .heading-txt {
        font-size: 17vw;
    }

    .image-gallery {
        flex-direction: column;
        align-content: center;
        align-items: center;
    }

    .image-block {
        width: 90%;
    }

    .carousel-slides img {
        display: flex;
        justify-content: center;
        align-items: center;
        align-content: center;
        max-width: 95%;
        max-height: auto;
    }

    .carousel-slides {
        display: flex;
        justify-content: center;
        width: fit-content;
    }

    .prev, .next {
        display: none;
    }
}