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

body {
    font-family: Arial, sans-serif;
    background: #f7f8fa;
    color: #333;
    line-height: 1.6;
}

.site-header {
    background: #e63946;
    color: white;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.site-header h1 {
    font-size: 1.5rem;
}

.site-header nav a {
    color: white;
    text-decoration: none;
    margin-left: 1rem;
    font-size: 1rem;
}

.site-header nav a:hover {
    font-weight: bold;
}

h2 {
    font-size: 1.4rem;
    margin: 2rem auto;
    text-align: center;
}

.site-footer {
    background: #e63946;
    color: white;
    text-align: center;
    padding: 1rem 0;
    margin-top: 2rem;

    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
}

.site-footer {
    margin-top: 0.5rem;
}

.site-footer a {
    color: #ffffff;
    text-decoration: none;
}

.site-footer a:hover {
    color: white;
    text-decoration: none;
}

.language-grid {
    display: grid;
    grid-template-columns: repeat(2, 200px);
    grid-template-rows: repeat(3, 120px);
    gap: 1.5rem;
    justify-content: center;
    align-content: center;
}

.lang-box {
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    text-align: center;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s, background 0.2s;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #003366;
    border: 1px solid #ccc;
    border-radius: 6px;
    border-left: 5px solid #e63946;
}

.lang-box:hover {
    background: #c8daff;
    border-color: #003366;
    box-shadow: 0 4px 8px rgba(0, 51, 102, 0.1);
}

.lang-box a {
    text-decoration: none;
    color: inherit;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

@media (max-width: 600px) {
    .site-header {
        flex-direction: column;
        align-items: flex-start;
        padding: 1rem;
    }

    .site-header h1 {
        font-size: 1.3rem;
        margin-bottom: 0.5rem;
    }

    .site-header nav {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 0.3rem;
    }

    .site-header nav a {
        margin: 0;
        font-size: 0.95rem;
    }

    .language-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .lang-box {
        font-size: 1rem;
        height: 100px;
    }
}