@import '../../styles/variables/index.scss';

.container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 11111111;
  background: #cbc5b7;
  display: flex;
  align-items: center;
  padding: 16px;

  @media (min-width: 560px) {
    padding: 32px;
  }

  @media (min-width: 900px) {
    padding: 60px;
  }

  .video {
    width: 100%;
    padding: 0;
    margin-bottom: 0;

    > div {
      height: auto !important;
      > div {
        position: relative;
      }
      video {
        background: $main-blue;
        display: block;
        height: auto !important;
        &::-internal-media-controls-download-button {
          display: none;
        }
      }
    }
  }

  button {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 111111;
    background: transparent;
    border: 0;
    padding: 14px;
    color: $main-blue;
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: all 0.3s;

    span {
      margin-right: 8px;
      font-family: $font-family-atak-light;
      font-size: 14px;
    }

    svg {
      width: 22px;
      height: 22px;
      fill: #0f0b76;
    }

    &:hover {
      opacity: 0.5;
    }
  }

  .text {
    padding: 20px 40px;
    text-align: center;
    font-size: 20px;
    background: $main-blue;
    color: $white;
    display: flex;
    align-self: flex-end;
    font-family: $font-family-atak-light;
    font-size: 14px;
    line-height: 20px;
  }

  .content {
    max-width: 1094px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
  }

  &.hidden {
    display: none;
  }

  .loading & {
    opacity: 0;
  }
}
