.modal-box {
  display: none;
  position: fixed;
  z-index: 99999999999999999999;
  padding-top: 15vh;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(8, 8, 9, 0.7);
}
.modal-content {
  position: relative;
  background-color: #fcf8ff;
  margin: auto;
  padding: 0;
  z-index: 999999999999999999999;
  max-width: 600px;
  -webkit-animation-name: animatetop;
  -webkit-animation-duration: 0.3s;
  animation-name: animatetop;
  animation-duration: 0.3s;
}
.modal-header {
  padding: 2px 12px;
  background: #080809;
  color: #ffed00;
}
.modal-header h6 {
  padding: 20px 0px 20px 10px;
  font-size: 1rem;
  line-height: 1.5rem;
  font-weight: 600;
  text-align: center;
}

.modal-body {
  background: #df0209;
  padding: 20px 40px;
  color: #fcf8ff;
  justify-items: center;
  text-align: center;
}

.modal-inline {
  display: flex;
  grid-gap: 10px;
  justify-content: center;
  margin-bottom: 5px;
}

.modal-inline a {
  font-size: 1rem;
  font-weight: 700;
}
.modal-inline > h6 {
  font-style: italic;
}

.phone-link-modal,
.whats-link-modal {
  display: flex;
  justify-content: center;
  font-size: 1.125rem;
  align-items: center;
  margin-top: 5px;
}
.phone-link-modal:hover, .whats-link-modal:hover {
    color: #df0209;
}


.phone-link-modal::before {
  content: url(/img/phone-i.svg);
  margin-right: 10px;
  max-width: 20px;
  display: inline;
}

.whats-link-modal::before {
  content: url(/img/whats-i.svg);
  margin-right: 10px;
  max-width: 20px;
  display: inline;
}

.modal-proposta-body {
  display: grid;
  background: #080809;
  grid-template-columns: repeat(2, 1fr);
  padding: 40px;
  color: #fcf8ff;
  justify-items: center;
  text-align: center;
}

.modal-whats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 10px;
  justify-items: center;
}

.modal-whats > div {
  transition: all 0.25s ease-out, opacity 0.25s ease-in, all 0.25s ease-out;
  font-size: 1rem;
  display: grid;
}

.modal-bg {
  background: #ffed00;
  color: #000;
  padding: 10px;
  width: 220px;
  border-radius: 10px;
  transition: 0.3s;
}
.modal-bg:hover {
  transform: scale(1.05);
}
.modal-bg a img {
  margin-right: 10px;
}

.close {
  color: #df0209;
  position: absolute;
  right: 8px;
  top: 6px;
  font-size: 2rem;
}

.close:hover,
.close:focus {
  color: #ffed00;
  text-decoration: none;
  cursor: pointer;
}

/* add animation effects */
@-webkit-keyframes animatetop {
  from {
    top: -300px;
    opacity: 0;
  }
  to {
    top: 0;
    opacity: 1;
  }
}

@keyframes animatetop {
  from {
    top: -300px;
    opacity: 0;
  }
  to {
    top: 0;
    opacity: 1;
  }
}

@media only screen and (min-width: 376px) and (max-width: 650px) {
  .modal-whats {
    grid-template-columns: 1fr;
  }

  .modal-content {
    margin: 0px 20px;
  }

  .mapouter-modal {
    display: none;
  }

  .modal-header h3 {
    font-size: 1rem;
    padding-top: 40px;
  }
}
@media only screen and (min-width: 331px) and (max-width: 375px) {
  .modal-whats {
    grid-template-columns: 1fr;
  }

  .modal-content {
    margin: 0px 20px;
  }

  .mapouter-modal {
    display: none;
  }

  .modal-header h3 {
    font-size: 1rem;
    padding-top: 40px;
  }

  .modal-body {
    background: #df0209;
    padding: 20px;
    color: #fcf8ff;
    justify-items: center;
    text-align: center;
  }
}

@media only screen and (max-width: 330px) {
  .modal-whats {
    grid-template-columns: 1fr;
  }

  .modal-content {
    margin: 0px 20px;
  }

  .mapouter-modal {
    display: none;
  }

  .modal-header h3 {
    font-size: 1rem;
    padding-top: 40px;
  }

  .modal-body {
    background: #df0209;
    padding: 20px 10px;
    color: #fcf8ff;
    justify-items: center;
    text-align: center;
  }
}
