.openingBlock {
  display: flex;
  height: 100vh;
  box-sizing: border-box;
  background: linear-gradient( rgba(255, 255, 255, 0.3), rgba(0, 0, 0, 0.7) 0%), url(/src/img/openingBlock/mobile_background.png);
  background-repeat: no-repeat;
  background-size: 140%;
  background-position: center 10%;
  animation: animationBackgroundMobile 5s linear;
}

@keyframes animationBackgroundMobile {
  0% {
    background-size: 130%;
  }

  100% {
    background-size: 140%;
  }
}

.openingBlock__description {
  max-width: 300px;
  margin-top: 200px;
  font-size: 29px;
  line-height: 53px;
  font-weight: 500;
  font-family: 'Raleway';
  color: var(--color__light);
}

.wrapper-page {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  max-width: 393px;
  margin-left: auto;
  margin-right: auto;
}

.openingBlock__button {
  --border-width: 2px;
  --border-radius: 15px;

  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 393px;
  margin: 90px 0;
  height: 54px;
  border: 0;
  border-radius: var(--border-radius);
  transition: .4s;
  z-index: 1;
  opacity: .9;
  background: linear-gradient(90deg, rgba(26, 82, 211, 1) 10%, rgba(155, 182, 222, 1));
}

.openingBlock__button::before {
  content: '';
  height: calc(100% - calc(var(--border-width) * 2));
  width: calc(100% - calc(var(--border-width) * 2));
  position: absolute;
  background: rgba(3, 3, 3, 0.84);
  top: var(--border-width);
  left: var(--border-width);
  border-radius: calc(var(--border-radius) - var(--border-width));
  z-index: -1;
}

.link-reverse {
  display: flex;
  height: 54px;
  width: 100%;
  flex-direction: column;
  justify-content: center;
}

.linkDescription {
  display: block;
  color: var(--color__light);
  font-size: 22px;
  font-weight: 500;
  line-height: 26px;
  font-family: 'Raleway';
}

@media screen and (min-width: 375px) {
  .openingBlock__description {
    max-width: 339px;
    font-size: 35px;
  }
  .openingBlock {
    background-size: 140% auto;
    background-position: 65% 10%;
    animation: animationBackgroundMobile-copy 5s linear;
}
  
  @keyframes animationBackgroundMobile-copy {
    0% {
      background-size: 130%;
    }
  
    100% {
      background-size: 140%;
    }
  }
}

@media screen and (min-height: 600px) {
  .wrapper-page {
    display: flex;
  }

  .openingBlock__button {
    margin-top: 90px;
  }

  .openingBlock__description {
    margin-top: 270px;
    padding-bottom: 0;
  }
}

@media screen and (min-width: 500px) {
  .openingBlock {
    display: block;
    padding: 200px 16px 100px;
    background: linear-gradient( rgba(255, 255, 255, 0.3), rgba(0, 0, 0, 0.7) 0%), url(/src/img/openingBlock/tablet-background.png);
    background-size: 140%; 
    background-repeat: no-repeat;
    background-position: center center;
    animation: animationBackgroundMobile-copy 5s linear;
  }

  @keyframes animationBackgroundMobile-copy {
    0% {
      background-size: 130%;
    }
  
    100% {
      background-size: 140%;
    }
  }

  .openingBlock__description {
    margin-top: 0;
  }
}

@media screen and (min-width: 425px) {
  .openingBlock__description {
    max-width: 393px;
  }  
}

@media screen and (min-width: 768px) {
  .openingBlock {
  padding: 250px 124px 289px 111px;
  background: linear-gradient( rgba(255, 255, 255, 0.3), rgba(0, 0, 0, 0.7) 0%), url(/src/img/openingBlock/tablet-background.png);
  background-size: 110% auto;
  background-position: 10% 25%;
  background-repeat: no-repeat;
  animation: animationBackgroundTablet 5s linear;
}

  @keyframes animationBackgroundTablet {
    0% {
      background-size: 100%;
    }
  
    100% {
      background-size: 110%;
    }
  }

  .wrapper-page {
    min-width: 533px;
  }

  .openingBlock__button {
    max-width: 283px;
    min-height: 66px;
    background: url(/src/img/openingBlock/feedback_tablet.svg);
    background-position: 100%;
    background-repeat: no-repeat;
    transition: .2s;
  }

  .openingBlock__button::before {
    display: none;
  }

  .linkDescription {
    display: none;
  }

  .link-reverse {
    height: 62px;
  }

  .openingBlock__description {
    margin-top: 0;
    max-width: 533px;
    font-size: 55px;
    line-height: 83px;
  }
}

@media screen and (min-width: 1440px) {
  .openingBlock {
    display: block;
    padding: 200px 700px 145px 207px;
    background: linear-gradient( rgba(255, 255, 255, 0.3), rgba(0, 0, 0, 0.7) 0%), url(/src/img/openingBlock/background-big.svg);
    background-size: auto 130%;
    background-repeat: no-repeat;
    background-position: center center;
    animation: backgroundAnimateDesktop 5s linear;
}

  @keyframes backgroundAnimateDesktop {
    0% {
      background-size: auto 120%;
      background-position: center center;
    }

    100% {
      background-size: auto 130%;
    }
  }

  .openingBlock__button {
    max-width: 320px;
    min-height: 70px;
    margin-top: 88px;
    background: url(/src/img/openingBlock/feedback_desktop.svg);
    background-position: 100%;
    background-repeat: no-repeat;
    background-size: cover;
  }

  .linkDescription {
    display: block;
  }

  .link-reverse {
    height: 70px;
  }

  .wrapper-page {
    min-width: 1230px;
  }
}

@media screen and (min-width: 1660px) {
  .openingBlock {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-right: 0;
    padding-left: 0;
    margin-left: auto;
    margin-right: auto;
  }
}

@media screen and (min-width: 1920px) {
  .openingBlock__description {
    max-width: 968px;
    line-height: 130px;
    font-size: 100px;
  }
}