html, body {
   margin: 0;
      padding: 0;
      width: 100%;
      height: 100%;
      overflow: hidden;
      background-color: black;
      position: relative;
  
}

.bg {

    position: fixed;
    inset: 0;
      display: flex;
      justify-content: center;
      align-items: center;
      padding-left: env(safe-area-inset-left);
      padding-right: env(safe-area-inset-right);
      padding-top: env(safe-area-inset-top);
      padding-bottom: env(safe-area-inset-bottom);
      box-sizing: border-box;
      background-color: black;

}


.bgr {
  position: absolute;
  left: 0;
  top: 0;
 height: 100%;
 width: 100%;
 z-index: 0;
 display: block;
 object-fit: cover;
}

.bgrmv {
  position: absolute;
  left: 0;
  top: 0;
 height: 100%;
 width: 100%;
 z-index: 0;
 display: none;
 object-fit: cover;
}

.lef {
  position: absolute;
  height: calc(100vh - 50px);
  bottom: 0;
  left: 0;
  z-index: 1;
  display: block;
}

.rig {
  position: absolute;
  height: calc(100vh - 50px);
  bottom: 0;
  right: 0;
  z-index: 1;
  display: block;
}

.top {
  position: absolute;
  width: 100vw;
  top: 0;
  z-index: 1;
  display: block;
}

.topm {
  position: absolute;
  width: 100vw;
  top: 0;
  z-index: 1;
  display: none;
}

.topmg {
  position: absolute;
  width: 50vw;
  top: 0;
  z-index: 1;
  display: none;
}

.btmm {
  position: absolute;
  width: 100vw;
  bottom: 0;
  z-index: 1;
  display: none;
}

    .content-wrapper {
      position: absolute;
      margin-top: 50px;
      width: 72vw;
      display: flex;
      flex-direction: column;
      align-items: center;
      z-index: 1;
    }

    .video-container {
      width: 100%;
      position: relative;
      padding-bottom: 56.25%; /* 16:9 соотношение */
      height: 0;
      overflow: hidden;
      margin-bottom: 2vh; /* Отступ между видео и кнопками */
    }

    iframe {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      border: none;
    }

    .buttons-container {
      display: flex;
      justify-content: center;
      gap: 2vw; /* Расстояние между кнопками */
      width: 100%;
      margin-top: 0vh;
      z-index: 1;
    }

    .btn {
      font-family: 'Druk Text Wide Trial', sans-serif;
      font-weight: 500;
      margin-top: 0.3vh;
      padding: 0.5vh 1vw;

      font-size: 5vh;
      border: 2px black solid;
      border-radius: 30px;
     
      background: #ddbc16;
      color: rgb(0, 0, 0);
      cursor: pointer;
      transition: background 0.3s;
      width: 25vw; /* Ширина каждой кнопки */
      max-width: 40vw; /* Максимальный размер */
    }

    .btn:hover {
      background: #e1f85d;
    }

    /* Адаптация для мобильных устройств */
    @media (max-width: 1024px) {

      .bgr {
  display: none;
}

.bgrmv {
   display: block;
}



.lef {

  display: none;
}

.rig {
  display: none;
}

.top {
  display: none;
}

.topm {
   display: block;
}


.btmm {
  display: block;
}

    .content-wrapper {
      margin-top: 24vh;
      width: 75vw;
    }



    .buttons-container {
      display: flex;
      justify-content: center;
      gap: 5vw; /* Расстояние между кнопками */
      width: 100%;
      margin-top: 1vh;
      z-index: 1;
    }

    .btn {
      font-family: 'Druk Text Wide Trial', sans-serif;
      font-weight: 500;
      margin-top: 1vh;
      padding: 1vh 1vw;

      font-size: 1.5vh;
      border: 2px black solid;
      border-radius: 30px;
     
      background: #ddbc16;
      color: rgb(0, 0, 0);
      cursor: pointer;
      transition: background 0.3s;
      width: 30vw; /* Ширина каждой кнопки */
      max-width: 60vw; /* Максимальный размер */
    }

    .svvg {
     
    }

    
    }

     @media (min-width: 500px) and (max-height: 600px) {

      .bgr {
  display: none;
}

.bgrmv {
   display: block;
}



.lef {
  height: 100vh;
  display: block;
}

.rig {
  height: 100vh;
  display: block;
}

.top {
  display: none;
}

.topm {
   display: none;
}

.topmg {
   display: block;
}

.btmm {
  display: none;
}

    .content-wrapper {
      margin-top: 5px;
      width: 70vw;
    }


     .video-container {
      margin-bottom: 0; /* Отступ между видео и кнопками */
    }


    .buttons-container {
      display: flex;
      justify-content: center;
      gap: 6vw; /* Расстояние между кнопками */
      width: 80%;
      margin-top: 0.5vh;
      z-index: 1;
    }

    .btn {
      font-family: 'Druk Text Wide Trial', sans-serif;
      font-weight: 500;
      margin-top: 0.5vh;
      padding: 1.5vh 1vw;

      font-size: 2.5vh;
      border: 2px black solid;
      border-radius: 30px;
     
      background: #ddbc16;
      color: rgb(0, 0, 0);
      cursor: pointer;
      transition: background 0.3s;
      width: 20vw; /* Ширина каждой кнопки */
      max-width: 50vw; /* Максимальный размер */
    }

    .svvg {
     
    }

    
    }
