.container-video {
    position: absolute;
    background: black;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 40px auto;
    width: 45%;
    height: 661px;
    max-width: 100%;
    z-index: 10;
    top: 47px;
    background: url('../media/bg1.webp') no-repeat center center/cover;
    left: 50%;
    transform: translateX(-50%);
    }
    
    .container-video iframe {
      width: 100%;
      max-width: 900px !important;
      height: 500px;
      /* border-radius: 12px; */
      position: absolute;
      bottom: 0;
    }
  
    .container-video h3 {
      position:absolute;
      top: 54px;
      font-size: clamp(30px, 3.8vw, 48px);
      color: white;
      font-family: 'extraFontWeight';
      text-align: center;
      text-shadow: 2px 2px 2px rgb(0, 0, 0);
    }
  
    .close-button {
      position: absolute;
      top: -42px; 
      right: calc(45% - 400px + 10px);
      background: #ff4d4d;
      color: white;
      border: none;
      font-size: 24px;
      font-weight: bold;
      border-radius: 50%;
      width: 32px;
      height: 32px;
      cursor: pointer;
      z-index: 20;
  }
  
  .overlay {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.93); 
      display: flex;
      justify-content: center;
      align-items: start;
      z-index: 999; 
      padding-top: 100px; 
    }
  
    @media (min-width: 1900px) {
      .container-video {
        left: auto;
        transform: none;
        width: 43%;
      }
      .container-video iframe {
        max-width: none !important;
      }
    }
  
    @media (max-width: 1500px) {
      .container-video {
        left: auto;
        transform: none;
        width: 60% !important;
      }
    }
  
    @media (max-width: 1200px) {
      .container-video {
        left: auto;
        transform: none;
        width: 75% !important;
      }
    }
  
    @media (max-width: 900px) {
      .container-video {
        left: auto;
        transform: none;
        width: 80% !important;
      }
    
      .close-button {
        right: 10px;
        top: 10px; 
      }
    }