.popup-container {
  display: none;
  position: fixed;
  width: 100%;
  height: 100vh;
  align-items: center;
  justify-content: center;
  background-size: cover;
  backdrop-filter: blur(10px);
  transition: filter 0.5s ease;
  z-index: 999;
  top: 0;
  overflow: hidden;
}

.popup-open {
  overflow: hidden;
}

/* POP-UP 1 */
.popup {
  display: none;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 692px;
  height: 374px;
  padding: 45px 65px;
  text-align: center;
  z-index: 1000;
  filter: drop-shadow(3px 4px 31px #b1c4ff);
  border-radius: 36px;
  background: #170429;
  flex-direction: column;
  align-items: flex-start;
}

.popup-title {
  font-family: "Work Sans 700";
  font-style: normal;
  font-weight: 800;
  font-size: 48px;
  line-height: 110%;
  text-transform: uppercase;
  color: #ffc700;
}

.popup-descr {
  margin-top: 5px;
  font-family: "Work Sans 700";
  font-style: normal;
  font-weight: 800;
  font-size: 36px;
  line-height: 40px;
  color: #ffffff;
}

.popup-input_container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 55px;
  width: 100%;
}

.popup-input {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid #f7f7fb;
  border-radius: 4px;
  width: 280px;
  height: 58px;
  font-family: "Work Sans 500";
  font-style: normal;
  font-weight: 500;
  font-size: 24px;
  line-height: 28px;
  color: #ffffff;
  padding-left: 30px;
}

.popup-submit {
  font-family: "Work Sans 500";
  background: #ffc700;
  border-radius: 4px;
  width: 240px;
  height: 58px;
  font-style: normal;
  font-weight: 500;
  font-size: 24px;
  line-height: 35px;
  letter-spacing: 0.147432px;
  text-transform: capitalize;
  color: #190431;
}

.popup-submit:hover {
  background: #ff913b;
}

.popup-close {
  font-family: "Work Sans 400";
  position: absolute;
  top: 15px;
  right: 32px;
  cursor: pointer;
  color: #ffffff;
  font-size: 43px;
  background: none;
}

.confirmation-close {
  font-family: "Work Sans 400";
  position: absolute;
  top: 15px;
  right: 32px;
  cursor: pointer;
  color: #ffffff;
  font-size: 43px;
  background: none;
}

.popup-agree {
  margin-top: 40px;
  font-family: "Work Sans 400";
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 140%;
  color: #d9d9d9;
}

.confirmationPopup {
  height: max-content;
}

@media screen and (max-width: 770px) {
  .popup {
    width: 400px;
    height: 560px;
    padding: 50px 50px;
    text-align: center;
    display: inline-block;
  }

  .popup-title {
    margin-top: 10px;
    display: inline-block;
    text-align: center;
    width: 100%;
  }

  .popup-input_container {
    flex-direction: column;
    gap: 30px;
  }

  .popup-input {
    width: 320px;
    height: 56px;
  }

  .popup-submit {
    width: 320px;
    height: 56px;
  }

  .confirmationPopup {
    height: max-content;
  }

  .confirmationPopup-title {
    font-size: 32px;
  }

  .confirmationPopup-descr {
    font-size: 28px;
  }
}

@media screen and (max-width: 420px) {
  .popup {
    width: 300px;
    height: 550px;
    padding: 65px 20px;
  }

  .popup-title {
    margin-top: 10px;
    font-size: 40px;
  }

  .popup-descr {
    font-size: 30px;
  }

  .popup-input_container {
    flex-direction: column;
    gap: 30px;
  }

  .popup-input {
    width: 240px;
    height: 56px;
  }

  .popup-submit {
    width: 240px;
    height: 56px;
  }

  .popup-agree {
    font-size: 14px;
  }

  .confirmationPopup {
    height: max-content;
  }

  .confirmationPopup-title {
    font-size: 28px;
  }

  .confirmationPopup-descr {
    font-size: 25px;
  }
}

/* /////////////////////////////////////////////////////////////////////// */
/* POP-UP 2 */
.popup2 {
  display: none;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 692px;
  height: 374px;
  padding: 45px 65px;
  text-align: center;
  z-index: 1000;
  filter: drop-shadow(3px 4px 31px #b1c4ff);
  border-radius: 36px;
  background: #ffc700;
  flex-direction: column;
  align-items: flex-start;
}

.popup2-title {
  font-family: "Work Sans 700";
  font-style: normal;
  font-weight: 800;
  font-size: 48px;
  line-height: 110%;
  text-transform: uppercase;
  color: #170429;
}

.popup2-descr {
  margin-top: 5px;
  font-family: "Work Sans 700";
  font-style: normal;
  font-weight: 800;
  font-size: 36px;
  line-height: 40px;
  color: #170429;
}

.popup2-input_container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 55px;
  width: 100%;
}

.popup2-input {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid #1d093b;
  border-radius: 4px;
  width: 280px;
  height: 58px;
  font-family: "Work Sans 500";
  font-style: normal;
  font-weight: 500;
  font-size: 24px;
  line-height: 28px;
  color: #170429;
  padding-left: 30px;
}

.popup2-submit {
  font-family: "Work Sans 500";
  background: #1d093b;
  border-radius: 4px;
  width: 240px;
  height: 58px;
  font-style: normal;
  font-weight: 500;
  font-size: 24px;
  line-height: 35px;
  letter-spacing: 0.147432px;
  text-transform: capitalize;
  color: #ffffff;
}

.popup2-submit:hover {
  background: #36126c;
}

.popup2-agree {
  margin-top: 40px;
  font-family: "Work Sans 400";
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 140%;
  color: #170429;
}

.popup2-close {
  color: #1d093b;
}

.confirmationPopup2 {
  height: max-content;
}

@media screen and (max-width: 770px) {
  .popup2 {
    width: 400px;
    height: 560px;
    padding: 60px 50px;
    text-align: center;
  }

  .popup2-title {
    margin-top: 10px;
    display: inline-block;
    text-align: center;
    width: 100%;
  }

  .popup2-input_container {
    flex-direction: column;
    gap: 30px;
  }

  .popup2-input {
    width: 320px;
    height: 56px;
  }

  .popup2-submit {
    width: 320px;
    height: 56px;
  }

  .confirmationPopup2 {
    height: max-content;
  }

  .confirmationPopup2-title {
    font-size: 30px;
  }

  .confirmationPopup2-descr {
    font-size: 25px;
  }
}

@media screen and (max-width: 420px) {
  .popup2 {
    width: 300px;
    height: 550px;
    padding: 65px 20px;
  }

  .popup2-title {
    margin-top: 10px;
    font-size: 40px;
  }

  .popup2-descr {
    font-size: 30px;
  }

  .popup2-input_container {
    flex-direction: column;
    gap: 30px;
  }

  .popup2-input {
    width: 240px;
    height: 56px;
  }

  .popup2-submit {
    width: 240px;
    height: 56px;
  }

  .popup2-agree {
    font-size: 14px;
  }

  .confirmationPopup2 {
    height: max-content;
  }

  .confirmationPopup2-title {
    font-size: 24px;
  }

  .confirmationPopup2-descr {
    font-size: 20px;
  }
}