* {
  margin: 0px;
  padding: 0px;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@font-face {
  font-family: "Mrrobot";
  src: url(../Fuentes/MRROBOT.ttf) format("truetype");
}

p {
  font-family: "Chakra Petch", sans-serif;
  font-family: "Roboto Mono", monospace;
}

header {
  height: 100vh;
  background-image: url(../img/Inicio/mr.jpg);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
/* ---------------NavBar---------------- */

nav img:hover {
  transform: rotate3d(0, 100, 100, 360deg);
}

nav {
  background-color: black;
  display: flex;
  justify-content: space-between;
}

nav img {
  transition: all 1s;
  height: 100px;
}

.contenedorNav {
  display: flex;
  justify-content: flex-end;
}

.navItems {
  padding: 1em;
  color: red;
  display: flex;
  align-items: center;
  font-size: 1.5em;
  transition: background-color 0.5s;
  font-family: "Mrrobot";
}

.navItems:hover {
  background-color: red;
  color: white;
  color: black;
}

.navItems a {
  text-decoration: none;
  color: inherit;
}

h1 {
  height: 80vh;
  display: flex;
  justify-content: end;
  align-items: center;
  color: red;
  font-family: "Mrrobot";
  font-size: 10em;
  font-weight: 100;
}

/* ------------------------TRAMA---------------------- */

#trama {
  height: 100vh;
  height: max-content;
  background-image: url(../img/Inicio/fondo-trama.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.titulos {
  text-align: center;
  font-size: 5em;
  font-family: "Mrrobot";
  font-weight: normal;
  color: red;
  padding: 20px;
  padding-bottom: 0px;
}

#trama article {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.textosDiv {
  margin: 10px;
  border-radius: 5px;
  padding: 5px;
  display: flex;
  flex-direction: column;
  background-color: rgba(43, 42, 42, 0.897);
}

.textosTrama {
  margin: 10px;
  color: white;
  font-size: 1em;
}

.divTramaFotos {
  height: 50%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr 1fr;
  place-items: center;
  gap: 20px;
  margin: 20px;
}

.divTramaFotos img {
  width: 100%;
  border-radius: 10px;
  transition: all 1s;
}

.divTramaFotos img:hover {
  transform: scale(1.1);
  box-shadow: 0 0 50px #df2d30db;
}

/*------------Personajes------------------*/

#personajes {
  height: 100vh;
  background-image: url("../img/Inicio/d.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  height: max-content;
  padding-bottom: 10px;
}

#personajes > div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  place-items: center;
  gap: 20px;
  padding-top: 50px;
}

.tarjetas {
  height: 125px;
  width: 550px;
  background-color: red;
  display: flex;
  justify-content: space-around;
  align-items: center;
  font-size: 2em;
  border-radius: 15px;
  overflow: hidden;
  transition: all 1s;
}

.textosPersonajes {
  color: aliceblue;
  padding: 0 50px;
}
.tarjetas:hover {
  transform: scale(1.1);
  box-shadow: 0 0 50px #df2d30db;
}

.personajes1 {
  width: 30%;
}

/* -------------------FOTOS------------------------------- */

#foto1 picture {
  display: flex;
  justify-content: center;
}
#fotos {
  height: 100vh;
  height: max-content;
  background-image: url("../img/Inicio/fondo-fotos.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

#foto1 {
  display: grid;
  padding: 20px 20px 20px 20px;
  grid-template-columns: 1fr 1fr 1fr;
  place-items: center;
  gap: 30px;
}

#foto1 img {
  width: 80%;
  border-radius: 10px;
  transition: all 1s;
}

#foto img:hover {
  transform: scale(1.3);
  box-shadow: 0 0 50px #df2d30db;
}
/*  ----------------------Contacto-------------------*/

#contacto {
  height: 100vh;
  background-color: black;
  padding: 20px;
  height: max-content;
}
form {
  background-color: rgba(128, 128, 128, 0.241);
  color: white;

  border-radius: 10px;
}

#form-Contenedor {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 20px;
  gap: 10px;
}

