
.thisPage {
    color: #b8deee !important;
}
#main {
    -webkit-animation-delay: 10s;
    animation-delay: 10s;
    animation: show-content 10s linear;
    -webkit-animation: show-content 15s linear;
    -webkit-animation-timing-function: ease-in-out;
    animation-timing-function: ease-in-out;
    -webkit-animation-fill-mode: forwards;
    animation-fill-mode: forwards;
}

#div-title-learning h1 {
    font-size: clamp(20px, 3vw, 35px);
    font-weight: normal;
    font-style: italic;
    line-height: 1.5em;
    text-align: center;
    margin-bottom: 30px;
}

.learning {
    width: 50%;
    margin: 0 auto;
    padding: 0;
    overflow: hidden;
    box-sizing: border-box;
    margin-bottom: 7%;
}

.poster.fixed-video {
    display: block;
    width: 100%;
    object-fit: cover;
    border: 2px solid rgb(220, 218, 218);
    box-shadow: 2px 2px 15px #bbb; 
}
.video-title {
    margin-top: 5%;
    font-size: 24px;
    text-align: center;
    color: #fff;
}

@media (max-width: 768px) {
 .learning {
        width: 90%;
    }
}
/* Photos Style */
.bridge {
    display: flex;
    justify-content: center;
    padding: 20px 0 120px 0;
    width: 80%;
    margin: 0 auto;
}

.bridge-container {
    width: 100%;
    display: flex;
    justify-content: center;
}

.stack-container {
    position: relative;
    width: 100%;
    max-width: 700px;
    aspect-ratio: 4 / 2.9;
    margin: 0 auto;
}

.stack-container img {
    position: absolute;
    max-width: 90%;
    height: auto;
    border: 2px solid #ddd;
    box-shadow: 2px 2px 10px #bbb;
    cursor: pointer;
    transition: transform 0.5s;
}

.bridge-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.gallery-title-wrapper {
    width: 100%;
    text-align: center;
    margin-top: 1em;
}

.gallery-title {
    font-size: 24px;
    color: #fff;
}
/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    justify-content: center;
    align-items: center;
    opacity: 0;
    transform: scale(0.7);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
    z-index: 1000;
}

.lightbox.show {
    display: flex;
    opacity: 1;
    transform: scale(1);
}

.lightbox img.lightbox-img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
    transition: opacity 0.3s ease-in-out;
}

/* Nav & Close buttons */
.nav,
.close {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 40px;
    color: #a2d0ea;
    cursor: pointer;
    padding: 20px;
    border: none;
    background: none;
}

.close {
    top: 20px;
    right: 30px;
    transform: none;
}

.close:hover {
    color: #670909;
}

.prev {
    left: 2vw;
}

.next {
    right: 2vw;
}

.prev:hover,
.next:hover {
    color: #248fcc;
}

button:disabled {
    opacity: 0.3;
    cursor: default;
    pointer-events: none;
}

/* Responsive */
@media (max-width: 1024px) {
    .stack-container {
        width: 80%;
        max-width: 500px;
    }
}

@media (max-width: 768px) {
    .stack-container {
        width: 90%;
    }
}

@media (max-width: 600px) {
    .nav {
        font-size: 30px;
        padding: 10px;
    }
}

@media (max-width: 480px) {
    .stack-container {
        width: 95%;
    }
}