
* {
  box-sizing: border-box;
  margin: 0;
}

html {
  background-color: darkgray;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: black;
  font: 400 15px/1.8 "Lato", sans-serif;
  color: #777;
}
  
::-webkit-scrollbar {
  display: none;
}

.trailer {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 83vw;
}
  
.caption {
  position:absolute;
  left: 0;
  right: 0;
  top: 50%;
  width: 100%;
  text-align: center;
  color: #000;
}
  
.caption div.border {
  background-color: #111;
  color: #fff;
  padding: 18px;
  font-size: 25px;
  letter-spacing: 10px;
}


.seta img {
  width: 50px;
}

.seta {
  align-content: center;
  align-items: center;
  position: absolute;
  margin: 10px 50%;
  transform: translate(-50%, 0%);
  animation: seta 1s infinite;
}

@keyframes seta{
  0% {}
  35% {margin-top:20px;}
  75% {margin-top:20px;}
  100% {margin-top: 10px;}
}

ul{
  position: absolute;
  align-content: center;
}

ul > div{
  list-style: none;
  display: inline;
  margin: 0 300px;
}

ul > div a{
  color: white;
  text-decoration: none;
  font-size:2em;
  padding: 10px 15px;
  border:2px solid transparent;
}

ul > div a:hover{
  animation: links 1s forwards;
}

@keyframes links{
  0% { }
  50% {color: rgb(80, 77, 77); border: 2px solid transparent}
  100% {color:white; border: 2px solid #fff;}
}

.overlay {
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  transition: opacity 500ms;
  visibility: hidden;
  opacity: 0;
}

.overlay:target {
  visibility: visible;
  opacity: 1;
}

.popup{
  margin:50vh auto;
  transform: translate(0, -50%);
  padding: 50px;
  background: #fff;
  width: 60vw;
  position: relative;
  transition: all 2s ease-in-out;
  color: black;
}

.popup .close {
  position: absolute;
  top: 20px;
  right: 30px;
  transition: all 200ms;
  font-size: 30px;
  font-weight: bold;
  text-decoration: none;
  color: #333;
}

.popup .close:hover {
  color: rgb(80, 77, 77);
}

.popupsynopsis {
  margin:50vh auto;
  transform: translate(0, -50%);
  padding: 50px;
  background: #fff;
  width: 60vw;
  position: relative;
  transition: all 2s ease-in-out;
}

.popupsynopsis .close {
  position: absolute;
  top: 20px;
  right: 30px;
  transition: all 200ms;
  font-size: 30px;
  font-weight: bold;
  text-decoration: none;
  color: #333;
}

.popupsynopsis .close:hover {
  color: rgb(80, 77, 77);
}