body{
    font-family: ToronoGlitchMinchoH1, Arial, Helvetica, sans-serif;
    background-color: #F5F5F3;
    margin: 0;
    padding: 0;
    font-size: 12px;
}

@font-face {
    font-family: 'ToronoGlitchMinchoH1';
    src: url('../assets/fonts/LineSeedFont/LINESeedTW/TTF/LINESeedTW_TTF_Rg.ttf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'SoukouMincho';
    src: url('../assets/fonts/SoukouMincho.ttf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

.toTop{
    position: fixed;
    right: 25px;
    bottom: 25px;
    width: auto;
    height: auto;
    display: none;
    z-index: 9996;
    background: none;
    box-shadow: none;
}

.toTop button{
    position: fixed;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    background:rgba(255,255,255,0.8);
    border:2px solid transparent;
    box-shadow:0 0 0 2px rgba(255,255,255,.6),0 16px 32px rgba(0,0,0,.12);
    -webkit-backdrop-filter:url(#frosted);
    backdrop-filter:url(#frosted);
    outline:0;
    display: flex;
    justify-content: center;
    align-items: center;
    left: calc(100% - 75px);
    top: calc(100vh - 75px);
    cursor: pointer;
    z-index: 9997;
}

.toTop i{
    color: #645038;
}

.navBar{
    width: calc(100% - 10vw);
    height: 40px;
    position: fixed;
    background:rgba(255,255,255,0.8);
    border:2px solid transparent;
    box-shadow:0 0 0 2px rgba(255,255,255,.6),0 16px 32px rgba(0,0,0,.12);
    -webkit-backdrop-filter:url(#frosted);
    backdrop-filter:url(#frosted);
    outline:0;
    display: flex;
    justify-content: space-between;
    padding: 2vh 5vw 2vh 5vw;
    z-index: 9999;
    top: 0;
}

.navTitle h3{
    font-family: 'ToronoGlitchMinchoH1', sans-serif;
    font-size: 1.5rem;
    margin: 0;
}

.navTitle p{
    font-size: 0.8rem;
    margin: 0;
}

.navTitle{
    color: #645038;
    cursor: pointer;
    text-decoration: none;
}

.navItems ul{
    list-style: none;
    display: flex;
    justify-content: space-around;
    gap: 2vw;
}

.mobileMenu ul{
    list-style: none;
    display: grid;
    justify-content: space-around;
    gap: 10vw;
    padding: 0;
}

.navItems li, .mobileMenu li{
    font-family: 'ToronoGlitchMinchoH1', sans-serif;
    cursor: pointer;
    transition: all 0.1s ease-in-out;
    font-size: 1rem;
    display: flex;
    text-decoration: none;
    justify-content: center;
}

.mobileMenu a, .navItems a{
    font-family: 'ToronoGlitchMinchoH1', sans-serif;
    text-decoration: none;
    color: #645038;
}

.navItems a:hover, .mobileMenu a:hover{
    background-image: url('../assets/images/3LE_1_.gif');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: all 0.1s ease-in-out;
}

.navIcon{
    width: 100%;
    position: fixed;
    color: #645038;
    font-size: 16px;
    z-index: 9998;
    text-align: end;
    padding-right: 50px;
    cursor: pointer;
}

.navIcon i{
    cursor: pointer;
}

.mobileMenu{
    position: fixed;
    width: 100%;
    height: 100vh;
    align-items: center;
    display: grid;
    justify-content: center;
}

.mobileMenu a{
    font-size: 1.5rem;
    text-align: center;
}

.mobileMenu img{
    width: 30px;
    height: 30px;
    border-radius: 10px;
}

.mobileMenu li:last-child{
    display: flex;
    justify-content: space-around;
}

@media (max-width: 960px) {

    .navTitle h3{
        font-size: 1.3rem;
    }

    .navTitle p{
        font-size: 0.6rem;
    }

    .navItems li{
        font-size: 0.8rem;
    }
}

@media (max-width: 750px) {

    .navBar{
        justify-content: center;
    }

    .navTitle h3{
        font-size: 1.1rem;
        text-align: center;
    }

    .navTitle p{
        font-size: 0.4rem;
        text-align: center;
    }

    .navItems {
        display: none;
    }

    .navIcon{
        display: block;
    }

    .toTop{
        display: block;
    }
}

@media (max-width: 400px) {

    .navTitle h3{
        font-size: 0.9rem;
        text-align: center;
    }

    .navTitle p{
        font-size: 0.3rem;
        text-align: center;
    }

}

@media (max-width: 300px) {

    .navTitle h3{
        font-size: 0.7rem;
        text-align: center;
    }

    .navTitle p{
        font-size: 0.2rem;
        text-align: center;
    }

}

.toTop.hidden {
    display: none !important;
}
.content a{
    color: #c12a0c;
    text-decoration: none;
}

.loading-overlay {
  position: fixed;
  z-index: 9999;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(255,255,255,0.7);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s;
}

.loading-spinner {
  border: 6px solid #eee;
  border-top: 6px solid #b17326;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  animation: spin 1s linear infinite;
  margin-bottom: 16px;
}
@keyframes spin {
  0% { transform: rotate(0deg);}
  100% { transform: rotate(360deg);}
}
.loading-text {
  color: #645038;
  font-size: 1.2em;
  font-family: 'SoukouMincho', serif;
  letter-spacing: 2px;
}