/*  Roboto */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

/* Header */
.site-header {
    background-color: black;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 1rem;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-sizing: border-box;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    font-family: 'Roboto', Arial, sans-serif; /*  Roboto */
    height: 50px; /* Header high */
}

.header-left h1 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: bold;
    font-family: 'Roboto', Arial, sans-serif; /*  Roboto */
}

.header-right {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.language-button, .menu-button {
    background-color: white;
    color: black;
    border: none;
    border-radius: 5px;
    padding: 0.5rem 1rem;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-family: 'Roboto', Arial, sans-serif; /*  Roboto */
}

.language-button:hover, .menu-button:hover {
    background-color: rgba(255, 255, 255, 0.8);
}

.menu-button {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.3rem;
    padding: 0.5rem;
}

.burger-line {
    width: 25px;
    height: 3px;
    background-color: black;
    border-radius: 2px;
    transition: transform 0.3s ease;
}

.site-title {
    color: white; 
    text-decoration: none; 
    font-size: 1.5rem; 
    font-weight: bold; 
    font-family: 'Roboto', Arial, sans-serif; 
    cursor: pointer; 
}

.site-title:hover {
    opacity: 0.8; 
}


.fullscreen-menu {
    position: fixed;
    top: -100%; 
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(10, 10, 10);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999; 
    transition: opacity 0.1s ease, top 0.6s ease; 
    opacity: 1%; 
    overflow: hidden; 
    font-family: 'Roboto', Arial, sans-serif; 
}

.fullscreen-menu.visible {
    top: 0; 
    opacity: 1; 
}

.fullscreen-menu.hidden {
    top: -100%; 
    opacity: 1; 
}

.menu-content {
    text-align: center;
    width: 90%; 
    max-width: 800px; 
    height: 90%; 
    overflow-y: auto; 
    padding: 1rem; 
    box-sizing: border-box; 
}

.menu-content h2 {
    margin-bottom: 1rem;
    font-size: 2rem;
}

.menu-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid; 
    grid-template-columns: repeat(2, 1fr); 
    gap: 0.8rem; 
}

.menu-content ul li {
    margin: 0; 
}

.menu-content ul li a {
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    justify-content: center; 
    background-color: white; 
    color: black; 
    text-decoration: none;
    font-size: 1.2rem; 
    width: 100%; 
    aspect-ratio: 1; 
    border-radius: 12px; 
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease; 
    border: 2px solid black; 
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); 
}

.menu-content ul li a img {
    width: 40px; 
    height: 40px; 
    margin-bottom: 0.5rem; 
}

.menu-content ul li a:hover {
    background-color: rgb(230, 230, 230); 
    color: black; 
    transform: translateY(-3px); 
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15); 
}

.menu-content ul li a:hover img {
    filter: brightness(0.9); 
}

.close-menu {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
}


body {
    padding-top: 30px; 
    margin: 0; 
    box-sizing: border-box;
}


@media screen and (max-width: 768px) {
    .menu-content ul {
        grid-template-columns: repeat(2, 1fr); 
        gap: 0.5rem; 
    }

    .menu-content ul li a {
        font-size: 1rem; 
    }

    .menu-content ul li a img {
        width: 35px; 
        height: 35px;
    }

    .fullscreen-menu {
        display: flex; 
    }
}


@media screen and (min-width: 1024px) {
    .menu-content ul {
        grid-template-columns: repeat(5, 1fr); 
        gap: 1rem; 
    }

    .menu-content ul li a {
        font-size: 1.2rem; 
        border-radius: 18px; 
    }

    .menu-content ul li a img {
        width: 40px; 
        height: 40px;
    }
}