@font-face {
    font-family: 'montserrat';
    src: url("../fonts/Montserrat-Regular.ttf");
}

@font-face {
    font-family: "DM Serif Display";
    src: url("../fonts/DMSerifDisplay-Regular.ttf");
}



html {
    box-sizing: border-box;
}

*,
*::before,
*::after {
    box-sizing: inherit;
}

p,
h1,
h2,
h3,
h4,
h5,
h6,
ul {
    margin: 0;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
}

body {
    font-family: 'montserrat';
    background: #0e458f;
}

#confirmButton {
    border-radius: 30px;
    background: #1C2065;
    border: none;
    color: #fff;
    font-size: 18px;
    padding: 10px;
    width: 200px;
    cursor: pointer;
    transition: 0.4s;
}


#confirmButton:hover {
    background-color: #7F3FA7;
    color: #fff;
    transition: 0.4s;
}


.body__container {
    max-width: 1240px;
    margin: 0 auto;
}

.endlessfunnyland_header__fixed {
    position: fixed;
    z-index: 10000;
    width: 100%;
    background: #0b3875;
    top: 0px;
    left: 0;
}

.endlessfunnyland_header__nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1240px;
    margin: 0 auto;
    padding-top: 16px;
    padding-bottom: 16px;
}

.endlessfunnyland_header {
    background: url('../img/bg__img.webp') no-repeat center;
    background-size: cover;
}

.endlessfunnyland_header__box {
    padding-top: 160px;

    padding-bottom: 0px;
}

.header__link__logo {
    display: flex;
    align-items: center;
}

.endlessfunnyland_header__links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.endlessfunnyland_header__burger {
    display: none;
}

.endlessfunnyland_header__link {
    color: #FFF;
    font-size: 18px;
    text-transform: capitalize;
    font-weight: 500;
    transition: 0.4s;
}

.endlessfunnyland_header__link:hover {
    transition: 0.4s;
    opacity: 0.5;
}

.header__link_pay {
    display: flex;
    padding: 10px 30px;
    justify-content: center;
    align-items: center;
    border-radius: 20px;
    background: #FFF;
    color: #000;
    font-size: 16px;
    font-style: normal;
    font-weight: 800;
}

.header__link_log {
    display: flex;
    padding: 10px 20px;
    justify-content: center;
    align-items: center;
    border-radius: 20px;
    border: 1px solid #FFF;
    font-weight: 800;
}

.endlessfunnyland_header__block {
    max-width: 637px;
}

.endlessfunnyland_header__wrap {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding-bottom: 50px;
}

.endlessfunnyland_header__title {
    color: #FFF;
    font-family: "DM Serif Display";
    font-size: 48px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    margin-bottom: 20px;
}

.endlessfunnyland_header__play {
    display: flex;
    justify-content: center;
    width: 219px;
    padding: 16px 20px;
    border-radius: 50px;
    background: #BE0043;
    text-transform: capitalize;
    color: #FFF;
    text-align: center;
    font-size: 18px;
    font-weight: 800;
    line-height: 120%;
    transition: 0.4s;
}

.endlessfunnyland_header__play:hover {
    transition: 0.4s;
    background: #FFF;
    color: #000;
}

.endlessfunnyland_header__subtitle {
    color: #FFF;
    font-size: 16px;
    font-weight: 400;
    line-height: normal;
    margin-bottom: 20px;
}

.endlessfunnyland_header__left {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}


.endlessfunnyland_header__img:nth-child(1) {
    position: absolute;
    z-index: -1;
}

.endlessfunnyland_header__img:nth-child(2) {
    z-index: 2;
}

.endlessfunnyland_icons {
    padding-top: 40px;
    padding-bottom: 40px;
}

.endlessfunnyland_icons__items {
    display: flex;
    justify-content: space-between;
}

.endlessfunnyland_icons__item {
    display: flex;
    padding: 10px 20px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 50px;
    border: 1px solid #FFF;
}

.endlessfunnyland_icons__text {
    color: #FFF;
    font-size: 25.616px;
    font-weight: 700;
    line-height: normal;
}



.endlessfunnyland__about__items {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 486px;
    padding-top: 40px;
    padding-bottom: 40px;
}

.about__items{
    padding-top: 0;
    padding-bottom: 0;
}

.endlessfunnyland__about__item {
    display: flex;
    padding: 10px 20px;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    border-radius: 50px;
    border: 1px solid #FFF;
    width: 100%;
    margin-bottom: 25px;
}

