@font-face {
    font-family: 'PS2P-Regular';
    src: url(../fonts/PressStart2P-Regular.ttf) format('truetype');
}

* {
    box-sizing: border-box;
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    background-color: black;
    color: white;
    font-family: 'PS2P-Regular', monospace;
    line-height: 1.4;
}

.page-wrapper {
    height: 100vh; 
    display: flex;
    flex-direction: column;
    background-color: black;
}

.container {
    max-width: 1500px;
    margin: 0 auto;
    width: 100%;
    padding: 0 10px;
    position: relative;
}

.header {
    padding: 10px 0;
    flex-shrink: 0;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logotipe {
    display: flex;
    align-items: center;
}

.logo {
    width: 50px;
    height: 50px;
}

.title {
    font-size: 15px;
    text-align: center;
    color: white;
    white-space: nowrap;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.language-switcher {
    display: flex;
    gap: 5px;
    align-items: center;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 15px;
    background-color: rgba(255, 255, 255, 0.1);
    transition: background-color 0.3s;
}

.language-switcher:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.lang-btn {
    font-size: 12px;
    font-weight: 300;
    cursor: pointer;
    transition: all 0.3s;
    padding: 3px 8px;
    border-radius: 10px;
}

.lang-btn:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

.lang-btn.active {
    font-weight: 700;
    background-color: rgba(255, 255, 255, 0.25);
}

.lang-separator {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
}

.menu-burger {
    width: 50px;
    height: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}

.menu-burger-line {
    width: 20px;
    height: 2px;
    background-color: white;
    border-radius: 45px;
}

.line {
    height: 2px;
    background-color: rgba(255, 255, 255, 0.7);
    width: 100%;
    margin: 0;
    flex-shrink: 0;
}

.dropdown-menu {
    display: none;
    background-color: black;
    width: 100%;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    z-index: 1000;
    flex-shrink: 0;
}

.dropdown-menu.active {
    display: block;
}

.dropdown-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.dropdown-menu li {
    border: none;
}

.dropdown-menu a {
    color: white;
    text-decoration: none;
    font-size: 14px;
    padding: 8px 16px;
    transition: background-color 0.3s;
    border-radius: 8px;
}

.dropdown-menu a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.main-content {
    flex: 1; 
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px; 
    overflow: hidden; 
}

.content {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.content img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain; 
    width: auto;
    height: auto;
}

.footer {
    flex-shrink: 0;
    padding: 10px 0 0 0;
}

.footer .container {
    padding: 0 10px;
}

.footer_1 {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
    padding: 10px 0;
}

.icon {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    border: 1px solid white;
    background-color: white;
    transition: transform 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon:hover {
    transform: scale(1.15);
}

.icon img {
    width: 16px;
    height: 16px;
    object-fit: contain;
}

.footer_2 {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 0;
}

.copyright {
    font-size: 7px;
    color: white;
    text-align: center;
}

@media screen and (max-width: 480px) {
    .header .container {
        padding: 0 5px;
    }

    .logo {
        width: 40px;
        height: 40px;
    }

    .title {
        font-size: 10px;
        width: 65px;
        text-align: center;
        line-height: 1.1;
    }

    .header-right {
        gap: 4px;
    }

    .language-switcher {
        gap: 2px;
        padding: 2px 6px;
    }

    .lang-btn {
        font-size: 9px;
        padding: 1px 4px;
        min-width: 18px;
    }

    .lang-separator {
        font-size: 9px;
    }

    .menu-burger {
        width: 38px;
        height: 38px;
    }

    .menu-burger-line {
        width: 16px;
    }

    .dropdown-menu ul {
        gap: 20px;
        flex-direction: column;
        align-items: center;
    }

    .dropdown-menu a {
        font-size: 12px;
        padding: 10px 20px;
        width: 100%;
        text-align: center;
    }

    .main-content {
        padding: 5px; 
    }

    .footer_1 {
        gap: 20px;
    }

    .icon {
        width: 22px;
        height: 22px;
    }
}