@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@1,900&display=swap');
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
/*   animation: none !important; */
}

img {
  display: block;
  max-width: 100%;
}

.banner {
  position: relative;
  max-width: 1920px;
  min-width: 280px;
  width: 100%;
  height: 90px;
  margin: 0 auto;
  color: #fff;
  font-family: 'Roboto', sans-serif;
  font-style: italic;
  text-transform: uppercase;
  background: #00051b url(../img/bg.jpg) center / cover no-repeat;
  border: 1px solid #005893;
  overflow: hidden;
}

.logo {
  position: absolute;
  top: 50%;
  left: calc(50% - 633px);
  transform: translateY(-50%);
}
.logo::before {
  content: '';
  position: absolute;
  top: -124px;
  left: -67px;
  width: 290px;
  height: 290px;
  background: url(../img/logo-rhomb.png) center / cover no-repeat;
}

.logo img {
  transform: scale(1);
}

.btn {
  position: absolute;
  top: 50%;
  right: calc(50% - 662px);
  width: 186px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  text-shadow: 0px 2px 0px rgba(0, 0, 0, 0.2);
  transform: translateY(-50%);
  border-radius: 23px;
  border: 2px solid #fcda00;
  background-color: #bd0000;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100%;
  background: url(../img/blink.png) center / cover no-repeat;
  animation: btn 5.2s infinite;
}

.container {
  position: relative;
  width: 650px;
  height: 100%;
  margin: 0 auto;
  display: flex;
}

.block-text {
  position: relative;
  width: 415px;
  height: 100%;
}

.first-text {
  position: absolute;
  left: 5px;
  font-size: 22px;
  line-height: 0.9;
}

.first-text br {
  display: none;
}

.first-text .line-one {
  animation: hot-win 5.2s infinite;
}
.first-text .line-two {
  animation: first-text-line-two 5.2s infinite;
}

.second-text {
  position: absolute;
  top: 52%;
  left: -32px;
  font-size: 21px;
  line-height: 1.2;
  transform: translateY(-50%);
}

.second-text .yellow {
  color: #ffde17;
  font-size: 28px;
}

.second-text .line-one {
  animation: second-text-line-one 5.2s infinite;
}

.second-text .line-two {
  animation: second-text-line-two 5.2s infinite;
}

.second-text .line-two br {
  display: none;
}

.block-img {
  position: relative;
  width: 186px;
  height: 100%;
}

.img1 {
  position: absolute;
  top: -2px;
  left: 106px;
  animation: first-img 5.2s infinite;
}
.img2 {
  position: absolute;
  top: -8px;
  left: 1px;
  animation: second-img 5.2s infinite;
}

/*KEYFRAMES*/
@keyframes btn {
  0%, 51% {
    transform: translateX(-100%);
  }
  58%, 100% {
    transform: translateX(100%);
  }
}
@keyframes hot-win {
  0%, 38.4% {
    opacity: 1;
  }
  38.5%, 98% {
    opacity: 0;
  }
  98.1%, 100% {
    opacity: 1;
  }
}
@keyframes first-text-line-two {
  0%, 40.4% {
    opacity: 1;
  }
  40.5%, 100% {
    opacity: 0;
  }
}
@keyframes second-text-line-one {
  0%, 40.4% {
    opacity: 0;
  }
  40.5%, 96.1% {
    opacity: 1;
  }
  96.2%, 100% {
    opacity: 0;
  }
}
@keyframes second-text-line-two {
  0%, 42.3% {
    opacity: 0;
  }
  42.4%, 98% {
    opacity: 1;
  }
  98.1%, 100% {
    opacity: 0;
  }
}
@keyframes first-img {
  0%, 38.4% {
    transform: translateY(0);
  }
  40.4%, 98% {
    transform: translateY(-100px);
  }
  100% {
    transform: translateY(0);
  }
}
@keyframes second-img {
  0%, 40.4% {
    transform: translateY(-120px);
  }
  42.3%, 96.15% {
    transform: translateY(0);
  }
  98.1%, 100% {
    transform: translateY(-120px);
  }
}

