.flooribtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: #ffffff;
  text-align: center;
  background-color: #000000;
  border: 2px solid #000000;
  padding: 0.7rem 2.5rem;
  transition: all 0.5s ease;
}

.flooribtn:hover {
  color: #000000;
  background-color: transparent;
}

.flooribtn__icon {
  max-width: 20px;
  max-height: 20px;
  margin-right: 10px;
}

.floorimodal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 999999999999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s ease;
}

.floorimodal__container {
  position: relative;
  width: 100%;
  height: 100%;
  max-width: 90vw;
  max-height: 90vh;
  background-color: #ffffff;
  border-radius: 6px;
  padding: 10px;
  transform: translateY(-100%);
  transition: all 0.5s ease;
}

.floorimodal__container iframe {
  width: calc(100% - 6px);
  height: 95%;
  margin-left: auto;
  margin-right: auto;
}

.floorimodal__close {
  position: relative;
  display: block;
  width: 24px;
  height: 24px;
  margin: 0 0 5px auto;
}

.floorimodal__close::before,
.floorimodal__close::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background-color: #000000;
  transition: all 0.5s ease;
}

.floorimodal__close::before {
  width: 14px;
  height: 2px;
  transform: rotate(45deg) translate(-6px, 5px);
}

.floorimodal__close::after {
  width: 2px;
  height: 14px;
  transform: rotate(45deg) translate(-6px, -4px);
}

.floorimodal__close:hover::before,
.floorimodal__close:hover::after {
  background-color: #ff0000;
}

.floorimodal--active {
  opacity: 1;
  visibility: visible;
}

.floorimodal--active .floorimodal__container {
  transform: none;
}

@media (min-width: 768px) {
  .floorimodal__container iframe {
    width: 100%;
  }
}
