/* fonts */
@font-face {
    font-family: 'MontserratAlternates';
    src: url('../fonts/montserratalternates-regular-webfont.eot');
    src: url('../fonts/montserratalternates-regular-webfont.eot?#iefix') format('embedded-opentype'),
    url('../fonts/montserratalternates-regular-webfont.woff2') format('woff2'),
    url('../fonts/montserratalternates-regular-webfont.woff') format('woff'),
    url('../fonts/montserratalternates-regular-webfont.ttf') format('truetype'),
    url('../fonts/montserratalternates-regular-webfont.svg#MontserratAlternatesRegular') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'MontserratAlternates';
    src: url('../fonts/montserratalternates-bold-webfont.eot');
    src: url('../fonts/montserratalternates-bold-webfont.eot?#iefix') format('embedded-opentype'),
    url('../fonts/montserratalternates-bold-webfont.woff2') format('woff2'),
    url('../fonts/montserratalternates-bold-webfont.woff') format('woff'),
    url('../fonts/montserratalternates-bold-webfont.ttf') format('truetype'),
    url('../fonts/montserratalternates-bold-webfont.svg#MontserratAlternatesBold') format('svg');
    font-weight: bold;
    font-style: normal;
}

a {
    text-decoration: none;
    color: inherit;
}

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

body {
    font-family: 'MontserratAlternates', sans-serif;
}

header {
    background-color: white;
    padding: 20px;
    border-bottom: 1px solid #ddd;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.logo {
    flex: 1;
}
.logo img {
    max-height: 50px;
    width: auto;
}

.menu {
    display: flex;
    justify-content: center;
    flex: 2;
}

.menu a {
    margin-left: 20px;
    text-decoration: none;
    color: black;
    font-size: 18px;
    font-family: 'MontserratAlternates', sans-serif;
    font-weight: bold;
}

.menu a:hover {
    color: #feb213;
    text-shadow: 1px 1px #000000;
}

.social-icons {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex: 1;
    margin-right: 20px;

}

.social-icons a {
    margin-left: 10px;
    color: black;
    font-size: 18px;
}

.social-icons a:hover {
    color: #e6ff00;
}


.language-switcher {
    position: relative;
    display: inline-block;
}

/* Current lang */
.current-language {
    background: #fff;
    border: 1px solid #ccc;
    padding: 8px 12px;
    cursor: pointer;
    font-size: 14px;
    width: max-content;
    text-align: left;
}

.current-language,
.language-list a {
    text-decoration: none;
    color: inherit;
}

.current-language:focus,
.language-list a:focus {
    outline: none;
    color: inherit;
}

.current-language:active,
.language-list a:active {
    color: inherit;
}

/* Lang list */
.language-list {
    display: none;
    position: absolute;
    background: #fff;
    border: 1px solid #ccc;
    margin: 0;
    padding: 0;
    list-style: none;
    z-index: 1000;
    min-width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    overflow-x: hidden;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
}

/* List elements */
.language-list li {
    margin: 0;
    padding: 0;
}

.language-list a {
    display: block;
    padding: 8px 12px;
    text-decoration: none;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.language-list a:hover {
    background: #f0f0f0;
}

/* List on hover */
.language-switcher:hover .language-list {
    display: block;
}

/* Lang mobile */
@media (max-width: 768px) {
    .language-switcher {
        position: absolute;
        top: 10px;
        right: 10px;
        z-index: 1000;
    }

    .current-language {
        font-size: 12px;
        padding: 5px 8px;
    }

    .language-list {
        width: 100%;
        max-width: 100%;
        left: 0;
        right: 0;
        max-height: 50vh;
        overflow-x: hidden;
        box-sizing: border-box;
    }

    .language-list a {
        font-size: 12px;
        padding: 5px 8px;
        white-space: nowrap;
        overflow: visible;
    }
}

/* Full width image */
.full-width-image {
    width: 100%;
    height: 400px;
    background-image: url('../img/slide1.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding-bottom: 20px;
}

.image-text {
    font-family: 'MontserratAlternates';
    font-size: 36px;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    position: absolute;
    bottom: 5px;
    font-weight: bold;

}

#mobileapps {
    scroll-margin-top: 80px;
}
@media (max-width: 1024px) {
    #mobileapps {
        scroll-margin-top: 80px;
    }
}

@media (max-width: 768px) {
    #mobileapps {
        scroll-margin-top: 150px;
    }
}

/* Adaptive */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        align-items: center;
    }

    .menu {
        display: flex;
        flex-direction: row;
        justify-content: center;
        width: 100%;
        margin-top: 10px;
    }

    .menu a {
        margin-left: 10px;
        text-decoration: none;
        color: black;
        font-size: 18px;
        font-family: 'MontserratAlternates', sans-serif;
        font-weight: bold;
    }

    .social-icons {
        margin-top: 10px;
    }

    .image-text {
        font-size: 24px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .logo {
        width: 200px;
        height: auto;
        display: block;
        margin: 0 auto;
        transform: translateX(50px);
    }

    .menu {
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 0;
        padding: 0;
    }

    .menu a {
        font-size: 16px;
        margin: 0 10px;
        text-decoration: none;
    }

    .social-icons {
        display: flex;
        justify-content: center;
        margin-top: 10px;
        transform: translateX(10px);
    }

    .social-icons a {
        font-size: 16px;
        margin-left: 5px;
    }

    .footer-logo img {
        max-height: 30px;
        margin: 0 auto;
        display: block;
    }

    .footer-links {
        text-align: center;
    }

    .footer-links a {
        font-size: 12px;
        margin: 0 5px;
    }

    .footer-social-icons {
        display: flex;
        justify-content: center;
    }

    .footer-social-icons a {
        font-size: 16px;
        margin: 0 5px;
    }

    .image-text {
        font-size: 20px;
        bottom: 30px;
        text-align: center;
    }
}

