:root {
    --digits-1-fs: 1.9rem;
}

.main-wrapper .container {
    position: relative;
}

.year {
    position: relative;
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--title-color);
    background-color: #14153e;
    border: 0.35rem solid #2b2f7a;
    border-radius: 1.2rem;
    box-shadow: 3px 3px 2px #3a3e8e;
    /* box-shadow: 3px 3px 2px #3a3e8e,
        0 0 30px 5px rgba(255,255,255,0.9); */
    text-align: center;
    margin: 0 auto;
    width: fit-content;
    padding-left: 0.9rem;
    padding-right: 0.9rem;
}

.arrow {
    position: absolute;
    top: calc(100% + 0.6rem);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.arrow .element{
    width: 5px;
    height: 30px;
    background-color: #2b2f7a;
    border-radius: 2.5px;
    margin-bottom: 4px;
    box-shadow: 2px 2px 1px #3a3e8e;
    /* box-shadow: 2px 2px 1px #3a3e8e,
        0 0 10px 1px #fff; */
}

.end-arrow {
    color: #2b2f7a;
    text-shadow: 2px 4px 2px #3a3e8e;
    /* text-shadow: 2px 4px 2px #3a3e8e, 0 0 10px #fff; */
    font-size: 40px;
}

.square {
    color: #2b2f7a;
    /* text-shadow: 1px 3px 2px #3a3e8e, 0 0 10px rgba(255,255,255,1); */
    text-shadow: 1px 3px 2px #3a3e8e;
    font-size: 20px;
    font-weight: bold;
    transform: rotate(-45deg);
    margin-top: 2px;
}

.text-point {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 2rem;
}

.text-point.left {
    justify-content: end;
}

.text-point.left .text {
    text-align: end;
}

.text-point.right {
    justify-content: start;
}

.text-point .text {
    font-weight: bold;
    font-size: 1rem;
}

.text-point .point {
    width: 0.8rem;
}

.gallery {
    background-color: rgba(246, 250, 253, 0.1);
    margin-bottom: 2rem;
}

.gallery img{
    width: 100%;
    height: auto;
}

#gallery-3-2023 img {
    max-height: 160px;
}

.digits-1, .digits-2, .digits-3 {
    position: absolute;
}

.digits-1 {
    opacity: 0.05;
    font-size: var(--digits-1-fs);
    font-weight: 600;
    color: rgba(194, 212, 226, 1);
    text-shadow: 0.05em 0.04em rgba(194, 212, 226, 0.4);
    z-index: -10;
}

.digits-2 {
    opacity: 0.075;
    font-size: calc(0.7 * var(--digits-1-fs));
    font-weight: 600;
    color: rgba(168, 170, 213, 1);
    text-shadow: 0.05em 0.04em rgba(168, 170, 213, 0.4);
    z-index: -100;
}

.digits-3 {
    opacity: 0.1;
    font-size: calc(0.4 * var(--digits-1-fs));
    font-weight: 600;
    color: rgba(125, 129, 210, 1);
    text-shadow: 0.05em 0.04em rgba(125, 129, 210, 0.4);
    z-index: -1000;
}

footer {
    margin-top: 6rem;
} 

@media (max-width: 1200px) {
    .text-point .text {
        font-size: calc(0.5 * (1.325rem + .9vw));
    }
}

@media (max-width: 767px) {
    .year {
        box-shadow: 3px 3px 2px #3a3e8e;
    }

    .text-point.left {
        flex-direction: row-reverse;
        justify-content: start;
    }
    
    .text-point.left .text {
        text-align: start;
    }

    .gallery {
        margin-left: auto;
        margin-right: auto;
    }

    .rellax {
        display: none;
    }

    .arrow {
        display: none;
    }
}
