section.gallery{
    width: 100%;
    background-color: #b8b8b8;
}

.gallery-header{
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px;
    background: url(../images/gallery-header.jpg);
    background-color: #9004ee;
    color: white;
    width: 100%;
    height: 400px;
}

.gallery-holder {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 100px;
    width: 100%;
    padding: 100px 10%;
    background-color: #fff;
}

.gallery-btn-group {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
}

.gallery-btn {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 200px;
    height: 200px;
    background-color: #ececec;
    transition: all .2s ease;
    cursor: pointer;
}

.gallery-btn:hover, .gallery-btn.active:hover {
    background-color: #9004ee;
    color: #fff;
}

.gallery-btn:active {
    transform: scale(0.9);
}

.gallery-btn.active{
    color: #9004ee;
}

.gallery-btn.active::after{
    content: "";
    width: 20px;
    height: 3px;
    background-color: #9004ee;
    position: absolute;
    bottom: 35%;
    transition: all .2s ease;
}


.media-container:not(.gallery-images-container.media-container){
    display: none;
}

.media-container{
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    width: 100%;
}

.gallery-image{
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1 0 100%;
    max-width: 300px;
    height: 100%;
    background-color: #f3f3f3;
}

.gallery-image>img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    
}

.gallery-video{
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1 0 100%;
    max-width: 500px;
    height: 400px;
    background-color: #f3f3f3;
}

.gallery-video>video{
    width: 100%;
    height: 100%;
    object-fit: contain;
    
}