/*MEDIAQUERIES*/
@media screen and (max-width: 1450px) {
  .logo {
    left: calc(50% - 523px);
  }
  .btn {
    right: calc(50% - 572px);
  }
  .block-text {
    width: 525px;
  }
  .first-text {
    left: 52px;
  }
  .second-text {
    left: 45px;
    font-size: 19px;
  }
  .second-text .yellow {
    font-size: 25px;
  }
  .img1 {
    left: 86px;
  }
  .img2 {
    left: -47px;
  }
}
@media screen and (max-width: 1200px) {
  .logo {
    left: calc(50% - 472px);
  }
  .logo::before {
    left: -89px;
    top: -127px;
  }
  .btn {
    right: calc(50% - 472px);
  }
  .block-text {
    width: 440px;
  }
  .block-img {
    width: 178px;
  }
  .first-text {
    left: 65px;
  }
  .img1 {
    left: 46px;
  }
  .img2 {
    left: -14px;
  }
  .second-text {
    left: 69px;
    font-size: 18px;
  }
  .second-text .yellow {
    font-size: 24px;
  }
}
@media screen and (max-width: 1000px) {
  .logo {
    width: 108px;
    left: 3%;
  }
  .logo::before {
    left: -149px;
  }
  .btn {
    right: 2%;
    width: 110px;
    height: 52px;
    padding: 0 25px;
    font-size: 16px;
    text-align: center;
  }
  .container {
    width: 400px;
  }
  .block-text {
    width: 250px;
    left: 45px;
  }
  .first-text {
    font-size: 17px;
    left: 28px;
    line-height: 1;
  }
  .first-text .line-one {
    width: 204px;
  }
  .first-text .line-two span {
    margin-left: 8px;
  }
  .first-text .line-two .ml {
    margin-left: 4px;
  }
  .first-text .line-two {
    margin: -3px 0 0 -7px;
  }
  .first-text br {
    display: block;
  }
  .second-text {
    font-size: 16px;
    left: 6px;
    line-height: 1.2;
    top: 51%;
  }
  .second-text > div {
    display: inline;
  }
  .second-text .yellow {
    font-size: 16px;
    margin-left: 0px;
  }
  .second-text .ml {
    margin-left: 8px;
  }
  .block-img {
    width: 177px;
  }
  .img1 {
    width: 69px;
    left: 73px;
    top: 6px;
  }
  .img2 {
    left: 31px;
    top: -5px;
    width: 137px;
  }
}
@media screen and (max-width: 640px) {
  .banner {
    background-image: url(../img/bg_640.jpg);
    /* background-position-x: right; */
  }
}
@media screen and (max-width: 639px) {
  .logo {
    width: 59px;
    left: 6%;
  }
  .btn {
    right: 6%;
    width: 60px;
    height: 26px;
    font-size: 9px;
    border-width: 1px;
    /* border-radius: 11px; */
  }
  .logo::before {
    width: 148px;
    height: 148px;
    left: -71px;
    top: -63px;
  }
  .container {
    left: calc(50% - 62px);
    margin: 0;
    min-width: 200px;
    width: 40%;
    justify-content: space-between;
  }
  .block-text {
    width: 105px;
    left: 0;
  }
  .block-img {
    width: 96px;
    right: 0;
  }
  .first-text {
    font-size: 11px;
    left: 8px;
    top: 11px;
    line-height: 1.2;
  }
  .first-text .line-one {
    width: 97px;
  }
  .first-text .line-two .ml {
    margin-left: 3px;
  }
  .first-text .line-two {
    width: 72px;
    margin: 0px 0 0 -7px;
  }
  .second-text {
    width: 101px;
    font-size: 11px;
    left: 3px;
    top: 51%;
    line-height: 1.2;
  }
  .second-text .yellow {
    font-size: 11px;
    margin-left: 11px;
  }
  .second-text .line-two span {
    margin-left: 3px;
  }
  .second-text .line-two br {
    display: block;
  }
  .second-text .line-two .ml1 {
    margin-left: 5px;
  }
  .img1 {
    width: 52px;
    left: 12px;
    top: 14px;
  }
  .img2 {
    width: 96px;
    left: -6px;
    top: 7px;
  }
}
@media screen and (max-width: 480px) {
  .logo {
    left: 14%;
    top: 29px;
    transform: translate(-50%, -50%);
  }
  .logo::before {
    top: -67px;
  }
  .btn {
    left: 14%;
    top: 58px;
    transform: translate(-50%, -50%);
  }
  .container {
    left: calc(50% - 60px);
    margin: 0;
  }
}
@media screen and (max-width: 300px) {
  .banner {
    background-image: url(../img/bg_280.jpg);
  }
}
