.popup {
  position: fixed;
  background-color: transparent;
  width: 100vw;
  height: 100vh;
  z-index: 10;
  top: 0;
  transition: background .3s ease;
  display: none;
}

.popup.open {
  background-color: rgba(50, 50, 50, .8);
}

.popup .content {
  width: 1040px;
  height: 680px;
  background-color: white;
  margin-left: calc(50% - 540px);
  margin-top: calc(25vh - 100px);
  transform: scale(0);
  transition: transform .5s ease;
  padding: 20px;
}

.popup.open .content {
  transform: scale(1);
}

.popup .close {
  position: absolute;
  width: 40px;
  height: 40px;
  margin-left: 980px;
  margin-top: 10px;
  cursor: pointer;
}

.popup h3 {
  color: black;
  letter-spacing: 2px;
  text-align: center;
  margin-top: 20px;
}

.popup iframe, .popup video {
  width: 800px;
  height: 450px;
  margin-left: calc(540px - 400px);
  margin-top: 100px;
}

@media (max-height: 900px) {
  .popup .content {
    margin-top: calc(15vh - 100px);
  }
}

@media (max-width: 1040px) {
  .popup .content {
    width: calc(100vw - 40px);
    height: calc(100vh - 40px);
    margin: 0;
  }

  .popup .close {
    right: 20px;
    margin-left: 0;
  }
  .popup iframe, .popup video {
    margin-left: calc(50% - 400px);
  }
}

@media (max-width: 800px) {
  .popup iframe, .popup video {
    width: 100%;
    margin-left: 0;
    height: 300px;
  }
}

#ogts-popup .left-part {
  background-color: #acc225;
  padding: 50px;
  padding-top: 30px;
  height: 100px;
  overflow-x: hidden;
}

#ogts-popup .left-part::before {
  content: "";
  background-color: transparent;
  height: 0;
  width: 0;
  position: absolute;
  z-index: -1;
  border-style: solid;
  border-width: 0 0 500px 1040px;
  border-color: transparent transparent transparent #acc225;
  margin-left: calc(84% - 710px);
  margin-top: 150px;
  margin-left: -50px;
}

@media (max-width: 1040px) {
  #ogts-popup .left-part::before {
    border-width: 0 0 400px calc(100vw - 40px);
  }
}

#ogts-popup h2 {
  font-size: 18px;
}

#ogts-popup ul {
  margin-top: 20px;
  margin-left: 15px;
}

#ogts-popup .first-img {
  width: 440px;
  margin-left: 30px;
  margin-top: -30px;
  float: left;
}

#ogts-popup .second-img {
  width: 440px;
  float: right;
  margin-top: 220px;
}

@media (max-width: 950px) {
  #ogts-popup .first-img, #ogts-popup .second-img {
    width: 500px;
    margin-left: calc(50% - 250px);
    margin-right: calc(50% - 250px);
    margin-top: 40px;
  }
  #ogts-popup .first-img {
    margin-top: 10px;
  }
}
