/* Стили для модального окна - START*/
.modal-main {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    backdrop-filter: blur(10px);
    visibility: hidden;
    transition: opacity 1s, visibility 1s;
  }
  .modal-content-main {
    position: relative;
    max-width: 90%;
    border-radius: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    /* background: linear-gradient(180deg, #003370 10%, #111923 40%); */
    transition: transform 1s, bottom 1s, right 1s;
  }
  /* .modal-content-main__wrapper {
    padding: 20px;
  } */
  .modal-content-main__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
  }
  .close-btn {
    position: absolute;
    top: -1px;
    right: -1px;
    color: red;
    font-size: 50px;
    cursor: pointer;
    z-index: 1000;
    border-top-right-radius: 20px;
    border-bottom-left-radius: 20px;
    background-color: #fff;
  }
  .no-scroll {
    height: 100%;
    overflow: hidden;
  }
  .modal-main.show {
    opacity: 1;
    visibility: visible;
  }
  .modal-main.minimized {
    justify-content: flex-end;
    align-items: flex-end;
    background-color: rgba(0, 0, 0, 0);
    backdrop-filter: blur(0px);
    transition: background-color 1s;
    z-index: 0;
  }
  .modal-main.minimized .close-btn {
    top: 0px;
    right: 0px;
    font-size: 30px;
  }
  
  .modal-main.minimized .modal-content-main {
    opacity: 1;
    position: absolute;
    bottom: -25px;
    right: -25px;
    transform: translate(10%, 10%);
    transition: transform 1s, bottom 1s, right 1s;
  }
  .modal-content-main__btn {
    display: flex;
    justify-content: center;
    padding: 4px 0px;
    font-size: 24px;
    letter-spacing: 2px;
    border-radius: 10px;
    text-transform: uppercase;
    color: #fff;
    background: linear-gradient(135deg, #990703, #ff0000);
    animation: pulse 1s infinite alternate, gradientAnimation 3s infinite;
    cursor: pointer;
  }
  @media screen and (min-width: 992px) {
    .modal-content-main__btn {
      position: absolute;
      bottom: 51px;
      left: 456px;
      padding: 12px;
      font-size: 24px;
      border-radius: 10px;
      text-transform: uppercase;
      color: #fff;
      background: linear-gradient(135deg, #990703, #ff0000);
      animation: pulse 1s infinite alternate, gradientAnimation 3s infinite;
      cursor: pointer;
    }
  
    @keyframes pulse {
      0% {
        transform: scale(1);
      }
      100% {
        transform: scale(1.2);
      }
    }
    @keyframes gradientAnimation {
      0% {
        background-position: 0% 50%;
      }
      50% {
        background-position: 100% 50%;
      }
      100% {
        background-position: 0% 50%;
      }
    }
  }
  /* Стили для модального окна - END*/