.overlay-view {
    font-family: 'montserratsemibold', sans-serif;
    position: relative;
    display: flex;
    display: -webkit-flex;
    justify-content: center;
    -webkit-justify-content: center;
    font-weight: 600;
    z-index: 2;
    opacity: 0;
    margin-top: 10vh;
    margin-bottom: 10vh;
    transition: opacity 0.3s, transform 0.3s, background-image 0.5s, background-size 0.5s;
}

.overlay-view .overlay-tb {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-right: 1em;
    margin-left: 1em;
    width: 62.5rem;
    height: 31.25rem;
    min-height: 31.25rem;
    min-width: 20.9375rem;
    max-width: 80vw;
    max-height: 60vh;
    background: rgba(100, 100, 100, 0.5);
    backdrop-filter: blur(0.3125rem);
    border-radius: 1.25rem;
    overflow: hidden;
    opacity: 1;
    box-shadow: 0.625rem 1.25rem 1.125rem -0.5rem rgba(0, 0, 0, 0.5);
    transition: opacity 0.3s, transform 0.3s, background-color 1s;
}

.overlay-view .back-image-right {
    position: absolute;
    margin-right: 1em;
    margin-left: 1em;
    width: 37.5rem;
    height: 31.25rem;
    backdrop-filter: blur(0.3125rem);
    border-radius: 1.25rem;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    box-shadow: 0.625rem 1.25rem 1.125rem -0.5rem rgba(0, 0, 0, 0.5);
    transition: opacity 0.3s, transform 0.3s, background-image 1s, background-size 0.5s;
}

.overlay-view .back-image-left {
    position: absolute;
    margin-right: 1em;
    margin-left: 1em;
    width: 37.5rem;
    height: 31.25rem;
    backdrop-filter: blur(0.3125rem);
    border-radius: 1.25rem;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    box-shadow: 0.625rem 1.25rem 1.125rem -0.5rem rgba(0, 0, 0, 0.5);
    transition: opacity 0.3s, transform 0.3s, background-image 1s, background-size 0.5s;
}

@media screen and (max-width: 87.5rem) {
    .overlay-view {
        transform: scale(0.8);
    }
}

@media screen and (min-width: 125.0rem) {
    .overlay-view {
        transform: scale(1.2);
    }
}

.slide-animation {
    animation-name: slide-in;
    animation-duration: 2s;
}

@keyframes slide-in {
    from {
        opacity: 0;
        transform: translateY(3.125rem);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slide-image-in-right {
    from {
        opacity: 0;
        transform: translateX(0) translateY(-3.125rem);
    }
    to {
        opacity: 1;
        transform: translateX(18.75rem) translateY(-3.125rem);
    }
}

@keyframes slide-image-in-left {
    from {
        opacity: 0;
        transform: translateX(0) translateY(-3.125rem);
    }
    to {
        opacity: 1;
        transform: translateX(-18.75rem) translateY(-3.125rem);
    }
}

@keyframes fadeInOverlay {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeOutOverlay {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

.fade-in-overlay {
    animation: fadeInOverlay 1s forwards;
}

.fade-out-overlay {
    animation: fadeOutOverlay 1s forwards;
}

.overlay-view .overlay-tb .overlay-head {
    position: absolute;
    display: flex;
    top: 3vh;
    font-size: 1.6rem;
    font-weight: 1000;
    letter-spacing: 0.1875rem;
    background: radial-gradient(circle, rgba(255, 255, 255, 1.0), rgba(200, 200, 200, 1.0), rgba(255, 255, 255, 1.0)), rgba(200, 200, 200, 1.0);
    background-size: 600% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientAnimation 30s infinite;
}

@keyframes gradientAnimation {
    0% {
        background-position: 100% 50%;
    }
    50% {
        background-position: -100% 50%;
    }
    100% {
        background-position: -200% 50%;
    }
}

.overlay-view .overlay-tb .overlay-content {
    position: absolute;
    display: flex;
    flex-direction: row;
    align-items: center;
    top: 4vh;
    font-weight: 500;
    letter-spacing: 0.125rem;
    color: #ffffff;
    margin-top: 1%;
    margin-bottom: 10%;
    width: 96%;
    height: 25.0rem;
    overflow-x: auto;
    flex: 0 0 auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 1.0) rgba(100, 100, 100, 0.5);
}

.overlay-view .overlay-tb .overlay-content::-webkit-scrollbar {
    width: 0.3125rem;
    height: 0.3125rem;
}

.overlay-view .overlay-tb .overlay-content::-webkit-scrollbar-track {
    background-color: rgba(100, 100, 100, 0.5);
}

.overlay-view .overlay-tb .overlay-content::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 1.0);
    border-radius: 0.625rem;
}

.overlay-view .overlay-tb .overlay-content::-webkit-scrollbar-thumb:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.overlay-view .overlay-tb .overlay-content::-webkit-scrollbar-thumb:active {
    background-color: rgba(255, 255, 255, 1.0);
}

.overlay-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    top: 0;
    padding: 1.25rem;
    width: 17.5rem;
    height: 20.0rem;
    flex: 0 0 auto;
    overflow: hidden;
    margin-left: 1.25rem;
    margin-right: 1.25rem;
    border-radius: 1.25rem;
    color: rgba(255, 255, 255, 1);
    background: rgba(50, 50, 50, 0.5);
    box-shadow: 0.625rem 1.25rem 1.125rem -0.5rem rgba(0, 0, 0, 0.5);
    transition: opacity 0.3s, transform 0.3s, background-color 0.3s ease-in-out, color 0.3s ease-in-out;
    animation: slideDown 0.3s ease-in-out;
}

