/* General Styles with Dark Gaming Color Scheme */
body {
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #141e2e; /* Dark background color */
    -webkit-font-smoothing: antialiased;
    display: block;
    position: relative; /* Add relative positioning to allow overlay positioning */
}

/* Dark Overlay */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: -1; /* Behind the content */
}

/* Reset Default Margin and Padding for All Elements */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Header Styles */
header {
    background-color: #2c3e50;
    padding: 20px;
    text-align: center;
    position: relative;
    z-index: 1; /* Place header above the dark overlay */
}


/* Стилі для комп'ютера (ширина екрану більше 600px) */
@media (min-width: 600px) {
    header {
        background-color: #2c3e50; /* Dark background color for the header */
        padding: 10px;
        text-align: center;
    }

    .header-menu {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px;
    }

    .header-menu h1 {
        color: #ecf0f1;
        font-size: 36px;
        margin: 0;
    }

    .header-menu div {
        display: flex;
        gap: 20px;
        align-items: center; /* Center items vertically */
    }

    .header-menu a {
        color: #ecf0f1; /* White text color for contrast */
        text-decoration: none;
        font-size: 18px;
        transition: color 0.3s ease;
    }

    .header-menu a:hover {
        color: #f39c12;
    }

    .header-menu i {
        color: #f39c12;
        font-size: 36px;
    }

    .header-menu .nav-links {
        flex-grow: 1; /* Make nav-links take up available space */
    }

    .header-menu .language-switch {
        display: flex;
        gap: 10px;
        margin-left: auto; /* Push language-switch to the right */
    }

    .header-menu .language-switch a {
        color: #ecf0f1;
        text-decoration: none;
        font-size: 18px;
        transition: color 0.3s ease;
    }

    .header-menu .language-switch a:hover {
        color: #f39c12;
    }
    
    .language-switch {
        background-color: initial;
        border: none;
        cursor: pointer;
        padding: 0;
    }
}

/* Styles for phones (screen width less than or equal to 600px) */
@media (max-width: 600px) {
    header {
        background-color: #2c3e50;
        padding: 10px;
        text-align: center;
    }

    .header-menu {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .header-menu h1 {
        color: #ecf0f1;
        font-size: 24px;
        margin: 0;
        font-family: 'Press Start 2P', cursive; /* Add a pixelated game font */
    }

    .burger-menu {
        display: flex;
        flex-direction: column;
        cursor: pointer;
    }

    .burger-line {
        width: 30px;
        height: 3px;
        background-color: #ecf0f1;
        margin: 6px 0;
        transition: 0.3s;
        border-radius: 5px; /* Rounded corners for button effect */
    }

    .nav-links {
        display: none;
        flex-direction: column;
        align-items: center;
        width: 100%;
        background-color: #34495e; /* Dark background for the menu */
        position: absolute;
        top: 60px; /* Position the menu below the header */
        left: 0;
        z-index: 1; /* To make the menu overlay other content */
        border-bottom-right-radius: 10px; /* Rounded bottom right corner of the menu */
        border-bottom-left-radius: 10px; /* Rounded bottom left corner of the menu */
    }

    .header-menu.active .burger-line:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .header-menu.active .burger-line:nth-child(2) {
        opacity: 0;
    }

    .header-menu.active .burger-line:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    .header-menu.active .nav-links {
        display: flex;
    }

    .header-menu a {
        color: #ecf0f1;
        text-decoration: none;
        font-size: 18px;
        margin-bottom: 10px;
        transition: 0.3s;
        padding: 15px; /* Increased padding for better clickability */
        font-family: 'Press Start 2P', cursive; /* Add a pixelated game font */
    }

    .header-menu i {
        color: #f39c12;
        font-size: 36px;
    }

    .header-menu .language-switch-container {
        display: flex;
        gap: 10px;
        margin-top: 10px; /* Add some margin to separate from other links */
    }

    .header-menu .language-switch a {
        color: #ecf0f1;
        text-decoration: none;
        font-size: 18px;
        transition: color 0.3s ease;
        font-family: 'Press Start 2P', cursive; /* Add a pixelated game font */
    }

    .header-menu .language-switch a:hover {
        color: #f39c12;
    }

}


.game {
    position: relative;
    width: auto;
    margin: auto;
    padding: 20px;
    background-color: #2c3e50;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
    border-radius: 10px;
    margin-top: 30px;
}
@media (min-width: 600px) {
    .game{
        margin: 90px;
    }
}

.game img {
    width: 100%;
    height: 500px; /* Adjust height as needed */
    border-radius: 15px; /* Rounded corners for the game image */
    object-fit: cover;
}

.game::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 10px;
}


