/* -Шалом- */
*{
	margin: 0;
	padding: 0;
	border: 0;
}


*,*:before, *after{
	-moz-box-sizing; border-box: 
	-webkit-box-sizing: border-box;
	-box-sizing:border-box;
}

:focus, :active{outline: none;}
a:focus, a:active{outline: none;}

nav,footer,header,aside{display: block;}

html,body{
	height: 100%;
	width: 100%;
	font-size: 100%;
	line-height: 1;
	font-size: 14px;
	-ms-text-size-adjust: 100%;
	-moz-text-size-adjust: 100%;
	-webcit-text-size-adjust: 100%;
}

input,button,textarea{font-family: inherit;}

input::-ms-clear{display: none; color: #c7c7c7;}
button{cursor: pointer;}
button::-moz-focus-inner{padding: 0; border: 0;}
a, a:visited{text-decoration: none;}
a:hover{text-decoration: none;}
ul li{list-style: none;}
img{vertical-align: top;}

textarea {
resize: none;
}

/* - Шрифты - */

@font-face {
    font-family: 'AvenirNextCyr';
    src:url('../fonts/avenirnextcyr-bold.woff2') format('woff2');
    font-weight: 600;
    line-height: 120%;
}

@font-face {
    font-family: 'AvenirNextCyr';
    src: url('../fonts/avenirnextcyr-medium.woff2') format('woff2');
    font-weight: 500;
    line-height: 120%;
    font-style: normal;
}

@font-face {
    font-family: 'AvenirNextCyr';
    src: url('../fonts/avenirnextcyr-regular.woff2') format('woff2');
    font-weight: 400;
    line-height: 120%;
    font-style: normal;
}


/* - end Шрифты - */


body{
font-family: 'AvenirNextCyr';
background: #010101;
color: #f8f8f8;
}


a{
color: #f8f8f8;
cursor: pointer;
transition: 1s all;    
}

a:hover{
opacity: 0.8;
transition: 1s all;   
}

h1, h2, h3, h4, h5, p{
font-weight: 400;
color: #f8f8f8;
line-height: 130%;
}

h1{
font-size: 44px;
font-weight: 600;
margin-bottom: 32px;
}

h2{
font-size: 36px;
font-weight: 600;
}

h3{
font-size: 24px;
}


h4{
font-size: 20px;
}

h5{
font-size: 14px;
}

p{
font-size: 16px; 
}

::-webkit-scrollbar{
    height: 4px;
    width: 9px;
}

::-webkit-scrollbar-track{
background: #f0f0f0;
border-radius: 0px;
}
::-webkit-scrollbar-track piece{
    background: #e3e3e3;
}

::-webkit-scrollbar-thumb{
    background: #686868;
    border-radius: 0px;
}

.container{
    width: 990px;
    margin: 0px auto;
    padding: 0px 15px;
    box-sizing: border-box;
    position: relative;
}

.head{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-top: 33px;
    padding-bottom: 33px;
    margin-bottom: 33px;
    border-bottom: 1px solid #292727;
}

.logo_row{
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.logo_row h4{
    font-size: 26px;
    font-weight: 600;
    color: #F8E800;
}

.logo_row span{
    color: #FF0025;
}

.logo_row h5{
    font-size: 16px;
    font-weight: 400;
}

.hbtn_row{
    display: flex;
    flex-direction: row;
}

.btn {
    width: 100%;
    min-width: 200px;
    height: 50px;
    border-radius: 7px;
    background: #F8E800;
    color: #010101;
    font-size: 18px;
    opacity: 1;
    transition: opacity 1s ease;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}

.btn:hover{
    opacity: 0.8;
    transition: opacity 1s ease;
}

.gr_btn{
    background: none;
    border: 1px solid #fff;
    opacity: 0.6;
    min-width: 160px;
    margin-right: 20px;
    color: #fff;
}

.btn_mob{
    display: none;
}

.intro_text h2{
    font-weight: 500;
}

.event_row{
    margin-top: 31px;
    display: flex;
    flex-wrap: wrap;
}

.event_activ{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid #a6e3ae;
    height: 260px;
    width: 260px;
    border-radius: 33px;
    margin-right: 44px;
    margin-bottom: 44px;
    cursor: pointer;
}

.ef{
    border: 1px solid #f8f8f8;
    cursor: no-drop;
}

.event_bg{
    width: 250px;
    height: 250px;
    border-radius: 31px;
    background-size: cover;
    box-sizing: border-box;
    padding: 16px;
    display: flex;
    flex-direction: column;
}

.down{
    justify-content: flex-end;
}

.event_bg h4{
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 7px;
}

.event_bg h5{
    font-size: 13px;
    font-weight: 400;
    opacity: 0.7;
}

.popup{
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: rgb(2 1 10 / 86%);
    top: 0;
    left: 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.8s ease 0s;
    z-index: 1;
}

.popup.active .popup_content{
    opacity: 1;
    transform: translate(0px, 0px);
}


.popup.active {
    opacity: 1;
    visibility: visible;
}

.popup_body {
    min-height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 10px;
    transition: all 0.8s ease 0s;
}

.popup_content {
    display: flex;
    flex-direction: column;
    background-color: #121212;
    color: #f8f8f8;
    width: 375px;
    height: 650px;
    padding: 20px;
    box-sizing: border-box;
    border-radius: 13px;
    position: relative;
    transition: all 0.8s ease 0s;
    opacity: 0;
    transform: translate(0px, -100%);
}

.popup_content svg{
    width: 30px;
    height: 30px;
    stroke: #4c4c4c;
    top: 20px;
    right: 20px;
    position: absolute;
    cursor: pointer;
}

.pos_bg{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.pop_bg{
    display: flex;
    flex-direction: column;
    width: 375px;
    height: 230px;
    background-size: cover;
    background-repeat: no-repeat;
    padding: 20px;
    box-sizing: border-box;
    margin: -20px;
}

.pop_bg h4{
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 7px;
}

.pop_bg h5{
    font-size: 13px;
    font-weight: 400;
    opacity: 0.7;
}

.pop_rules{
    display: flex;
    flex-direction: column;
    margin-top: 45px;
}

.pop_rules h4{
    font-size: 20px;
    margin-bottom: 25px;
    font-weight: 500;
}

.pop_rules h5{
    margin-bottom: 15px;
    opacity: 0.7;
}

.pop_rules .hbtn_row{
    margin-top: 20px;
}

.pop_rules .hbtn_row .btn{
    min-width: 100px;
    max-width: 180px;
}

.pop_rules .hbtn_row .gr_btn{
    min-width: 100px;
    width: 120px;
    margin-left: 25px;
    margin-right: 0px;
    font-size: 14px;
}

footer{
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    border-top: 1px solid #292727;
    padding-bottom: 50px;
    justify-content: space-between;
}

.ft_info{
    display: flex;
    flex-direction: column;
    margin-top: 35px;
}

.ft_info h3{
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 5px;
}

.ft_info h4{
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 20px;
}

.ft_info h5{
    opacity: 0.7;
    max-width: 240px;
}

.ft_info p{
    font-size: 13px;
    opacity: 0.7;
}

.ft_info a{
    font-size: 14px;
    max-width: 160px;
    opacity: 0.7;
    margin-bottom: 15px;
}

.ft_info a:hover{
    opacity: 1;
}

.ft_mess{
    display: flex;
    flex-direction: row;
    width: 50%;
    margin-top: 25px;
    margin-bottom: 10px;
}

.ft_mess .btn{
    width: 100px;
    min-width: 100px;
    height: 40px;
    font-size: 14px;
    margin-right: 15px;
    color: #f8f8f8;
}

.wh{
    background: #3a9f93;
}

.tg{
    background: #0088cc;
}

.mx{
    background: linear-gradient(88.21deg, #630eff 0.86%, #3a89fb 97.76%);
}

.ft_info .logo_row{
    margin-bottom: 20px;
}

.ft_info .logo_row h4{
    margin-bottom: 5px;
    font-weight: 600;
    font-size: 24px;
}

.rules_row{
    display: flex;
    flex-direction: column;
    margin: 35px 0px;
}

.rules_row h2{
    margin-bottom: 31px;
}

.rules_row h4{
    font-weight: 500;
    margin-bottom: 20px;
}

.rules_row p{
    opacity: 0.7;
    margin-bottom: 15px;
}

.rules_row b{
    font-weight: 500;
}



@media (max-width: 990px){

.container{
  width: 100%;
  padding: 0px 30px;
}


.hbtn_row .btn{
    display: none;
}

.hbtn_row .btn_mob{
    display: flex;
}

.pop_rules .hbtn_row {
    flex-direction: column;
}

.pop_rules .hbtn_row .btn {
    display: flex;
    width: 100%;
    max-width: 300px;
    height: 55px;
    margin: 0px;
    margin-top: 20px;
}


}

@media (max-width: 550px){

.container{
  width: 100%;
  padding: 0px 15px;
}

.event_activ{
    margin-right: 0px;
}

.hbtn_row .btn_mob {
    width: 150px;
    height: 50px;
    min-width: 150px;
}

.popup_body{
    padding: 0px;
    align-items: flex-start;
}

.popup_content{
    width: 100%;
    height: 100vh;                 
    padding: 50px 20px;
    overflow-y: auto;                   
    -webkit-overflow-scrolling: touch; 
    overscroll-behavior: contain;  
}

.pop_bg{
    width: 100%;
}

.ft_mess{
    flex-direction: column;
    width: 300px;
}

.ft_mess .btn{
    margin-bottom: 15px;
}

.event_row{
    justify-content: center;
}


}


}




}











































