.about-container-wrapper {
    background-color: #000000;
    color: white;
}

.about-font {
    font-size: 20px;
    letter-spacing: 1px;
    line-height: 30px;
    font-weight: 300;
}

.background-image {
    background-image: url('/assets/about.jpg');
    position: absolute;
    width: 60%;
    top: 0;
    right: 0;
    background-size: cover;
    clip-path: polygon(15% 0%, 100% 0%, 100% 100%, 60% 100%, 0% 25%);
}

.banner-content {
    width: 100%;
    flex-direction: column;
    align-items: start;
    text-align: left;
    z-index: 0;
}

.banner-content p {
    font-size: 20px;
    letter-spacing: 1px;
    line-height: 30px;
    font-weight: 300;
}

.banner-content div {
    width: 50%;
    padding-left: 12px;
    padding-right: 48px;
}

#about {
    padding-top: 50px;
    padding-bottom: 50px;
    display: flex;
    justify-content: center;
    text-align: center;
}

.about-container {
    max-width: 1060px;
}

.about-container img {
    max-height: 285px;
    margin-top: 30px;
    margin-bottom: 30px;
    width: 348px;
    max-width: 100%;
}

.grid-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.grid-item {
    position: relative;
    height: 500px;
}

.grid-item h5 {
    position: absolute;
    bottom: 30px;
    left: 30px;
    font-size: 22px;
    line-height: 33px;
    letter-spacing: 1px;
    font-weight: 300;
    margin: 0;
}

.grid-item p {
    position: absolute;
    bottom: 30px;
    left: 30px;
    font-size: 14px;
    line-height: 21px;
    letter-spacing: 1px;
    font-weight: 300;
    margin: 0;
    opacity: 0;
}

.grid-item:hover {
    cursor: pointer;
}

.grid-item h5 {
    transition: 0.5s ease-in-out;
}

.grid-item:hover h5 {
    transform: translateY(-30px);
}

.grid-item p {
    transition: 0.5s ease-in-out;
}

.grid-item:hover p {
    transform: translateY(-10px);
    opacity: 1;
}

.grid-gallery img {
    object-fit: cover;
    width: 100%;
    height: 500px;
}

.hidden {
    display: none;
}

.slideshow-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
}

.slideshow-container {
    position: relative;
    max-width: 80%;
    height: auto;
}

#slideshowImage {
    width: 100%;
    max-height: 99vh;
    object-fit: contain;
}

.close:hover,
.controls:hover {
    cursor: pointer;
}

.toggle-play-show {
    display: inline;
}

.toggle-play-hide {
    display: none;
}

.controls {
    position: fixed;
    top: 10px;
    right: 10px;
    display: flex;
}

.controls span {
    background-color: #FFFFFF;
    color: #000000;
    padding: 2px 10px;
}

#playBtn,
#pauseBtn {
    border-top-left-radius: 3px;
    border-bottom-left-radius: 3px;
}

#closeBtn {
    border-top-right-radius: 3px;
    border-bottom-right-radius: 3px;
}

.progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: #444;
}

#progress {
    height: 3px;
    background: #4592ff;
    width: 0%;
}

.toggle-progress-show {
    display: block;
}

.toggle-progress-hide {
    display: none;
}

.prev,
.next {
    position: fixed;
    top: 50%;
    color: white;
    font-size: 30px;
    cursor: pointer;
    background-color: transparent;
    border: none;
}

.prev {
    left: 50px;
}

.next {
    right: 50px;
}

@media(max-width: 1350px) {
    .about-container {
        width: 80%;
    }
}

@media (max-width: 1024px) {
    .grid-gallery {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-item:hover h5 {
        transform: translateY(-45px);
    }
}

@media (max-width: 800px) {
    .banner-content {
        padding-right: 0;
    }

    .background-image {
        width: 50%;
    }
    
    .grid-gallery {
        grid-template-columns: repeat(1, 1fr);
    }
}

@media(max-width: 600px) {
    .background-image {
        width: 100%;
        clip-path: none;
    }

    .banner-content {
        text-align: center;
    }
    
    .banner-content div {
        width: 100%;
        padding-left: 0;
        padding-right: 0;
    }
}