body {
  margin: 0;
}

h1,
h2,
h3,
h4,
h5 {
  margin: 0;
  padding: 0;
}

/* стили кнопки */

.fixed-btn {
  border: transparent;
  padding: 0;
  position: fixed;
  top: 25%;
  right: -10px;
  z-index: 1000;
  width: 65px;
  height: 50px;
  border-top-left-radius: 25px;
  border-bottom-left-radius: 25px;
  box-shadow: -1px 2px 7px rgb(0 0 0 / 30%);
  transition: all 0.5s;
  background: url("../images/phone-icon.png"), red;
  background-size: 40px;
  background-repeat: no-repeat;
  background-position: 30%;
  transition: transform 0.2s;
  cursor: pointer;
}

.fixed-btn:hover {
  transform: translate(-5px, 0);
}

@media screen and (min-width: 768px) {
  .fixed-btn {
    right: -15px;
    width: 95px;
    height: 70px;
    border-top-left-radius: 35px;
    border-bottom-left-radius: 35px;
    box-shadow: -2px 3px 11px rgb(0 0 0 / 30%);
    background-size: 50px;
  }

  .fixed-btn:hover {
    transform: translate(-15px, 0);
  }
}

/* Бэкдроп с формой */

.backdrop {
  position: fixed;
  z-index: 1002;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(1, 31, 74, 0.4);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px 0;
  transition: opacity 0.2s, visibility 0.2s;
}

.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.close-popup-btn {
  width: 25px;
  height: 25px;
  position: absolute;
  top: 15px;
  right: 15px;
  background: url("../images/cancel.png");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  color: white;
  border: none;
  cursor: pointer;
  padding: 5px;
}

@media screen and (min-width: 768px) {
  .close-popup-btn {
    background-size: 85%;
    width: 25px;
    height: 25px;
    top: 20px;
    right: 20px;
  }
}

.popup {
  position: relative;
  min-width: 250px;
  min-height: 250px;
  background-color: white;
  border-radius: 30px;
  color: black;
  border: 10px solid red;
  overflow-y: auto;
  padding: 20px 20px;
}

@media screen and (min-width: 768px) {
  .popup {
    min-width: 350px;
    max-height: 450px;
    border-radius: 5%;
    padding: 30px 15px;
  }
}

.popup-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 15px;
}

.popup-title {
  font-size: 30px;
  font-weight: 500;
  margin-bottom: 8px;
}

@media screen and (min-width: 768px) {
  .popup-title {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 10px;
  }
}

.form {
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.form-field {
  width: 100%;
  max-width: 310px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

@media screen and (min-width: 768px) {
  .form-field {
    margin-bottom: 14px;
  }
}

.popup-input {
  padding: 8px 14px;
  width: 100%;
  border: 2px solid grey;
  border-radius: 32px;
  background-color: rgba(0, 0, 0, 0);
  color: rgb(0, 0, 0);
}
.popup-label {
  margin-left: 5px;
  margin-bottom: 10px;
}

.form-btn {
  color: white;
  display: block;
  padding: 8px 16px;
  margin-bottom: 8px;
  background-color: red;
  border-radius: 24px;
  cursor: pointer;
  transition: all 0.2s;
}

.form-btn:hover {
  background-color: white;
  border: 2px solid red;
  color: black;
}
