/* Основные стили */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f5f5f5;
}

.container {
    width: 80%;
    margin: 0 auto;
}

/* Стиль для логотипа */
.logo-container {
     text-align: center;
}
.logo {
   
width: 250px; /* Задайте ширину логотипа по вашему выбору */ 
   
height: auto; /* Сохраняем пропорции изображения */
}

.banner {
    background-color: #ff4a00;
    color: white;
    padding: 50px 0;
    text-align: center;
}

h1 {
    margin: 0;
}

h2 {
    margin-top: 30px;
}

p {
    font-size: 16px;
    line-height: 1.6;
}

/* Секции для контента */
.game-section, .contact-section, .terms-section, .policy-section {
    padding: 50px 0;
    background-color: #ffffff;
    text-align: center;
}

/* Flexbox для расположения игр рядом */
.game-boxes {
    display: flex;
    justify-content: space-around;
    margin-top: 20px;
}

.game-box {
    width: 300px;
}

.game-box img {
    width: 100%;
    cursor: pointer;
}

/* Стили формы обратной связи */
.contact-section form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-section input, .contact-section textarea {
    width: 100%;
    max-width: 500px;
    padding: 10px;
    margin: 10px 0;
}

/* Стили футера */
footer {
    background-color: #292b2c;
    color: white;
    padding: 20px 0;
    text-align: center;
}

.footer-links {
    margin-bottom: 10px;
}

.footer-links a {
    color: white;
    margin: 0 10px;
    text-decoration: none;
}

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

.footer-logos img {
    margin: 0 10px;
}

/* Модальное окно */
.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
}

/* Контент поп-апа */
.popup-content {
    background-color: white;
    padding: 20px;
    width: 80%;
    max-width: 800px;
    position: relative;
}

/* Кнопка закрытия */
.close-btn {
    position: absolute;
    top: 10px;
    right: 20px;
    text-decoration: none;
    font-size: 30px;
    color: black;
}

.close-btn:hover {
    color: red;
}

/* Показ поп-апа через якорь */
#game-popup1:target, #game-popup2:target {
    display: flex;
}

/* Стили для страниц Terms и Policy */
.terms-section, .policy-section {
    text-align: left;
    padding: 50px;
}

.terms-section h2, .policy-section h2 {
    color: #ff4a00;
    margin-bottom: 15px;
}

.terms-section p, .policy-section p {
    margin-bottom: 20px;
    line-height: 1.8;
}
