.registration {
  background-color: #fff;
  position: relative;
  height: 100%;
  display: flex;
  align-items: stretch;
}

.registration__bg {
  position: relative;
  height: auto;
  transform: translateX(-300px);
}

.registration__bg-img {
  height: 100%;
}

.steklo {
  position: absolute;
  z-index: 0;
  right: 5%;
  top: 0;
  animation: floating 15s ease-in-out infinite;
  will-change: transform;
}

.steklo-img {
  display: block;
  max-width: 100%;
  height: auto;
}

.registration__container {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
}

.registration__content {
  position: relative;
  z-index: 1;
  transform: translateX(-200px);
  padding: 140px 0;
  min-width: 60%;
}

.registration__title {
  color: #1D1C1C;
}

.registration__subtitle {
  font-size: 28px;
  line-height: 38px;
  color: #1D1C1C;
  margin-bottom: 40px;
  max-width: 800px;
}

.registration__btns {
  display: flex;
  gap: 24px;
}

.registration__btn-pink {
  width: 300px;
  height: 48px;
  border: 1px solid #FF1493;
}

.registration__btn-white {
  border: 1px solid #FF1493;
  width: 250px;
}

@media (max-width:1550px) {
  .registration__content {
    width: 50%;
    transform: translateX(0);
  }
  .registration__bg {
    width: 50%;
    transform: translateX(0);
  }
}

@media (max-width:1440px) {
  .registration__bg {
    display: none;
  }
  .registration__content {
    width: 100%;
  }
}

@media (max-width:1200px) {
  .registration__container {
      padding: 50px 40px;
  }
  .registration__bg-img {
    width: 100%;
    height: auto;
  }
  .registration__subtitle {
    font-size: 18px;
    line-height: 28px;
    margin-bottom: 30px;
  }
}

@media (max-width:996px) {
  .steklo {
    display: none;
  }
}

@media (max-width:720px) {
  .registration {
    flex-direction: column;
  }
  .registration__container {
    padding-right: 10px;
    padding-left: 10px;
  }
}

@media (max-width:520px) {
  .registration {
    flex-direction: column;
  }
  .registration__bg {
    display: block;
    width: 100%;
  }
  .registration__content {
    padding: 50px 0;
  }
  .registration__container {
    flex-direction: column;
    width: 100%;
    padding-right: 10px;
    padding-left: 10px;
  }
  .registration__btns {
    gap: 12px;
    flex-direction: column;
  }
  .registration__btn-pink {
    width: 100%;
  }
  .registration__btn-white {
    width: 100%;
  }
}