@font-face {
    font-family: "Noto Serif";
    src: url("../font/NotoSerif.ttf");
}

@font-face {
    font-family: "Noto Serif SC";
    src: url("../font/NotoSerifSC.ttf");
}

@font-face {
    font-family: "Noto Serif Tibetan";
    src: url("/font/NotoSerifTibetan.ttf");
}

.home-text-bo {
    font-size: 30px;
    line-height: 1.75;
    font-family: "Noto Serif Tibetan", serif;
}

* {
    margin: 0;
    padding: 0;
    font-family: "Noto Serif", "Noto Serif SC", serif;
    font-size: 20px;
    font-weight: 500;
    color: #ffffff;
    text-shadow: 0 0 10px #222222;
}

html, body {
    background-image: url("img/index.jpg");
    background-position: top;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    width: 100%;
    overflow: visible;
}

::-webkit-scrollbar {
    display: none;
}

.bg-text {
    position: absolute;
    top: 13px;
    left: 15px;
    text-align: left;
    font-size: 14px;
}

nav {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 10px 20px;
}

.nav-list {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 20px;
}

.nav-list li a {
    text-decoration: none;
    color: #ffffff;
    padding: 8px 15px;
    transition: background 0.3s;
}

.nav-list li a:hover {
    background-color: #ffffff20;
    border-radius: 4px;
}

.home {
    margin: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.home-text {
    font-size: 30px;
    line-height: 1.75;
}

.message-container {
    display: none;
}

footer {
    width: 100%;
    text-align: center;
    position: absolute;
    bottom: 10px;
    left: 0;
}

footer a {
    font-size: 10px;
    text-decoration: none;
}

footer img {
    height: 0.6em;
    vertical-align: middle;
    margin-right: 3px;
}

@media screen and (max-width: 768px) {    
    nav, .bg-text, .home {
        display: none;
    }
    .message-container {
        display: block;
        margin: 0;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        text-align: center;
        font-size: 25px;
    }
}