.form-grupo {
  display: flex;
  flex-direction: column;
  padding: 20px;
}
.form-grupo {
  font-family: "Chakra Petch", sans-serif;
  font-family: "Roboto Mono", monospace;
  margin-bottom: 10px;
}
.form-grupo [type="placeholder"] {
  font-family: "Chakra Petch", sans-serif;
  font-family: "Roboto Mono", monospace;
  margin-bottom: 10px;
}

form input {
  width: 100%;
  height: 50px;
  border-radius: 5px;
}

form textarea {
  width: 100%;
}

form button {
  width: 100px;
  height: 50px;
  align-self: center;
}
.textoFotos {
  width: 100%;
  color: white;
}

.textosContacto {
  color: white;
  margin-top: 50px;
}

.Videos {
  border-radius: 15px;
  padding: 1%;
  width: 420px;
  height: 236px;
}
.contenedorVideos {
  display: flex;
  justify-content: center;
  align-items: center;
}

.submitButton {
  background-color: white;
  border: 0px;
  border-radius: 10px;
}

.footer {
  height: 70vh;
  height: max-content;
  background-color: gray;
  display: grid;
  grid-template-columns: 1fr 1fr;
  place-items: center;
}

.footer img {
  width: 60%;
  border-radius: 300px;
  padding: 50px;
}

.footer1 {
  padding: 50px 0px;
}

iframe {
  border: none;
}

footer div {
  padding: 25px;
}
/*  ----------------------MEDIA-------------------*/
.menuBurguer {
  display: none;
  margin: 30px;
}

#menuBurguer svg {
  width: 3em;
  height: 3em;
}

@media screen and (max-width: 1200px) {
  #form-Contenedor {
    grid-template-columns: 1fr;
    margin: 0px;
    width: 70%;
  }

  #contacto {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .contenedorVideos {
    flex-direction: column;
    align-items: center;
  }

  #trama article {
    display: flex;
    flex-direction: column;
  }

  #fotos div {
    display: flex;
    flex-direction: column;
  }

  .tarjetas {
    height: 125px;
    width: 460px;
  }
}

@media screen and (max-width: 1000px) {
  .menuBurguer {
    display: block;
    color: red;
    font-size: 3.5em;
    border: 0px;
    border-color: rgba(255, 0, 0, 0.573);
    background-color: black;
    margin: 15px;
  }

  h1 {
    margin: 0px;
  }
  .contenedorNav {
    display: block;
    flex-direction: column;
    align-items: center;
    display: none;
  }

  #fotos div {
    display: flex;
    flex-direction: column;
  }

  #trama article {
    display: flex;
    flex-direction: column;
  }

  .navItems {
    justify-content: center;
  }

  nav {
    flex-direction: column;
    width: 100vw;
    position: fixed;
  }

  .logo {
    display: flex;
    justify-content: space-between;
  }

  .visible {
    display: block;
  }

  #tituloPrincipal {
    justify-content: center;
    height: 100vh;
  }

  #personajes > div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
  }

  .tarjetas {
    height: 130px;
    width: 600px;
  }

  .footer {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 1fr;
  }
}

@media screen and (max-width: 620px) {
  .tarjetas {
    height: 50%;
    width: 80%;
  }

  #fotos div {
    display: flex;
    flex-direction: column;
  }

  .titulos {
    font-size: 4em;
  }
}

@media screen and (max-width: 500px) {
  .personajesTi {
    font-size: 2.5em;
  }

  .tarjetas p {
    font-size: 0.6em;
  }

  .Videos {
    width: 310px;
    height: 218px;
  }

  .footer img {
    width: 80%;
  }

  @media screen and (max-width: 400px) {
    .Videos {
      width: 150px;
      height: 218px;
    }

    .titulos {
      font-size: 3em;
    }
  }

  @media screen and (max-width: 500px) {
    .personajesTi {
      font-size: 2.5em;
    }

    .tarjetas p {
      font-size: 0.6em;
    }

    .Videos {
      width: 310px;
      height: 218px;
    }
  }

  @media screen and (max-width: 390px) {
    .personajesTi {
      font-size: 2.2em;
    }

    .contactoTi {
      font-size: 2em;
    }

    .Videos {
      width: 210px;
      height: 218px;
    }
  }
}
