.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    overflow-y: auto;
    overflow-x: hidden;
    box-sizing: border-box;
    z-index: 9999999999;
}

.modal-inner {
    box-sizing: border-box;
    max-width: 500px;
    margin: 50px auto;
}

.modal-content {
    background-color: #ffffff;
    width: 100%;
    padding: 32px;
    border-radius: 15px;
    box-shadow: 0px 5px 6px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
}

.modal-close {
    font-size: 24px;
    color: var(--slate);
    cursor: pointer;
}

.modal-body {
    margin-bottom: 32px;
}

.modal-footer {
    display: flex;
}

.modal-footer .btn {
    margin-right: 16px;
}

/* modal centered */

.modal.modal-centered .modal-inner {
    display: flex;
    align-items: center;
    min-height: calc(100% - (50px * 2));
}

/* modal full */

.modal.modal-full .modal-inner {
    width: 100%;
    height: 100%;
    margin: 0;
    max-width: 100%;
}

.modal.modal-full .modal-content {
    height: 100%;
    border-radius: 0;
}

/* modal animation */

.modal {
    opacity: 0;
    transition: 0.2s opacity ease;
}

.modal .modal-content {
    transform: scale(0.8);
    transition: 0.2s transform ease;
}

.modal.show {
    opacity: 1;
}

.modal.show .modal-content {
    transform: scale(1);
}

.modal.hide {
    pointer-events: none;
    visibility: hidden;
}

@media (max-width: 768px) {
    .modal-inner {
        width: 90%;
    }

    .modal-content {
        padding: 20px;
    }

    .modal-header,
    .modal-body {
        margin-bottom: 26px;
    }
}

.video-modal {
    width: 100%;
    height: 100vh;
    display: none;
    flex-direction: column;
    justify-content: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(0, 0, 0, 0.5);
}
.video-modal.show {
    display: flex;
}

.video-modal__inner {
  margin: 0 auto -1px;
  background: #fffdfb;
  position: relative;
  width: 1000px;
  height: 540px;
}

.video-modal__inner #videoModalSrc {
  display: flex;
}

.video-modal__inner #videoModalSrc,
.video-modal__inner #videoModalSrc iframe {
  width: 100%;
  height: 100%;
}

.video-modal__inner video {
  display: block;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

@media (max-width: 1200px) {
  .video-modal__inner {
    width: 800px;
    height: 450px;
  }
}

@media (max-width: 991px) {
  .video-modal__inner {
    width: 600px;
    height: 400px;
  }
}

@media (max-width: 669px) {
  .video-modal__inner {
    width: 90%;
    height: 400px;
  }
}

@media (max-width: 560px) {
  .video-modal__inner {
    width: 90%;
    height: 200px;
  }
}

.video-modal-placeholder {
    display: block;
    max-width: 100%;
    height: auto;
}

.video-modal-close {
    display: block;
    width: 20px;
    height: 20px;
    position: absolute;
    top: -25px;
    right: -25px;
    cursor: pointer;
    transition: all 0.2s;
}
.video-modal-close:hover {
    transform: rotate(90deg);
}
@media (max-width: 669px) {
    .video-modal-close {
        top: -30px;
        right: 0;
    }
}

@media (min-width: 480px) and (max-width: 1094px) {
    .tablet-menu {
        display: flex;
    }
}