.popup {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.7);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  opacity: 0;
  visibility: hidden;
  -webkit-transition: opacity 0.3s ease, visibility 0.3s ease;
  -o-transition: opacity 0.3s ease, visibility 0.3s ease;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 1000;
}
.tg-show{
    display: inherit !important;
}
.popup.active {
  opacity: 1 !important;
  visibility: visible;
}

.popup__content {
  background: #fff;
  padding: 50px;
  border-radius: 25px;
  max-width: 735px;
  width: 100%;
  position: relative;
  -webkit-transform: translateY(-20px);
      -ms-transform: translateY(-20px);
          transform: translateY(-20px);
  -webkit-transition: -webkit-transform 0.3s ease;
  transition: -webkit-transform 0.3s ease;
  -o-transition: transform 0.3s ease;
  transition: transform 0.3s ease;
  transition: transform 0.3s ease, -webkit-transform 0.3s ease;
}

.popup__content h2 {
  margin: 0;
  font-family: 'Ubuntu', sans-serif;
  font-size: 68px;
  font-weight: 500;
  line-height: 1;
  color: #2A3440;
}

.popup__content h2 span {
  display: block;
  color: #3E8DFF;
}

.popup__icons {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -ms-flex-wrap: nowrap;
      flex-wrap: nowrap;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  padding: 50px 10px 0;
}

.popup__icons a {
  width: 115px;
  height: 115px;
}

.popup__icons img {
  width: 100%;
  height: auto;
}

.popup.active .popup__content {
  -webkit-transform: translateY(0);
      -ms-transform: translateY(0);
          transform: translateY(0);
}

.popup__close {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  position: absolute;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #F2F4F8;
  top: 25px;
  right: 25px;
  font-size: 35px;
  font-weight: 700;
  text-decoration: none;
  color: #2A3440;
  cursor: pointer;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

@media screen and (max-width: 768px) {
  .popup__content {
    max-width: 100%;
    margin: 0 15px;
    padding: 25px;
  }
  
  .popup__close {
    width: 40px;
    height: 40px;
    top: 20px;
    right: 25px;
    font-size: 25px;
  }
  
  .popup__content h2 {
    margin-right: 50px;
    font-size: clamp(26px, 7vw, 68px);
  }
  
  .popup__icons {
    padding: 25px 0 0;
  }
  
  .popup__icons a {
    width: 20%;
    height: auto;
  }
}