*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
     /* border: #f1af06 solid 1px; */
}
@font-face {
    font-family: 'TT Rationalist Trl';
    src: url('font/TTRationalistTrl-Bold.eot');
    src: url('font/TTRationalistTrl-Bold.eot?#iefix') format('embedded-opentype'),
        url('font/TTRationalistTrl-Bold.woff2') format('woff2'),
        url('font/TTRationalistTrl-Bold.woff') format('woff'),
        url('font/TTRationalistTrl-Bold.ttf') format('truetype'),
        url('font/TTRationalistTrl-Bold.svg#TTRationalistTrl-Bold') format('svg');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'TT Rationalist Trl';
    src: url('font/TTRationalistTrl-Regular.eot');
    src: url('font/TTRationalistTrl-Regular.eot?#iefix') format('embedded-opentype'),
        url('font/TTRationalistTrl-Regular.woff2') format('woff2'),
        url('font/TTRationalistTrl-Regular.woff') format('woff'),
        url('font/TTRationalistTrl-Regular.ttf') format('truetype'),
        url('font/TTRationalistTrl-Regular.svg#TTRationalistTrl-Regular') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
.container{
    max-width: 1400px;
    margin: 0 auto;
}
html{
  scroll-behavior: smooth;
}
body{
font-family:'TT Rationalist Trl';
color: #003366;
background-color: #87AA9D;
font-size: 20px;
}
.heading{
    background-color: #F5F3EE;
    padding: 40px 0;
    background-image: url(img/dimm.gif);
    background-repeat: no-repeat;
    background-position: 50% 50%;
    height: 720px;
}
.menu{
    display: flex;
    align-items: center;
    justify-content: space-between;
}
a{
    text-decoration: none;
    color: #003366;
    font-size: 16px;
}
.phrase{
    font-size: 150px;
    padding-top: 94px;
    max-width: 1297px;
    line-height: 130px;
}
.run{
    padding-top: 30px;
    padding-left: 30px;
}
.run2{
    padding-top: 30px;
    padding-left: 60px;
}
.run3{
    padding-top: 30px;
    margin-left: 200px;
}

.description{
    background-color: #003366;
    padding-top: 112px ;
    padding-bottom: 20px;
}
.text-base{
    color: #E8E4D8;
    font-size: 24px;
    line-height: 35px;
    /* text-transform: uppercase; */
    max-width: 783px;
    margin: 0;
}

.features-fon{
    background-image:url(img/Volna.svg);
    background-repeat: no-repeat;
    background-position: 50% 0%;
}
.features{
    padding: 192px 0 86px;
    display: flex;
    justify-content: space-between;
    align-items: start;
}
.text-features{
    width: 345px;
    margin-right: 102px;
}
.title{
    font-size: 48px;
    font-weight: bold;
}
.services{
    width: 453px;
    margin-left: 102px;
}
.enum{
    padding: 20px;
    border-bottom: #003366 1px solid;
}
.events{
    background-color: #F5F3EE;
    padding: 68px 0 13px 0;
}


.poster{
    display: flex;
    justify-content: space-between;
    margin-top: 36px;
}
.column{
    display: inline;
    text-align:center;
    margin: 0;
}
.button button{
    margin-top: 20px;
    border: #87AA9D 1px solid;
    background-color: #87AA9D;
    border-radius: 20px;
    padding: 5px 25px;
    font-size: 24px;
    font-family:'TT Rationalist Trl';
    color: #003366;
}
.button button:hover {
        background-color: #003366;
        border-radius: 20px;
        border: 1px solid #003366;
        cursor: pointer;
        color: #F5F3EE
}

.way{
    background-image: url(img/BVolna.svg);
    background-repeat: no-repeat;
    background-position: 50% 0%;
    padding-top: 222px;
    position: relative;
}
.enumeration-all{
    padding: 70px 0 12px;
}
.line{
    display: flex;
    justify-content: space-between;
    border-bottom: 3px solid rgb(245, 243, 238, 0.3);
    padding: 35px 20px;
}
.line-none{
    display: flex;
    justify-content: space-between;
    padding: 35px 20px;
}
.cell{
    margin: 0;
    width: 296px;
}


.ticket{
    background-image: url(img/bilet.svg);
    background-repeat: no-repeat;
    background-position: center;
    height: 700px;
   display: flex;
    align-items: center;
    justify-content: center;
}
.bilet{
    width: 1206px;
}
.form-bilet{
display: flex;
align-items: center;
}

.formm{
    padding-left: 166px;
}

.formm input.error {
    border-bottom: #FFA68C solid 3px;
}

.formm input{
    font-size: 36px;
    font-family:'TT Rationalist Trl';
    color: #003366;
    background-color: #F5F3EE;
    border: none;
    border-bottom: #E8E4D8 solid 3px;
    width: 480px;
    padding: 18px 0;

    
}

.button-ticket {
        margin-right: 72px;
        border: #87AA9D 1px solid;
        background-color: #87AA9D;
        border-radius: 20px;
        padding: 144px 29px;
        font-size: 36px;
        font-family:'TT Rationalist Trl';
        color: #003366;
        max-width: calc(100% / 3);
        align-items: center;
}
.button-ticket:hover {
            background-color: #003366;
            border-radius: 20px;
            border: 1px solid #003366;
            cursor: pointer;
            color: #F5F3EE
    }  


.information-fon{
    background-color: #003366;
    height: 356px;
    color: #F5F3EE;
}
.information{
    display: flex;
    justify-content: space-between;
    align-items: center;  
    padding-top: 103px;
}
.name{
    font-size: 36px;
    text-transform: uppercase;
}
.ph-ad{
    font-size: 20px;
}


.popup.active{
    display: flex;
}
.popup{
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    justify-content: center;
    align-items: center;
}

.popup-content{
    background: #F5F3EE;
    padding: 40px;
    border-radius: 30px;
    width: 600px;
    position: relative;
    color: #003366;
}

.close {
    position: absolute;
    top:10px;
    right:20px;
    font-size: 40px;
    cursor: pointer;
    background: none;
    border: none;
    color: #003366;
}

.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 69px;
    height: 89px;
    color: #F5F3EE;
    font-size: 40px;
    background: transparent url('img/top.svg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    border: none;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 999;
    
}

.back-to-top.visible {
    opacity: 1;
}

.form {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 20px;
}

.form input{
    font-size: 26px;
    font-family:'TT Rationalist Trl';
    color: #003366;
    background-color: #F5F3EE;
    border: #87AA9D solid 2px;
    border-radius: 10px;
    padding: 10px 0 10px 20px;
    width: 400px;
    
}
.eventModal{
    font-size: 16px;
    font-family:'TT Rationalist Trl';
    color: #003366;
    background-color: #87AA9D;
    border: #87AA9D solid 1px;
    border-radius: 10px;
    padding: 10px;   
}

.text-thank{
    font-size: 40px;
    color: #003366;  
}

.cloud-wrapper {
    position: relative;
    display: inline-block;
}

.run-bubble {
    position: absolute;
    bottom: 100%;
    left: 60%;
    opacity: 0;
    transition: opacity 0.3s;
    background-color: #FFA68C;
    color: #F5F3EE;
    padding: 15px 25px;
    border-radius: 10px;
    font-size: 16px;
    white-space: nowrap;
    z-index: 1000;
}
.run-bubble::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 20%;
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid #FFA68C;
}

