@import url('https://fonts.googleapis.com/css2?family=Antonio:wght@100..700&family=Rubik+Mono+One&display=swap');

* {
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
    font-family: "Antonio", sans-serif;
    color: whitesmoke;
}

body {
    background-image: url(../img/proyectos.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    width: 100%;
}

header {
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgb(10, 10, 10);
    font-family: "Antonio", sans-serif;
    text-transform: uppercase;
    padding: 2vh 0;
    z-index: 1000;
  }

  .logoResponsive {
    width: 100%;
    display: none;
    justify-content: center;
  }

  .logoResponsive img {
    width: 100%;
    max-width: 100vw;
    height: auto;
  }

  .navbar {
    display: flex;
    justify-content: center;
    gap: 5vw;
    list-style: none;
    margin: 0;
    padding: 0;
  }
  
  .navbar a {
    color: white;
    text-decoration: none;
    font-size: 1em;
    padding: 1vh 2vw;
    transition: background 0.3s ease;
  }
  
  .navbar a:hover {
    background-color: rgba(199, 21, 21, 0.808);
    border-radius: 0.5vw;
  }

.titulo {
    background-color: rgb(10, 10, 10);
    width: 100%;
    text-align: center;

}

.titulo h1 {
    font-size: 5vw;
    color: rgba(224, 6, 6, 0.61);
}

.subtitulo {
    font-size: 2vw;
    padding: 1vw;
}

.contenido {
    background-color: rgba(10, 10, 10, 0.705);
    
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgb(0, 0, 0);
    width: 50vw;
    justify-content: center;
    align-items: center;
    text-align: center;
    
}

.contenido img {
    width: auto;
    max-width: 40vw;
    height: auto;
    border-radius: 8px;
}

/*Copyright*/

.copyright {
    background-color: rgb(10, 10, 10);
    color: whitesmoke;
    bottom: 0px;
    padding: 2vw;
    margin-top: 2vw;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1vw; 
}
.copyright p{
    text-align: center;
    font-family: "Antonio", sans-serif;
}

/*Redes sociales*/

.redesSociales{
    background-color: rgb(10, 10, 10);
    color: whitesmoke;
    display: flex;
    justify-content: center;
    align-items: center;
}

.redesSociales li {
    color: whitesmoke;
    margin: 0 0.5vw;
    margin-bottom: 20px;
    list-style: none;
}

.redesSociales a {
    color: whitesmoke;
    text-decoration: none;
    font-size: 1.2vw; 
}

.redesSociales li:hover a {
    color: rgba(199, 21, 21, 0.808);
}

/*RESPONSIVE*/

/*Tablets*/

@media (max-width: 1024px) {
    body {
      background-size: cover;
      background-position: center;
      background-attachment: scroll;
      height: auto;
    }
  
    .navbar {
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 3vh;
      padding: 2vh 0;
    }
  
    .navbar a {
      font-size: 1.3em;
      padding: 1vh 2vw;
    }
  
    .titulo h1 {
      font-size: 6vw;
    }
  
    .subtitulo {
      font-size: 3vw;
    }
  
    .contenido {
      width: 80vw;
      padding: 4vw 4vw;
      margin: 0 auto;
      text-align: center;
    }
  
    .contenido img {
        max-width: 100%;
        height: auto;
        border-radius: 8px;
    }
  
    .copyright {
      font-size: 2vw;
      padding: 4vw;
    }
  
    .redesSociales {
      flex-wrap: wrap;
      align-items: center;
      gap: 1rem;
      padding: 2vw;
    }
  
    .redesSociales a {
      font-size: 1.3em;
    }
  }
  
  /*Móviles*/

  @media (max-width: 768px) {

    .paginaPrincipal {
      display: none;
    }

    body {
      background-size: cover;
      background-position: center;
      background-attachment: scroll;
      height: auto;
    }
      
    .logoResponsive {
      display: block;
    }
  
    .navbar {
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 2vh;
      padding-bottom: 2vh;
      padding: 0;
    }

    .navbar a {
      font-size: 1.1em;
      padding: 0.8vh 1vw;
    }
  
    .titulo h1 {
      font-size: 8vw;
    }
  
    .subtitulo {
      font-size: 4vw;
    }
  
    .contenido {
      width: 90vw;
      padding: 5vw 4vw;
      margin: 0 auto;
      text-align: center;
    }
  
    .contenido img {
        max-width: 100%;
        height: auto;
        border-radius: 8px;
    }
  
    .copyright {
      font-size: 3vw;
      padding: 4vw;
    }
  
    .redesSociales {
      flex-wrap: wrap;
      flex-directio: row;
      align-items: center;
      gap: 1.5rem;
      padding: 3vw;
    }
  
    .redesSociales a {
      font-size: 1.4em;
    }
  }
  
  /*Móviles pequeños*/

  @media (max-width: 480px) {

    .paginaPrincipal {
      display: none;
    }

    body {
      background-size: cover;
      background-position: center;
      background-attachment: scroll;
      height: auto;
    }
      
    .logoResponsive {
      display: block;
    }
      
    .navbar {
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 1.5vh;
      padding-bottom: 2vh;
    }

    .navbar a {
      font-size: 1em;
      padding: 1vh 1vw;
    }
  
    .titulo h1 {
      font-size: 10vw;
    }
  
    .subtitulo {
      font-size: 5vw;
    }
  
    .contenido {
      width: 95vw;
      padding: 6vw 5vw;
      margin: 0 auto;
      text-align: center;
    }
  
    .contenido img {
        max-width: 100%;
        height: auto;
        border-radius: 8px;
    }
  
    .copyright {
      font-size: 3.5vw;
      padding: 5vw;
    }
  
    .redesSociales {
      align-items: center;
      flex-direction: row;
      gap: 2rem;
      padding: 4vw;
    }
  
    .redesSociales a {
      font-size: 1.5em;
    }
}


