.content-wrapper,
body,
html {
  width: 100%;
  height: 100%;
}

*,
.step .step__answers .btn {
  margin: 0;
}

body {
  overflow-x: hidden;
  font-family: Montserrat, "Noto Sans Arabic", "Segoe UI", Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.4;
  color: #333;
  min-width: 320px;
  background: 50%/cover #fff;
  z-index: 0;
  position: relative;
}

.map-container {
  background-image: url("../images/map.webp");
  background-position: 50%;
  background-size: cover;
  filter: brightness(0.45);
  height: 100%;
  width: 100%;
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
}

.step__inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: #fff;
  border-radius: 6px;
  color: #000;
  max-width: 1150px;
  padding: 20px 10px;
  position: relative;
  z-index: 1;
  text-align: center;
  width: 90%;
}

.step__answers {
  display: flex;
  flex-flow: column wrap;
  gap: 16px;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.btn {
  background: #ffba5f;
  border: 0;
  border-radius: 6px;
  color: #000;
  cursor: pointer;
  font-size: 21px;
  font-weight: 500;
  letter-spacing: 0.46px;
  line-height: 26px;
  max-width: 80%;
  padding: 8px;
  text-align: center;
  width: 100%;
  text-decoration: none;
  text-transform: capitalize;
}

.step__title {
  color: #000;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.46px;
  line-height: 19.2px;
  margin: 0;
  text-align: center;
}

.survey_disclaimer {
  display: none;
  color: #131313;
  font-size: 12px;
  letter-spacing: 0.025em;
  text-align: center;
  margin-top: 30px;
}

.footer {
  align-items: center;
  bottom: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  left: 0;
  min-height: 1px;
  position: absolute;
  right: 0;
}

.footer__text {
  color: hsla(0, 0%, 100%, 0.5);
  font-size: 14px;
  padding: 0 10px 10px;
}

.footer__copyright {
  color: hsla(0, 0%, 100%, 0.5);
  font-size: 0.7rem;
  font-style: normal;
  font-weight: 300;
  line-height: 40px;
}

.survey-container {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.step {
  padding: 3px;
  z-index: 1;
  display: flex;
  justify-content: center;
  width: 100%;
}

.map__card {
  position: absolute;
  max-width: 220px;
  background: rgb(255, 255, 255);
  box-shadow: rgba(0, 0, 0, 0.61) 9px 9px 5px -7px;
  text-align: center;
  transition: 0.4s;
  margin: 0px 7px;
  padding: 7px;
  z-index: -1;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
}
.map__card:before {
  animation-timing-function: linear;
  background: red;
  border-radius: 50%;
  inset: auto 0px -32px;
  content: "";
  display: block;
  height: 8px;
  margin: auto;
  position: absolute;
  width: 8px;
  animation-name: blink;
  animation-iteration-count: infinite;
  animation-duration: 1s;
}
.map__card:after {
  border-color: rgb(255, 255, 255) transparent transparent;
  border-style: solid;
  border-width: 20px 20px 0px;
  inset: auto 0px -20px;
  content: "";
  display: block;
  height: 0px;
  margin: auto;
  position: absolute;
  width: 0px;
}

.map__card-1 {
  right: 1%;
  top: 1%;
}

.map__card-2 {
  right: 0;
  top: 31%;
}

.map__card-3 {
  display: none;
}

.map__card-3-add {
  display: flex;
  right: 47%;
  top: 5%;
}

.map__card-4 {
  top: 1%;
  left: 1%;
}

.map__card-5 {
  right: 1%;
  bottom: 11%;
}

.map__card-6 {
  bottom: 7%;
  left: 1%;
}

.map__card-7 {
  bottom: 32%;
  left: 0%;
}

.map__card-8 {
  right: 28%;
  top: 35%;
}

.map__card-4,
.map__card-5,
.map__card-6,
.map__card-7,
.map__card-8 {
  opacity: 0;
}

.page {
  width: 105px;
  height: 84px;
  border-radius: 6px;
}

.map__card__footer {
  align-items: center;
  color: rgb(34, 34, 34);
  display: flex;
  flex-flow: column;
}

.map__card__location {
  align-items: center;
  display: flex;
  flex-flow: row;
  font-size: 7px;
  width: 100%;
  display: flex;
  justify-content: center;
  margin-bottom: 8px;
}

.map__card__online {
  background-color: rgb(11, 255, 0);
  border-radius: 50%;
  height: 8px;
  margin-right: 8px;
  width: 8px;
}

.map__card__name {
  margin: 0px;
  text-transform: capitalize;
}

.map__card__place {
  width: 10px;
  height: 16px;
  margin: 0 8px;
}

.map__card__way {
  font-size: 7px;
}

.map__card__button {
  background-color: rgb(255, 186, 95);
  border: none;
  border-radius: 0.4rem;
  color: rgb(0, 0, 0);
  cursor: pointer;
  font-size: 7px;
  opacity: 0.85;
  padding: 3px;
  text-align: center;
}

@keyframes clear {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0px);
  }
}
.map__card__click {
  opacity: 0;
  animation: 1s ease 0s 1 normal forwards running clear;
}