.text-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.8);
    text-align: left;
    padding: 30px;
    width: 900px;
    border-radius: 15px;
    color: rgb(255, 255, 255);
}
.text-overlay p {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
    color: #fff; /* Білий колір тексту */
}

.text-overlay p:last-child {
    margin-bottom: 0;
}

/* Додано медіа-запит для телефонів (розмір екрану менше 768px) */
@media only screen and (max-width: 768px) {
    .text-overlay {
        width: 80%; /* Ширина 80% на телефонах */
        padding: 15px; /* Збільшена висота під час телефонного відображення для більшого простору */
        font-size: 18px; /* Збільшений розмір шрифту на телефонах для кращої читабельності */
        text-align: center; /* Центрування тексту */
        border-radius: 15px; /* Округлення кутів */
        background-color: rgba(0, 0, 0, 0.8); /* Темне накладання для тексту */
    }

    .text-overlay p {
        font-size: 14px; /* Збільшений розмір шрифту для параграфів */
        border-left-style: none; /* Видалено границю ліворуч для параграфів */
        color: #fff; /* Білий колір тексту */
    }
}

/* Button Styles */
.game-button {
    display: inline-block;
    background-color: #f39c12; /* Orange color for game buttons */
    color: white;
    padding: 15px 30px;
    font-size: 18px;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.game-button i {
    margin-right: 10px;
}

.game-button:hover {
    background-color: #e67e22; /* Darker orange on hover */
}

@media only screen and (max-width: 768px) {
    .game-button {
        font-size: 14px;
    }
    .game{
        padding: 3px;
    }

}
.f-cen{
    display: flex;
    transition: 0.3s;
    align-items: center;
    gap: 75px;
    flex-direction: row-reverse;
    justify-content: center
}
.f-cen img {
    object-fit: cover;
    width: 400px;
    height: 400px;
    border-radius: 20px;
    box-shadow: 0 4px 8px #005bb5;
}
@media screen and (max-width: 1200px) {
    .f-cen img{
        display: none;
    }
    
}
/* Стилі для блоку F-coin в ігровому стилі */
.F-coin {
    margin: 20px;
    color: #ecf0f1; /* Світлий текст */
    min-width: 556px;
    max-width: 660px;
    transition: 0.3s;

}
.coin-f{
    display: flex;
    justify-content: center;
    gap: 75px;
}
@media only screen and (max-width: 768px) {
    .F-coin {
        min-width: 330px;
    }
}
/* Стилі для заголовку блоку F-coin */
.coin-f-coin h2 {
    background-color: #3498db;
    border-radius: 20px;
    color: #fff;
    font-size: 26px;
    line-height: 32px;
    padding: 18px 36px;
    text-align: center;
    transition: 0.3s;
    margin: 30px auto 0;
    width: max-content;
}
.coin-text {
    background-color: #ecf0f1; /* Light background color */
    padding: 42px 57px 81px;
    border-radius: 10px 10px 0px 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    max-width: 600px; /* Adjust the maximum width as needed */
    margin: 20px auto; /* Center the content and add some margin */
    overflow: hidden; /* Hide overflow content */
    word-wrap: break-word; /* Break words to prevent overflow */
}

.coin-text p {
    font-size: 16px;
    line-height: 1.6;
    color: #333; /* Dark text color */
    margin-bottom: 10px; /* Add spacing between paragraphs */
}

.coin-text b {
    color: #3498db; /* Blue color for bold text */
}
.link-text{
    text-decoration: none;
    color: #00cc88;
}

.send-telegram input {
    margin-top: 10px;
    padding: 8px;
    font-size: 14px;
    border: 1px solid #3498db; /* Синій колір для рамки інпутів */
    border-radius: 5px;
}

.send-telegram button {
    margin-top: 10px;
    background-color: #2ecc71; /* Зелений колір для кнопки */
    color: white;
    padding: 10px 20px;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease; /* Плавна зміна кольору при наведенні */
}

.send-telegram button:hover {
    background-color: #27ae60; /* Темно-зелений колір при наведенні */
}
/* Спільні стилі для блоку "Про нас" */
.bio-game {
    background-color: #2c3e50;
    border-radius: 10px 10px 10px 0px;
    box-shadow: 0 8px 8px rgba(0, 0, 0, 0.2);
    color: #ffffff;
    display: flex;
    flex-direction: column;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.6;
    margin: 20px;
    max-width: 513px;
    min-width: 600px;
    padding: 42px 57px 81px;
    position: relative;
    transition: 0.3s;
    border: 2px solid #3498db;
}

/* Стилі для блоку "Про нас" на телефоні та планшеті */
@media only screen and (max-width: 600px) {
    .bio-game {
        font-weight: 400;
        border-radius: 10px; /* Змінено border-radius для кращого вигляду */
        min-width: 300px;
        padding: 30px 32px;
        border: 2px solid #3498db;
        
    }
}
/* Стилі для заголовку блоку "Про нас" */
.bio-h2 h2 {
    background-color: #3498db;
    border-radius: 20px;
    color: #fff;
    font-size: 26px;
    line-height: 32px;
    padding: 18px 36px;
    text-align: center;
    transition: 0.3s;
    margin: 30px auto 0;
    width: max-content;
}
.button-bio {
    text-align: right;
    margin-top: 20px;
    max-width: 200px;
}

.bio-button {
    background: linear-gradient(90deg, #0071ff, #00c3ff); /* Use a gradient for a more dynamic look */
    border: none;
    border-radius: 18px;
    color: #fff;
    font-size: 16px; /* Slightly increase the font size for better readability */
    font-weight: 600; /* Increase font weight for emphasis */
    padding: 14px 28px; /* Adjust padding for a balanced button size */
    cursor: pointer;
    transition: background 0.3s ease; /* Simplify transition property for better performance */
}

.bio-button:hover {
    background: linear-gradient(90deg, #005bb5, #0088cc); /* Darken the background color on hover for contrast */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2); /* Add a subtle box shadow on hover for depth */
}

/* Mobile responsiveness */ 
@media screen and (max-width: 600px) {
    .button-bio {
        text-align: center;
    }

    .bio-button {
        margin-top: 15px;
    }
}


/* Mobile responsiveness */
@media screen and (max-width: 600px) {
    .button-bio {
        text-align: center;
    }

    .bio-button {
        margin-top: 15px;
    }
}


/* Стилі для тексту блоку "Про нас" */
.bio-game p {
    font-size: 18px; /* Збільшено розмір шрифту тексту */
    line-height: 1.6;
}
.photo-bio{
    display: flex;
    transition: 0.3s;
    align-items: center;
    justify-content: center;
    gap: 75px;
}
.photo-bio img{
    transition: 0.3s;
    box-shadow: 0 4px 8px #005bb5;
    border-radius: 20px;
    height: 400px;
}
@media only screen and (max-width: 1200px) {
    .photo-bio img{
        display: none;
    
    }
    
}
@media only screen and (max-width: 1200px) {
    .bio-game{
        justify-content: center;
    }
    
}
/* General styles for all screen sizes */
footer {
    align-items: center;
    background: #000000;
    display: flex;
    height: 146px;
    justify-content: center;
    margin-top: auto;
    padding: 58px 30px 35px;
    transition: .3s;
}

.site-info {
    max-width: 800px;
    margin: 0px auto;
    display: flex;
    transition: all 0.3s ease 0s;
    flex-direction: column;

}
.main,
.full_stack {
    max-width: 1350px;
    width: 100%;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    margin-bottom: 330px;
}

/* Move the margin-bottom property to the bottom of the page */
.full_stack {
    margin-bottom: 330px;
    
}

.site-info p {
    margin: 10px;
    color: #fff; /* White text color for better contrast */
    font-size: 16px; /* Adjust the font size */
}

.footer-links {
    margin-top: 15px; /* Add some spacing between text and links */
}

.footer-links a {
    color: #fff; /* White text color for links */
    text-decoration: none;
    margin: 0 15px; /* Add some spacing between links */
    font-weight: bold;
    font-size: 18px; /* Adjust the font size */
    text-transform: uppercase; /* Uppercase the link text */
    letter-spacing: 1px; /* Add some letter spacing for a stylized look */
    transition: color 0.3s ease; /* Add a smooth color transition on hover */
}

.footer-links a:hover {
    color: #00ff00; /* Change color on hover, you can choose any color you like */
    transform: scale(1.1); /* Add a slight scale effect on hover */
}

/* Responsive styles for smaller screens (mobile devices) */
@media screen and (max-width: 600px) {
    .site-info {
        flex-direction: column; /* Stack elements vertically on smaller screens */
        text-align: center;
    }

    .footer-links {
        margin-top: 10px; /* Adjust spacing for links on smaller screens */
        display: flex;
        justify-content: flex-start;
    }

    .footer-links a {
        margin: 5px; /* Adjust spacing between links on smaller screens */
        font-size: 16px;
    }
}
.galler-h2 h2 {
    background-color: #3498db;
    border-radius: 20px;
    color: #fff;
    font-size: 26px;
    line-height: 32px;
    padding: 18px 36px;
    text-align: center;
    transition: 0.3s;
    margin: 30px auto 0;
    width: max-content;
}


.developer-info.active {
    display: block;
}

.gallery-d {
    background-color: #1a1a1a;
    border-radius: 15px;
    padding: 20px;
    width: 800px;
    margin: 20px auto;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.developer-gallery {
    display: block;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
}
@media screen and (max-width: 900px) {
    .gallery-d{
        width: 330px;
    }
    .developer-info.active {
        display: block;
        width: 300px;
    }
}
.developer-container {
    display: flex;
    justify-content: center;
}

.developer-info {
    width: 300px;
    padding: 20px;
    text-align: center;
    margin-right: 20px;
    border-radius: 15px;
    scroll-snap-align: start;
    background-color: #2c3e50;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s;
}

.developer-info img {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
}

.developer-info h3 {
    color: #ffffff;
    font-size: 24px;
    margin-bottom: 10px;
}

.developer-info p {
    color: #ecf0f1;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.telegram-button {
    background-color: #3498db;
    color: #ffffff;
    border: none;
    padding: 10px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s, transform 0.3s;
}

.telegram-button:hover {
    background-color: #2980b9;
    transform: scale(1.05);
}

.pagination-dots {
    display: flex;
    justify-content: center;
    margin-top: 15px;
}

.dot {
    width: 12px;
    height: 12px;
    background-color: #7f8c8d;
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
}

.dot.active {
    background-color: #ffffff;
}

/* Media Query for Mobile */
@media (max-width: 768px) {
    .developer-info {
        width: 80%;
    }
}

/* Responsive Design */
@media (max-width: 767px) {
    .developer-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin: 0;
    }

    .developer-info {
        padding: 20px;
        margin-bottom: 15px;
    }

    .developer-info h3 {
        font-size: 24px;
        margin-bottom: 10px;
    }

    .developer-info p {
        font-size: 16px;
        margin-top: 10px;
        line-height: 1.6;
    }

    .developer-info img {
        max-width: 120px;
        height: 120px;
        margin-bottom: 15px;
    }

    .pagination-dots {
        display: flex;
        justify-content: center;
        margin-top: 10px;
    }

    .dot {
        width: 10px;
        height: 10px;
        background-color: #777;
        border-radius: 50%;
        margin: 0 5px;
        cursor: pointer;
        transition: background-color 0.3s ease-in-out;
    }

    .dot.active {
        background-color: #56b4f5;
    }
}


.telegram-button {
    background-color: #25d366; /* Vibrant green color for the button */
    color: #fff; /* White text color */
    border: none;
    padding: 15px; /* Increased padding for a more prominent appearance */
    border-radius: 8px; /* Slightly rounded corners */
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
    font-size: 18px; /* Font size adjustment */
    font-weight: bold; /* Bold text */
    text-decoration: none; /* Remove underlines from the text */
    display: inline-block;
    text-align: center;
}
@media (max-width: 767px) {
    .telegram-button {
        font-size: 12px;
    }

}
.telegram-button:hover {
    background-color: #128C7E; /* Darker green color on hover for emphasis */
    transform: scale(1.1); /* Slight scale-up on hover for an interactive feel */
}