/* games */
.games {
    width: 100%;
    background-color: orange;
    color: white;
    text-align: center;
    padding: 20px;
    font-size: 20px;
}


#games {
    scroll-margin-top: 80px;
}
@media (max-width: 1024px) {
    #games {
        scroll-margin-top: 80px;
    }
}

@media (max-width: 768px) {
    #games {
        scroll-margin-top: 150px;
    }
}

/* mobile apps block */

.mobileapps {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background-color: #ffffff;
    color: #333;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.mobileapps .title {
    text-align: center;
    font-size: 24px;
    font-weight: normal;
    margin-bottom: 20px;
    color: #444;
}

.mobileapps .app-links {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.mobileapps .app-links a {
    text-decoration: none;
}

.mobileapps .app-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, max-content));
    gap: 15px;
    justify-content: center;
    max-width: 90%;
    margin: 0 auto;
}

.mobileapps .app-links img {
    width: 120px;
    height: 40px;
    object-fit: contain;
    border-radius: 4px;
}

@media (max-width: 600px) {
    .mobileapps .app-links {
        grid-template-columns: repeat(auto-fit, minmax(90px, max-content));
        gap: 10px;
    }

    .mobileapps .app-links img {
        width: 90px;
        height: 35px;
    }
}

.mobileapps .content {
    position: relative;
    padding: 20px;
    font-size: 16px;
    line-height: 1.5;
    background-color: rgba(211, 211, 211, 0.5);
    border-radius: 8px;
    z-index: 1;

}

.mobileapps .content::after {
    /*content: url('../img/iconbat.png');*/
    position: absolute;
    bottom: 120px;
    right: 100px;
    width: 30px;
    height: 30px;
    filter: grayscale(100%);
    z-index: -1;

}



.mobileapps .content h2 {
    font-size: 20px;
    margin-top: 20px;
    color: #666;
}

.mobileapps .content ul {
    list-style: none;
    padding-left: 0;
}

.mobileapps .content ul li {
    margin: 10px 0;
    position: relative;
    padding-left: 20px;
}

.mobileapps .content ul li:before {
    content: "•";
    color: #aaa;
    font-size: 18px;
    position: absolute;
    left: 0;
}



.app-photo {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.app-photo img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

/* app section */
.apps-section {
    width: 100%;
    text-align: center;
    padding: 20px;
    background-color: #f9f9f9;
}

.apps-section h2 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #333;
}

.apps-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.app-item {
    width: 120px;
    text-align: center;
    font-family: Arial, sans-serif;
    text-decoration: none;
}

.app-item img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 16px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
}

.app-item h3 {
    font-size: 16px;
    margin: 5px 0;
    color: #222;
}

.app-item p {
    font-size: 14px;
    color: #666;
}

@media (max-width: 768px) {
    .app-item {
        width: 100px;
    }

    .apps-grid {
        gap: 15px;
    }

    .app-item img {
        width: 70px;
        height: 70px;
    }
}

@media (max-width: 480px) {
    .app-item {
        width: 80px;
    }

    .app-item img {
        width: 60px;
        height: 60px;
    }

    .apps-section h2 {
        font-size: 20px;
    }
}

/* footer */

footer {
    background-color: #2d2e32;
    padding: 20px;
    border-top: 1px solid #ddd;
    color: white;
    position: relative;
    overflow: hidden;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    position: relative;
}

.footer-logo-left {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 15px;
    overflow: hidden;
    flex-shrink: 0;
    margin-top: 40px;
}

.footer-logo-left img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.footer-logo-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 500px;
    padding: 0 10px;
}

.footer-logo-center img {
    max-height: 35px;
    margin-top: 5px;
    margin-bottom: 5px;
}

.footer-links {
    margin-top: 2px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    margin: 0 5px;
    font-size: 14px;
}

.footer-links a:hover {
    text-decoration: underline;
}

.footer-social-icons {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.footer-social-icons a {
    color: white;
    font-size: 18px;
}

.footer-social-icons a:hover {
    color: #e6ff00;
}

.app-links-footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.app-links-footer img {
    width: 100px;
    height: 40px;
    object-fit: contain;
}

@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .footer-logo-left {
        width: 50px;
        height: 50px;
        border-radius: 15px;
        overflow: hidden;
        margin-top: 20px;
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    }

    .footer-logo-left img {
        max-width: none;
        max-height: none;
        width: auto;
        height: 100%;
        object-fit: contain;
        display: block;
    }

    .footer-logo-center {
        position: static;
        transform: none;
        margin-bottom: 15px;
    }

    .footer-logo-center img {
        max-height: 30px;
        margin-top: 10px;
    }

    .footer-links {
        margin-top: 5px;
    }

    .footer-social-icons {
        justify-content: center;
        margin-top: 10px;
    }
}

@media (max-width: 600px) {
    .footer-container {
        gap: 10px;
    }

    .footer-logo-left {
        width: 40px;
        height: 40px;
        border-radius: 12px;
        margin-top: 15px;
        box-shadow: 0 3px 5px rgba(0, 0, 0, 0.15);
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .footer-logo-left img {
        max-width: none;
        max-height: none;
        width: auto;
        height: 100%;
        object-fit: contain;
        display: block;
    }

    .footer-logo-center img {
        max-height: 25px;
        margin-top: 5px;
    }

    .app-links-footer {
        justify-content: center;
        gap: 8px;
        margin-top: 10px;
    }

    .app-links-footer img {
        width: 70px;
        height: 30px;
    }
}