body {
    font-family: 'Lato', "Segoe UI", "Helvetica Neue", Arial, sans-serif; 
    font-size: 20px; 
    background-color: #1d1427;
    color: #f2dafb;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    background-image: url(https://img.itch.zone/aW1nLzU2ODYyNTcucG5n/original/lHFfJA.png);
    background-repeat: repeat-y;
    background-position: center top;
}

header {
    background-color: #2e2c30;
    border-bottom: 1px solid #3f3d42;
    padding: 20px 0;
    text-align: center;
}

header img {
    display: block; 
    margin: 0 auto; 
    max-width: 50%; 
    height: auto; 
    border-radius: 10px; 
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3); 
}

header h1 {
    margin: 10px 0 5px;
    font-size: 2.2em; 
    color: #c491e9;
    font-weight: 900;
}

header p {
    font-size: 1.1em; 
    color: #f2dafb;
    margin: 0;
}

nav {
    background-color: #28262a;
    text-align: center;
    margin-bottom: 20px;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

nav ul li {
    display: inline;
}

nav ul li a {
    display: inline-block;
    color: #f2dafb;
    text-decoration: none;
    padding: 15px 20px;
    font-size: 1em; 
    transition: background-color 0.3s, color 0.3s;
}

nav ul li a:hover,
nav ul li a.active {
    background-color: #c491e9;
    color: #ffffff;
    text-shadow: 0 1px 0px #aa77cf;
}


nav ul li a:focus,
button:focus,
.button:focus {
    outline: 2px solid #ffffff;
    outline-offset: 3px;
}

main {
    padding: 20px;
    max-width: 900px;
    margin: 0 auto;
    background-color: #2e2c30;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}

section {
    margin-bottom: 40px;
}

section h2 {
    font-size: 2em; 
    border-bottom: 2px solid #c491e9;
    padding-bottom: 10px;
    color: #c491e9;
    font-weight: bold;
}

section h3 {
    font-size: 1.3em; 
    margin-top: 20px;
    color: #e8c9f5; 
}

section p, section ul {
    margin: 10px 0;
    font-size: 1em;
    color: #f2dafb;
}

section ul {
    padding-left: 20px;
    list-style: disc;
}

img.small-image {
    display: block;
    margin: 10px auto;
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

iframe {
    width: 100%;
    height: 350px;
    border: none;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}

button, .button {
    background-color: #c491e9;
    color: #ffffff;
    border: none;
    padding: 10px 20px;
    text-shadow: 0 1px 0px #aa77cf;
    font-size: 1em; 
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

button:hover, .button:hover {
    background-color: #aa77cf;
    color: #ffffff;
}

footer {
    background-color: #2e2c30;
    color: #f2dafb;
    text-align: center;
    padding: 12px 0;
    position: relative;
    margin-top: 20px;
    width: 100%;
    bottom: 0;
    border-top: 2px solid #c491e9; 
}

footer p {
    margin: 0;
    font-size: 0.9em;
}

::selection {
    color: #ffffff;
    background: #c491e9;
}

::-moz-selection {
    color: #ffffff;
    background: #c491e9;
}

@media (max-width: 768px) {
    header h1 {
        font-size: 1.5em;
    }
    nav ul li a {
        padding: 10px 15px;
    }
    section h2 {
        font-size: 1.5em;
    }
}