html {
  overflow-x: hidden;
}

a {
  text-decoration: none !important;

  -webkit-transition: all ease 0.25s;

  transition: all ease 0.25s;
}

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

img {
  max-width: 100%;
}

body {
  font-family: Arial;

  font-weight: 500;

  font-size: 14px;

  color: #000;

  overflow-x: hidden;

  letter-spacing: 0.04em;
}

#page-preloader {
  position: fixed;

  left: 0;

  top: 0;

  right: 0;

  bottom: 0;

  background: #fff;

  z-index: 100500;

  opacity: 1;
}

#page-preloader .spinner {
  width: 20%;

  height: auto;

  position: absolute;

  left: 43%;

  top: 43%;

  margin: 0 0 0 -26px;
}

#page-preloader img {
  width: 100%;

  height: auto;
}

@media screen and (max-width: 768px) {
  #page-preloader .spinner {
    width: 80%;

    height: auto;

    position: absolute;

    left: 20%;

    top: 43%;

    margin: 0 0 0 -26px;
  }
}

.navbar {
  padding: 1rem 3rem;
}

.nav-item {
  padding: 0 15px;
}

.nav-link {
  color: #3e3e40 !important;

  font-size: 17px;

  border-bottom: 1px solid transparent;

  -webkit-transition: all ease 0.25s;

  transition: all ease 0.25s;
}

.nav-link:hover {
  border-bottom: 1px solid #ec3133;
}

.button_all {
  background-color: #ec3133;

  border-radius: 25px;

  color: #fff;

  text-transform: uppercase;

  border: 1px solid;

  padding: 10px 50px;
}

.button_all a {
  color: #fff;
}

.button_all:hover {
  background-color: #666b6e;

  -webkit-transition: all ease 0.5s;

  transition: all ease 0.5s;
}

@media screen and (min-width: 1200px) {
  .first_screen .container {
    max-width: 1300px;
  }
}

#main {
  height: 100vh;
}

.al_cen > div {
  align-self: center;
}

.first_red {
  color: #ec3133;

  font-weight: bold;

  text-align: center;

  font-size: 40px;
}

h1 {
  margin: 40px 0 30px;

  text-align: center;

  font-weight: bold;

  font-size: 2.7em;
}

.first_text {
  text-align: center;

  font-size: 17px;
}

.dek_dn {
  display: none;
}

.first_button {
  margin: 0 auto;

  margin-top: 30px;

  display: block;
}

#composition {
  padding-bottom: 8%;
}

.comp_11,
.comp_21 {
  font-size: 35px;

  padding-left: 25%;

  margin-top: 18%;
}

.comp_12,
.comp_22 {
  font-size: 25px;

  padding-left: 25%;
}

.capsule {
  margin-left: -5%;

  position: relative;
}

.comp_right {
  align-self: flex-end;
}

.comp_text {
  font-size: 20px;

  padding-left: 12%;
}

.red {
  color: #ec3133;

  font-weight: bold;
}

.arrow {
  position: absolute;

  max-width: 35%;
}

.arrow_left_top {
  left: 0;

  top: 42%;
}

.arrow_left_bottom {
  left: 0;

  bottom: -7%;
}

.arrow_right_bottom {
  right: -12%;

  bottom: 0%;
}

.arrow_right_top {
  right: -12%;

  top: 42%;
}

#advantages {
  background-color: #ec3133;

  padding: 5% 0 3%;
}

.adv_main > .col {
  text-align: center;

  color: #fff;
}

.adv_text {
  margin-top: 30px;

  font-size: 22px;
}

.adv_img {
  height: 60px;
}

.adv_main > .col img {
  height: 45%;
}

#instruction,
#about {
  padding: 60px 0;
}

h2 {
  text-align: center;

  margin-bottom: 50px;

  font-weight: bold;

  font-size: 40px;
}

.bolder {
  font-weight: bold;
}

.ins_text {
  font-size: 12px;

  text-align: justify;
}

.plashka {
  color: #c4c4c4;

  text-transform: uppercase;

  font-family: ARIAL NARROW;

  font-size: 36px;

  line-height: 1em;

  margin: 30px 0;

  text-align: justify;

  letter-spacing: -0.05em;

  margin: 30px auto;
}

.ins_button {
  display: block;

  margin: 0 auto;
}

