@import url("https://use.typekit.net/vrz2wkr.css");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "coolvetica", sans-serif;
}

:root {
  --azul: #004aad;
  --naranja: #ff6d13;
  --verde: #598e56;
  --negro: #000;
}

html {
  scroll-behavior: smooth;
}

a {
  text-decoration: none;
  color: white;
}

h1,
h3,
button {
  color: white;
}

h1 {
  font-size: 60px;
}

button {
  border-radius: 8px;
  border: 1px solid transparent;
  padding: 0.6em 1.2em;
  font-size: 1em;
  font-weight: bold;
  background-color: transparent;
  cursor: pointer;
  transition: border-color 0.25s;
}
button:hover {
  border-color: var(--azul);
}
.a-nav:hover {
  color: var(--azul);
}
header {
  background-image: url(./img/VE-GIF-SIN-LOGO.gif);
  background-size: cover;
  background-position: center;
  height: 100vh;
}
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 50px;
  padding: 50px;
}

.titulo-main {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 83vh;
  line-height: 0.8;
}

li {
  list-style: none;
}

nav {
  display: none;
}

.lista-nav {
  display: flex;
  gap: 15px;
  align-items: center;
}

.quienesSomos {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.quienesSomos > h2 {
  font-size: 280px;
  font-weight: 400;
  line-height: 0.9;
  z-index: 2;
}

.noro,
.vir {
  display: flex;
  align-items: center;
  gap: 120px;
  position: relative;
  top: -50px;
  z-index: 1;
}

.noro img,
.vir img {
  transform: rotate(0);
  transition: all 0.5s ease;
}

.img-noro:hover {
  transform: rotate(15deg);
  scale: 1.1;
}
.img-vir:hover {
  transform: rotate(-15deg);
  scale: 1.1;
}

.parrafo__quienes-somos {
  text-align: justify;
  width: 500px;
  font-size: 20px;
}

.servicios {
  display: flex;
  height: 100vh;
}

.serv {
  width: 33.3333%;
  height: 100vh;
  color: white;
  font-size: 83px;
  line-height: 0.9;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  cursor: pointer;
}

.serv1 {
  background-color: var(--naranja);
}

.serv1::after {
  display: flex;
  align-items: center;
  justify-content: center;
  content: "FOTO \A & VIDEO";
  white-space: pre;
  inset: 0;
  position: absolute;
  background-image: url(./img/foto-video.jpg);
  background-size: cover;
  background-position: center;
  z-index: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.serv2 {
  background-color: var(--azul);
}

.serv2::after {
  display: flex;
  align-items: center;
  justify-content: center;
  content: "DISEÑO \A GRÁFICO";
  white-space: pre;
  inset: 0;
  position: absolute;
  background-image: url(./img/diseño-grafico.jpg);
  background-size: cover;
  background-position: center;
  z-index: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.serv3 {
  background-color: var(--verde);
}

.serv3::after {
  display: flex;
  align-items: center;
  justify-content: center;
  content: "LANDING \A PAGE";
  white-space: pre;
  padding-left: 20px;
  inset: 0;
  position: absolute;
  background-image: url(./img/landing.jpg);
  background-size: cover;
  background-position: center;
  z-index: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.serv1:hover::after {
  opacity: 1;
}
.serv2:hover::after {
  opacity: 1;
}
.serv3:hover::after {
  opacity: 1;
}

.ultimos-proyectos > h2 {
  font-size: 230px;
  font-weight: 400;
  line-height: 0.8;
}

.ultimos-proyectos {
  display: flex;
  flex-direction: column;
  margin-top: 20px;
  align-items: center;
  overflow-x: hidden;
}

.logos {
  display: flex;
  margin: auto;
  position: relative;
  top: -50px;
  z-index: -10;
}

.logos-slide {
  animation: 25s slide infinite linear;
  display: flex;
}

.img-carrusel {
  margin-left: 100px;
}

footer {
  background-color: #333;
  color: white;
  font-size: 25px;
  width: 100%;
  height: 60vh;
  padding: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 200px;
}
.footer__div {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.footer__div-sec-con {
  display: flex;
  gap: 40px;
}
.footer__ul-secciones {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__ul-secciones li:hover,
.footer__ul-contacto li:hover {
  text-decoration: underline;
}

.footer__ul-contacto {
  display: flex;
  flex-direction: column;
  gap: 10px;
  opacity: 0.7;
}

footer p {
  font-weight: 300;
}

@keyframes slide {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}

@media (max-width: 850px) {
  body {
    width: 100vw;
  }
  .header {
    width: 100vw;
    position: relative;
  }
  .quienesSomos h2 {
    font-size: 90px;
  }
  .quienesSomos {
    margin-top: 20px;
    overflow-y: hidden;
  }

  .noro,
  .vir {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100vw;
    padding-inline: 15px;
    top: -20px;
    gap: 0;
  }

  .noro img,
  .vir img {
    width: 150px;
  }

  .parrafo__quienes-somos {
    font-size: 10px;
    padding-inline: 10px;
  }

  .servicios {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    margin-top: 20px;
  }

  .serv {
    width: 100vw;
    max-height: auto;
    font-size: 60px;
  }

  .serv1::after {
    background-size: cover;
    background-position: top;
  }

  .ultimos-proyectos h2 {
    margin-top: 20px;
    font-size: 67px;
  }

  .logos {
    width: 100%;
    top: -20px;
  }

  nav {
    display: inline-block;
    justify-content: center;
    align-items: center;
    width: 80vw;
    right: 0;
    height: 100vh;
    padding-inline: 20px;
    background-color: #333;
    position: fixed;
    z-index: 50;
    top: 0;
    transform: translateX(100%);

    transition: transform 0.5s ease;
  }

  .lista-nav {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    margin-inline: auto;
    margin-top: 20px;
    font-size: 50px;
    gap: 50px;
    justify-content: center;
  }

  .btn-x {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    width: 60px;

    height: 60px;
    margin: 20px 20px 0 0;
    top: 0;
    right: 0;
    padding: 20px;
  }

  .lista-nav:first-child {
    text-align: center;
    line-height: 0.8;
  }

  footer {
    font-size: 15px;
    height: 30vh;
    gap: 25px;
    padding: 30px;
  }

  .footer__div-sec-con {
    flex-direction: column;
    gap: 10px;
  }
}
