 @import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;700&display=swap');
    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
      border: 0;
  }
    body {
      position: relative;
      /* font-family: 'MYRIADPRO',sans-serif; */
        font-family: 'Neutral Face', sans-serif;
        color: #242527;
    }
    .gallery {
        display: none;
        flex-wrap: wrap;
        justify-content: space-between;
        position: absolute;
        left: 24%;
        top: 108px;
      }
      .gallery a {
        flex-basis: calc(33.33% - 10px);
        margin-bottom: 20px;
      }  
      .gallery img {
        max-width: 100px;
        height: auto;
      }
       
      #gallery-button, #close-button, #myBtn, #gratters-button  {
        padding: 10px;
        background-color: #222;
        color: #fff;
        border: none;
        border-radius: 5px;
        box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.75);
        transition: box-shadow 0.2s ease-in-out;
        cursor: pointer;
      }
      
      #gallery-button:hover, #close-button:hover, #myBtn:hover  {
        box-shadow: 0px 0px 10px 0px rgba(255,255,255,0.75);
      }
      
      #gallery-button:active, #close-button:active, #myBtn:active  {
        box-shadow: inset 0px 0px 10px 0px rgba(255,255,255,0.75);
      }
      .wrapper {
        max-width: 1400px;
        padding: 20px;
        height: auto;
      }
      #myVideo {
        z-index: -1;  
        position: fixed;
        right: 0;
        bottom: 0px;
        min-width: 100%;
        min-height: 100%;
        object-fit: cover;
        object-position: center;
    }
    .img-scroll {
      height: 200px;
    }
    .img-otk {
      position: fixed;
      width: 205px;
      bottom: 20px;
      right: 20px;
      height: 180px;
    } 
    .content {
        display: block;
        position: fixed;
        background: rgba(0, 0, 0, 0.3);
        color: #f1f1f1;
        width: calc(100% - 40px);
      
        padding: 5px 20px;
        display: flex;
    justify-content: space-between;
    align-items: center;
    }
    .wrapper-animat {
      max-width: calc(100% - 20px);
      overflow: hidden;
    } 

    .content__img {
      width: 100px;
      border-radius: 50%;
    }

    .scrolling-ball {
      max-width: 100%;
      animation: marquee 20s linear infinite;
      pointer-events: none; 
      
    }
    @keyframes marquee {
      from {
        transform: translateX(100%);
      }
      to {
        transform: translateX(-100%);
      }
    }

    .scrolling-ball1 {
      animation: marquee1 30s linear infinite;
      max-width: 100%;
      pointer-events: none; 
    }
    @keyframes marquee1 {
      from {
        transform: translateX(100%);
      }
      to {
        transform: translateX(-100%);
      }
    }

    .scrolling-ball2 {
      animation: marquee2 40s linear infinite;
      pointer-events: none; 
      max-width: 100%;
    }
    @keyframes marquee2 {
      from {
        transform: translateX(100%);
      }
      to {
        transform: translateX(-100%);
      }
    }
    @media (max-width: 414px) {
      #myVideo {
          width: 414px;
        }
      .img-scroll {
        margin-top: 50px;
      height: 120px;
        }
      .img-otk {
      z-index: -1;
      width: 130px;
      bottom: 40px;
      right: 10px;
      height: 122px;
      } 
      .wrapper {
        width: 414px; 
        height: auto;
      }
      .content {
        width: calc(414px - 40px);
      }
      #close-button {
        display: block;
        margin-top: 10px;
      }
      .gallery {
        left: 32%;
        top: 140px;
      }
    }
    @media (max-width: 390px) {
        #myVideo {
     width: 390px;
        }
      .wrapper {
        width: 390px;
        height: auto;
      }
      .content {
        width: calc(390px - 40px); 
      }
      .gallery {
        left: 13%;
        top: 140px;
      }
    
    }
    
    @media (max-width: 375px) {

      #myVideo {
        width: 375px;
      }
      .wrapper {
        width: 375px;  
        height: auto;
      }
      .content {
        width: calc(375px - 40px);  
      }
     
    }

  /* ****************** поздравления ******************* */
    #gratters-button {
      margin-top: 10px;
    }
    .input1 {
      display: block;
      max-width: 100%;
      min-height: 45px;
      opacity: 0.95;
      box-shadow: 0 11px 25px -4px rgba(0, 0, 0, 0.5), inset 0 -3px 4px -1px rgba(0, 0, 0, 0.2), 0 -10px 15px -1px rgba(255, 255, 255, 0.6), inset 0 3px 4px -1px rgba(255, 255, 255, 0.2), inset 0 0 5px 1px rgba(255, 255, 255, 0.8), inset 0 4px 30px 0 rgba(255, 255, 255, 0.2);
      border-radius: 4px;
      opacity: 0.95;
      font-size: 18px;
      padding: 5px;
      border: 0;
    }
  
    .message {
      max-width: 100%;
      /* min-height: 95px; */
      padding: 7px;
      box-shadow: 0 11px 25px -4px rgba(0, 0, 0, 0.5), inset 0 -3px 4px -1px rgba(0, 0, 0, 0.2), 0 -10px 15px -1px rgba(255, 255, 255, 0.6), inset 0 3px 4px -1px rgba(255, 255, 255, 0.2), inset 0 0 5px 1px rgba(255, 255, 255, 0.8), inset 0 4px 30px 0 rgba(255, 255, 255, 0.2);
      display: flex;
      /* background: #fff; */
      justify-content: space-between;
      opacity: 0.95;
      font-size: 18px;
      margin-bottom: 10px;
      background-color: #fff;
    }
   
    .list {
      max-height: 800px;
      overflow-y: scroll;
      /* Добавляем вертикальную полосу прокрутки */
      border: 2px solid #fff;
      padding: 8px;
      border-radius: 6px;
    }
  
    .close-btn {
      position: absolute;
      top: 8px;
      right: 8px;
      width: 50px;
    }
  
    label {
      position: relative;
    }
  
    .gratters {
      position: absolute;
      display: none;
      top: 150px;
      /* display: flex; */
      flex-direction: column;
      gap: 10px;
      max-width: 500px;
      padding: 20px;
      background: rgba(0, 0, 0, 0.3);
      /* background-color: rgb(255, 247, 240); */
      border-radius: 6px;
      /* margin-left: 40px; */
    }
    .gratters p {
      color: #fff;
    font-family: 'MYRIADPRO',sans-serif; 
      
    }
      
    .check {
      padding: 2px;
      border: 1px solid #79797c;
      border-radius: 3px;
    }
  
    .remove {
      padding: 2px;
      border: 1px solid #79797c;
      border-radius: 3px;
      background: rgba(0, 0, 0, 0.3);
    }
    .publish-btn {
      height: 30px;
      border-radius: 4px;
    }