.popup {
  position: fixed;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  top: 0;
  left: 0;
  z-index: 9999999;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: 0.35s all;
}

.active {
  display: flex;
  opacity: 1;
  visibility: visible;
  align-items: center;
  padding: 0 40px;
}

.blur {
  filter: blur(13px);
}

.popup__body {
  width: 100%;
  display: contents;
}
.popup__content {
  margin: auto;
  background: white;
  height: 620px;
  display: flex;
  align-items: center;
  padding: 50px 40px 60px;
  width: 100%;
  color: black;
  position: relative;
  max-width: 913px;
  transition: 0.35s all;
  transform: scale(0);
  background: #cdcdcd;
  box-shadow: 0px 4px 14px rgba(0, 0, 0, 0.25);
}
.popup__right-content {
  display: flex;
  flex-direction: column;
  margin-left: 43px;
  row-gap: 73px;
}
.popup-discription {
  font-family: "TT Interfaces";
  font-style: normal;
  font-weight: 500;
  font-size: 23.2709px;
  line-height: 120%;

  text-transform: lowercase;

  color: #212223;
}
.popup-button {
  padding: 17.6877px 39.0992px;
  gap: 9.31px;
  color: white;
  background: #262626;
  border-radius: 65.1653px;
  width: fit-content;

  font-family: "TT Interfaces";
  font-style: normal;
  font-weight: 500;
  font-size: 32px;
  line-height: 113.1%;

  text-align: center;

  color: #cdcdcd;

  cursor: pointer;
}

.popup-button:hover {
  background: #fa4515;
  cursor: pointer;
  transition: ease-in-out 0.2s;
}

.popup__img {
  max-width: 410px;
}
.popup__img img {
  width: 100%;
}

.popup__close {
  position: absolute;
  top: 20px;
  right: 20px;
  color: black;
  cursor: pointer;

  
}

.popup__close svg{
  transition: ease-in-out 0.2s;
}


.popup__close svg:hover{
  fill: red;
  transition: ease-in-out 0.2s;
}


.popup.active .popup__content {
  -webkit-transform: scale(1);
  transform: scale(1);
  -webkit-transition: 0.5s all;
  transition: 0.5s all;
}

@media screen and (max-width: 1230px) {
  .popup__content {
    height: 467px;
    max-width: 700px;
  }
}
@media screen and (max-width: 1024px) {
  .popup__content {
    height: 359px;
    max-width: 565px;
    padding: 70px 40px 60px;
  }
  .popup__right-content {
    row-gap: 40px;
  }
}

@media screen and (max-width: 768px) {
  .popup__content {
    height: 348px;
    max-width: 378px;
    padding: 20px;
  }
  .popup__right-content {
    row-gap: 20px;
    margin-left: 20px;
  }
  .popup__img {
    width: 50%;
  }
  .popup-discription {
    font-size: 15.2709px;
    line-height: 17px;
  }
  .popup-button {
    padding: 12.12414px 23.1692px;
    font-size: 16.4461px;
  }
}
@media screen and (max-width: 500px) {
  
  .popup__content {
    height: 250px;
    max-width: 294px;
    padding: 20px;
  }
  .popup-discription {
    font-size: 11.2709px;
    line-height: 15px;
  }
  .popup__right-content {
    row-gap: 15px;
  }

  .popup-button {
    padding: 9.12414px 20.1692px;
    font-size: 14.4461px;
  }

  .popup__close img {
    width: 20px;
    height: 20px;
  }


}