/* Fonts */
@font-face {
  font-family: "ProximaNova";
  font-style: normal;
  font-weight: 300;
  src: local("ProximaNova-Light"), local("Proxima Nova Light"), url("../fonts/ProximaNova-Light.woff") format("woff");
}
@font-face {
  font-family: "ProximaNova";
  font-style: normal;
  font-weight: 400;
  src: local("ProximaNova-Regular"), local("Proxima Nova Regular"), url("../fonts/ProximaNova-Regular.woff") format("woff");
}
@font-face {
  font-family: "ProximaNova";
  font-style: normal;
  font-weight: 600;
  src: local("ProximaNova-Semibold"), local("Proxima Nova Semibold"), url("../fonts/ProximaNova-Semibold.woff") format("woff");
}
@font-face {
  font-family: "ProximaNova";
  font-style: normal;
  font-weight: 700;
  src: local("ProximaNova-Bold"), local("Proxima Nova Bold"), url("../fonts/ProximaNova-Bold.woff") format("woff");
}
/*  */
*,
*::before,
*::after {
  box-sizing: inherit;
}

html {
  box-sizing: border-box;
  background-color: white;
}

body {
  position: relative;
  margin: 0;
  font-family: "ProximaNova", "Arial", sans-serif;
  font-size: 24px;
  font-weight: 400;
  line-height: 32px;
  color: #000000;
}


ul {
  margin: 0;
  padding: 0;
  list-style-type: none;
}

a {
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  max-width: 1200px;
  width: 100%;
  padding: 0 10px;
  margin: 0 auto;
}

.visually-hidden:not(:focus):not(:active),
input[type=checkbox].visually-hidden,
input[type=radio].visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  border: 0;
  padding: 0;
  white-space: nowrap;
  clip-path: inset(100%);
  clip: rect(0 0 0 0);
  overflow: hidden;
}

.button-basic {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  font-size: 21px;
  line-height: 0;
  color: #000000;
  border-radius: 4px;
  transition: 0.2s;
  cursor: pointer;
}
.button-basic--yellow {
  background-color: #F6C443;
}
.button-basic--yellow:hover {
  background-color: #ffd362;
}

.header {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.header__logo {
  padding-left: 18px;
}

.header__signin {
  line-height: 0;
}

.promo {
  position: relative;
  color: #000000;
  background-color: #ff7c00;
  z-index: 0;
}

.promo__header {
  display: flex;
  padding-top: 71px;
  color: #ffffff;
}

.promo-phone {
  margin: 0;
  margin-left: auto;
  font-size: 24px;
  line-height: 29px;
  text-align: right;
  letter-spacing: 0.27px;
}
.promo-phone span {
  display: block;
  font-size: 13px;
  line-height: 16px;
}

.promo-phone__link {
  color: #ffffff;
}

.promo__content {
  position: relative;
  padding-top: 82px;
}

.promo__logo {
  width: 100%;
  margin: 0;
  margin-top: -60px;
}

.promo__title {
  width: 772px;
  margin: 0;
  margin-top: 93px;
  font-size: 52px;
  font-weight: 600;
  line-height: 68px;
  color: #ffffff;
}

.promo__author {
  position: absolute;
  right: 70px;
  top: -485px;
  width: 395px;
  height: 485px;
}
.promo__author::before {
  content: "";
  position: absolute;
  left: 10px;
  bottom: -40px;
  width: 505px;
  height: 330px;
  background: url("../img/author/promo-author-bg.svg") no-repeat center;
}

.promo__author-pic {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.promo__author-name {
  position: absolute;
  bottom: -50px;
  right: -50px;
  z-index: 9;
}

.promo__desriptions {
  position: relative;
  bottom: -200px;
  margin-top: -100px;
  padding: 60px;
  border-radius: 43px;
  background-color: #ffffff;
  box-shadow: -1px -1px 32.7000007629px 0px rgba(0, 0, 0, 0.0509803922);
}
.promo__desriptions p {
  margin: 0;
  margin-bottom: 20px;
  font-size: 20px;
  line-height: 36px;
}
.promo__desriptions p:last-of-type {
  margin: 0;
}

.promo__content-pic {
  position: absolute;
  top: 0;
  right: 200px;
  width: 520px;
  height: 332px;
  object-fit: contain;
}

.promo__desc {
  width: 500px;
  margin: 0;
  margin-top: 24px;
  font-size: 18px;
  line-height: 27px;
}
.promo__desc span {
  font-weight: 600;
  display: block;
  color: #F1361D;
}

.news {
  margin-top: 280px;
}

.news__wrapper {
  display: flex;
  justify-content: space-between;
}

.news__title {
  margin: 0;
  width: 467px;
  font-size: 33px;
  line-height: 46px;
}

.news__list {
  width: 606px;
  margin: 0;
  padding: 0;
}

.news__item {
  margin-bottom: 10px;
}

.news__link {
  position: relative;
  display: flex;
  padding-left: 39px;
  font-size: 22px;
  font-weight: 600;
  line-height: 29px;
  color: #ff7c00;
  text-decoration: underline;
  text-decoration-thickness: 0.1px;
  text-underline-offset: 5px;
}
.news__link::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 29px;
  height: 29px;
  border-radius: 50%;
  background: url("../img/icon/icon-lightning.svg") no-repeat center;
  background-size: cover;
}

.rules {
  padding: 229px 0 93px 0;
  background-color: #F4FCFF;
}

.rules__title {
  margin: 0;
  font-size: 52px;
  line-height: 68px;
}

.rules__wrapper {
  display: flex;
  justify-content: space-between;
  margin-top: 63px;
}

.rules__desc {
  margin: 0;
  width: 548px;
  font-size: 20px;
  line-height: 36px;
}

.rules__pic {
  width: 600px;
  height: 400px;
}

.rules__news-title {
  margin: 0;
  margin-top: 41px;
  font-size: 33px;
}

.news-rules {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 10px;
  margin-top: 12px;
}

.news-rules__link {
  font-size: 19px;
  line-height: 16px;
  color: #ff7c00;
  text-decoration: underline;
  text-decoration-thickness: 0.1px;
  text-underline-offset: 5px;
}

.rules__news-more {
  width: 470px;
  height: 60px;
  margin-top: 50px;
}

.articles {
  margin-top: 37px;
}

.articles__title {
  position: relative;
  width: 1046px;
  margin: 0;
  padding-top: 78px;
  font-size: 52px;
  line-height: 68px;
}
.articles__title::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: url("../img/icon/icon-lightning.svg") no-repeat center;
  background-size: contain;
  z-index: -1;
}
.articles__title::after {
  content: "";
  position: absolute;
  top: 1px;
  right: 0;
  width: 217px;
  height: 217px;
  border-radius: 50%;
  border: 1px solid #F6C443;
  background-size: cover;
  z-index: 1;
  animation: growCircle 1s linear infinite;
}

