@import url('./vendor/normalize.css');
@import url('./vendor/fonts/fonts.css');
@import url('./css/main.css');
/* Общие */

body {
  font-family: 'Golos';
  font-size: 18px;
  line-height: 21.6px;

  margin: 0;
  padding: 0;

  background-color: #e5e5e5;
  border: 0;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

a {
  outline: none;
  text-decoration: none;
}

.mobile {
  display: none;
}

.main__menu_item {
  color: #8e8e8e;
  transition: all 0.2s ease-in;
}

.main__menu_item:hover {
  color: #E7411B;
  font-weight: 500;
}

.container {
  margin-left: 8%;
}

.header__menu_main {
  margin: 40px 120px 0px 15%;
}

.container__number {
  position: relative;
  margin: 0px 120px 85px 15%;
}

.main__number {
  width: 977px; /*проверить адапитвность*/
  position: relative;
  color: #E7411B;
  font-size: 376px;
  line-height: 364px;
  font-weight: 500;
  z-index: -1;
}


.j-main__number {
  position: relative;
}

.icon__info {
  color: #E7411B;
  backdrop-filter: blur(5px);
  border-radius: 50px;
  position: absolute;
  top: 15%;
  left: 0;
  cursor: pointer;
  text-align: center;
  width: 50px;
  height: 50px;
  background-image: url('./images/icon-info.svg');

  font-size: 36px;
  font-style: normal;
  font-weight: 400;
  line-height: 43px;
  transition: all 0.5s linear;
}

.icon__info > .icon__description {
  visibility: hidden;
  opacity: 0;
  position: absolute;
  top: 305px;
  left: 14px;
  text-align: left;
  width: 326px !important;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 17px;
  transition: visibility 0s, opacity 0.5s linear;
}

.icon__info:hover > .icon__description {
  visibility: visible;
  opacity: 1;
  color: #E7411B;
}

.icon__info:hover {
  background-color: #E7411B;
  color: #e5e5e5;
}

.main__text {
  backdrop-filter: blur(5px);
  background: linear-gradient(rgba(242, 242, 242, 0.65) 0, rgba(255, 255, 255, 0.7) 100%);
  border-radius: 40px;
  max-width: 290px;
  padding: 26px 20px 26px 20px;
  position: absolute;
  top: -17px;
  color: #000;
  right: -117px !important;
  font-size: 14px;
  line-height: 17px;
  font-weight: 400;
}

/*#LOGO-END*/
/*#NAV*/
.nav {
  /*position: relative;*/
}

.nav__icon {
  z-index: 4;
  position: absolute;
  right: 35px;
  top: 35px;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  background-color: #FFFFFF;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-transition: background-color .2s ease-in;
  transition: background-color .2s ease-in;
  cursor: pointer;
}

.nav__icon span {
  display: inline-block;
  height: 6px;
  width: 6px;
  background-color: #E7411B;
  border-radius: 50%;
  margin-right: 2px;
  -webkit-transition: background-color .2s ease-in;
  transition: background-color .2s ease-in;
}

.nav__icon span:last-child {
  margin-right: 0;
}

.nav__decoration {
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0px;
  top: 0px;
  background-color: rgba(255, 255, 255, 0.4);
  -webkit-backdrop-filter: blur(15px);
  backdrop-filter: blur(15px);
  z-index: 1;
}

.nav__items {
  margin: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  padding: 170px 24px 24px;
  width: 100%;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  position: relative;
  height: 100vh;
  z-index: 3;
}

.nav__items-wrapper {
  position: relative;
  width: 100%;
  display: none;
}

.nav__items li {
  list-style: none;
  margin-bottom: 24px;
}

.nav__items li:last-child {
  margin-bottom: 0;
}

.nav__items a {
  z-index: 1;
  color: black;
  text-decoration: none;
  -webkit-transition: color .2s ease-in;
  transition: color .2s ease-in;
  font-size: 32px;
  font-style: normal;
  font-weight: 400;
  line-height: 38px;
}

.nav__items a:hover {
  color: #E7411B;
}

.nav.is-active .nav__icon {
  background-color: #E7411B;
}

.nav.is-active .nav__icon span {
  background-color: white;
}

/*#NAV-END*/
@media (min-width: 768px) {
  .header__nav {
    width: 343px;
    right: 0;
    position: absolute;
    top: 0;
  }
  .nav__items {
    height: auto;
  }
  .nav__items-wrapper {
    height: auto;
  }
  .nav__decoration {
    border-radius: 24px;
  }
}

@media (min-width: 1024px) and (max-height: 899px) {
  .volvo {
    bottom: -15%;
  }
}

@media screen and (min-width: 1600px) {
  .volvo {
    bottom: -15%;
  }
}

@media screen and (min-width: 1920px) {
  .main__text {
    right: 114px;
  }
}

@media screen and (max-width: 1300px) {
  .main__number {
    max-width: 700px;
    font-size: 246px;
    line-height: 295px;
    margin: 100px auto 0;
  }
  .main__text {
    backdrop-filter: blur(5px);
    background: linear-gradient(rgba(242, 242, 242, 0.65) 0, rgba(255, 255, 255, 0.7) 100%);
    border-radius: 24px;
    max-width: 392px;
    padding: 26px 0px 26px 20px;
    position: absolute;
    top: 223px;
    color: #000;
    right: 202px !important;
    font-size: 14px;
    line-height: 17px;
    font-weight: 400;
  }

  .icon__info {
    left: 79px;
  }

  .icon__description {
    top: -58px !important;
    left: 69px;
  }
}


@media screen and (max-width: 1250px) {
  .icon__info {
    left: 50px;
  }
}

@media screen and (max-width: 1180px) {
  .icon__info {
    left: 24px;
  }
}

@media screen and (max-width: 1120px) {
  .icon__info {
    left: 0px;
  }
}

@media screen and (max-width: 1023px) {
  .desktop {
    display: none;
  }
  .mobile {
    display: block;
  }
  .container__number {
    margin: 160px 120px 85px 15%;
  }
}

@media screen and (max-width: 695px) {
  .container {
    margin-left: 5%;
  }

  .main__number {
    font-size: 128px;
    line-height: 216px;
    max-width: 320px;
  }

  .container__number {
    margin: 180px 120px 85px 0%;
  }

  .main__text {
    width: 290px;
    top: 148px;
    right: 0 !important;
    padding: 24px;
  }

  .icon__info {
    left: -21px;
  }

  .icon__description {
    top: -58px;
    left: 26px;
  }
}