
body{
    background: linear-gradient(to bottom, #171133 40%, #2c3636);
    margin: 0rem 10rem 0rem 10rem;
}

.barra{
    background-color: #241372;
}
nav ul{
    display: flex;
    list-style: none;
    margin: 0;
    padding: 20px 100px 20px 20px;

}
.texhov a:hover{
    color: #C5485A;
}
nav li{
    margin-left: 5rem;
}
.menu-h{
    display: none;
}
.texhov a {
    text-decoration: none;
    color: white;
    font-family: "Nunito", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}
.yo{

    color: #E0FFCC;
    display: flex;
    background: 
    linear-gradient(to right, #171133 30%, transparent ),
    url('img/yo1.jpg');

    background-repeat: no-repeat;
    background-size: cover;
    background-position: top;
    max-width: 100%;
    height: 500px;
    margin-top: 100px;
    align-items: flex-end;
}
.yo h1{
    font-family: "Archivo Narrow", sans-serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
  font-size: 60px;
}

.yo h2,p{
    font-family: "Nunito", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}
.yo h2{
    font-size: 40px;
}
.yo p{
    font-size: 18px;
}
.texto1 {
    margin: 0rem 0rem 3rem 3rem ;
    width: 1000px;
}
.fotografía{
    background-image: linear-gradient(to left, #171133 30%, transparent ), url(img/Contenedor_principal.png);
    
    max-height: 500px;

    display: flex;
    align-items: flex-end;
    margin-top: 100px;
}
.texto-fotografia{
    margin-left: auto;
    width: 50%;
    color: #E0FFCC;
    margin-bottom: 2rem;
}
.texto-fotografia h1{
     font-family: "Archivo Narrow", sans-serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
  font-size: 60px;
}

.texto-fotografia h2{
     font-family: "Nunito", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-size: 32px;
}
.mi-boton{
    display: inline-block;
    padding: 20px 60px;
    border-radius: 30px;
    border: none;
    font-size: 20px;
    background-color: #e65167;
    cursor: pointer;
    transition: background-color 0.3s ease
}
.mi-boton:hover{
    background-color: #E0FFCC;
}
.proyectos-grid{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 2fr;
    gap: 50px;
}


.Desarrollador h1{
    color: #E0FFCC;
     font-family: "Archivo Narrow", sans-serif;
     font-optical-sizing: auto;
     font-weight: 700;
     font-style: normal;
     font-size: 60px;
     margin-bottom: 0;
}
.card-Llampara{
    border-radius: 10px;
    height: 300px;
    background-image: linear-gradient(to top, rgba(0, 0, 0, 0.9) 30%, rgba(0, 0, 0, 0) 90%), url(img/cardLLampara.png);
    transition: transform 0.3s ease;
}
.card-Interestia{
    border-radius: 10px;
    height: 300px;
    background-image: linear-gradient(to top, rgba(0, 0, 0, 0.9) 30%, rgba(0, 0, 0, 0) 90%), url(img/cardInterestia.png);
    transition: transform 0.3s ease;
}
.card-Experiencia{
    border-radius: 10px;
    height: 300px;
    background-image: linear-gradient(to top, rgba(0, 0, 0, 0.9) 30%, rgba(0, 0, 0, 0) 90%), url(img/cardExperiencia.png);
    transition: transform 0.3s ease;
}
.card-despintados{
    border-radius: 10px;
    height: 300px;
    background-image: linear-gradient(to top, rgba(0, 0, 0, 0.9) 30%, rgba(0, 0, 0, 0) 90%), url(img/cardDespintados.jpg);
    transition: transform 0.3s ease;
}

.card-despintados:hover{
    transform: translateY(-8px);
}
.card-Experiencia:hover{
    transform: translateY(-8px);
}
.card-Interestia:hover{
    transform: translateY(-8px);
}
.card-Llampara:hover{
    transform: translateY(-8px);
}
.textoC {
    color: #E0FFCC;
    max-width: 60%;
    height: 8%;
    padding-top: 5rem;
    padding-left: 2rem;
    padding-bottom: 1rem;
}
.textoC h3{
    font-family: "Archivo Narrow", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-size: 32px;
}
footer{
    color: white;
    background-color: #1f1e1e;
    margin-top: 3rem;
    padding-top: 2rem;
    display: flex;
    flex-direction: column; 
    align-items: center;    
    justify-content: center; 
    text-align: center;
    border-radius: 10px;
}

.servicios-grid{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
}
.tarjeta{
    margin-top: 50px;
     background: linear-gradient(to bottom, #c5485b00 40%, #C5485A);
    border-radius: 10px;
    height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 12px;
}
.tarjeta img{
    width: 200px;
    height: 200px;
}
.tarjeta h2{
    font-family: "Archivo Narrow", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-size: 32px;
  margin-top: -50px;
  color: #E0FFCC;
}
.tarjeta p{
    max-width: 300px;
    text-align: center;
    margin: 0;
    color: #E0FFCC;
    font-family: "Nunito", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}
@media screen and (max-width: 1024px) {
  
body{
    margin: 0rem 5rem 0rem 5rem;
}
.texto1{
    max-width: 700px;
}
.servicios-grid{
    grid-template-columns: repeat(3, 1fr);
}
.tarjeta h2{
    font-family: "Archivo Narrow", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-size: 28px;
  margin-top: -25px;
  color: #E0FFCC;
}
.tarjeta img{
    width: 150px;
    height: 150px;
}
.textoC {
    padding-top: 2%;
    max-width: 90%;
}

.card-Llampara{
    background-image: linear-gradient(to top, rgba(0, 0, 0, 0.9) 50%, rgba(0, 0, 0, 0) 90%), url(img/cardLLampara.png);
    
}
.card-Interestia{
    background-image: linear-gradient(to top, rgba(0, 0, 0, 0.9) 50%, rgba(0, 0, 0, 0) 90%), url(img/cardInterestia.png);
}
.card-Experiencia{
    background-image: linear-gradient(to top, rgba(0, 0, 0, 0.9) 50%, rgba(0, 0, 0, 0) 90%), url(img/cardExperiencia.png);
}
.card-despintados{
    background-image: linear-gradient(to top, rgba(0, 0, 0, 0.9) 50%, rgba(0, 0, 0, 0) 90%), url(img/cardDespintados.jpg);
}
}
@media screen and (max-width: 412px) {
    body {
        margin: 0;
    }
    nav ul {
    display: block;
    justify-content: center; 
    align-items: center;
    gap: 100px; 
    padding: 20px;
  }

  nav li {
    margin: 0; 
  }


.yo{
    height: 250px;
}
.yo h2{
    font-size: 24px;
}
.texto1{
    margin: 0rem 0rem 1rem 1rem;
}
.servicios-grid{
    grid-template-columns: 1fr;
    gap: 0px;
    margin-right: 1rem;
    margin-left: 1rem;
}
.tarjeta{
    height: 150px;
    flex-direction: row;
}
.tarjeta img{
    width: 100px;
    height: 100px;
}
.tarjeta h2{
    font-family: "Archivo Narrow", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-size: 24px;
  margin-top: 25px;
  color: #E0FFCC;
}
.tarjeta p{
    max-width: 400px;
    margin-right: 1rem;
}
.fotografía{
    max-height: 250px;
}
.texto-fotografia h1{
    
  font-size: 24px;
}
.Desarrollador h1{
    margin: 1rem 0rem 1rem 1rem;
     font-size: 24px;
}
.proyectos-grid{
    grid-template-columns: 1fr;
    gap: 10px;
}

.card-Llampara{
    height: 250px;
    margin-left: 1rem;
    margin-right: 1rem;
}
.card-Interestia{
    height: 250px;
    margin-left: 1rem;
    margin-right: 1rem;
}
.card-Experiencia{
    height: 250px;
    margin-left: 1rem;
    margin-right: 1rem;
}
.card-despintados{
    height: 250px;
    margin-left: 1rem;
    margin-right: 1rem;
}
.textoC {
    color: #E0FFCC;
    max-width: 90%;
    padding-top: 1rem;
}
.textoC h3{
  font-size: 24px;
}

footer img{
    width: 50px;
    height: 50px;
}
footer{
    height: 75px;
}
}
