@font-face {
    font-family: 'Montserrat';
    src: url('/assets/fonts/Montserrat-VariableFont_wght.ttf') format('woff2'),
}

:root {
    --white: #fff;
    --black: #000;
    --accent: #F4B55D;
}

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

ul {
    padding-left: 20px;
}

a {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

html,
body {
    height: 100%;
    scroll-behavior: smooth;
    font-family: 'Montserrat';
}

.wrapper {
    min-height: 100%;
    display: flex;
    flex-direction: column;
    overflow: clip;
}

main {
    flex-grow: 1;
}

[class*="__container"] {
    max-width: 1230px;
    padding-left: 15px;
    padding-right: 15px;
    margin: 0 auto;
}

section {
    padding-block: 100px;
}

/* Header */

.header__container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.header-logo img {
    width: 250px;
}

.header-menu {
    display: flex;
    flex-direction: row;
    gap: 20px;

}

.header-menu a {
    color: var(--black);
    transition: 0.3s;
}

.header-menu a:hover {
    color: var(--accent);
}

/* Бургер-меню стилі */
.burger-btn {
    display: none;
    cursor: pointer;
    position: relative;
    z-index: 50;
}

.burger-icon {
    width: 30px;
    height: 20px;
    position: relative;
    transition: 0.3s all;
}

.burger-icon span {
    width: 100%;
    height: 3px;
    background-color: var(--accent);
    position: absolute;
    left: 0;
    transition: 0.3s all;
}

.burger-icon span:nth-child(1) {
    top: 0;
}

.burger-icon span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.burger-icon span:nth-child(3) {
    bottom: 0;
}

/* Анімація для перетворення на хрестик */
.burger-icon.active span:nth-child(1) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

.burger-icon.active span:nth-child(2) {
    opacity: 0;
}

.burger-icon.active span:nth-child(3) {
    bottom: 50%;
    transform: translateY(50%) rotate(-45deg);
}

/* Медіа-запит для мобільних пристроїв */
@media (max-width: 600px) {
    body.lock {
        overflow: hidden;
    }

    .burger-btn {
        display: block;
    }

    .header-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 80px 20px 30px;
        transition: 0.5s all;
        z-index: 5;
    }

    .header-menu.active {
        right: 0;
    }

    .header-menu a {
        font-size: 22px;
        margin-bottom: 20px;
    }

    .header-btn {
        margin-left: auto;
    }

    .header-logo img {
        width: 200px;
    }
}

/* Hero */

.hero-section {
    background: url(/assets/img/Photo1.jpeg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    position: relative;
    z-index: 0;
}

.hero-section::before {
    position: absolute;
    content: "";
    z-index: 1;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    opacity: 0.5;
    background-color: var(--black);
}

.hero__container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 30px;
    align-items: center;
    position: relative;
    z-index: 2;
}


.hero-img-block,
.hero-text-block {
    flex: 1;
}

.hero-text-block {
    color: var(--white);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.hero-text-block h1 {
    font-size: 50px;
}

.hero-text-block h2 {
    font-size: 25px;
}

.hero-img-block img {
    width: 100%;
    border-radius: 20px;
    border: 1px solid var(--accent);
}

@media (max-width: 600px) {
    .hero__container {
        flex-direction: column;
    }
}

/* Skip */


.skip__container {
    display: flex;
    flex-direction: row;
    gap: 30px;
    justify-content: space-evenly;
}

.skip-block {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

.skip-block img {
    width: 80px;
}

.skip-block p {
    font-size: 25px;
}

@media (max-width: 600px) {
    .skip__container {
        flex-direction: column;
    }
}

/* Game */

.game-heading__container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 50px;
}

.game-heading__container h2 {
    font-size: 25px;
}

.game-heading__container a {
    color: var(--black);
    transition: 0.3s;
}

.game-heading__container a:hover {
    color: var(--accent);
}

.game__container {
    display: flex;
    flex-direction: row;
    gap: 30px;
    justify-content: space-between;
}

.game__container img {
    width: 100%;
    border-radius: 20px;
}

@media (max-width: 600px) {

    .game-heading__container h2 {
        font-size: 20px;
    }

    .game__container {
        flex-direction: column;
        padding: 0 20px;
    }
}

/* Heading */

.heading__container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 30px;
}

