body {
    font-family: sans-serif;
}

.content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100vw;
}


.aims::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 30%;
    height: 2px;
    background-image: linear-gradient(to right, #fcd0d5 0%, #e71a43 100%);
}

.aims {
    position: relative;
    width: 60vw;
    font-size: 1.2rem;
    color: #eebac5;
    padding: 1rem;
    text-indent: 2vw;
    text-align: center;
    margin-top: 5vh;
}

.aims::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 30%;
    height: 2px;
    background-image: linear-gradient(to left, #fcd0d5 0%, #e71a43 100%);
}

.title {
    font-size: 5vw;
    text-align: center;
    background-image: linear-gradient(to right, #fcd0d5 0%, #e71a43 100%);
    background-clip: text;
    color: transparent;
    display: flex;
    align-items: center;
    font-weight: 510;
}

.title-background {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    top: 0vh;
    left: 0;
    margin: 0;
}

.title-text-container {
    width: 100vw;
    height: fit-content;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background-color: rgb(0 0 0 / 50%);
    padding: 1vw;
    
}


.title-container {
    filter: blur(0);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100vw;
    height: 93vh;
}

.main-content {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: flex-start;
    width: 100vw;
    position: relative;
    padding: 0;
}

.shortcuts {
    position: sticky;
    top: 20vh;
    left: 2vw;
    width: 15vw;
    height: auto;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(220, 38, 38, 0.08);
    padding: 1.5rem;
    z-index: 100;
    display: flex;
    flex-direction: column;
    align-self: flex-start;
    opacity: 0;
    transform: translateY(-2vh);
    transition: opacity 0.2s ease-out, transform 0.2s ease-out;
    border: 1px solid rgba(254, 215, 215, 0.5);
    backdrop-filter: blur(10px);
}

.shortcuts.visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.4s ease-in, transform 0.3s ease-in;
}

.shortcut-menu-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-align: center;
    color: #7f1d1d;
    position: relative;
    padding-bottom: 0.5rem;
}

.shortcut-menu-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 25%;
    width: 50%;
    height: 3px;
    background: linear-gradient(90deg, #fca5a5 0%, #ef4444 100%);
    border-radius: 2px;
}

.shortcut-menu-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-height: 60vh;
    overflow-y: auto;
    padding-right: 0.5rem;
    overflow-x: hidden;
}

.shortcut-menu-list::-webkit-scrollbar {
    width: 4px;
}

.shortcut-menu-list::-webkit-scrollbar-track {
    background: #fef2f2;
    border-radius: 10px;
}

.shortcut-menu-list::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #fca5a5 0%, #ef4444 100%);
    border-radius: 10px;
}

.shortcut-menu-list a {
    text-decoration: none;
    color: #7c2d12;
    font-size: 1rem;
    font-weight: 500;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    background: transparent;
    border: 1px solid transparent;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.shortcut-menu-list a:hover {
    color: #7f1d1d;
    background: rgba(239, 68, 68, 0.06);
    border-color: rgba(239, 68, 68, 0.15);
    transform: translateX(8px);
}

.shortcut-menu-list a::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #fca5a5 0%, #ef4444 100%);
    transition: width 0.3s ease;
    border-radius: 1px;
}

.shortcut-menu-list a:hover::before {
    width: 100%;
}

.shortcut-menu-list a.active {
    color: #dc2626;
    background: rgba(239, 68, 68, 0.08);
    border-left: 4px solid #ef4444;
    transform: translateX(12px);
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.1);
}

.shortcut-menu-list a.active::before {
    width: 0;
}

/* 
.shortcut-menu-list a::after {
    content: attr(href);
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.8rem;
    color: #d6b3b3;
    font-weight: 400;
    transition: color 0.3s ease;
} */

.shortcut-menu-list a:hover::after,
.shortcut-menu-list a.active::after {
    color: #ef4444;
    font-weight: 600;
}

.encounters {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 8vh;
    width: 100vw;
}

.page-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 8vh;
    margin-right: 1vw;
    width: min(80vw, 1600px);
    box-shadow: 0 8px 24px rgba(220, 38, 38, 0.08);
    border-radius: 12px;
}

.row-wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    position: relative;
    height: auto;
    overflow: hidden;
}

.content-block {
    width: 100%;
    display: flex;
    flex-direction: column;
    margin-top: 5vh;
    gap: 3vh;
    position:relative;
}

.encounter-title {
    font-size: 2rem;
    font-weight: 500;
    width: 25vw;
}

[class^="section-"].visible .section-text {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.5s ease-out;
    transition-delay: 0.3s;
}