.overlay-item:hover {
    background: rgba(255, 255, 255, 0.8);
    color: rgba(0, 0, 0, 1.0);
    top: -3%;
    transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
    animation: slideUp 0.3s ease-in-out;
}

@keyframes slideUp {
    from {
        top: 0;
    }
    to {
        top: -3%;
    }
}

@keyframes slideDown {
    from {
        top: -3%;
    }
    to {
        top: 0;
    }
}

.overlay-item .overlay-date {
    letter-spacing: 0.125rem;
    font-family: "quicksandregular", sans-serif;
    font-weight: 400;
    font-size: 1rem;
    margin-bottom: 5%;
    color: rgba(200, 200, 200, 1.0);
}

.overlay-item:hover .overlay-date {
    color: rgba(0, 0, 0, 1.0);
    transition: background-color 0.3s ease, color 0.3s ease;
}

.overlay-item .overlay-title {
    font-family: 'montserratsemibold', serif;
    font-weight: 600;
    font-size: 1.2rem;
    letter-spacing: 0.125rem;
    margin-top: 2%;
    margin-bottom: 2%;
}

.overlay-item .overlay-sep {
    width: 60%;
    height: 0.0625rem;
    min-height: 0.0625rem;
    background: rgba(200, 200, 200, 1.0);
    margin-top: 5%;
    margin-bottom: 5%;
    transition: background-color 0.3s ease;
}

.overlay-item:hover .overlay-sep {
    background: rgba(0, 0, 0, 1.0);
    transition: background-color 0.3s ease;
}

.overlay-item .overlay-loc {
    margin-top: 10%;
    margin-bottom: 2%;
    font-weight: 600;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 1.0);
}

.overlay-item:hover .overlay-loc {
    color: rgba(0, 0, 0, 1.0);
    transition: background-color 0.3s ease, color 0.3s ease;
}

.overlay-item .overlay-desc {
    font-family: 'montserratregular', serif;
}

.overlay-item .overlay-desc .overlay-bullet {
    font-size: 0.8rem;
    letter-spacing: 0.0625rem;
    margin-top: 5%;
    margin-bottom: 5%;
    color: rgba(200, 200, 200, 1.0);
}

.overlay-item:hover .overlay-bullet {
    color: rgba(0, 0, 0, 1.0);
    transition: background-color 0.3s ease, color 0.3s ease;
}

.overlay-item .overlay-info {
    padding: 0.1875rem;
    font-size: 0.8rem;
    font-weight: 600;
    top: 8.4375rem;
    width: 11.5625rem;
    height: 1.375rem;
    color: rgba(175, 175, 175, 1.0);
    border-radius: 1.25rem;
    background: rgba(100, 100, 100, 0.5);
    transition: background-color 0.3s ease, color 0.3s ease;
}

.overlay-item:hover .overlay-info {
    color: rgba(0, 0, 0, 1.0);
    transition: background-color 0.3s ease, color 0.3s ease;
}
