.gallery-type-band {
    width: 100%;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
    border-left: 0;
    border-right: 0;
    margin-bottom: 30px;
}

.type-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.type-menu {
    width: fit-content;
    display: flex;
    align-items: center;
    gap: 10px;
}

.total-content {
    width: fit-content;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    opacity: 0.6;
}

.gallery-type {
    font-size: 12px;
    padding: 12px 20px;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    transition: .3s ease opacity, .3s ease background-color;
}

.gallery-type.current {
    color: white;
    background-color: var(--dark-bg-color);
}

.gallery-type:hover {
    background-color: var(--beige-color);
}

.gallery-type.current:hover {
    background-color: var(--dark-bg-color);
    opacity: 0.8;
}

.gallery-area {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.gallery-item {
    position: relative;
    width: calc((100% - 30px) / 4);
    background-color: var(--beige-color);
    border: 1px solid var(--border-color);
    aspect-ratio: 1;
    cursor: pointer;
    transition: .3s ease transform;
}

.gallery-item:hover {
    transform: scale(103%);
}

.gallery-item-label {
    position: absolute;
    bottom: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 10;
    color: #dddddd;
    font-size: 12px;
    padding: 5px;
    opacity: 0;
    transition: .3s ease opacity;
}

.gallery-item > img,
.gallery-item > video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    object-fit: cover;
}

.gallery-item:hover > .gallery-item-label {
    opacity: 1;
}

.album-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.album-row {
    position: relative;
    width: calc(50% - 5px);
    aspect-ratio: 16 / 9;
    transition: .3s ease transform, .3s ease filter;
}

.album-row:hover {
    transform: scale(101%);
    filter: brightness(110%);
}

.album-poster {
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.album-title {
    position: absolute;
    bottom: 18px;
    left: 12px;
    color: white;
    font-family: "Cormorant Garamond", serif;
    font-size: 40px;
    z-index: 10;
}

.album-row::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.8) 10%, transparent 60%);
    z-index: 2;
}

.gallery-band {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 30px 0 50px 0;
}

.gallery-band.beige {
    background-color: var(--beige-color);
}

.gallery-band-title {
    font-family: "Cormorant Garamond", serif;
    color: var(--text-color);
    font-size: 60px;
    line-height: 50px;
    margin-bottom: 30px;
}

.gallery-band-title > span {
    color: var(--gold-color);
    font-style: italic;
}

.top-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 60px;
    background-color: var(--beige-color);
    margin-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
}

.top-controls .padded {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-controls .label {
    font-size: 11px;
    color: var(--text-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    text-align: center;
}

.side-button {
    width: fit-content;
    height: 100%;
    background-color: black;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 20px;
    border: 0;
    cursor: pointer;
}

.main-element {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: calc(100vh - 400px);
}

.spinner-area {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
    pointer-events: none;
}

.main-element > img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    z-index: 10;
}

.main-element > video {
    max-width: 100%;
    max-height: 100%;
    z-index: 10;
}

.spinner {
    --color-1: black;
    --size: 1px;
    width: calc(48 * var(--size));
    height: calc(48 * var(--size));
    border: calc(5 * var(--size)) solid var(--color-1);
    border-bottom-color: transparent;
    border-radius: 50%;
    display: inline-block;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
}

@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@media screen and (max-width: 950px) {
    .type-menu {
        gap: 5px;
    }

    .total-content {
        display: none;
    }

    .gallery-type {
        padding: 8px 10px;
    }

    .gallery-item {
        width: calc((100% - 20px) / 3);
    }
}

@media screen and (max-width: 550px) {
    .gallery-item {
        width: calc((100% - 10px) / 2);
    }
}

@media screen and (max-width: 400px) {
    .gallery-item {
        width: 100%;
    }
}