#about {
  color: #fff;

  background-image: url("../img/about.jpg");

  background-position: center;

  background-size: cover;
}

.about_text {
  font-size: 20px;

  line-height: 1.3em;

  padding: 0 15%;
}

footer {
  background-color: #666b6e;

  padding: 20px 0;

  color: #fff;
}

.asc {
  align-self: center;
}

.contacts a {
  color: #fff;

  -webkit-transition: all ease 0.25s;

  transition: all ease 0.25s;
}

.contacts a:hover {
  color: #ec3133;
}

.contacts {
  margin-bottom: 15px;
}

.soc_item:not(:first-child) {
  margin-left: 10px;
}

.soc_item img:hover {
  filter: invert(49%) sepia(79%) saturate(7176%) hue-rotate(341deg) brightness(90%) contrast(105%);
}

@media screen and (min-width: 2000px) {
  .nav-link {
    font-size: 22px;
  }

  .button_all {
    padding: 15px 60px;

    font-size: 18px;
  }

  .first_screen .container {
    max-width: 1900px;
  }

  .container {
    max-width: 1400px;
  }

  .first_red {
    font-size: 60px;
  }

  h1 {
    font-size: 3.5em;

    margin: 60px 0px 35px;
  }

  .first_text {
    font-size: 22px;
  }

  .big_one {
    width: 90%;
  }

  .comp_11,
  .comp_21 {
    font-size: 42px;
  }

  .comp_text {
    font-size: 23px;
  }

  .adv_text {
    font-size: 26px;
  }

  h2 {
    font-size: 50px;
  }

  .ins_text {
    font-size: 16px;
  }

  .plashka {
    font-size: 45px;
  }

  .about_text {
    font-size: 24px;

    line-height: 1.5em;
  }

  footer {
    font-size: 20px;
  }
}

@media screen and (max-width: 1400px) {
  .plashka {
    font-size: 30px;
  }
}

@media screen and (max-width: 1200px) {
  .first_screen .container {
    max-width: 1050px;
  }

  .plashka {
    font-size: 25px;
  }

  .first_red {
    font-size: 35px;
  }

  h1 {
    font-size: 2.3em;
  }

  .first_text {
    font-size: 15px;
  }

  #main {
    height: auto;
  }

  .comp_11,
  .comp_21 {
    font-size: 30px;
  }

  .comp_text {
    font-size: 18px;
  }

  .adv_main > .col img {
    height: 40%;
  }

  .adv_text {
    font-size: 18px;
  }

  h2 {
    font-size: 32px;
  }

  .ins_text {
    line-height: 1.2em;
  }

  .about_text {
    font-size: 17px;
  }

  footer {
    font-size: 13px;
  }
}

@media screen and (max-width: 992px) {
  .first_screen .container {
    max-width: 870px;
  }

  .navbar-nav,
  .navbar-toggler {
    display: none;
  }

  .collapse {
    display: block;
  }

  .top_button {
    position: absolute;

    top: 20%;

    right: 5%;
  }

  .first_red {
    font-size: 30px;
  }

  h1 {
    font-size: 2em;
  }

  .first_text {
    font-size: 14px;
  }

  .comp_11,
  .comp_21 {
    font-size: 22px;
  }

  .comp_12,
  .comp_22 {
    font-size: 18px;
  }

  .comp_text {
    font-size: 13px;
  }

  .adv_text {
    font-size: 14px;
  }

  h2 {
    font-size: 26px;

    margin-bottom: 30px;
  }

  .ins_text {
    font-size: 11px;
  }

  .plashka {
    font-size: 20px;
  }

  .about_text {
    font-size: 14px;

    line-height: 1.5em;
  }

  #instruction,
  #about {
    padding: 40px 0;
  }

  footer {
    font-size: 12px;
  }

  .soc_item img {
    width: 15%;
  }

  .soc_item:not(:first-child) {
    margin-left: 5px;
  }
}

