/* Указываем box sizing */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Убираем внутренние отступы */
ul[class],
ol[class] {
  padding: 0;
}
a {
  text-decoration: none;
  cursor: pointer;
}

/* Убираем внешние отступы */
body,
h1,
h2,
h3,
h4,
p,
ul[class],
ol[class],
li,
figure,
figcaption,
blockquote,
dl,
dd {
  margin: 0;
}

/* Выставляем основные настройки по-умолчанию для body */
body {
  min-height: 100vh;
  scroll-behavior: smooth;
  text-rendering: optimizeSpeed;
  line-height: 1.5;
}

/* Удаляем стандартную стилизацию для всех ul и il, у которых есть атрибут class*/
ul[class],
ol[class] {
  list-style: none;
}

/* Элементы a, у которых нет класса, сбрасываем до дефолтных стилей */
a:not([class]) {
  text-decoration-skip-ink: auto;
}

/* Упрощаем работу с изображениями */
img {
  max-width: 100%;
  display: block;
}

/* Указываем понятную периодичность в потоке данных у article*/
article > * + * {
  margin-top: 1em;
}

/* Наследуем шрифты для инпутов и кнопок */
input,
button,
textarea,
select {
  font: inherit;
}

/* Удаляем все анимации и переходы для людей, которые предпочитай их не использовать */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

.container {
  padding: 0 15px;
}

@media (min-width: 575.98px) {
  .container {
    max-width: 540px;
    margin: auto;
    padding: 0;
  }
}

@media (min-width: 767.98px) {
  .container {
    max-width: 720px;
  }
}

@media (min-width: 991.98px) {
  .container {
    max-width: 960px;
  }
}

@media (min-width: 1199.98px) {
  .container {
    max-width: 1140px;
  }
}

body{
    background: url('../img/main-bg.png') no-repeat center;
    background-size: cover;
}

.logo-links{
  display: flex;
}

.logo-links a{
  padding: 10px;
  background-color: #18171F;
  margin-right: 10px;
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
  transition: 0.5s;
}

.logo-links a:hover{
  transform: scale(1.2);
}

