.navbar {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 5vh;
    background: rgba(240, 248, 255, 0.9);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    padding: 0px 15px;
    z-index: 1000;
}

.nav-links {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 50px;
    justify-content: center;
    width: auto;
}

.nav-links li {
    position: relative;
    padding: 0 10px;
    margin: auto;
    align-items: center;
}

.nav-links li a {
    color: rgb(82, 163, 221);
    text-decoration: none;
    font-size: 1.2vw;   
    transition: color 0.3s ease;
    display: block;
}

/* First link hover color */
.nav-links li:nth-child(1) a:hover {
    color: rgb(213, 231, 244); /* Blue */
}

/* Second link hover color */
.nav-links li:nth-child(2) a:hover {
    color: rgb(2, 129, 239); /* Pink */
}

/* Third link hover color */
.nav-links li:nth-child(3) a:hover {
    color: rgb(231, 97, 236); /* Dark Blue */
}

/* Fourth link hover color */
.nav-links li:nth-child(4) a:hover {
    color: rgb(73, 43, 241); /* Dark Blue */
}

.navTitle {
    position: absolute;
    left: 10px;
    font-size: 1.2vw;
    margin: 0;
    text-align: left;
    font-family: Georgia, "游明朝", "Yu Mincho", "游明朝体", YuMincho, "ヒラギノ明朝 Pro", "Hiragino Mincho ProN", "MS P明朝", "MS PMincho", HGS明朝E, "MS Mincho", serif;
    color: rgb(82, 163, 221);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.audio-control {
    position: absolute;
    right: 10px;
    padding: 8px;
    cursor: pointer;
    margin-right: 40px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.audio-control img {
    height: 2vw;
    display: block;
}

#soundOff {
    display: none;
}

.background-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

#blue-circle {
    position: fixed;
    width: 50px;
    height: 50px;
    background: #469ce5;
    border-radius: 50%;
    transform: scale(0);
    transform-origin: center;
    z-index: 9999;
    overflow: hidden;
    pointer-events: none;
    transition: transform 1.75s ease-out;
}

.back-to-top {
    position: fixed;
    bottom: 3%;
    right: 0;
    margin-right: 3%;
    width: 30px;
    height: 60px;
    background-color: rgba(240, 248, 255, 0.7);
    border-radius: 10px;
    transition: all linear 0.5s;
    cursor: pointer;
    z-index: 999;
    display: none;
    justify-content: center;
    align-items: center;
}

.back-to-top img {
    width: 60%;
    height: 60%;
    object-fit: contain;
}

.sakura-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 99999;
    display: none;
}

#sakura-left, #sakura-right {
    position: absolute;
    width: 50vw;
    height: 100vh;
    background-image: url('../pic/sakura_cg/Overlay.png');
    background-size: 100vw 100vh;
    background-repeat: no-repeat;
    transition: transform 0.8s ease-out;
}

#sakura-left {
    left: 0;
    background-position: left center;
    transform: translateX(-100%);
}

#sakura-right {
    right: 0;
    background-position: right center;
    transform: translateX(100%);
}

.sakura-container.show #sakura-left {
    transform: translateX(0);
}

.sakura-container.show #sakura-right {
    transform: translateX(0);
}