.heading__container h2 {
    font-size: 25px;
}

/* Join */

.join__container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding: 0 30px;
}

.join-block {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.join-block h3 {
    font-size: 19px;
}

/* Rewiews */

.rewiews__container {
    display: flex;
    flex-direction: row;
    gap: 30px;
    padding: 0 30px;
}

.rewiews-block {
    padding: 20px;
    border-radius: 20px;
    border: 1px solid var(--accent);
}

@media (max-width: 600px) {
    .rewiews__container {
        flex-direction: column;
    }
}

/* Link */

.link-section {
    background: url(/assets/img/Photo1.jpeg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: scroll;
    position: relative;
    z-index: 0;
}

.link-section::before {
    position: absolute;
    content: "";
    z-index: 1;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    opacity: 0.5;
    background-color: var(--black);
}

.link__container {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 20px;
    color: var(--white);
    position: relative;
    z-index: 2;
    align-items: center;
}

.link__container h2 {
    font-size: 35px;
}

.link__container p {
    font-size: 18px;
}

.link__container a {
    color: var(--white);
    transition: 0.3s;
    font-size: 18px;
    border-radius: 20px;
    border: 1px solid var(--white);
    width: fit-content;
    padding: 15px 20px;
}

.link__container a:hover {
    color: var(--accent);
    border: 1px solid var(--accent);
}

/* Footer */

.footer {
    background-color: #252525;
}

.footer__container {
    color: var(--white);
    padding-block: 50px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer__container h3 {
    font-size: 25px;
}

/* Hero page */

.hero-page-section {
    background: url(/assets/img/Photo1.jpeg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: scroll;
    position: relative;
    z-index: 0;
}

.hero-page-section::before {
    position: absolute;
    content: "";
    z-index: 1;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    opacity: 0.5;
    background-color: var(--black);
}

.hero-page__container {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 20px;
    color: var(--white);
    position: relative;
    z-index: 2;
    align-items: center;
}

.hero-page__container h1 {
    font-size: 35px;
}

.hero-page__container h2 {
    font-size: 16px;
    font-weight: 400;
}

.padding-game {
    padding: 15px 0;
}

@media (max-width: 600px) {
    .padding-game {
        padding: 15px 30px;
    }
}

/* Contact */


.contact__container {
    display: flex;
    flex-direction: row;
    gap: 30px;
    align-items: center;
    justify-content: space-between;
}

.contact-contant-block {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-contant-block h3 {
    font-size: 25px;
}

.contact-block {
    flex: 1;
}

.contact {
    font-size: 20px;
}

.contact-form__container {
    max-width: 90%;
    margin: 0 auto;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.contact-form__container h2 {
    margin-bottom: 20px;
    color: var(--black);
    text-align: center;
}

.contact-form__container label {
    display: block;
    margin-bottom: 5px;
}

.contact-form__container label {
    color: var(--black);
}

.contact-form__container input,
.contact-form__container textarea {
    width: 100%;
    padding: 8px;
    margin-bottom: 10px;
    border: 1px solid var(--accent);
    border-radius: 4px;
}

.contact-form__container button {
    width: 100%;
    padding: 10px;
    background-color: var(--accent);
    border: none;
    color: var(--white);
    border-radius: 4px;
    cursor: pointer;
    transition: 0.5s;
}

.contact-form__container button:hover {
    background-color: #000;
}

@media (max-width: 600px) {
    .contact__container {
        flex-direction: column;
    }
}

/* Politic */

.politic__container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}