.overlay {
  opacity: 0;
  visibility: hidden;

  position:fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;

  background: rgba(0,0,0,0.42);
  -webkit-transition: opacity 0.5s, visibility 0s 0.5s;
  transition: opacity 0.5s, visibility 0s 0.5s;


  display: flex;
  align-items: center;
  justify-content: center;

  z-index: 2000;
}

.is-visible {
  opacity: 1;
  visibility: visible;
  -webkit-transition: opacity 0.5s;
  transition: opacity 0.5s;
}

.is-transparent {
  opacity: 0;
}

.modal-window {
  overflow-y: auto;
  height: 100%;
}

.hexagon-close {
  background: transparent;
  border: none;
  width: 75px;
  height: 75px;
  font-size: 4rem;
}

.button-close {
  position: absolute;
  right: 1rem;
  top: 1rem;
}

.modal-hexagon__content {
  background: white;
  padding: 2rem;
  overflow-x: hidden;
  overflow-y: auto;
  text-align: center;
}

.modal-hexagon__content > h1 {
  margin-top: 0;
}

.flex-grid-col {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.flex-grid-row {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
}

@media (min-width: 768px) {

  .h-100 {
    height: 100%;
  }

  .h-98 {
    height: 98%;
  }

  .h-50 {
    height: 50%;
  }

  .h-25 {
    height: 25%;
  }

  .w-100 {
    width: 100%;
  }

  .w-40 {
    width: 40%;
  }

  .w-30 {
    width: 30%;
  }

  .arrow-up {
    width: 100%;
    background: url("../images/hexagon-modal/arrow-up.svg") no-repeat;
    background-size: contain;
    background-position-y: bottom;
    height: 0;
    padding: 0;
  }

  .arrow-down {
    width: 100%;
    background: url("../images/hexagon-modal/arrow-down.svg") no-repeat;
    background-size: contain;
    background-position-y: top;
    height: 0;
    padding: 0;
  }
}

@media (max-width: 767px) {
  .modal-window {
    display: flex;
    align-items: center;
    flex-direction: column;
  }

  .modal-hexagon {
    background: white;
    margin: 10rem 1rem 1rem 1rem;
  }

  .modal-hexagon__content > .contact-bij-wrapper {
    margin-bottom: 2rem;
  }

  .col, .col-2 {
    flex: inherit !important;
  }
}