.endlessfunnyland__about__contents {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
}

.endlessfunnyland__about__text {
    color: #FFF;
    font-size: 25.616px;
    font-weight: 700;
    line-height: normal;
}


.endlessfunnyland__about {
    padding-top: 50px;
    padding-bottom: 50px;
}

.endlessfunnyland__about__title {
    color: #FFF;
    text-align: center;
    font-family: "DM Serif Display";
    font-size: 48px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    margin-bottom: 10px;
}

.endlessfunnyland__about__subtitle {
    color: #FFF;
    font-size: 14px;
    font-weight: 500;
    line-height: normal;
}

.endlessfunnyland__about__wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.endlessfunnyland__about__link {
    padding: 10px 0px;
    border-radius: 50px;
    background: #BE0043;
    width: 149px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #FFF;
    text-align: center;
    font-size: 18px;
    font-weight: 800;
    line-height: normal;
    transition: 0.4s;
}

.endlessfunnyland__about__link:hover {
    transition: 0.4s;
    background: #FFF;
    color: #000;
}


.endlessfunnyland_history__title {
    color: #FFF;
    font-size: 36px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 30px;
}

.endlessfunnyland_history__subtitle {
    color: #FFF;
    font-size: 20px;
    font-weight: 400;
    line-height: 100%;
    margin-bottom: 20px;
}

.endlessfunnyland_history {
    margin-bottom: 100px;
}


