@import url("./common.css");

main {
  width: 80%;
  margin: 0 auto;
  padding: 105px 0 45px;
  text-align: center;
}

.video-top {
  max-width: 520px;
  margin: 0 auto 20px;
}

header h1 {
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 2rem;
  text-align: center;
  line-height: 1.6;
}

.video {
  display: flex;
  justify-content: center;
  margin: 0 auto;
}

.video video {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 65vh;
  border: 2px solid var(--border);
  border-radius: 30px;
}

@media (max-width: 768px) {
  main {
    width: 95%;
  }

  header h1 {
    font-size: 1.8rem;
  }
}

@media (max-width: 480px) {
  main {
    width: 100%;
    padding: 105px 10px 45px;
    box-sizing: border-box;
  }

  header h1 {
    font-size: 1.5rem;
  }

  .video video {
    max-height: 60vh;
  }
}