.modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.modal * {
  pointer-events: none !important;
}

.modal-dimmer {
  width: 100%;
  height: 100%;
  background: rgba(33, 39, 51, 0.8);
  position: absolute;
}

.modal-element {
  max-width: 500px;
  width: 100%;
  z-index: 1;
  background-color: white;
  filter: drop-shadow(0px 12px 16px rgba(25, 48, 82, 0.1));
  border-radius: 2px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  margin-bottom: -24px;
  transition: margin 0.3s;
}

.modal-close {
  cursor: pointer;
  color: white;
  position: absolute;
  right: 20px;
  top: 20px;
  font-size: 24px;
}

.modal-element-body {
  flex: 1;
}

.modal.opened {
  opacity: 1;
  pointer-events: all;
}

.modal.opened * {
  pointer-events: all !important;
}

.modal.opened .modal-element {
  margin-bottom: 0;
}

.contact-modal .modal-element {
  max-width: 900px;
  min-height: 545px;
}

.contact-modal .modal-element-body {
  display: flex;
}

.contact-modal .contact-modal-left {
  flex: 1;
  padding: 60px 40px;
}

.contact-modal .contact-modal-left .contact-modal-left-title {
  font-weight: normal;
  font-size: 30px;
  line-height: 38px;
  text-align: center;
  margin: 0 0 8px;
}

.contact-modal .contact-modal-left .contact-modal-left-description {
  margin: 0 0 32px;
  font-weight: 300;
  font-size: 16px;
  line-height: 19px;
}

.contact-modal .contact-modal-right {
  width: 395px;
  display: flex;
}

.contact-modal .contact-modal-right img {
  object-fit: cover;
  object-position: -380px 0px;
}

@media screen and (max-width: 767px) {
  .modal {
    padding: 0;
  }

  .modal .modal-element {
    width: 100vw;
    height: 100vh;
    max-width: unset;
    min-height: unset;
  }

  .contact-modal .modal-element-body {
    position: relative;
  }

  .modal-close {
    color: black;
    right: 11px;
    top: 85px;
  }

  .contact-modal .contact-modal-left {
    padding: 40px 16px;
    padding: 40px 16px;
    overflow: auto;
    max-height: 100vh;
  }

  .contact-modal .contact-modal-left .contact-modal-left-title {
    text-align: left;
  }

  .contact-modal a {
    display: inline-flex;
  }

  .contact-modal .contact-modal-right {
    display: none;
  }
}