@import url('https://fonts.googleapis.com/css2?family=Newsreader:ital,opsz,wght@0,6..72,200..800;1,6..72,200..800&family=Space+Grotesk:wght@300..700&display=swap');

* {
  margin: 0;
  padding: 0;
  line-height: 1.6;
  box-sizing: border-box;
}

:root {
  --ff-title: "Space Grotesk", sans-serif;
  --ff-text: "Newsreader", serif;

}

header {
  background-color: #212121;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 60px;
  /* padding-top: 15px;
  padding-bottom: 5px; */
  padding: 2rem;
  overflow: hidden;
  border-bottom: #f18c07 3px solid;

}

.logo {
  max-width: 8rem;
}

a {
  text-decoration: none;
  font-family: var(--ff-title);
  color: inherit;
}

a:hover {
  color: #f18c07;
}

ul {
  list-style-type: none;
}

/* .nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 80%;
  margin: auto;

} */

.nav-list {
  display: flex;
  list-style-type: none;
  justify-content: flex-end;
  align-items: center;
  gap: 1rem;
}

.menu-abrir,
.menu-cerrar {
  display: none;
}

.nav-list li a {
  color: #f18c07;
  text-decoration: none;

}

.textInfo {
  overflow-x: hidden;
  padding-top: 200px;
  margin: auto;
  width: 90%;
  color: #f18c07;
  display: grid;
  grid-template-rows: auto;
  grid-template-columns: 50% 50%;
  grid-template-areas:
    "titulo nada"
    "titulo2 nada"
    "parrafo nada"
    "boton nada";
  position: relative;
  z-index: 1;

}

.titulo {

  grid-area: titulo;
  font-family: var(--ff-title);
  font-size: 2rem;

}

h1 {
  animation: mover-iz-der 5s 1;
  animation-fill-mode: forwards;
}

@keyframes mover-iz-der {
  from {
    transform: translateX(-1000px);
  }

  to {
    transform: translateX(40px);
  }
}


.titulo2 {
  grid-area: titulo2;
  animation: mover-iz-der 6s 1;
  animation-fill-mode: forwards;
  font-family: var(--ff-text);
  color: #1c1c1c;
}

.parrafo {
  grid-area: parrafo;
  animation: mover-iz-der 7s 1;
  animation-fill-mode: forwards;
  font-family: var(--ff-text);
  color: #1c1c1c;
}

.boton {
  grid-area: boton;
  color: #1c1c1c;
  animation: mover-iz-der 8s 1;
  animation-fill-mode: forwards;
  font-family: var(--ff-title);
  background-color: #f18c07;
  border: none;
  border-radius: 10px;
  font-size: 1em;
  width: 90px;
  padding: 2px;
}

.boton2 {
  grid-area: boton;
  color: #1c1c1c;
  font-family: var(--ff-title);
  background-color: #f18c07;
  border: none;
  border-radius: 10px;
  font-size: 1em;
  width: 100px;
  padding: 5px 10px 5px 10px;
}

.nada {
  grid-area: nada;
}

#accionrestaura {
  min-height: 90vh;
  position: relative;

}

video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* .capa {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #1c1c1c;
  opacity: 0.5;
  mix-blend-mode: overlay;

} */

.banner {
  min-height: 400px;
  padding-top: 60px;
  margin: 10px;
  text-align: center;
  font-family: var(--ff-text);

}

.banner h2 {
  color: #f18c07;
  font-family: var(--ff-title);
}

.slide {
  min-height: 400px;
  background: #1c1c1c;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: auto;
}

.slide h2 {
  color: #f18c07;
  font-family: var(--ff-title);
}

.contact {
  min-height: 500px;
  font-family: var(--ff-text);
  padding-top: 100px;
  text-align: center;

}

.contact h2 {
  color: #f18c07;
  font-family: var(--ff-title);
}

.formulario {
  text-align: center;
}

.formulario>div {
  padding-bottom: 15px;
}

.formulario input,
textarea {
  font-size: 1em;
  font-family: var(--ff-title);
  width: 50%;
  border-radius: 6px;
  border-color: #777777;
  border-width: 0.5px;
}

@media screen and (max-width:550px) {

  .menu-abrir,
  .menu-cerrar {
    display: block;
    border: 0;
    font-size: 1.5rem;
    background-color: transparent;
    cursor: pointer;
    color: #f18c07;

  }

  .nav {
    opacity: 0;
    visibility: hidden;
    display: flex;
    flex-direction: column;
    align-items: end;
    gap: 1rem;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    background-color: #1c1c1c;
    padding: 2rem;
    box-shadow: 0 0 0 100vmax rgba(0, 0, 0, .5);
    z-index: 2;
  }

  .nav.visible {
    opacity: 1;
    visibility: visible;
  }

  .nav-list {
    flex-direction: column;
    align-items: end;
    z-index: 2;
  }
}