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

body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f9;
    color: #333;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background-color: #333;
    color: #fff;
}

.navbar .logo a {
    font-size: 24px;
    text-decoration: none;
    color: #fff;
    font-weight: bold;
}

.nav-links {
    list-style-type: none;
    display: flex;
    gap: 20px;
}

.nav-links li {
    display: inline;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #ffcc00;
    /* hover effect */
}

/* Mobile menu toggle button */
.menu-toggle {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.menu-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: #fff;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px 10px;
    }

    .nav-links {
        display: none;
        width: 100%;
        flex-direction: column;
        padding-left: 0;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        width: 100%;
        padding: 10px 20px;
        text-align: left;
    }

    .nav-links a {
        font-size: 18px;
    }

    .menu-toggle {
        display: flex;
    }
}

/* Основний стиль для секції */
.feature-section {
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('../img/hero.jpg') no-repeat center center;
    background-size: cover;
    padding: 50px;
    color: #fff;
    height: 80vh;
}

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

.feature-text {
    max-width: 50%;
    padding-right: 20px;
}

.feature-text h2 {
    font-size: 28px;
    margin-bottom: 20px;
}

.feature-text p {
    font-size: 18px;
    line-height: 1.6;
}

.feature-image img {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 8px;
}

@media (max-width: 768px) {
    .feature-section {
        flex-direction: column;
        height: auto;
        text-align: center;
        padding: 20px;
    }

    .feature-content {
        flex-direction: column;
        align-items: center;
    }

    .feature-text {
        max-width: 100%;
        padding-right: 0;
        margin-bottom: 20px;
    }

    .feature-image img {
        width: 80%;
        margin-top: 20px;
    }
}

.google-icon img {
    width: 200px;
}

/* Основний стиль для секції */
.about-game {
    background-color: #f4f4f9;
    padding: 50px 20px;
}

.about-game-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    gap: 20px;
}

.about-game-text {
    max-width: 50%;
}

.about-game-text h2 {
    font-size: 30px;
    margin-bottom: 20px;
    color: #333;
}

.about-game-text h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #444;
}

.about-game-text p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 20px;
    color: #555;
}

.about-game-text h4 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #444;
}

.about-game-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Адаптація для мобільних */
@media (max-width: 768px) {
    .about-game-content {
        flex-direction: column;
        text-align: center;
    }

    .about-game-text {
        max-width: 100%;
        padding: 0 10px;
    }

    .about-game-image img {
        width: 80%;
        margin-top: 20px;
    }
}

/* Основний стиль для секції */
.why-taprixio {
    background-color: #f4f4f9;
    padding: 50px 20px;
}

.why-taprixio-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    gap: 20px;
}

.why-taprixio-text {
    max-width: 50%;
}

.why-taprixio-text h2 {
    font-size: 30px;
    margin-bottom: 20px;
    color: #333;
}

.why-taprixio-text p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 20px;
    color: #555;
}

.why-taprixio-text ul {
    list-style-type: none;
    padding-left: 0;
}

.why-taprixio-text ul li {
    font-size: 18px;
    margin-bottom: 10px;
    color: #555;
}

.why-taprixio-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Адаптація для мобільних */
@media (max-width: 768px) {
    .why-taprixio-content {
        flex-direction: column;
        text-align: center;
    }

    .why-taprixio-text {
        max-width: 100%;
        padding: 0 10px;
    }

    .why-taprixio-image img {
        width: 80%;
        margin-top: 20px;
    }
}

/* Основні стилі для секції */
.contact-section {
    background-color: #f8f9fa;
    padding: 60px 20px;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-content {
    display: flex;
    justify-content: space-between;
    gap: 40px;
}

.contact-text {
    width: 50%;
    font-family: 'Arial', sans-serif;
    color: #333;
}

.contact-text h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #2c3e50;
}

.contact-text h3 {
    font-size: 24px;
    margin-bottom: 15px;
    font-weight: bold;
    color: #34495e;
}

.contact-text p {
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 10px;
    color: #7f8c8d;
}

.contact-text a {
    color: #2980b9;
    text-decoration: none;
}

.contact-text a:hover {
    text-decoration: underline;
}

