html, body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
    color: #333;
    background-color: #f5f5f5;
    overflow-x: hidden;
}

body {
    width: 100vw;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 0;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    background-color: #0f0f0f;
    color: white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

header ul {
    display: flex;
    justify-content: space-around;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    height: 100%;
}

header li {
    cursor: pointer;
    padding: 0 15px;
    transition: all 0.3s ease;
    width: 25%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

header li a {
    text-decoration: none;
    color: white;
}

header li:hover {
    background-color: #555;
    color: #fff;
}

main {
    width: 100%;
    height: 600px;
    background: url('images/4.png') no-repeat center center/cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    padding: 20px;
    margin-top: 70px;
}

main h1 {
    font-size: 3rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

main div {
    display: flex;
    align-items: center;
}

main p {
    font-size: 1.2rem;
}

section {
    width: 90%;
    max-width: 1200px;
    margin: 20px auto;
    padding: 20px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

#about {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#about img, #roleplay img, #joinUs img {
    border-radius: 8px;
    margin: 20px 0;
    width: 90%;
    max-width: 1200px;
}

#about h2, #roleplay h2, #joinUs h2 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 20px;
    text-align: center;
}

#about p, #roleplay p {
    line-height: 1.6;
    margin: 10px 0;
    width: 90%;
    max-width: 1200px;
}

nav ul {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    padding: 10px;
    background-color: #eee;
    border-radius: 8px;
    list-style: none;
}

#roleplay > section > nav > ul {
    flex-direction: inherit;
}

nav ul li {
    margin: 10px 10px;
    padding: 20px 20px;
    background-color: #ddd;
    border-radius: 4px;
    transition: all 0.3s ease;
    height: auto;
}

nav ul li:hover {
    background-color: #bbb;
    cursor: pointer;
}

#roleplay {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: auto;
}

#roleplay > section > nav > ul > li {
    background-color: transparent;
    width: 50%;
}

#roleplay > section > nav > ul > li > button {
    width: 100%;
}

footer {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 70px;
    padding: 20px;
    background-color: #0f0f0f;
    color: white;
    font-size: 0.9rem;
    margin-top: auto;
}

button {
    background-color: #555;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    transition: all 0.3s ease;
    cursor: pointer;
}

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

.active {
    background-color: #333;
    color: white;
}

@media (max-width: 768px) {
    header li {
        padding: 0 10px;
    }

    main h1 {
        font-size: 2.5rem;
    }
}

#logo {
    width: 100px;
    height: 100px;
}