.endlessfunnyland_advantages__wrap {
    padding: 40px 20px;
    border-radius: 10px;
    background: linear-gradient(180deg, #1C4351 0%, #51AFD1 100%);
    box-shadow: 0px 6px 20px 0px rgba(0, 0, 0, 0.25);
}

.endlessfunnyland_advantages__item {
    width: 100%;
    max-width: 590px;
    padding: 20px;
    border-radius: 10px;
    background: #FFF;
}

.endlessfunnyland_advantages__head {
    color: #6E6E68;
    font-size: 24px;
    font-weight: 600;
    line-height: 100%;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.endlessfunnyland_advantages__text {
    color: #6E6E68;
    font-size: 20px;
    font-weight: 500;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.endlessfunnyland_advantages__text:last-child {
    margin-bottom: 0;
}

.endlessfunnyland_advantages__wrapper {
    display: flex;
    justify-content: space-between;
}

.endlessfunnyland_advantages__items {
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: center;
    width: 100%;
}

.endlessfunnyland_advantages__images {
    max-width: 590px;
    width: 100%;
}

.red__text {
    color: #EF4483;
}

.endlessfunnyland_advantages {
    margin-bottom: 100px;
}

.endlessfunnyland_advantages__title {
    color: #FFF;
    font-size: 36px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 30px;
}

.endlessfunnyland_comparison__wrap {
    padding: 40px 20px;
    border-radius: 10px;
    background: linear-gradient(180deg, #1C4351 0%, #51AFD1 100%);
    box-shadow: 0px 6px 20px 0px rgba(0, 0, 0, 0.25);
}

.endlessfunnyland_comparison__title {
    margin-bottom: 30px;
    color: #FFF;
    font-size: 36px;
    font-weight: 700;
    text-transform: uppercase;
}

.endlessfunnyland_comparison__subtitle {
    margin-bottom: 20px;
    color: #FFF;
    font-size: 20px;
    font-weight: 400;
    line-height: 100%;
}

.endlessfunnyland_comparison {
    margin-bottom: 100px;
}

.endlessfunnyland__item {
    max-width: 400px;
    width: 100%;
}

.endlessfunnyland__play {
    padding-top: 75px;
    padding-bottom: 75px;
    background-size: cover;
}

.endlessfunnyland__title {
    color: #FFF;
    font-family: "DM Serif Display";
    text-align: center;
    font-size: 48px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    margin-bottom: 60px;
}

.endlessfunnyland__img {
    margin-bottom: 20px;
    border-radius: 15px;
}

.endlessfunnyland__items {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.endlessfunnyland__content {
    max-width: 300px;
    min-height: 115px;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.endlessfunnyland__name {
    color: #FFF;

    font-size: 24px;
    font-style: normal;
    font-weight: 800;
    line-height: normal;
    margin-bottom: 15px;
}

.endlessfunnyland__link {
    padding: 10px 0px;
    border-radius: 50px;
    background: #BE0043;
    width: 149px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #FFF;
    text-align: center;
    font-size: 18px;
    font-weight: 800;
    line-height: normal;
    transition: 0.4s;
}

.endlessfunnyland__link:hover {
    transition: 0.4s;
    background: #FFF;
    color: #000;
}

.endlessfunnyland__leaders {
    background: url("../img/leaders.jpg") no-repeat center;
    background-size: cover;
    padding-top: 50px;
    padding-bottom: 50px;
}

.endlessfunnyland__leaders__title {
    color: #FFF;
    text-align: center;
    font-family: "DM Serif Display";
    font-size: 48px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    margin-bottom: 10px;
}

.endlessfunnyland__leaders__head {
    color: #BE0043;
    text-align: center;
    font-family: "DM Serif Display";
    font-size: 28px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    margin-bottom: 10px;
}

.endlessfunnyland__leaders__link {
    padding: 10px 0px;
    border-radius: 50px;
    background: #BE0043;
    width: 149px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #FFF;
    text-align: center;
    font-size: 18px;
    font-weight: 800;
    line-height: normal;
    transition: 0.4s;
    margin: 0 auto;
    margin-bottom: 60px;
}

.endlessfunnyland__leaders__link:hover {
    transition: 0.4s;
    background: #FFF;
    color: #000;
}

.endlessfunnyland__leaders__wrap {
    gap: 41px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 13px 27px;
    border-radius: 71.009px;
    border: 1px solid #FFF;
    background: #0b3875;
    box-shadow: 0px 3.55px 3.55px 0px rgba(0, 0, 0, 0.40) inset;
    margin-bottom: 40px;
}

.endlessfunnyland__leaders__left {
    display: flex;
    align-items: center;
    gap: 41px;
}

.endlessfunnyland__leaders__ava {}

.endlessfunnyland__leaders__text {
    color: #FFF;
    font-family: "DM Serif Display";
    font-size: 30px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.endlessfunnyland__leaders__center {
    max-width: 827px;
    width: 100%;
}

.endlessfunnyland__leaders__line {
    height: 15px;
    border-radius: 44.381px;
    background: #EEC523;
}

.leaders__line_1 {
    width: 100%;
}

.leaders__line_2 {
    width: 80%;
}

.leaders__line_3 {
    width: 60%;
}

.endlessfunnyland__leaders__number {
    color: #FFF;
    font-family: "DM Serif Display";
    font-size: 30px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}


.endlessfunnyland_testimonials {
    background: #0e458f;
    padding-top: 50px;
    padding-bottom: 50px;
}

.endlessfunnyland_testimonials__title {
    color: #FFF;
    text-align: center;
    font-family: "DM Serif Display";
    font-size: 48px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    margin-bottom: 60px;
}

.endlessfunnyland_testimonials__items {
    display: flex;
    justify-content: space-between;
}

.endlessfunnyland_testimonials__item {
    border: 1px solid #FFF;
    padding: 50px 30px;
    min-height: 490px;
    max-width: 335px;
}

.endlessfunnyland_testimonials__stars {
    margin-bottom: 20px;
}

.endlessfunnyland_testimonials__text {
    color: #FFF;
    font-size: 20px;
    font-weight: 400;
    line-height: normal;
    margin-bottom: 20px;
}

.endlessfunnyland_testimonials__head {
    color: #FFF;
    font-family: "DM Serif Display";
    font-size: 30px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}


.endlessfunnyland_footer {
    background: #0b3875;
    padding-top: 70px;
    padding-bottom: 70px;
}

.endlessfunnyland_footer__wrap {
    display: flex;
    justify-content: space-between;
}

.endlessfunnyland_footer__left {
    max-width: 921px;
    width: 100%;
}

.endlessfunnyland_footer__sup {
    color: #FFF;
    font-size: 14px;
    font-weight: 400;
    line-height: normal;
}

.endlessfunnyland_footer__right {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 98px;
    max-width: 231px;
    width: 100%;
}

.endlessfunnyland_footer__title {
    color: #FFF;
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 16px;
}

.endlessfunnyland_footer__text {
    color: #FFF;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    margin-bottom: 15px;
}

.endlessfunnyland_footer__nav {
    display: flex;
    gap: 44px;
    padding-top: 25px;
}

.endlessfunnyland_footer__link {
    color: #FFF;
    font-size: 18px;
    text-decoration-line: underline;
    font-weight: 500;
    transition: 0.4s;
}

.endlessfunnyland_footer__link:hover {
    text-decoration-line: none;
    opacity: 0.5;
    transition: 0.4s;
}

.endlessfunnyland_footer__info {
    color: #FFF;
    font-size: 16px;
    font-weight: 400;
}

.endlessfunnyland_about {
    
    padding-bottom: 100px;
}

.endlessfunnyland_about__wrap {
    display: flex;
    width: 100%;
    justify-content: flex-end;
}

.endlessfunnyland_about__content {
    max-width: 483px;
}

.endlessfunnyland_about__title {
    color: #FFF;
    font-size: 48px;

    font-weight: 800;
    line-height: normal;
    margin-bottom: 20px;
}

.endlessfunnyland_about__text {
    color: #FFF;
    font-size: 18px;
    font-weight: 500;
    line-height: normal;
    margin-bottom: 15px;
}


.endlessfunnyland_contact {
    padding-top: 100px;
    padding-bottom: 100px;
    background: url("../img/contact.webp") no-repeat center;
    background-size: cover;
}

.contact_log{
    background: #111113;
}

.endlessfunnyland_contact__wrapper{
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.endlessfunnyland_contact__wrap{
    max-width: 600px;
    width: 100%;
    margin: 0 auto;
}

.contact__wrap{
    margin: 0;
}

.endlessfunnyland_contact__title {
    color: #FFF;

    font-family: "DM Serif Display";
    font-size: 48px;
    font-style: normal;
    font-weight: 400;
    line-height: 100%; /* 48px */
    letter-spacing: -0.48px;
    margin-bottom: 40px;
}

.endlessfunnyland___form {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    max-width: 600px;
    width: 100%;
    margin: 0 auto;
}

.endlessfunnyland_contact__label {
    color: #FFF;
    font-size: 16px;
    font-weight: 600;
    line-height: normal;
    margin-bottom: 5px;
}

.endlessfunnyland___input {
    height: 47px;
    padding: 15px 10px 15px 20px;
    border-radius: 50px;
    border: 1px solid #FFF;
    background: #131313;
    width: 100%;
    font-size: 16px;
    color: #FFF;
    font-weight: 400;
    margin-bottom: 20px;
}

.endlessfunnyland___message {
    height: 80px;
    padding: 15px 10px 15px 20px;
    border-radius: 50px;
    border: 1px solid #FFF;
    background: #131313;
    width: 100%;
    font-size: 16px;
    color: #FFF;
    font-weight: 400;
    margin-bottom: 20px;
}

.endlessfunnyland___btn {
    width: 100%;
    display: flex;
    padding: 15px 20px;
    justify-content: center;
    align-items: center;
    border-radius: 50px;
    background: #BE0043;
    color: #FFF;
    border: none;
    cursor: pointer;
    font-size: 14px;
    font-style: normal;
    font-weight: 800;
    line-height: 100%;
    letter-spacing: -0.14px;
    text-transform: capitalize;
    transition: 0.4s;
}

.endlessfunnyland___btn:hover {
    background: #FFF;
    color: #AC2FFF;
    transition: 0.4s;
}

.modal {
    display: none;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.8);
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;

}

.modal__title {
    margin: 0;
    margin-bottom: 10px;
    color: #fff;
    font-family: "DM Serif Display";
    font-size: 30px;
    font-weight: 600;
    letter-spacing: 0.1px;
    text-transform: uppercase;
    text-align: center;
}

.modal__subtitle {
    margin: 0;
    margin-bottom: 10px;
    color: #fff;
    text-align: center;
    font-size: 18px;
    font-weight: 400;
    letter-spacing: 0.2px;
}

.modal__btn {
    display: flex;
    padding: 10px 50px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    align-self: stretch;
    border: none;
    border-radius: 30px;
    background: #BE0043;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.4s;
}

.modal__btn:hover {
    background: #FF8235;
    color: #fff;
    transition: 0.4s;
}

.modal__content {
    position: relative;
    top: 0%;
    border-radius: 30px;
    background: rgba(0, 0, 0, 0.70);
    box-shadow: 12px -1px 30px 0px rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12.5px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 30px 60px;
    max-width: 680px;
}

.modal__close {
    position: absolute;
    top: 0;
    right: 10px;
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
}


.modal__close:hover,
.modal__close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.cookie-popup.hidden {
    display: none;
}

.popupcookie {
    display: flex;
    justify-content: flex-end;
    position: fixed;
    right: 0;
    bottom: 0;
    z-index: 100;
    width: 100%;
}


.popupcookie__content {
    position: relative;
    top: 20%;
    right: 0;
    max-width: 640px;
    border-radius: 50px;
    background: rgba(0, 0, 0, 0.70);
    padding: 20px;
    height: auto;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: space-around;
    align-items: flex-end;
    gap: 20px;
}

.popupcookie__close:hover,
.popupcookie__close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.popupcookie__title {
    color: #fff;
    margin: 0;
    margin-bottom: 10px;
    font-family: "DM Serif Display";
    font-size: 30px;
    font-weight: 800;
    letter-spacing: 0.1px;
    width: 100%;
    text-transform: uppercase;
}

.popupcookie__subtitle {
    color: #FFF;
    font-size: 15px;
    font-weight: 400;
    letter-spacing: 0.2px;
}

.popupcookie__btn {
    border: none;
    display: flex;
    padding: 10px 40px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    width: 100%;
    border-radius: 20px;
    background: #BE0043;
    color: #fff;
    font-size: 17px;
    font-weight: 800;
    letter-spacing: 0.2px;
    cursor: pointer;
}

.popupcookie__button {
    display: flex;
    padding: 10px 40px;
    justify-content: center;
    align-items: center;
    width: 100%;
    gap: 10px;
    flex: 1 0 0;
    border-radius: 20px;
    border: 1px solid #FFF;
    background: #060606;
    color: #fff;
    font-size: 17px;
    font-weight: 800;
    letter-spacing: 0.2px;
    cursor: pointer;
    transition: 0.4s;
}

.popupcookie__button:hover {
    background: #22272B;
    color: #fff;
    transition: 0.4s;
}

.popupcookie__btns {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
    width: 100%;
}

.popupcookie__btn:hover {
    background: #22272B;
    color: #fff;
    transition: 0.4s;
}


.header__hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    border: 0;
    clip: rect(0 0 0 0);
}


.info__title,
.content__title {
    color: #fff;
    font-size: 21px;
    font-style: normal;
    font-weight: 800;
    margin: 0;
    margin-bottom: 16px;

}

.info__head,
.terms__subtitle {
    margin: 0;
    color: #fff;
    font-size: 19px;
    font-style: normal;
    font-weight: 600;
    margin-bottom: 16px;
}

.info__text,
.terms__text {
    margin: 0;
    color: #fff;
    font-size: 15px;
    font-style: normal;
    font-weight: 400;
    margin-bottom: 16px;
}

.desc__top {
    padding-top: 140px;
    padding-bottom: 50px;
}

.header__img_mob {
    display: none;
}

.popup {
    display: none;
    justify-content: center;
    align-items: center;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
}

.popup__box {
    border-radius: 10px;
    border: 1px solid #A992C8;
    background: linear-gradient(180deg, #1C4351 0%, #51AFD1 100%);
    margin: 15% auto;
    padding: 15px;
    border-radius: 20px;
    width: 90%;
    height: auto;
    box-sizing: border-box;
}

.popup__game {
    width: 100%;
    height: 400px;
}

.popup__iframe {
    width: 100%;
    height: 100%;
}

.popup__title {
    margin: 0;
    letter-spacing: 0.1px;
    text-align: left;
    margin-bottom: 9px;
    color: #FFF;
    font-size: 36px;
    font-weight: 700;
    margin-right: 10px;
}

.popup__name {
    margin: 0;
    letter-spacing: 0.1px;
    text-align: left;
    margin-bottom: 9px;
    color: #000;
    font-size: 15px;
    font-weight: 700;
}

.popup__content {
    display: flex;
    align-items: center;
}

.popup__close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.popup__close:hover,
.popup__close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.endlessfunnyland_demo {
    padding-top: 100px;
    padding-bottom: 100px;
}

.endlessfunnyland_demo__title {
    color: #FFF;
    text-align: center;
    font-size: 50px;
    font-weight: 700;
    line-height: 100%;
    text-transform: uppercase;
    margin-bottom: 30px;
}

.endlessfunnyland_demo__wrapper {
    border: 1px solid #363636;
}

.endlessfunnyland_demo__wrapper {
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding-top: 615px;
}

.endlessfunnyland_demo__iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.endlessfunnyland_demo {
    margin-bottom: 0px;
}


.active__block {
    display: flex;
}


@media (max-width: 1260px) {
    .body__container {
        max-width: 100%;
        padding-left: 20px;
        padding-right: 20px;
    }

    .endlessfunnyland_header__fixed {
        max-width: 100%;
        padding-left: 20px;
        padding-right: 20px;
    }

    .endlessfunnyland_header__wrap {
        gap: 0;
        position: relative;
    }

    .endlessfunnyland_header__left {
        position: absolute;
        right: 0;
        max-width: 250px;
    }

    .endlessfunnyland_header__links {
        display: none;
    }

    .endlessfunnyland_header__burger {
        display: block;
        cursor: pointer;
        flex-direction: column;
        width: 22px;
        height: 22px;
    }

    /* Эффект перекрестия */
    .endlessfunnyland_header__burger.active_menu .bar:nth-child(1) {
        transform: rotate(45deg);
        transform-origin: 1px;
    }

    .endlessfunnyland_header__burger.active_menu .bar:nth-child(2) {
        opacity: 0;
        /* Скрыть вторую палочку */
    }

    .endlessfunnyland_header__burger.active_menu .bar:nth-child(3) {
        transform: rotate(-45deg);
        transform-origin: 5px;
    }

    .endlessfunnyland_header__line {
        height: 2px;
        background-color: #fff;
        margin: 4px 0;
        transition: all 0.3s ease;
    }

    .menu {
        display: none;
        align-items: center;
        flex-wrap: wrap;
        gap: 30px;
        background: rgba(0, 0, 0, 0.60);
        padding-left: 26px;
        padding-right: 26px;
        padding-top: 20px;
        padding-bottom: 20px;
        position: absolute;
        top: 50px;
        left: 0;
        width: 100%;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        border-radius: 0;
        justify-content: flex-start;
        align-items: center;
        max-width: 1240px;
        margin: 0 auto;
        padding-top: 20px;
        padding-bottom: 20px;
        background: #060606;
        padding: 20px;
    }

    .menu.active {
        display: flex;
    }

    .header__img_mob {
        display: block;
        margin: 0 auto;
        margin-bottom: 10px;
    }

    .header__img_desc {
        display: none;
    }

    .endlessfunnyland_header__block {
        max-width: 100%;
        z-index: 10;
    }

    .endlessfunnyland_advantages__wrapper {
        flex-direction: column;
        gap: 20px;
    }

    .endlessfunnyland_advantages__item {
        max-width: 100%;
    }

    .endlessfunnyland_advantages__images {
        display: flex;
        max-width: 100%;
        justify-content: center;
        width: 100%;
        align-items: center;
    }

    .endlessfunnyland_footer__wrap {
        flex-direction: column;
        gap: 41px;
    }

    .endlessfunnyland_footer__right {
        gap: 20px;
        order: 1;
    }

    .endlessfunnyland_footer__nav {
        flex-wrap: wrap;
    }

    .endlessfunnyland_about__content {
        max-width: 100%;
    }

    .endlessfunnyland_about {
        background-image: url("../img/about.webp");
        background-color: rgba(0, 0, 0, 0.5);
        background-blend-mode: multiply;
    }

    .endlessfunnyland_header {
        background-image: none;
    }

    .endlessfunnyland_header__box {
        background-image: none;
        background-color: rgba(0, 0, 0, 0.5);
        background-blend-mode: multiply;
    }

    .endlessfunnyland_icons__items {
        flex-wrap: wrap;
        gap: 20px;
        justify-content: center;
    }

    .endlessfunnyland_testimonials__items {
        justify-content: center;
        flex-wrap: wrap;
        gap: 20px;
    }


    .endlessfunnyland__leaders__left {
        max-width: 170px;
        width: 100%;
    }


    .endlessfunnyland__about__wrap {
        flex-direction: column;
    }

    .endlessfunnyland__about__items {
        max-width: 100%;
    }

    .endlessfunnyland_contact__wrapper{
        flex-direction: column;
        gap: 70px;
    }

    .endlessfunnyland_contact__wrap{
        max-width: 100%;
    }

    .endlessfunnyland___form{
        max-width: 100%;
    }

}


@media (max-width: 991px) {


    .endlessfunnyland_footer__wrap {
        flex-direction: column;
    }

    .endlessfunnyland_footer__left {
        flex-direction: column;
    }

    .endlessfunnyland_footer__text {
        max-width: 100%;
    }


}

@media (max-width: 575px) {
    .body__container {
        padding-left: 10px;
        padding-right: 10px;
    }

    .endlessfunnyland_header__fixed {
        padding-left: 10px;
        padding-right: 10px;
    }

    .endlessfunnyland_header__title {
        font-size: 28px;
        margin-bottom: 11px;
    }

    .endlessfunnyland_header__subtitle {
        font-size: 14px;
        margin-bottom: 11px;
        max-width: 250px;
    }

    .endlessfunnyland_header__play {
        font-size: 16px;
    }

    .endlessfunnyland_history__title {
        font-size: 20px;
        margin-bottom: 20px;
    }

    .endlessfunnyland_history__subtitle {
        font-size: 16px;
        margin-bottom: 10px;
    }

    .endlessfunnyland_advantages__wrap {
        padding: 20px 10px;
    }

    .endlessfunnyland_advantages__list {
        padding-left: 20px;
    }


    .endlessfunnyland_advantages__title {
        font-size: 20px;
        margin-bottom: 20px;
    }

    .endlessfunnyland_advantages__text {
        font-size: 16px;
    }

    .endlessfunnyland_comparison__wrap {
        padding: 20px 10px;
    }


    .endlessfunnyland_comparison__title {
        font-size: 20px;
        margin-bottom: 20px;
    }

    .endlessfunnyland_comparison__subtitle {
        font-size: 16px;
    }

    .endlessfunnyland_footer__title {
        font-size: 20px;
        margin-bottom: 10px;
    }

    .endlessfunnyland_footer__text {
        font-size: 14px;
        margin-bottom: 10px;
    }

    .endlessfunnyland_footer__link {
        font-size: 18px;
    }

    .endlessfunnyland_footer__info {
        font-size: 14px;
    }

    .endlessfunnyland_history {
        margin-bottom: 30px;
    }

    .endlessfunnyland_advantages {
        margin-bottom: 30px;
    }

    .endlessfunnyland_comparison {
        margin-bottom: 30px;
    }

    .endlessfunnyland_demo__title {
        font-size: 30px;
        margin-bottom: 20px;
    }


    .popupcookie__title {
        font-size: 20px;
    }

    .popupcookie__subtitle {
        font-size: 12px;
    }

    .modal__title {
        font-size: 20px;
    }

    .modal__subtitle {
        font-size: 12px;
    }

    .modal__btn {
        padding: 10px;
        font-size: 14px;
    }

    .endlessfunnyland_advantages__head {
        font-size: 18px;
    }

    .endlessfunnyland_demo__wrapper {
        padding-top: 536px;
    }

    .endlessfunnyland_header__play {
        max-width: 100%;
        padding: 10px 50px;
        font-size: 14px;
    }

    .endlessfunnyland_header {
        padding-top: 0px;
    }

    .endlessfunnyland_footer {
        padding-top: 20px;
        padding-bottom: 20px;
    }

    .endlessfunnyland_header__box {
        padding-top: 60px;
    }

    .endlessfunnyland_header__wrap {
        padding-top: 0px;
        padding-bottom: 40px;
    }

    .endlessfunnyland_header__logo {
        max-width: 160px;
    }

   

    .endlessfunnyland__title {
        font-size: 30px;
        text-align: center;
        margin-bottom: 40px;
    }

    .endlessfunnyland__item {
        max-width: 260px;
    }

    .endlessfunnyland__name {
        font-size: 20px;
        text-align: center;
    }

    .endlessfunnyland_footer__nav {
        flex-direction: column;
        gap: 4px;
    }

    .endlessfunnyland__link {
        font-size: 16px;
        margin: 0 auto;
    }

    .endlessfunnyland__content {
        min-height: auto;
    }

    .endlessfunnyland_about__content {
        max-width: 100%;
    }

    .endlessfunnyland_about__title {
        font-size: 30px;
        margin-bottom: 11px;
    }

    .endlessfunnyland_about__text {
        font-size: 14px;
        margin-bottom: 10px;
    }

    .endlessfunnyland_about {
        padding-top: 40px;
        padding-bottom: 157px;
    }

    .endlessfunnyland_icons {
        padding-top: 0;
        padding-bottom: 0;
    }


    .desc__top {
        padding-top: 140px;
        padding-bottom: 50px;
    }

    .endlessfunnyland_contact__title {
        font-size: 30px;
        margin-bottom: 20px;
    }

    .endlessfunnyland_contact__label {
        font-size: 14px;
    }

    .endlessfunnyland_contact {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .endlessfunnyland_demo {
        padding-top: 60px;
        padding-bottom: 60px;
    }

    .endlessfunnyland_header__left {
        top: 50%;
        right: 0%;
        transform: translate(0%, -50%);
        max-width: 160px;
    }

    .endlessfunnyland_icons__text {
        font-size: 16px;
    }

    .endlessfunnyland_icons__item {
        max-width: 250px;
        width: 100%;
    }

    .endlessfunnyland__leaders__ava {
        max-width: 50px;
    }

    .endlessfunnyland__leaders__text {
        font-size: 18px;
    }

    .endlessfunnyland__leaders__left {
        gap: 10px;
    }

    .endlessfunnyland__leaders__number {
        font-size: 18px;
    }

    .endlessfunnyland__leaders__wrap {
        gap: 10px;
    }

    .endlessfunnyland__leaders__wrap {
        margin-bottom: 20px;
    }

    .endlessfunnyland__leaders__title {
        font-size: 30px;
    }

    .endlessfunnyland__leaders__head {
        font-size: 22px;
    }

    .endlessfunnyland_testimonials__title {
        font-size: 28px;
    }

    .endlessfunnyland_testimonials__text {
        font-size: 14px;
    }

    .endlessfunnyland_testimonials__head {
        font-size: 28px;
    }

    .endlessfunnyland_testimonials__item {
        min-height: auto;
    }

    .endlessfunnyland_testimonials__items {
        gap: 60px;
    }

    .endlessfunnyland__about {
        padding-top: 30px;
        padding-bottom: 30px;
    }

    .endlessfunnyland__about__title {
        font-size: 30px;
    }

    .endlessfunnyland__about__text {
        font-size: 14px;
    }

    .endlessfunnyland__about__link {
        width: auto;
        padding: 10px;
        font-size: 14px;
    }



    .endlessfunnyland__title{
        font-family: 'Montserrat-bold';
        color: #FFF;
        font-size: 48px;
        font-weight: 800;
        margin-bottom: 20px;
    }

    .endlessfunnyland__items{
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 20px;
    }

    .endlessfunnyland__item{
        max-width: 206px;
    }

    .cookie-popup.hidden {
        display: none;
    }

    .popupcookie {
        display: flex;
        justify-content: flex-end;
        position: fixed;
        right: 0;
        bottom: 0;
        z-index: 100;
        width: 100%;
    }


    .popupcookie__content {
        position: relative;
        top: 20%;
        right: 0;
        max-width: 540px;
        border-radius: 30px;
        background: rgba(0, 0, 0, 0.70);
        padding: 20px;
        height: auto;
        display: flex;
        flex-wrap: wrap;
        flex-direction: row;
        justify-content: space-around;
        align-items: flex-end;
        gap: 20px;
    }

    .popupcookie__close:hover,
    .popupcookie__close:focus {
        color: black;
        text-decoration: none;
        cursor: pointer;
    }

    .popupcookie__title{
        color: #fff;
        margin: 0;
        margin-bottom: 10px;
        font-size: 30px;
        font-weight: 800;
        letter-spacing: 0.1px;
        text-align: center;
        width: 100%;
        text-align: center;
        text-transform: uppercase;
    }

    .popupcookie__subtitle{
        color: #FFF;
        font-size: 15px;
        font-weight: 400;
        letter-spacing: 0.2px;
        text-align: center;
    }

    .popupcookie__btn{
        border: none;
        display: flex;
        padding: 10px 40px;
        justify-content: center;
        align-items: center;
        gap: 10px;
        width: 100%;
        border-radius: 30px;
        background: #AC2FFF;
        color: #fff;
        font-size: 17px;
        font-weight: 800;
        letter-spacing: 0.2px;
        cursor: pointer;
    }

    .popupcookie__button{
        display: flex;
        padding: 10px 40px;
        justify-content: center;
        align-items: center;
        width: 100%;
        gap: 10px;
        flex: 1 0 0;
        border-radius: 30px;
        border: 1px solid #FFF;
        background: #060606;
        color: #fff;
        font-size: 17px;
        font-weight: 800;
        letter-spacing: 0.2px;
        cursor: pointer;
        transition: 0.4s;
    }

    .popupcookie__button:hover{
        background: #22272B;
        color: #fff;
        transition: 0.4s;
    }

    .popupcookie__btns{
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
        justify-content: flex-end;
        gap: 10px;
        width: 100%;
    }

    .popupcookie__btn:hover{
        background: #22272B;
        color: #fff;
        transition: 0.4s;
    }
}