* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    user-select: none;
  }
  
  body {
    height: 100vh;
    background-color: #bd1010;
    background-image: url("1-69.jpg");
    background-size: cover;
      background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  
  .img-container {
    position: relative;
    height: 500px;
    width: 700px;
    perspective: 500px;
    transform-style: preserve-3d;
  }
  @media (max-width: 690px) {  /* Стили для ноутбуков и компьютеров с экранами в диапазоне до 690px */ 
    .img-container {
        position: relative;
        height: 330px !important;
        width: 520px !important;
        perspective: 500px;
        transform-style: preserve-3d;
      }
      .box {
     
        width: 450px !important;
        height: 340px !important;
        border-radius: 15px !important;
        margin-left: 15%;

      }
  }
  .box {
    box-shadow: 0 0 10px rgb(0 0 0 / 30%);
    width: 600px;
    height: 440px;
    border-radius: 25px;
    overflow: hidden;
    border: 1px solid #bbb;
    position: absolute;
    top: 50%;
    transition: 800ms ease-in-out;
  }
  
  .box img {
    width: 100%;
    height: 100%;
  }
  
  .box:first-of-type {
    z-index: 5;
    opacity: 0;
    left: 15%;
    transform: translate(-50%, -50%) rotateY(-10deg);
  }
  
  .box:nth-of-type(2) {
    opacity: 1;
    left: 20%;
    transform: translate(-50%, -50%) rotateY(-10deg);
    z-index: 5;
  
  }
  .box:nth-of-type(3) {
    left: 25%;
    opacity: 0.75;
    color: #eee;
    z-index: 10;
    transform: translate(-50%, -50%) rotateY(-10deg) translateZ(-50px);
  }
  
  .box:nth-of-type(4) {
    z-index: 5;
    opacity: 0.5;
    left:30%;
    transform: translate(-50%, -50%) rotateY(-10deg) translateZ(-100px);
  }
  .box:nth-of-type(5) {
    z-index: 2;
    opacity: 0.25;
    left: 35%;
    transform: translate(-50%, -50%) rotateY(-10deg) translateZ(-150px);
  }
  
  .box:nth-of-type(6) {
    z-index: 2;
    opacity: 0.0;
    left: 40%;
    transform: translate(-50%, -50%) rotateY(-10deg) translateZ(-200px);
  }
  