.first__question {
  color: #000;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.46px;
  line-height: 1.2;
  text-align: center;
}

.step__question {
  color: #000;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: normal;
  margin-bottom: 18px;
  padding: 0 16px;
  text-align: center;
}

.step__footer {
  width: 100%;
  margin-top: 20px;
}

.progress {
  height: 200px;
  z-index: 2;
  position: absolute;
  top: 0;
  background: #fff;
  padding: 20px;
  font-size: 16px;
  font-weight: 600;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-radius: 6px;
  max-width: 86%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  text-align: center;
}

.progress__container {
  margin-bottom: 20px;
}

.progress__bar {
  position: relative;
  width: 100%;
  height: 4px;
  background-color: #f2f4f7;
  border-radius: 5px;
  overflow: hidden;
  margin: 20px 0;
}

.bar {
  width: 0;
  height: 100%;
  background-color: #ffba5f;
  transition: width 0.3s linear;
}

@media screen and (min-width: 480px) {
  .step__title {
    font-size: 25px;
    font-weight: 400;
    line-height: 30px;
  }
  .first__question {
    font-size: 25px;
  }
  .step__inner,
  .progress {
    padding: 25px 12px 50px;
  }
  .progress {
    font-size: 22px;
  }
  .step__question {
    font-size: 38px;
    margin-bottom: 32px;
  }
  .step__answers {
    flex-direction: unset;
    gap: 24px;
  }
  .btn {
    padding: 18px;
    font-size: 32px;
  }
  .final__title {
    font-size: 38px;
    margin-bottom: 32px;
  }
  .final__texts {
    font-size: 24px;
  }
  .final__footer {
    gap: 24px;
  }
  .final__button {
    font-size: 38px;
    max-width: 40%;
  }
}
@media screen and (min-width: 768px) {
  .step__inner,
  .progress {
    width: 100%;
  }
  .final {
    max-width: 1150px;
  }
  [dir=rtl] .final {
    left: 50%;
    right: auto;
    transform: translate(-50%, -50%);
  }
  .btn {
    font-size: 38px;
    max-width: 40%;
  }
  .first__question {
    font-size: 38px;
  }
  .step__title {
    font-size: 38px;
    line-height: 46px;
  }
  .map__card {
    margin: 0px 12px;
    padding: 12px;
  }
  .map__card__name,
  .map__card__way {
    font-size: 14px;
  }
  .map__card-1 {
    right: 13%;
    top: 5%;
  }
  .map__card-2 {
    right: 0;
    top: 11%;
  }
  .map__card-4 {
    right: 67%;
    top: 5%;
  }
  .map__card-5 {
    right: 6%;
    bottom: 8%;
  }
  .map__card-6 {
    bottom: 11%;
  }
  .map__card-7 {
    bottom: 15%;
    left: 23%;
  }
  .map__card__button {
    font-size: 12px;
    padding: 6px;
  }
  .question__modal_container {
    bottom: 0;
    margin: auto;
  }
  .main {
    max-width: 40%;
  }
}
@media screen and (min-width: 1200px) {
  .page {
    width: 188px;
    height: 150px;
  }
  .map__card__button {
    font-size: 16px;
    padding: 12px 48px;
  }
  .step__question,
  .final__title {
    font-size: 48px;
  }
  .final__texts {
    font-size: 32px;
  }
}