/*  I'm being verbose with my naming to make sure there won't be any
    issue with the old code. */

.custom-video-modal {
  z-index: 9;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  opacity: 0;
  visibility: hidden;
  transform: scale(1.1);
  transition: visibility 0s linear 0.25s, opacity 0.25s 0s, transform 0.25s;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.custom-show-modal {
  opacity: 1;
  visibility: visible;
  transform: scale(1.0);
  transition: visibility 0s linear 0s, opacity 0.25s 0s, transform 0.25s;
}

.custom-container {
  background-color: white;
  width: 100vh;
  border: 2px solid red;
  border-radius: 4px;
  background-color: red;
  display: flex;
  flex-direction: column;
  position: relative;
}

.custom-btn-container {
  position: absolute;
  top: -25px;
  right: -2px;
  bottom: 0;
  background-color: red;
  border-radius: 3px;
}

.custom-close-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: white;
  border: 2px solid red;
  border-radius: 3px;
  height: 24px;
  width: 24px;
  transition: background-color 0.1s;
  background-color: red;
}

.custom-close-btn:hover {
  color: red;
  background-color: white;
  transition: background-color 0.14s;
}

.custom-close-btn:active {
  color: white;
  background-color: red;
  transition: background-color 0s;
}

.custom-video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  padding-top: 30px;
  height: 0;
  overflow: hidden;
}

.custom-video-wrapper iframe,
.custom-video-wrapper object,
.custom-video-wrapper embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

@media screen and (max-width: 798px) {
  .custom-container {
    width: 80%;
  }
}

@media screen and (max-width: 480px) {
  .custom-container {
    width: 90%;
  }
}