@media screen and (max-width: 768px) {
  .first_red {
    font-size: 25px;
  }

  h1 {
    font-size: 1.65em;
  }

  .first_text {
    font-size: 13px;
  }

  .button_all {
    font-size: 12px;
  }

  .container {
    max-width: 700px;
  }

  .comp_11,
  .comp_21 {
    font-size: 18px;
  }

  .comp_12,
  .comp_22 {
    font-size: 14px;
  }

  .comp_text {
    font-size: 12px;
  }

  #composition {
    padding: 3% 0 8%;
  }

  .adv_text {
    font-size: 12px;
  }

  h2 {
    font-size: 22px;
  }

  .ins_text {
    font-size: 10px;
  }

  .plashka {
    font-size: 18px;
  }

  .about_text {
    font-size: 12px;
  }
}

@media screen and (max-width: 645px) {
  .dek_dn {
    display: block;

    max-width: 80%;

    margin: 30px auto 0;
  }

  .mob_dn {
    display: none;
  }

  .mob_100 {
    flex: 0 0 100%;

    max-width: 100%;

    padding: 0 15%;
  }

  .first_red {
    font-size: 30px;
  }

  h1 {
    font-size: 2em;

    margin: 20px 0 15px;
  }

  .first_text {
    font-size: 16px;
  }

  #composition .mob_100 img {
    max-width: 60%;
  }

  .comp_11,
  .comp_21 {
    font-size: 22px;

    text-align: center;

    padding: 0;

    margin-top: 20%;
  }

  .comp_12,
  .comp_22 {
    font-size: 16px;

    padding: 0;

    text-align: center;
  }

  .arrow.arrow_left_top_mob {
    top: 36%;

    transform: rotate(55deg);

    width: 13%;

    left: 37%;
  }

  .arrow.arrow_right_top_mob {
    bottom: 10%;

    transform: rotate(80deg);

    width: 16%;

    right: 35%;
  }

  .comp_text {
    font-size: 16px;

    padding-left: 0;

    text-align: center;

    margin-top: 40px;
  }

  .adv_main > .col {
    flex: 0 0 50%;

    max-width: 50%;

    padding: 2% 7%;
  }

  .adv_text {
    font-size: 17px;
  }

  .adv_main > .col img {
    height: 50%;
  }

  .about_text {
    font-size: 14px;

    padding: 0 7%;
  }

  .ins_text {
    font-size: 11px;
  }

  h2 {
    font-size: 25px;
  }
}

@media screen and (max-width: 550px) {
  .top_button {
    top: 30%;
  }

  .first_red {
    font-size: 26px;
  }

  h1 {
    font-size: 1.7em;
  }

  .first_text {
    font-size: 14px;
  }

  .adv_text {
    font-size: 15px;
  }

  h2 {
    font-size: 22px;
  }

  .about_text {
    font-size: 13px;

    text-align: center;
  }

  footer {
    font-size: 13px;
  }

  .adress {
    padding: 0 5%;

    text-align: center;

    margin-bottom: 15px;
  }

  .contacts,
  .social {
    text-align: center;
  }

  .soc_item img {
    width: 10%;
  }
}

@media screen and (max-width: 470px) {
  .navbar {
    padding: 1rem 0.5em;
  }

  .button_all {
    font-size: 11px;

    padding: 8px 40px;
  }

  .top_button {
    right: 10px;

    top: 27%;
  }

  .first_red {
    font-size: 23px;
  }

  h1 {
    font-size: 1.5em;
  }

  .first_text {
    font-size: 13px;
  }

  .dek_dn {
    max-width: 90%;

    margin: 15px auto 0;
  }

  #composition {
    padding: 5% 0 8%;
  }

  #composition .mob_100 img {
    max-width: 55%;
  }

  .white_tablet {
    width: 25%;
  }

  .brown_tablets {
    width: 42%;
  }

  .arrow.arrow_left_top_mob {
    top: 34%;
  }

  .comp_11,
  .comp_21 {
    font-size: 20px;
  }

  .comp_12,
  .comp_22 {
    font-size: 15px;
  }

  .arrow.arrow_right_top_mob {
    bottom: 12%;
  }

  .comp_text {
    font-size: 14px;
  }

  .adv_main > .col {
    flex: 0 0 100%;

    max-width: 100%;

    padding: 3% 25%;
  }

  .adv_main > .col img {
    height: 55%;
  }

  h2 {
    font-size: 18px;
  }

  .ins_text {
    font-size: 10px;
  }

  .plashka {
    font-size: 16px;
  }

  .about_text {
    font-size: 12px;
  }

  footer {
    font-size: 11px;
  }

  .navbar-brand img {
    max-width: 80%;
  }
}
