@font-face {
  font-family: 'PT Sans';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/ptsans/v12/jizYRExUiTo99u79D0eEwA.ttf) format('truetype');
}
@font-face {
  font-family: 'PT Sans';
  font-style: italic;
  font-weight: 700;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/ptsans/v12/jizdRExUiTo99u79D0e8fOytKA.ttf) format('truetype');
}
@font-face {
  font-family: 'PT Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/ptsans/v12/jizaRExUiTo99u79P0U.ttf) format('truetype');
}
@font-face {
  font-family: 'PT Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/ptsans/v12/jizfRExUiTo99u79B_mh4Ok.ttf) format('truetype');
}
html {
  box-sizing: border-box;
}
.main {
  flex-grow: 1;
}
body {
  display: flex;
  flex-direction: column;
}
html,
body {
  height: 100%;
}
*,
*::after,
*::before {
  box-sizing: inherit;
}
ul[class],
ol[class] {
  padding: 0;
  text-decoration: none;
}
body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
ul[class],
ol[class],
li,
figure,
figcaption,
blockquote,
dl,
dd {
  margin: 0;
}
ul[class] {
  list-style: none;
}
img {
  max-width: 100%;
  display: block;
}
input,
button,
textarea,
select {
  font: inherit;
}
a {
  text-decoration: none;
}
.container {
  max-width: 1465px;
  width: 100%;
  padding: 0 15px;
  margin: 0 auto;
}
body {
  font-family: 'PT Sans', sans-serif;
  font-weight: bold;
}
.popup {
  position: fixed;
  top: 0;
  left: 0;
  padding: 25px;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.568);
  opacity: 0;
  visibility: hidden;
  overflow-y: auto;
  overflow-x: hidden;
  transition: all 0.8s ease 0s;
  z-index: 9999;
}
.popup__area {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100%;
  position: relative;
  max-width: 500px;
  width: 100%;
  height: 485px;
  margin: 0 auto;
}
.popup__body {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100%;
}
.popup__content {
  max-width: 500px;
  width: 100%;
  position: relative;
  opacity: 0;
  height: 485px;
}
.popup__close {
  position: absolute;
  top: 3px;
  right: -45px;
  cursor: pointer;

}

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

.popup__form {
  min-width: 300px;
  max-width: 590px;
  width: 100%;
  padding: 45px 35px;
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
}
.popup__form::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 455px;
  /* background-image: url('../img/icons/form-border.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain; */
  background-color:#dedcdc;
  border-top-left-radius: 75px;
  border-bottom-right-radius: 75px;
  z-index: -1;
}
.popup__form-input {
  max-width: 440px;
  width: 100%;
  /* background: #e8e8e8; */
  border: none;
  padding: 20px 25px;
  margin-bottom: 15px;
  outline: transparent;
  background: #fff;
  border-radius: 5px;
  outline: transparent;
}
.popup__form-input::placeholder {
  color: #010101;
  font-weight: normal;
  font-weight: 18px;
}
.popup__form-title {
  text-transform: uppercase;
  font-size: 18px;
  color: #010101;
  margin-bottom: 20px;
  text-align: center;
}
.popup__form-box {
  display: flex;
  align-items: center;
  margin-bottom: 5px;
}
.popup__form-capcha {
  padding-right: 20px;
  border:3px solid transparent;
}
.popup__form-header__box {
  display: flex;
  margin-bottom: 15px;
  align-items: center;
}
.popup__form-mobile {
  text-align: center;
}
.popup__form-btn button {
  background-color: #fff;
  padding: 20px 30px;
  text-align: center;
  text-transform: uppercase;
  color: #010101;
  /* border: none; */
  cursor: pointer;
  transition: 0.3s ease 0s;
  border: 3px solid #e30017;
  border-radius: 5px;
}
.popup__form-btn button:hover {
  background: #e30017;
  color:#fff;
}
.popup__form-mobile {
  font-size: 12px;
}
.popup__form-link-mobile {
  color: #010101;
  text-decoration: underline;
}

.popup.open {
  opacity: 1;
  visibility: visible;
}
.popup.open .popup__content {
  transform: perspective(600px) translate(0px, 0%) rotate(0deg);
  opacity: 1;
  z-index: 5;
}
@media (max-width: 769px) {
  .popup {
    background: rgba(255, 255, 255, 1);
  }
  .popup__close {
    top: -30px;
    right: 0;
  }
  .popup__form {
    padding: 25px 10px;
    position: relative;
    background-color:#dedcdc;
    border-top-left-radius: 40px;
    border-bottom-right-radius: 40px;
  }
  .popup__form::before {
    display: none;
  }
}
@media (max-width: 550px) {
  .popup__content,
  .popup-2__content {
    height: 310px;
  }
  .popup__form {
    padding: 25px 10px;
    position: relative;
    background-color:#dedcdc;
    border-top-left-radius: 40px;
    border-bottom-right-radius: 40px;
  }
  .popup__form::before {
    display: none;
  }
  .popup__form-input {
    padding: 15px;
  }
  .popup__form-title {
    font-size: 13px;
  }
  .popup__form-header__box {
    display: flex;
    margin-bottom: 15px;
  }
  .popup__form-mobile {
    text-align: center;
  }
  .popup__form-btn button {
    padding: 15px 10px;
  }
}


.popup__form-btn {
  width: 100%;
  text-align: right;
}

.popup-success__text{
    background-color: #dedcdc;
    border-top-left-radius: 75px;
    border-bottom-right-radius: 75px;
    padding: 40px;
    min-height: 250px;
    width: 100%;
    max-width: 400px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    text-align: center;
}
.popup-success__img{
  width: 70px;
  margin-bottom: 10px;
  margin-left: auto;
  margin-right: auto;
}
#popup-success .popup-link{
  display: none;
}