html, body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
    line-height: 1.6;
    font-family: Arial, sans-serif;
}

hr, br {
    margin-left: auto;
    margin-right: auto;
    margin-top: 2%;
    margin-bottom: 2%;
    width: 25%;
}

p {
    font-family: rubik;
    font-size: larger;
    margin: 5px 0;
}

header {
    top: 0;
    height: 5%;
    background-color: #fff;
    margin: 0;
    color: #333;
    padding: 20px 0;
    text-align: center;
    animation: fadeInDown 1s ease-in-out forwards;
}

footer {
    margin: 0;
    font-size: smaller;
    background-color: #333;
    color: #ccc;
    padding: 20px 0;
    text-align: center;
    animation: fadeInUp 1s ease-in-out forwards;
}

.uncenter {
    text-align: left;
}

.main {
    height: 95%;
    background-image: url("/bg.webp");
    background-repeat: no-repeat;
    background-size: cover;
    color: #fff;
    padding: 20px;
    text-align: center;
    animation: fadeInUp 1s ease-in-out forwards;
}

.larger {
    font-size: x-large;
}

.header-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
}

h1, h2, h3 {
    margin: 10px 0;
    font-weight: 500;
}

a {
    background-color: #333;
    color: #fff;
    border: solid;
    padding: 10px 20px;
    cursor: pointer;
    text-decoration: none;
	font-size: 150%;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #555;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Font faces */
@font-face {
    font-family: kanit;
    src: url("/fonts/Kanit-Regular.ttf");
}

@font-face {
    font-family: kanit;
    src: url("/fonts/Kanit-Medium.ttf");
    font-weight: bold;
}

@font-face {
    font-family: rubik;
    src: url("/fonts/Rubik-Medium.ttf");
}

@font-face {
    font-family: rubik;
    src: url("/fonts/Rubik-Bold.ttf");
    font-weight: bold;
}