[class^="section-"].visible img {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.5s ease-out;
    transition-delay: 0.4s;
}


[class^="section-"] img,
[class^="section-"] .section-text {
    opacity: 0;
    transform: translateY(-10vh);

}

[class^="section-"]::before {
    content: "";
    position: absolute;
    top: 0;
    width: 0%;
    height: 4px;
    background: linear-gradient(to right, #d6d6d6 0%, #747474 100%);
    transition: width 0.6s ease-out;
}
[class^="section-3"]::before {
    right: 0;
}
[class^="section-1"]::before {
    right: 0;
}
[class^="section-2"]::before {
    left: 0;
}

.section-1.visible::before {
    width: 100%;
}

.section-1 {
    position: relative;
    width: 28vw;
    margin-left: auto;
    padding: 1rem;
    text-indent: 1vw;
}

.section-2.visible::before {
    width: 190%;
}

.section-2 {
    position: relative;
    width: 15vw;
    padding: 0.7rem;
    min-height: 16vh;
}

.section-2-img {
    display: flex;
    justify-content: center;
    width: 12vw;
    height: 15vh;
    overflow: hidden;
    margin-right: auto;
    border-radius: 10px 0 10px 10px;
}

.section-2-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.section-3.visible::before {
    width: 200%;
}

.section-3 {
    position: relative;
    width: 15vw;
    padding: 0.7rem;
    min-height: 16vh;
}

.section-3-img {
    display: flex;
    justify-content: center;
    width: 12vw;
    height: 15vh;
    overflow: hidden;
    border-radius: 10px;
    margin-left: auto;
}

.section-3-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.section-2-2.visible::before {
    width: 150%;
}

.section-2-2 {
    position: relative;
    width: 20vw;
    padding: 0.7rem;
    min-height: 16vh;
}

.section-2-2-img {
    display: flex;
    justify-content: center;
    flex-direction: row;
    width: 30vw;
    height: 15vh;
    overflow: hidden;
    margin-right: auto;
    border-radius: 10px;
}

.section-2-2-img img {
    width: 50%;
    height: 90%;
    object-fit: cover;
}

#img3 {
    margin-top: auto;
}

#img4 {
    margin-bottom: auto;
}

.section-3-3.visible::before {
    width: 170%;
}

.section-3-3 {
    position: relative;
    width: 20vw;
    padding: 0.7rem;
    min-height: 16vh;
}

.section-3-4.visible::before {
    width: 170%;
}

.section-3-4 {
    position: relative;
    width: 20vw;
    padding: 0.7rem;
    min-height: 16vh;
}

.section-2-5.visible::before {
    width: 110%;
}

.section-2-5 {
    position: relative;
    width: 13vw;
    padding: 0.7rem;
    min-height: 20vh;
}

.section-2-5-img::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    width: 0;
    height: 0;
    transition:
        width 1s ease-out 1.2s,
        height 1s ease-out 1.2s;
    transition-delay: 1.2s;
}

.section-2-5-img.visible::before {
    width: 10%;
    height: 30%;
    opacity: 1;
    background: #303030;
}

.section-2-5-img {
    position: relative;
    display: flex;
    justify-content: center;
    width: 37vw;
    height: 19vh;
    gap: 0.5rem;
    padding: 0.4rem;
    overflow: hidden;
    margin-right: auto;
}

.section-2-5-img img {
    width: 30%;
    height: 90%;
    object-fit: cover;
}

#img9 {
    position: relative;
    top: 0;
}

#img10 {
    position: relative;
    top: 3.5%;
}

#img11 {
    position: relative;
    top: 7%;
}

#img12 {
    position: relative;
    top: 10.5%;
}

.section-2-5-img::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    opacity: 0;
    width: 0;
    height: 0;
    transition:
        width 1s ease-out 1.2s,
        height 1s ease-out 1.2s;
    transition-delay: 1.2s;
    z-index: -1;
}

.section-2-5-img.visible::after {
    width: 10%;
    height: 30%;
    opacity: 1;
    background: #303030;
    z-index: -1;
}

.section-2-6.visible::before {
    width: 110%;
}

.section-2-6 {
    position: relative;
    width: 28vw;
    padding: 0.7rem;
    min-height: 20vh;
}
.section-2-6-img{
    position: relative;
    display: flex;
    justify-content: flex-start;
    align-items: flex-end;
    width: 50%;
    height: 19vh;
    padding: 0.4rem;
    margin-right: auto;
}
#img16{
    width: auto;
    height:100%;
    border-radius: 5%;
    z-index:2;
}
.section-2-7.visible::before {
    width: 110%;
}