.modified{
 position: absolute;
    bottom: 100%;
    left: 10%;
}

.way-clouds {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}
.cloud {
    position: absolute;
    background-image: url('img/Wcloud.svg');
    background-repeat: no-repeat;
    background-size: contain;
    z-index: -1;
}

.cloud1 {
    width: 187px;
    height: 85px;
    top: 25%;
    animation: floatCloud 25s linear infinite;
}

.cloud2 {
    width: 297px;
    height: 135px;
    top: 50%;
    animation: floatCloud 35s ease-out infinite reverse;
}

.cloud3 {
    width: 95px;
    height: 43px;
    top: 82%;
    animation: floatCloud 15s linear infinite;
}
.cloud4 {
    width: 95px;
    height: 43px;
    top: 90%;
    animation: floatCloud 20s linear infinite reverse;
}

@keyframes floatCloud {
    0% {
        transform: translateX(-150px);}
    100% {transform: translateX(calc(100vw + 150px));}
}

/* присоединяйтесь */
.club{
    background-color: #F5F3EE;
    background-image: url(img/CVolna.svg);
    background-repeat: no-repeat;
    background-position: 50% 0%;
    padding-top: 230px;
    padding-bottom: 150px;
}
.club-content {
    display: flex;
    justify-content: space-between;
    padding-top: 36px;
    align-items: end;
}
.club-text{
    max-width: 750px;
}

.club-a{
padding-right: 80px;
text-align: center;
position: relative;
}

.club-features {
   padding-top: 50px;
}

.feature {
    padding: 20px 0;
    border-bottom: 1px solid #003366;
}
.end{ 
   border: none;
   padding-bottom: 0;
}

.join-club {
    border: #87AA9D 1px solid;
    background-color: #87AA9D;
    border-radius: 20px;
    padding: 5px 100px;
    font-size: 24px;
    font-family: 'TT Rationalist Trl';
    color: #003366;
    cursor: pointer;
    position: relative;
    z-index: 2;
}

.join-club:hover {
    background-color: #003366;
    color: #F5F3EE;
}

.club-a img {
    animation: jumpOverLink 4s infinite ease-in-out;
    position: relative;
    z-index: 1;
}

@keyframes jumpOverLink {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-70px) rotate(-5deg);
    }
    50% {
        transform: translateY(0) rotate(0deg);
    }
    75% {
        transform: translateY(-65px) rotate(5deg);
    }
}


