.container-lower-content {
  align-items: center;
}

@media (min-width: 992px) {
  .container-lower-content {
    align-items: end;
  }
}

@media (max-width: 991px) {
  .container-lower-content {
    width: 100% !important;
    height: 100% !important;
    justify-content: center;
  }
}

.gray-square {
  width: 100%;
  height: 50%;
  margin-bottom: 1.5%;
  border-radius: var(--border-radius-big);
  background-color: var(--color-light);
  z-index: 1;
}

.devices-wrapper {
  position: relative;
  z-index: 2;
}

.tablet-wrapper {
  position: absolute;
  bottom: 5%;
  left: 2%;
  background-color: var(--color-primary-blue);
  border-radius: var(--border-radius-big);
  z-index: 1;
  width: 25%;
  height: auto;
}

.device-overlay {
  position: absolute;
  bottom: 0%;
  left: 0%;
}

.tablet-screen,
.tablet-wrapper .tablet-img {
  position: relative;
  top: 50%;
  left: 50%;
}

.tablet-screen {
  width: 90%;
  height: 90%;
  border-radius: var(--border-radius-big);
  z-index: 1;
  transform: translate(-50%, -50%);
}

.tablet-wrapper .tablet-img {
  width: 100%;
  height: auto;
  z-index: 2;
  transform: translate(-50%, 0%);
}

.slides {
  width: 400%;
  height: 100%;
  animation: slide 20s infinite;
}

.slides img {
  width: 25%;
  height: 100%;
  object-fit: cover;
}

@keyframes slide {
  0% {
    transform: translateX(0%);
  }
  25% {
    transform: translateX(-25%);
  }
  50% {
    transform: translateX(-50%);
  }
  75% {
    transform: translateX(-75%);
  }
  100% {
    transform: translateX(0%);
  }
}

.laptop-wrapper {
  position: absolute;
  left: 50%;
  bottom: 50%;
  width: 94%;
  transform: translate(-50%, 50%);
  margin-bottom: 0;
  height: auto;
  z-index: 2;
}

@media (min-width: 768px) {
  .laptop-wrapper {
    width: 70%;
  }
}

@media (min-width: 992px) {
  .laptop-wrapper {
    transform: translate(-50%, 0%);
    width: 48%;
    bottom: 8%;
  }
}

.laptop-video,
.laptop-wrapper .laptop-img {
  position: relative;
  top: 0%;
  left: 0%;
}

.laptop-video {
  width: 70%;
  height: 75.5%;
  transform: translate(0%, 9%);
  z-index: 1;
  object-fit: fill;
}

.laptop-wrapper .laptop-img {
  width: 100%;
  height: auto;
  z-index: 2;
}

.phone-img {
  position: absolute;
  bottom: 0%;
  right: 0%;
  width: 20%;
  border-radius: var(--border-radius-big);
  height: auto;
  z-index: 1;
}