.section-2-7 {
    position: relative;
    width: 20vw;
    padding: 0.7rem;
    min-height: 20vh;
}
.card-games{
    display:flex;
    width:40%;
    height:40vh;
    flex-direction: column;
    margin: 0 auto;
}
#img13 {
    padding-left: 2rem;
    position: relative;
    display: flex;
    justify-content: center;
    width: 100%;
    height: auto;
    gap: 0.5rem;
    padding: 0.4rem;
    overflow: hidden;
    margin-right: auto;
}
.section-2-8-img{
    position: relative;
    display: flex;
    justify-content: flex-start;
    align-items: flex-end;
    width: auto;
    height: 19vh;
    padding: 0.4rem;
    margin-right: auto;
}
#img14 {
    width: auto;
    height:80%;
    border-radius: 5%;
    z-index:2;
}
#img15 {
    position:absolute;
    width: auto;
    height:90%;
    left:80%;
    border-radius: 5%;
    bottom:10%;
    transform: translateZ(0);
}


.section-2-8.visible::before {
    width: 120%;
}

.section-2-8 {
    position: relative;
    width: 30vw;
    padding: 0.7rem;
    min-height: 20vh;
}

.last-words::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 44%;
    height: 2px;
    background-image: linear-gradient(to left, #c5a3a7 0%, #a81331 100%);
}

.last-words {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 10vh;
    gap: 2rem;
    width: auto;
    padding: 1rem;
}

.last-words-title {
    font-size: 3rem;
    font-weight: 500;
    background-image: linear-gradient(to left, #c5a3a7 0%, #a81331 100%);
    background-clip: text;
    color: transparent;
}

.last-words-content {
    font-size: 1.2rem;
    text-indent: 2vw;
    width: 60vw;
    text-align: center;
}

.last-words::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 44%;
    height: 2px;
    background-image: linear-gradient(to right, #c5a3a7 0%, #a81331 100%);
}


.content-block .small {
    width: 15vw;
}

.content-block .medium {
    width: 20vw;
}

.content-block .large {
    width: 30vw;
}

.figure {
    display: flex;
    align-items: center;
    justify-content: start;
    flex-direction: column;
}

.figure img {
    margin: 1vw;
    width: 50vw;
    height: auto;
}

.figure p {
    text-align: center;
}

.divide2 img {
    width: 25vw;
}

.divide3 img {
    width: 16.7vw;
}

.divide3 embed {
    width: 20vw;
}

.divide5 img {
    width: 10vw;
}

.divide5 p {
    width: 9vw;
}


.figure p {
    font-size: 0.9vw;
}

/* table */
ul{
    margin-bottom: 0;
}

.table-container {
    margin: 20px 0;
}

table {
    width: 100%;
    border-collapse: collapse;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

th, td {
    border: 1px solid #ddd;
    padding: 12px 15px;
    text-align: left;
}

th {
    background-color: #f2f2f2;
    font-weight: bold;
}

tr:nth-child(even) {
    background-color: #f9f9f9;
}

td[rowspan] {
    background-color: #f8e8e8;
    font-weight: bold;
}


@media screen and (max-width:1920px) {
    .shortcuts {
        top: 15vh;
        margin-right: 1vw;
    }

    .page-wrapper {
        width: 80vw;
    }

    .row-wrapper {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        width: 70vw;
        padding-top: 0.5vw;
        margin: 0.5vw;
    }

    .content-block {
        width: 80vw;
    }

    .section-1 {
        width: 30vw;
        text-align: justify;
    }

    .section-2 {
        width: 30vw;
        text-align: justify;
    }

    .section-2-img {
        width: 24vw;
        height: 30vh;
        margin-top: 1vw;
    }

    .section-3 {
        width: 30vw;
        text-align: justify;
    }

    .section-3-img {
        width: 24vw;
        height: 30vh;
        margin-top: 1vw;
    }

    .section-2-2 {
        width: 30vw;
        text-align: justify;
    }

    .section-2-2-img {
        width: 60vw;
        height: 30vh;
        margin-top: 1vw;
    }

    .section-3-3 {
        width: 30vw;
        text-align: justify;
    }

    .section-3-4 {
        width: 30vw;
        text-align: justify;
    }

    .section-2-5 {
        width: 20vw;
        text-align: justify;
    }

    .section-2-5-img {
        margin-top: 1vw;
    }

    .section-2-6 {
        width: 32vw;
        text-align: justify;
    }

    .section-2-7 {
        width: 30vw;
        text-align: justify;
    }

    #img13 {
        margin-top: 1vw;
    }

    .section-2-8 {
        width: 40vw;
        text-align: justify;
    }
}