* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-1: #ffffff;
    --color-2: #f0f0f0;
    --color-3: #d0d0d0;
    --color-4: #b0b0b0;
    --color-5: #909090;
    --color-6: #707070;
    --color-7: #000000;
}

body {
    font-family: "Noto Sans", sans-serif;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-size: 16px;
    background-color: var(--color-1);
    color: var(--color-7);
    padding: 0px;
}

body.dark-theme {
    background-color: var(--color-7);
    color: var(--color-1);
}

body.dark-theme header img {
    filter: invert(1);
}

body.dark-theme footer img {
    filter: invert(1);
}

.theme-toggle {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 20px;
    background-color: var(--color-7);
    color: var(--color-1);
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    z-index: 1000;
}

.theme-toggle:hover {
    background-color: var(--color-6);
}

.theme-toggle:focus {
    outline: none;
    box-shadow: 0 0 0 3px var(--color-6);
}

body.dark-theme .theme-toggle {
    background-color: var(--color-1);
    color: var(--color-7);
}

body.dark-theme .theme-toggle:hover {
    background-color: var(--color-2);
}

header {
    position: relative;
    padding: 1rem 1rem 1rem 1rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo {
    max-width: 400px;
    margin-bottom: 1rem;
}

nav {
    width: 100%;
    border-top: 1px solid var(--color-3);
    border-bottom: 1px solid var(--color-3);
    margin-top: 1rem;
}

nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    gap: 2rem;
    padding: 1rem 0;
    text-align: center;
}

nav a {
    text-decoration: none;
    color: var(--color-7);
    font-weight: bold;
}

body.dark-theme nav a {
    color: var(--color-1);
}

nav a:focus {
    outline: 2px solid var(--color-6);
    outline-offset: 2px;
}

body.dark-theme nav a:focus {
    outline: 2px solid var(--color-1);
}

main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
    flex: 1 0 auto;
}

.banner {
    width: 100%;
    margin-bottom: 2rem;
    display: block;
}

.banner-container {
    display: flex;
    flex-direction: column;
    position: relative;
}

.banner-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 100%;
    z-index: 1000;
}

.banner a:focus {
    outline: 2px solid var(--color-6);
    outline-offset: 2px;
}

body.dark-theme .banner a:focus {
    outline: 2px solid var(--color-1);
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 2rem auto;
    max-width: 1200px;
}

.feature-column {
    background-color: var(--color-1);
    color: var(--color-7);
    text-align: center;
    padding: 2rem;
    margin-bottom: 1rem;
    transition: transform 0.2s ease;
    flex: 1;
}

body.dark-theme .feature-column {
    background-color: var(--color-7);
    color: var(--color-1);
}

.feature-column:hover {
    transform: translateY(-5px);
}

.feature-column img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    margin-bottom: 1rem;
}

.feature-column h2 {
    margin-bottom: 0.5rem;
}

footer {
    flex-shrink: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    align-items: center;
    justify-content: space-between;
    margin: 0px;
    background-color: var(--color-2);
    width: 100%;
    padding: 2vw;
}

body.dark-theme footer {
    background-color: var(--color-6);
    color: var(--color-1);
}

.footer-logo {
    justify-self: start;
}

.footer-logo img {
    width: 60%;
    margin-bottom: 0;
}

.copyright {
    justify-self: end;
    text-align: right;
}

@media (max-width: 768px) {
    .features {
        grid-template-columns: 1fr;
    }

    footer {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .copyright {
        text-align: center;
        margin-top: 1rem;
    }

    nav ul {
        flex-direction: column;
        gap: 1rem;
    }

    .banner-container {
        flex-direction: column;
    }

    .banner-text {
        position: relative;
        transform: none;
        top: auto;
        left: auto;
        padding: 1rem;
    }
}

nav a[aria-current="page"] {
    text-decoration: underline;
    color: var(--color-7);
}

.promotion-link {
    display: block;
}

.promotion-link:focus {
    outline: 3px solid var(--color-6);
    outline-offset: 4px;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
}

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-7);
    position: relative;
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }

    nav ul {
        display: none;
        flex-direction: column;
        gap: 1rem;
        padding: 1rem 0;
        text-align: center;
    }

    nav ul.active {
        display: flex;
    }

    .feature-column {
        padding: 1rem;
        margin-bottom: 2rem;
    }
}

.initial {
    font-size: 2em;
    color: var(--color-7);
    line-height: 1;
    display: inline-block;
    vertical-align: bottom;
}

body.dark-theme .initial {
    color: var(--color-1);
}

.about-content {
    max-width: 800px;
    margin: 2rem auto;
    padding: 2rem;
    background-color: var(--color-2);
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

body.dark-theme .about-content {
    background-color: var(--color-6);
    color: var(--color-1);
}

.contact-form {
    max-width: 500px;
    margin: 0 auto;
}

.contact-form label {
    display: block;
    margin-top: 10px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 8px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.contact-form .submit-button {
    background-color: var(--color-7);
    color: var(--color-1);
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 10px;
}

body.dark-theme .contact-form .submit-button {
    background-color: var(--color-1);
    color: var(--color-7);
}

.promotion-section {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 2rem auto;
    max-width: 1200px;
    padding: 2rem;
    background-color: var(--color-2);
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: -2;
}

body.dark-theme .promotion-section {
    background-color: var(--color-6);
    color: var(--color-1);
}

.promotion-content {
    text-align: center;
    color: var(--color-7);
}

body.dark-theme .promotion-content {
    color: var(--color-1);
}

.promotion-content h1 {
    font-size: 4em;
    margin-bottom: 0.5rem;
}

.promotion-content p {
    font-size: 2em;
    margin-bottom: 1rem;
}

.promotion-link {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--color-3);
    color: var(--color-1);
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.promotion-link:hover {
    background-color: var(--color-1);
}

body.dark-theme .promotion-link {
    background-color: var(--color-5);
    color: var(--color-7);
}

body.dark-theme .promotion-link:hover {
    background-color: var(--color-7);
}

body.dark-theme .promotion-content {
    text-align: center;
    color: var(--color-7);
    z-index: 100;
}

.large-percentage {
    font-size: 5em;
    padding-bottom: 0.2em;
    color: var(--color-5);
    font-family: 'Dela Gothic One', cursive;
    line-height: 1;
    display: inline-block;
    vertical-align: middle;
    text-shadow: 2px 2px var(--color-3);
    transition: color 0.3s ease;
}

body.dark-theme .large-percentage {
    color: var(--color-3);
    text-shadow: 2px 2px var(--color-5);
}