* {
  box-sizing: border-box;
}

body,
html {
  height: 100%;
  margin: 0;
  overflow: hidden;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, sans-serif;
  padding: 24px;
  font-size: 20px;
  line-height: 1.4;
  background-color: black;
  color: white;
  transition: color .2s, background-color .2s;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

a {
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}

.cc-info,
.cc-about {
  position: absolute;
  top: 24px;
  left: 24px;
  right: 24px;
}

.cc-download-buttons {
  /* right: 24px; */
  margin-top: 48px;
  text-align: center;
}

.cc-download-buttons .button {
  width: 120px;
}

.cc-center-text {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.cc-tagline {
  font-size: 56px;
  line-height: 1.1;
  letter-spacing: 0px;
}

.video-container {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 150px;
  overflow: hidden;
}

.video-container video {
  position: relative;
  cursor: pointer;
  max-width: 100%;
  max-height: 100%;
  transform: scale(1);
  transition: transform .2s, box-shadow .2s;
  /* box-shadow: 0 0 0 0 rgba(0,0,0,.7); */
  /* border-radius: 20px; */
}

.video-container video.is-focused {
  transform: scale(2);
  z-index: 1;
  /* box-shadow: 0 0 100px 100px rgba(0,0,0,.7); */
}

.cc-about-link {
  position: absolute;
  top: 24px;
  right: 24px;
}

.cc-about-content {
  max-width: 600px;
}

.button {
  display: inline-block;
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 10px;
  margin-right: 7px;
  border: 1px solid white;
}

.trailer-button {
  text-align: center;
  width: auto;
}

.video-container {
  position: absolute;
  opacity: 0;
  top:100%;
  height: 100%;
  left: 0;
  right: 0;
  transition: opacity .2s, top .2s ease-in-out;
  z-index: 1;
  background-color: black;
}

.video-container.is-active {
  top: 0;
  opacity: 1;
}

@media (max-width: 600px) {

  
  .cc-tagline {
    font-size: 48px;
    width: 300px;
    text-align: center;
    padding-bottom:24px;
  }

  .cc-download-buttons{
    position: absolute;
    display: flex;
    left: 0;
    right: 0;
    bottom: 24px;
  }

  .cc-download-buttons .button {
    width: 50%;
    margin: 0;
    margin-right: 24px;
    margin-left: 6px;
  }

  .cc-download-buttons .button:first-child {
    margin-left: 24px;
    margin-right: 6px;
  }

  .cc-about{
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 24px;
    top:24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
}