* {
margin: 0;
padding: 0;
box-sizing: border-box;
  }
  
  ul {
 list-style: none;
  }
  
  a {
  text-decoration: none; 
  }



body {
font-family: 'Poppins';
}

.cabecalho {
display: flex;
justify-content: space-between;
padding: 30px;
max-width: 1440px;
margin: 0 auto;
}

.cabecalho .logo {
width: 65px;
}

.cabecalho .menu{
display: flex;
align-items: center;
height: 100%;
}

.cabecalho nav li a {
font-weight: bold;
color: #ffffff;
font-size: 25px;
padding: 10px 20px;
border-radius: 50px;
transition: 0.2s;
}

.cabecalho nav li a:hover {
background-color: #d5011d;
}

.container {
max-width: 1440px;
margin: 0 auto;
display: flex;
align-items: center;
height: calc(100vh - 132px);
padding: 0 30px 30px;
}

.container .imagem-titulo {
max-width: 500px;
}

.container .descricao {
color: #a8adb7;
width: 85%;
font-size: 18px;
margin: 30px 0;
}

.container .botao-trailer {
background-color: #ff0021;
color: #ffffff;
padding: 15px;
font-size: 18px;
font-weight: bold;
cursor: pointer;
border: none;
text-transform: uppercase;
transition: 0.5s all ease-in-out;
}

.container .botao-trailer:hover {
transform: scale(1.1)
}

.fundo-video {
position: absolute;
z-index: -1;
width: 100vw;
height: 100vh;
overflow: hidden;
display: flex;
justify-content: center;
}

.fundo-video .video {
height: 100vh;
}

.fundo-video::after {
content: "";
height: 100vh;
width: 100vw;
position: absolute;
top: 0;
left: 0;
background: linear-gradient(90deg, rgba(0,0,0,1) 0%, rgba(0,0,0,0.8) 50%, rgba(0,0,0,1) 100%);
}

.modal {
position: fixed;
width: 100vw;
height: 100vh;
top: 0;
left: 0;
background-color: rgba(52, 52, 50, 0.749);
opacity: 0;
visibility: hidden;
}

.conteudo-modal {
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
height: 100vh;
border-radius: 5px;
gap: 15px;
}

.fechar-modal {
background-color: #ffffff;
color: #f03a17;
font-weight: bold;
font-size: 20px;
width: 40px;
text-align: center;
cursor: pointer;
border-radius: 10px;
}

.modal iframe {
border-width: 0;
width: 640px;
height: 360px;
}

.modal.aberto {
opacity: 1;
visibility: visible;
}

@media (max-width: 1200px) {
body {
   background-color: #f44336;
}

.fundo-video {
    display: none;
}

.container {
    flex-wrap: wrap;
    justify-content: center;
    height: auto;
    gap: 30px;
}

.container .mario {
    max-width: 50%;
}

.container .informacoes {
    display: flex;
    align-items: center;
    flex-direction: column;
}

.container .descricao {
    color: #ffffff;
    text-align: center;
}

.container .botao-trailer {
    background-color: #263238;
}
}

@media (max-width: 500px) {
.cabecalho {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.container .imagem-titulo {
    max-width: 75%;
}

.modal .fechar-modal {
    width: 30px;
    line-height: 30px;
}

.modal #video {
    width: 300px;
    height: 169px;
}
}

@media (max-width: 376px) {
.modal #video {
    width: 250px;
    height: 140px;
}
}