@keyframes growCircle {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  25% {
    transform: scale(1.1);
    opacity: 0.75;
  }
  50% {
    transform: scale(1.2);
    opacity: 0.5;
  }
  75% {
    transform: scale(1.3);
    opacity: 0.25;
  }
  100% {
    transform: scale(1.4);
    opacity: 0;
  }
}
.articles__list {
  position: relative;
  margin-top: 75px;
  padding-bottom: 160px;
}

/*
.articles__list::before {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 350px;
  height: 253px;
  background: url("../img/magazine-pic.png") no-repeat center;
  background-size: contain;
  z-index: 1;
}
*/
.article {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 45px 47px;
}

.article__link {
  display: flex;
  flex-direction: column;
  padding: 32px 40px;
  border: 1px solid #ff7c00;
  border-radius: 43px;
  color: #000000;
}

.article__title {
  margin: 0;
  font-size: 30px;
  line-height: 32px;
  color: #ff7c00;
}

.article__description {
  margin: 0;
  margin-top: 15px;
  font-size: 19px;
  line-height: 32px;
}

.article__btn {
  width: 150px;
  height: 40px;
  margin: 32px 0 0 0;
  border: none;
  align-self: flex-start;
}


@media (max-width: 1280px) {


.header {
  max-width: 100%;
  width: 100%;
}

.promo {
  padding-bottom: 30px;
}

.rules {
  padding-top: 50px;
}

.rules__wrapper {
  flex-wrap: wrap;
}

.rules__desc {
  max-width: 40%;
  width: 100%;
  margin-bottom: 20px;
}


.promo__header {
  display: flex;
  padding-top: 71px;
  color: #ffffff;
  flex-wrap: wrap;
}

.promo__author::before {
  left: -15%;
}

.rules__pic {
  max-width: 100%;
  height: auto;
}

.promo__desriptions {
  position: relative;
  bottom: 0;
  margin-top: 50px;
  box-sizing: border-box;
  padding: 20px;
}

.promo__author {
display: none;
}

.articles__title::before, .articles__title::after {
display: none;
}

.articles__title {
  width: 100%;
  padding-top: 10px;
}

.promo__title {
  max-width: 772px;
  width: 100%;
}

.rules__news-more {
  max-width: 470px;
  width: 100%;
}

.articles__list {
  padding-bottom: 30px;
}

}

@media (max-width: 788px) {
  .article {
  grid-template-columns: 1fr;
  grid-gap: 45px 47px;
  }

  .articles__title {
    padding-top: 38px;
    font-size: 36px;
    line-height: 44px;
  }

  .promo__header {
    justify-content: center;
    gap: 30px 30px;
  }

  .promo-phone {
    text-align: center;
    margin: 20px 0;
  }

  .rules__desc {
    max-width: 100%;
    width: 100%;
    margin-bottom: 20px;
  }
}