/* Стилі для контактної форми */
.contact-form {
    width: 50%;
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.contact-form h4 {
    font-size: 28px;
    margin-bottom: 30px;
    color: #2c3e50;
}

.form-field {
    margin-bottom: 20px;
}

.form-field label {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #34495e;
    display: block;
}

.form-field input,
.form-field textarea {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 6px;
    background-color: #f9f9f9;
    transition: border-color 0.3s ease, background-color 0.3s ease;
}

.form-field input:focus,
.form-field textarea:focus {
    border-color: #2980b9;
    background-color: #fff;
}

button {
    background-color: #2980b9;
    color: #fff;
    padding: 14px 30px;
    font-size: 18px;
    font-weight: bold;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease-in-out;
}

button:hover {
    background-color: #3498db;
}

/* Адаптація для мобільних пристроїв */
@media (max-width: 768px) {
    .contact-content {
        flex-direction: column;
        text-align: center;
    }

    .contact-text,
    .contact-form {
        width: 100%;
        padding: 0 10px;
    }

    .contact-form {
        margin-top: 30px;
    }

    .form-field input,
    .form-field textarea {
        font-size: 14px;
    }
}

/* Стилі для футера */
.footer {
    background-color: #333;
    color: #fff;
    padding: 40px 20px;
    font-family: 'Arial', sans-serif;
}

.footer .container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.footer-left p {
    font-size: 16px;
    color: #ccc;
}

.footer-right ul {
    list-style-type: none;
    padding-left: 0;
    margin: 0;
}

.footer-right ul li {
    display: inline;
    margin-left: 20px;
}

.footer-right ul li a {
    color: #ccc;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
}

.footer-right ul li a:hover {
    color: #ffcc00;
    /* Зміна кольору на жовтий при наведенні */
}

.social-media {
    margin-top: 20px;
    text-align: center;
}

.social-icon {
    display: inline-block;
    margin: 0 15px;
}

.social-icon img {
    width: 30px;
    height: 30px;
    transition: transform 0.3s ease;
}

.social-icon:hover img {
    transform: scale(1.1);
    /* Збільшення іконки при наведенні */
}

/* Адаптація для мобільних пристроїв */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-right ul {
        margin-top: 20px;
    }

    .footer-right ul li {
        display: block;
        margin-left: 0;
        margin-bottom: 10px;
    }

    .footer-left p {
        text-align: center;
        margin-bottom: 10px;
    }

    .social-media {
        margin-top: 30px;
    }
}

.features-section {
    background-color: #f9f9f9;
    padding: 60px 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}



.features-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.feature-item {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.feature-item h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #2980b9;
    font-weight: bold;
}

.feature-item p {
    font-size: 16px;
    line-height: 1.6;
    color: #7f8c8d;
}

@media (max-width: 768px) {
    .features-list {
        grid-template-columns: 1fr;
    }

    .feature-item {
        margin-bottom: 20px;
    }

    h2 {
        font-size: 30px;
    }

    .feature-item h3 {
        font-size: 18px;
    }

    .feature-item p {
        font-size: 14px;
    }
}

/* Основні стилі для секції "Πολιτική Απορρήτου" */
.privacy-policy {
    background-color: #f8f9fa;
    padding: 60px 20px;
    font-family: 'Arial', sans-serif;
    color: #333;
    text-align: center;
    /* Центрування тексту */
}

.privacy-policy .container {
    max-width: 900px;
    /* Максимальна ширина контейнера */
    margin: 0 auto;
    /* Центрування контейнера */
}

.privacy-policy h2 {
    font-size: 36px;
    margin-bottom: 30px;
    color: #2c3e50;
    font-weight: 600;
}

.privacy-policy h3 {
    font-size: 28px;
    margin-top: 30px;
    margin-bottom: 15px;
    color: #2980b9;
    font-weight: 600;
}

.privacy-policy ul {
    list-style-type: disc;
    margin-left: 20px;
    font-size: 18px;
    text-align: left;
    /* Залишаємо список вирівняним по лівому краю */
}

ul li {
    margin-bottom: 10px;
}

.privacy-policy p {
    font-size: 18px;
    line-height: 1.7;
    color: #555;
}

.privacy-policy a {
    color: #2980b9;
    text-decoration: none;
}

.privacy-policy a:hover {
    text-decoration: underline;
}
 
@media (max-width: 768px) {
    h2 {
        font-size: 30px;
    }

    h3 {
        font-size: 24px;
    }

    ul li {
        font-size: 16px;
    }

    p {
        font-size: 16px;
    }
}/* Стилі для плашки cookie */
.cookie-banner {
    background-color: #333;
    color: #fff;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    font-family: Arial, sans-serif;
    text-align: center;
    z-index: 9999;
    display: none; /* Схована за замовчуванням */
}

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

.cookie-banner p {
    font-size: 16px;
    margin-right: 20px;
    flex-grow: 1;
}

.cookie-actions {
    display: flex;
    gap: 10px;
}

.cookie-actions button {
    background-color: #2980b9;
    color: #fff;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.cookie-actions button:hover {
    background-color: #3498db;
}

.cookie-actions .reject-btn {
    background-color: #e74c3c;
}

.cookie-actions .reject-btn:hover {
    background-color: #c0392b;
}

/* Адаптація для мобільних пристроїв */
@media (max-width: 768px) {
    .cookie-banner p {
        font-size: 14px;
    }

    .cookie-actions button {
        font-size: 14px;
        padding: 8px 15px;
    }
}
