﻿@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@100..900&display=swap');
@import url("reset.css");

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}
.to-top {
	background: linear-gradient(92.53deg, #2A1A5E 4.78%, #2A1A5E 95.01%);
	position: fixed;
	bottom: 16px;
	right: 32px;
	width: 50px;
	height: 50px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 16px;
	color: #1f1f1f;
	text-decoration: none;
	opacity: 0;
	pointer-events: none;
	transition: all .4s;
	z-index: 5;
}
.to-top__arrow {
	transition: all 0.6s ease 0s;
	color: white;
	padding: 7px;
}

.to-top__arrow:hover {
	transform: translate(0, -15px);
	transition: all 0.6s ease 0s;
}

.to-top.active {
	bottom: 32px;
	pointer-events: auto;
	opacity: 70%;
	color: #eee;
}
body {
    font-family: "Montserrat", sans-serif;
    font-size: 18px;
}
a {
    text-decoration: none;
    color: #fff;
}
.container {
    max-width: 1300px;
    margin: 0 auto;
}
.heading {
    font-size: 45px;
    font-weight: 700;
}
/*Перша секція*/
.header {
    background-color: #2A1A5E;
    color: #fff;
}
.nav {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 50px 0;
}
.menu {
    display: flex;
    gap: 45px;
}
.menu > li > a:hover {
    color: #F24080;
    transition: all 0.3s ease;
}
.btn {
    display: block;
    text-align: center;
    width: 270px;
    background-color: #F24080;
    padding: 20px 0;
    border-radius: 50px;
    transition: all 0.3s ease;
}
.btn:hover {
    background-color: #961040;
    transition: all 0.3s ease;
}
.dialog_container {
    position: absolute;
    left: 50%;
    top: -30%;
    transform: translateX(-50%) translateY(-50%);
    width: 600px;
    background: #fff;
    padding: 10px;
    border: 2px solid #ddd;
    box-shadow: 1px 1px 5px 1px #ccc;
    border-radius: 15px;
    opacity: 0;
    z-index: 100;
    transition: all 0.3s linear 0s;
}
.dialog_header {
    padding: 20px;
    font-weight: bold;
    background: #2A1A5E;
    color: #f6f7f8;
}
.dialog_body {
    padding: 15px;
    line-height: 30px;
    color: #2A1A5E;
}
.dialog_footer {
    text-align: center;
    background: #f5f5f2;
    padding: 10px 20px;
}
.dialog_footer a {
    display: inline-block;
    width: 150px;
    padding: 10px 15px;
    border: 1px solid #ccc;
    border-radius: 100px;
    background:#F24080;
    cursor: pointer;
}
.dialog_footer a:hover {
    color: #fff;
    background-color: #961040;
}
.offer {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding-top: 25px;
 }
.offer_text {
    position: relative;
    z-index: 99;
}
.circle {
    position: absolute;
    width: 242px;
    height: 240px;
    left: 460px;
    top: -80px;
    background-image: url("../assets/circle.png");
    z-index: -2;
}
.dottet_circle {
    position: absolute;
    width: 242px;
    height: 225px;
    left: 505px;
    top: -30px;
    background-image: url("../assets/dotted-circle.png");
    z-index: -3;
}
.offer_text span {
    font-size: clamp(0.88rem, calc(0.49rem + 1.94vw), 2.81rem);
    font-weight: 900;
    letter-spacing: 0.04em;	
}
.offer_text span::before {
    content: url("../assets/vawe.png");
    display: block;
    position: absolute; 
    top: -70px;
    left: 0;
    width: 230px;
}
.offer_text h1 {
    font-size: clamp(1.44rem, calc(0.91rem + 2.63vw), 4.06rem);
    text-transform: uppercase;
    color: #EEFF2C;
    font-weight: 900;
    line-height: 1.35em;
    letter-spacing: 0.06em;
}
.offer_text p {
    font-size: 18px;
    padding-top: 30px;
    padding-bottom: 90px;
    width: 586px;
    line-height: 1.35em;
}
.offer_hero img {
    /* background-image: url(../assets/hero5.png);
    background-repeat: no-repeat;
    background-position: top center;
    background-size: cover; */
    object-fit: cover;
    width: 565px;
    height: 645px;
}

/*Друга секція*/
.offer_box {
    display: flex;
    justify-content: space-around;
    margin-top: 90px;
}
.right_box h2 {
    text-align: center;
}
.right_box,
.left_box {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.left_text,
.right_text {
    padding: 45px 25px;
    line-height: 1.55em;
    text-align: justify;
}
.left_text {
    padding-bottom: 0;
}
.left_text ul,
.right_text ul {
    margin-left: 25px;
}
.left_text ul > li,
.right_text ul > li {
    list-style-type: none;
}
.left_text ul > li::before,
.right_text ul > li::before {
    font-family: fontawesome;
    content: "\f00c";
    color: #F24080;
    font-size: 12px;
    padding-right: 10px;
}
.left_text blockquote {
    margin-top: 20px;
    margin-bottom: 40px;
}
.motto {
	font-weight:700;
}
/*Третя секція*/
.tornament {
    padding-top: 90px;
}
.tornament_items {
    padding-top: 90px;
    display: flex;
    justify-content: space-between;
}
.item {
    border:#909090 1px dotted;
    width: 410px;
    border-radius: 25px;
    text-align: center;
    padding: 15px 10px;
}
.item h3 {
    font-size: 23px;
    font-weight: 700;
    padding-top: 50px;
    padding-bottom: 25px;
    line-height: 1.25em;
}
.item p {
    font-size: 18px;
    color: #F24080;
    width: 374px;
    line-height: 1.30em;
}
.tornament .btn {
    margin: 0 auto;
    margin-top: 100px;
    margin-bottom: 100px;
}
/*Умови проведення*/
.ymovu {
    margin-top: 90px;
    margin-bottom: 90px;
    background-image: url(../assets/background.jpg);
    background-repeat: no-repeat;
    background-position: top center;
    background-size: cover;
    padding: 115px 0;    
}
.ymovu h2 {
    position: relative;
    width: 470px;
    color:#fff;
    line-height: 1.20em;
}
.ymovu_items {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin-top: 30px;
}
.ymovu_text {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 55%;
}
.ymovu_text p {
    color:#fff;
    font-size:18px;
    line-height: 1.35em;
}
.ymovu_text ul > li {
    color: #fff;
    line-height: 1.35em;
}
.ymovu_text ul > li::before {
    font-family: fontawesome;
    content: '\f00c';
    color: #F24080;
    font-size: 12px;
    padding-right: 10px;
}
.ymovu h2::before {
    content: url("../assets/vawe.png");
    display: block;
    position: absolute; 
    top: -45px;
    left: 0;
}
.ymovu_price {
    display: flex;
    justify-content: space-between;
    width: 45%;
}
.price {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    width: 185px;
    background-color: #fff;
    border-radius: 15px;
    text-align: center;
    padding: 0 15px;
    font-size: 30px;
    font-weight: 700;
    height: 223px;
}
.price p {
    margin-bottom: 10px;
    font-size: 25px;
}
.price .fake {
    color: #fff;
}
.price h3 {
    margin-bottom: 10px;
}
.price h4 {
    color: #F24080;
    font-size: 30px;
}
.btn_ymovu {
    margin: 0 auto;
    margin-top: 100px;
}

/*Четверта секція*/
.faq {
    position: relative;
}
.faq h2 {
    text-align: center;
    padding-bottom: 90px;
}
.faq h2::before {
    content: url("../assets/vawe.png");
    display: block;
    position: absolute; 
    top: -45px;
    left: 41%;
    width: 230px;
}

/*Акордеон*/
.acor-container {
    max-width: 860px;
    margin: 0 auto;
    margin-bottom: 90px;
}
.acor-container .acor-body {
    margin: 0 auto;
    border-radius:15px;
    height: 0;
    color: rgba(0, 0, 0, 0);
    background-color: #dddbdb;
    line-height: 18px;
    padding: 0 30px;
    box-sizing: border-box;
    transition: color 0.5s, padding 0.5s;
    overflow: hidden;
    font-size: 16px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2), 0 10px 16px rgba(0,0,0,0.2);
}
.acor-container .acor-body p {
    margin: 0 0 10px;
}
.acor-container label {
    cursor: pointer;
    border-radius: 15px;
    background-color: #F0EEEE;
    display: block;
    padding: 20px 25px;
    width: 100%;
    color: #2A1A5E;
    font-weight: 300;
    box-sizing: border-box;
    z-index: 100;
    font-size: 27px;
    font-weight: 700;
    margin: 0 0 5px;
    transition: color .35s;
}
.acor-container label:hover {
    color: #F24080;
}
.acor-container input{
    display: none;
}
.acor-container label:before {
    font-family: fontawesome;
    content: '\f078';
    font-size: 20px;
    float: right;
}
.acor-container input:checked + label {
    background-color: #F0EEEE;
    color: #2A1A5E;
    box-shadow: 0 8px 26px rgba(0,0,0,0.4), 0 28px 30px rgba(0,0,0,0.3);
}
.acor-container input:checked + label:before {
    transition: transform .35s;
    transform: rotate(180deg);
}
.acor-container input:checked + label + .acor-body {
    height: auto;
    margin-top: -5px;
    color: #000;
    padding: 20px 30px 10px;
}
.faq .btn {
    margin: 0 auto;
    margin-bottom: 90px;
}
/*Підвал сайту*/
.footer {
    background-color: #2A1A5E;
    color: #fff;
    font-size: 18px;
    padding: 75px 0 20px 0;
}
.footer_list {
    display: flex;
    justify-content: space-around;
}
.footer_about {
    width: 335px;
}
.footer_about h4 {
    line-height: 1.45em;
    margin: 15px 0;
}
.footer_about .social a i {
    font-size: 25px;
    padding-right: 20px;
}
.footer_about .social a:hover {
    color:#F24080;
    transition: all 0.3s ease;
}
.footer_adress li,
.footer_info li {
    padding: 10px 0;
}
.copy {
    margin-top: 150px;
    text-align: center;
}

/*Адаптив*/
@media screen and (max-width:1300px) {
    .container {
        width: auto;
        margin-left: 50px;
        margin-right: 50px;
    }
    /* .offer_hero{
        object-fit: cover;
        width: 565px;
        height: 645px;
    } */
    .tornament_items {
        flex-wrap: wrap;
        gap: 25px;
    }
    .item {
        width: 100%;
        margin-right: 10px;
    }
    .item p {
        width: auto;
    }
    .item:last-child {
        margin-right: 0;
    }
    .left_box img,
    .right_box img {
        object-fit: cover;
        width: 580px;
    }
    .ymovu h2 {
        text-align: center;
        width: 100%;
    }
    .ymovu h2::before {
        left: 40%;
    }
    .ymovu_items {
        flex-direction: column;
        gap: 50px;
    }
    .ymovu_text {
        text-align: left;
        width: 100%;
    }
    .ymovu_price {
        width: 100%;
        justify-content: space-evenly;
    }

}
@media screen and (max-width:1250px) {
    .menu {
        display: flex;
        gap: 30px;
        font-size: 14px;
    }

    .offer_hero img {
        object-fit: cover;
        width: 100%;
        height: 100%;
    }
    .offer_box {
        flex-direction: column;
        align-items: center;
        gap: 25px;
    }  
    .right_box,
    .left_box {
        text-align: center;
    } 

    .right_box {
        order: -1;
    }
    .left_box .btn {
        margin: 0 auto;
    }
}
@media screen and (max-width:1070px) {
    .menu {
        display: none;
    }
    .offer {
        flex-direction: column;
        gap: 55px;
        padding-top: 150px;
    }
    .offer_text {
        width: 100%;
        text-align: center;
    }
    .offer_text p {
        width: 100%;
    }
    .offer .btn {
        margin: 0 auto;
    }
    .offer_text span::before {
        top: -50px;
        left: 31%;
    }  
    .footer {
        font-size: 15px;
    }    
}
@media screen and (max-width:1024px) {
   body {
    font-size: 16px;
   }
    .circle {
        left: 304px;
        top: -105px;
    }
    .dottet_circle {
        left: 380px;
        top: -70px;
    }
    .offer_text p {
        font-size: 18px;
    }
    .heading {
        text-align: center;
    }
    .tornament_items {
        flex-direction:column;
        align-items: center;
        gap:25px;
    }
    .item {
        margin-right: 0;
    }
    .item p {
        width: 100%;
    }
    
}
@media screen and (max-width: 980px) {

    .offer_text p {
        width: 700px;
        margin: 0 auto;
    }
    .btn {
        font-size: 14px;
    }
    .heading {
        font-size: 40px;
    }
    .acor-container label {
        font-size: 20px;
    }
    .footer_about,
    .footer_info,
    .footer_adress,
    .copy {
        font-size: 14px;
    }
}
@media screen and (max-width: 768px) {
    .offer_text p {
        width: auto;
    }
    .ymovu h2::before {
        left: 30%;
    }
    .ymovu_text p {
        font-size: 16px;
    }
    .ymovu_price {
        flex-direction: column;
        align-items: center;
        gap: 25px;
    }
    .faq h2::before {
        top: -40px;
        left: 34%;
    } 
    .footer_list {
        flex-wrap: wrap;
        gap: 25px;
        justify-content: flex-start;
    }

}

@media screen and (max-width:680px) {
    .dottet_circle {
        left: 350px;
    }
    .offer_hero img {
        display: none;
    }
    .heading {
        font-size: 35px;
    }
    .dialog_container {
        width: auto;
    }
    .left_box .left_img,
    .right_box .right_img {
        width: 450px;
    }
    .item h3 {
        font-size: 20px ;
    }
    .item p {
        font-size: 16px ;
    }
    .acor-container label {
        font-size: 18px;
    }
}
@media screen and (max-width:645px) {
    .circle {
        left: 215px;
    }
    .dottet_circle {
        left: 270px;
    }   
}
@media screen and (max-width:565px) {
    .nav {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }
    .nav .btn {
        width: 100%;
        margin: 0 auto;
    }
    .offer_text span::before {
        top: -50px;
        left: 20%;
    }
    .circle {
        left: 175px;
    }
    .dottet_circle {
        top:-40px;
        left: 205px;
    }
    .faq h2::before {
        left: 28%;
    }
    .acor-container label {
        font-size: 16px;
    }
}
@media screen and (max-width: 500px) {
    .heading {
        font-size: 30px;
    }
    .offer_text p {
        font-size: 16px;
    }
    .circle {
        left: 85px;
    }
    .dottet_circle {
        top:-40px;
        left: 130px;
    }
    /* .offer_hero {
        width: 455px;
    } */
    .left_box .left_img, 
    .right_box .right_img {
        width: 400px;
    }
    .ymovu h2::before {
        left: 15%;
    }
    .faq h2::before {
        left: 23%;
    }
}
@media screen and (max-width: 425px) {
    .offer_text p {
        font-size: 15px;
    }
    .offer_text span::before {
        left: 8%;
    }
    .circle {
        left: 60px;
    }
    .dottet_circle {
        top:-40px;
        left: 95px;
    }
    .heading {
        font-size: 27px;
    }
    .ymovu h2::before {
        left: 10%;
    }
    .faq h2::before {
        left: 20%;
    }
    .acor-container label {
        font-size: 14px;
    }
    .left_box .left_img, 
    .right_box .right_img {
        width: 370px;
    }
    /* .offer_hero {
        width: 400px;
    } */
}
@media screen and (max-width: 390px) {

    .offer_text p {
        font-size: 13px;
    }
    /* .offer_hero {
        width: 350px;
    } */
    .circle {
        left: 25px;
    }
    .dottet_circle {
        top:-40px;
        left: 60px;
    }
    .heading {
        font-size: 30px;
    }
    .offer_text span::before {
        top: -50px;
        left: 8%;
    }
    .heading {
        font-size: 25px;
    }
    .item h3 {
        font-size: 16px;
    }
    .item p {
        font-size: 13px;
    }
    .faq h2::before {
        left: 19%;
    }
    .btn {
        font-size: 12px;
    }
    .left_box .left_img, 
    .right_box .right_img {
        width: 320px;
    }

    .footer_about,
    .footer_info,
    .footer_adress,
    .copy {
        font-size: 12px;
    }
    .logo img,
    .footer_about img {
        width: 80px;
    }
}
@media screen and (max-width:355px) {
    .circle {
        left: -10px;
    }
    .dottet_circle {
        left: 25px;
    }

}
@media screen and (max-width: 320px) {
    .offer_text h1 {
        letter-spacing: 0;
    }
    .offer_text p {
        font-size: 12px;
    }
    .heading {
        font-size: 20px;
    }
    .offer_text .btn {
        width: 100%;
    }
    .faq h2::before {
        left: 14%;
    }
    .item img {
        width: 75px;
        height: auto;
    }
    .item h3 {
        font-size: 14px;
    }
    .item p {
        font-size: 11px;
    }
    .offer_text span::before {
        left: -2%;
    }
    .btn {
        width: 100%;
    }
    .ymovu h2::before {
        left: 0%;
    }
}