.menu {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.menu a:hover{
    text-decoration: none;
}

header .menu .main-menu a{
  font-family: Roboto;
  font-style: normal;
  font-weight: 500;
  font-size: 16px;
  line-height: 150%;
  text-align: right;
  text-transform: uppercase;
  color: #FFFFFF;
  margin-right: 100px;
  transition: 0.5s;
  position: relative;
}

header .menu .main-menu a::before{
  content: "";
  position: absolute;
  width: 0;
  transition: 0.5s;
  height: 2px;
  bottom: -10px;
  background-color: #EA0042;
}

header .menu .main-menu a:hover{
  transition: 0.5s;
  color: #EA0042;
}

header .menu .main-menu a:hover::before{
  transition: 0.5s;
  width: 100%;
}

.main {
  display: flex;
}

.main .left-main {
  width: 50%;
  padding-top: 130px;
}

.main .right-main{
  width: 50%;
  padding-top: 80px;
}

.main .left-main h1{
  font-family: 'Museo Sans Cyrl 900';
  font-style: normal;
  font-weight: bold;
  font-size: 73px;
  line-height: 100px;
  text-transform: uppercase;
  background: url('../img/text-bg.png') repeat-y;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    -webkit-animation: aitf 80s linear infinite;
    -webkit-transform: translate3d(0,0,0);
    -webkit-backface-visibility: hidden;
}

@-webkit-keyframes aitf {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}

.main .left-main h2{
  font-family: 'Museo Sans Cyrl 900';
  font-style: normal;
  font-weight: bold;
  font-size: 52px;
  line-height: 70px;
  text-transform: uppercase;
  background: url('../img/text-bg.png') repeat-y;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    -webkit-animation: aitf 80s linear infinite;
    -webkit-transform: translate3d(0,0,0);
    -webkit-backface-visibility: hidden;
  
}

.main .left-main .subtitle{
  font-family: 'Museo Sans Cyrl 900';
  font-style: normal;
  font-weight: bold;
  font-size: 65px;
  line-height: 90px;
  text-transform: uppercase;
  color: #E61B41;
  display: flex;
}

.main .left-main span{
  display: block;
  font-family: 'Museo Sans Cyrl 300';
  font-style: normal;
  font-weight: 600;
  font-size: 35px;
  line-height: 40px;
  color: #FFFFFF;
  margin: 30px 0;
}


.main .main-right img{
  margin: 0 auto;
}

header{
  background: url(../img/header-bg.png) no-repeat right top;
  background-size: contain;
  padding-bottom: 100px;
}

.rulles {
  margin-top: 50px;
}

.rulles h2{
  font-family: 'Museo Sans Cyrl 900';
  font-style: normal;
  font-weight: bold;
  font-size: 65px;
  line-height: 80px;
  color: #FFFFFF;
}

.steps{
  display: flex;
  justify-content: space-between;
  position: relative;
  margin-top: 30px;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 33%;
}

.step h6{
  font-family: 'Museo Sans Cyrl 900';
  font-style: normal;
  font-weight: bold;
  font-size: 26px;
  line-height: 80px;
  text-align: center;
  color: #FFDE00;
  margin: 10px 0;
}

.step:nth-child(3) .main-step span, .step:nth-child(5) .main-step span
 {
  font-size: 24px;
  line-height: 32px;
}

.main-step{
  background: url('../img/step-bg.png') no-repeat center;
  background-size: cover;
  padding: 20px 50px 20px 50px;
  border-radius: 10px;
  margin:20px;
  height: 230px;
  box-shadow: 0px 10px 15px 0px #000000;
  transition: 0.5s;
}

.main-step:hover{
  transition: 0.5s;
  transform: scale(1.1);
  border-radius: 0;
  box-shadow: 0px 10px 15px 0px #2c2c2c;
}

.main-step span{
  font-family: 'Museo Sans Cyrl 900';
  font-style: normal;
  font-weight: bold;
  font-size: 16px;
  line-height: 22px;
  color: #FFFFFF;
  position: relative;
}

.main-step span::before{
  content: '';
  position: absolute;
  width: 2px;
  height: 95%;
  background-color: #FFDE00;
  left: -15px;
  top: 3px;
}

.steps .step .main-step a{
  display: block;
  font-family: 'Museo Sans Cyrl 300';
  font-style: normal;
  font-weight: 600;
  font-size: 18px;
  line-height: 35px;
  text-align: center;
  color: #FFFFFF;
  background: #E61B41;
  box-shadow: 0px 10px 25px rgba(164, 0, 31, 0.1);
  border-radius: 5px;
  padding: 8px;
  margin: 30px auto 0;
}

.dash-line{
  position: absolute;
  left: 230px;
  top: 50px;
}

.line-2{
  left: 610px;
}

.all-rulles{
font-family: 'Museo Sans Cyrl 300';
font-style: normal;
font-weight: 600;
font-size: 20px;
line-height: 35px;
text-align: center;
text-decoration-line: underline;
color: #FFFFFF;
transition: 0.5s;
display: block;
margin: 40px auto;
}

.all-rulles:hover{
  transition: 0.5s;
  color: #E61B41;
}

.second-block-rulles {
  display: flex;
  margin-top: 30px;
}

.second-block-rulles .left{
  width: 40%;
  padding-top: 50px;
} 

.second-block-rulles .right{
  width: 60%;
  padding: 40px;
}

.second-block-rulles .left .text {
  font-family: 'Museo Sans Cyrl 300';
  font-style: normal;
  font-weight: normal;
  font-size: 16px;
  line-height: 24px;
  color: #FFFFFF;
  padding-left: 20px;
  position: relative;
}

.second-block-rulles .left .text::before{
  content: '';
  position: absolute;
  left: 0;
  top: 5px;
  width: 2px;
  height: 98%;
  background-color: #FFDE00;
}

.second-block-rulles .left .text p, .third-block-rulles .right .text p{
  margin: 12px 0;
}

.second-block-rulles .left .text p:first-child{
  background: url(../img/text-bg.png) repeat-y;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    -webkit-animation: aitf 80s linear infinite;
    -webkit-transform: translate3d(0,0,0);
    -webkit-backface-visibility: hidden;
    font-weight: bold;
    font-family: 'Museo Sans Cyrl 300';
    font-style: normal;
    font-size: 18px;
    line-height: 23px;
    color: #FFFFFF;
}
.third-block-rulles{
  display: flex;
}

.third-block-rulles .left {
padding: 0 50px;
  width: 60%;
}

.third-block-rulles .left img{
  margin: 0 auto;
}
.third-block-rulles .right {
  width: 40%;
  margin-top: 100px;
}

.third-block-rulles .right .text {
font-family: 'Museo Sans Cyrl 300';
font-style: normal;
font-size: 20px;
line-height: 28px;
color: #FFFFFF;
position: relative;
padding-left: 20px;
margin-top: 30px;
}

.third-block-rulles .right .text::before{
  content: '';
  position: absolute;
  left: 0;
  top: 5px;
  width: 2px;
  height: 98%;
  background-color: #E61B41;
}

.third-block-rulles .right .text span{
  font-weight: 600;
  background: url('../img/text-bg.png') repeat-y;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    -webkit-animation: aitf 80s linear infinite;
    -webkit-transform: translate3d(0,0,0);
    -webkit-backface-visibility: hidden;
}

.faq{
  margin-top: 100px;
}

.faq h2{
  font-family: 'Museo Sans Cyrl 900';
  font-style: normal;
  font-weight: bold;
  font-size: 65px;
  line-height: 80px;
  color: #FFFFFF;
}

.question{
  background: url('../img/question.png') no-repeat center;
  background-size: cover;
  border-radius: 10px;
  margin: 20px 0;
  padding: 20px 60px 20px 20px;
}

.question .number {
font-family: 'Museo Sans Cyrl 300';
font-style: normal;
font-weight: normal;
font-size: 16px;
line-height: 22px;
color: #FFFFFF;
position: relative;
padding-left: 10px;
}

.question .number::before{
  content: '';
  width: 2px;
  height: 14px;
    top: 3px;
  left: 3px;
  background-color: rgba(255, 255, 255, 0.5);
  position: absolute;
}

.question .answer{
  font-family: 'Museo Sans Cyrl 300';
  font-style: normal;
  font-weight: normal;
  font-size: 16px;
  line-height: 22px;
  color: #FFFFFF;
  position: relative;
  padding-left: 30px;
  margin-top: 20px;
}

.question .answer::before{
  content: '';
  width: 2px;
  height: 90%;
  top: 4px;
  left: 20px;
  background-color: rgba(255, 255, 255, 0.5);
  position: absolute;
}

.question .answer a{
  color: #E61B41;
}

.question .answer a:hover{
  color: #EA0042;
}

.question .symbol{
    display: block;
    width: 50px;
    height: 50px;
    background-color: #E61B41;
    position: absolute;
    z-index: 1;
    right: -50px;
    top: 50%;
    transform: translateY(-50%) ;
    cursor: pointer;
    transition: 0.5s;
}

.question .symbol:hover{
  transition: 0.5s;
  transform: scale(0.8) translateY(-64%);
  border-radius: 15px;
}

.question .collapsed .symbol::before{
  content: '+';
  font-size: 50px;
  position: absolute;
  left: 50%;
  top: 45%;
  transform: translate(-50%, -50%);
}

.question  .symbol::before{
  content: '-';
  font-size: 50px;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

footer{
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  margin-top: 80px;
}

.main-footer{
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-link {
  display: flex;
}

.footer-link a{
  margin-left: 10px;
  transition: 0.5s;
}

.footer-link a:hover{
  transition: 0.5s;
  transform: scale(1.1);
}

@media (max-width: 1199.98px) {
  .main .left-main h1{
    font-size: 60px;
  }

  .main .left-main .subtitle{
    font-size: 50px;
  }

  .main-step{
    height: 260px;
  }

  .step:nth-child(5) .main-step span{
    font-size: 18px;
  }
  .dash-line {
    position: absolute;
    left: 210px;
    top: 50px;
    width: 200px;
  }

  .line-2 {
    left: 525px;
  }

  .second-block-rulles .right{
    margin-top: 70px;
  }
}

@media (max-width: 991.98px) {
  header .menu .main-menu a{
    margin-right: 30px;
  }
  .main .left-main{
    width: 100%;
    padding-top: 50px;
  }
  .main .right-main{
    width: 100%;
  }
  .main{
    flex-wrap: wrap;
  }
  .dash-line{
    display: none;
  }
  .steps{
    flex-wrap:wrap;
  }
  .step{
    width: 100%;
  }
  .main-step {
    height: inherit;
    width: 100%;
  }
  .step:nth-child(3) .main-step span, .step:nth-child(5) .main-step span{
    font-size: 18px;
  }
  .steps .step .main-step a{
    max-width: 240px;
  }
  .rulles h2{
    text-align: center;
  }
  .second-block-rulles{
    flex-wrap: wrap;
  }
  .second-block-rulles .right, .second-block-rulles .left{
    width: 100%;
  }
  .second-block-rulles .right{
    margin-top: 0;
  }
  .second-block-rulles .left img{
    margin:  0 auto;
  }
  .third-block-rulles{
    flex-wrap: wrap;
    flex-direction: column-reverse;
  }
  .third-block-rulles .right, .third-block-rulles .left{
    width: 100%;
  }
  .third-block-rulles .right{
    margin-top: 10px;
  }
  .third-block-rulles .left{
    margin-top: 10px;
  }
  .faq h2{
    text-align: center;
  }
  .step h6{
    margin: 0 auto;
  }
}

@media (max-width: 767.98px) {
  .main .left-main h2{
    text-align: center;
  }
  .main .left-main h1{
    text-align: center;
  }
  .main .left-main span{
    text-align: center;
  }
  .main .left-main .subtitle{
    justify-content: center;
  }
  .menu {
    flex-direction: column;
  }
  header .menu .main-menu a {
    margin-right: 0;
  }

  .logo-links{
    justify-content: space-between;
    margin-bottom: 20px;
  }

  .logo-links a{
    margin: 0;
  }

  .main-menu{
    width: 100%;
    display: flex;
    justify-content: space-around;
  }
  header{
    background: none;
  }
}

@media (max-width: 575.98px) {
  .main .left-main h2 {
    font-size: 36px;
  }
  .main .left-main h1 {
    font-size: 46px;
    line-height: 50px;
  }
  .main .left-main span{
    margin: 20px 0;
  }

  .main .left-main .subtitle {
    font-size: 30px;
  }

  .main .left-main .subtitle svg{
    width: 60px;
  }
  .rulles h2{
    font-size: 30px;
  }
  .third-block-rulles .left {
    margin-top: 20px;
  }
  .faq h2 {
    font-size: 40px;
    line-height: 50px;
  }   
  .step h6{
    line-height: 45px;
  }
}