body {
  margin: 0;
  box-sizing: border-box;
  font-family: sans-serif;
  display: flex;
  justify-content: center;
  height: 100vh;
  align-items: center;
  background-color: black;
}

.main-container {
  max-width: 550px;
  padding: 10px;
  position: relative;
}

.main-container img {
  max-width: 100%;
  margin-bottom: 15px;
  border-radius: 10px;
}

.main-container h1 {
  color: white;
  font-weight: 500;
  font-size: 2em;
}

.main-container p {
  color: white;
  margin: 15px 0;
}

.trailer-container {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgba(44, 43, 42, 0.5);
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 1;
  transition: opacity 1.4s;
}

.active.trailer-container {
  visibility: hidden;
  opacity: 0;
}

.trailer-container video {
  position: relative;
  max-width: 1000px;
  outline: none;
}

.btn {
  background-color: white;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  border-radius: 5px;
}

.btn:hover {
  background-color: orange;
}

@media (max-width: 991px) {
  .trailer-container video {
    max-width: 90%;
  }
}

.close-icon {
  position: absolute;
  top: 100px;
  right: 100px;
  color: white;
  cursor: pointer;
}

.close-icon:hover {
  color: orange;
}

.img-container {
  position: relative;
  display: inline-block;
}

.watch-on-img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  color: red;
  cursor: pointer;
}

.watch-on-img:hover {
  color: orange;
}

.watch-on-img.active {
  visibility: hidden;
}
