* {
    margin: 0;
    padding: 0;
    font-family: "Kanit", sans-serif;
}

body {
    box-sizing: border-box;
    animation: jitter 0.2s infinite;
}

#bg-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
    background-color: black;
}

.background {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    filter: brightness(0.5);
    transition: opacity 1.5s ease-in-out;
}

.next {
    opacity: 0;
}

.container {
    width: 100%;
    min-height: 100vh;
    color: white;
}
.container .nav {
    display: flex;
    align-items: center;
    transition: opacity 0.3s ease-in-out;
    padding: 4px;
}

.container .nav.hidden {
    opacity: 0;
}

.container .nav .left {
    display: flex;
    align-items: center;
}

.container .nav .left img {
  width: 150px;
  filter: grayscale(1);
}

.container .nav .left h1 {
    font-size: 2.5rem;
    line-height: 1.1;
    padding-bottom: 15px;
    text-transform: uppercase;
}

.container .nav .right {
    display: flex;
    flex-direction: row;
    flex-grow: 1;
    justify-content: flex-end;
    padding-right: 50px;
}

.container .nav .right ul {
    display: flex;
    list-style-type: none;   
    gap: 15px;
    text-align: left;
}
.container .nav .right ul li a {
    text-decoration: none;
    color: white;
    font-size: 1.6rem;
    transition: color 0.3s ease;
}

.container .nav .right ul li a:hover {
    text-decoration: underline;
}

.container .content {
    flex: 1;
    opacity: 1;
    flex: 1 0 auto;
    transition: opacity 0.3s ease-in-out;
}

.container .content img {
    width: 260px;
    margin-top: 20px;
}

.container .content.hidden {
    opacity: 0;
}

.container .footer {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    padding-bottom: 10px;
    text-align: center;
}
