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

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

* {
    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/thanks.jpg");
    background-position: center;
    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;
}

article {
    max-width: 900px;
    width: 90%;
    margin: 12px auto;
    color: #ffffff;
}

h1 {
    line-height: 2;
    text-align: center;
    font-size: 30px;
}

h3 {
    line-height: 2;
    text-align: justify;
    font-size: 23px;
}

p {
    text-align: justify;
    line-height: 1.7;
    margin: 14px auto;
}

.message-container {
    display: none;
}

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