@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;400&display=swap');

body{
    font-family: 'Raleway', sans-serif;
    background-image:url('../assets/niño.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    position: relative;
}
.nav2{
    background-color: rgba(29, 153, 255);
    cursor: pointer;
    display: flex;
    justify-content: flex-end;
    height: 70px;
    align-items: center;
    font-weight: 700;
    
}
.container2{
    background-color: rgba(0, 0, 0, 0.404);
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
    padding: 0;
    max-width: 1200PX;
    
}

.hero2{
    height: 20vh;
    background-attachment: fixed;
    background-position: center;
    position: relative;
}

.nav2 :hover{
    background: rgba(255, 255, 255, 0.336);
    transition: .9s;
}
.nav2--footer{
    font-weight: 300;
    justify-content: flex-start;
}



.nav__items2   {
    color: rgb(255, 255, 255);
    text-decoration: none;
    margin-right: 20 px;
    padding: 10px 15px;
    font-weight: inherit;
    
}

.nav__items2--footer{
    padding: 10px;
}

.nav__items1{
    color: rgb(255, 255, 255);
    text-decoration: none;
    margin-right: 20 px;
    padding: 10px 15px;
    font-weight: inherit;
}



.about{
    min-width: 400px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    row-gap: 80px;
    justify-items: center;
    align-items: center;
}

.about__imgservi{
    text-align: center;
}

.about__imgservi--left{
    text-align: left;
}

.about__picture{
    height: 250px;
    max-width: 100%;
}

.subtitle2{
    text-align: center;
    color:rgb(247, 247, 247);
    font-size: 2.5rem;
    margin-bottom: 35px;
}

.subtitle3{
    text-align: center;
    color: rgb(255, 255, 255);
    font-size: 1.8rem;
    margin-bottom: 20px;
}
.subtitle4{
    color: #fff;
}

.about__texts2{
    
    padding: 20px;
}

.about__texts{
 
    padding: 20px;
}

.about__paragraph2{
    text-align: justify;
    color: #ffffff;
    margin-bottom: 20px;
    line-height: 1.5;
    font-weight: 400;
}


/*responsive desing*/
@media screen and (max-width: 800px){
   :root{
       --boton-padding: 18px 50px;
   }

   .nav2{
       justify-content: space-around;
       height: 100px;
   }

   .nav__items1--cta{
       border: none;

   }
   .nav__items1{
       font-weight: 200;
       margin-right: 0;
   }

   /*about*/

   .about{
       grid-template-columns: 1fr;
   }

   .about__picture{
       width: 100%;
   }

   .about .container2{
       padding-top: 30px;
   }

   .about__imgservi--left{
       text-align: center;
   }
   .about__texts2:last-child{
       grid-row: 3/4;
   }

   .about__texts:last-child{
       grid-row: 3/4;
   }
}

@media screen and (max-width: 500px){
    :root{
        --boton-padding: 80px 35px;
    }
    .nav2{
       
        flex-wrap: wrap;
        justify-content:space-around;
        margin-top: 0px;
    }
    .subtitle2{
        font-size: 1rem;
    }
    .subtitle3{
        font-size: 0.8rem;
    }
    .about__paragraph2{
        font-size: 0.6rem;
    }
    .subtitle4{
        font-size: 0.8rem;
    }
.container2{
    max-width: 350px;
    
}
.nav2{
    width: 350px;
}

}

@media screen and(max-width: 450px){
    :root{
        --boton-padding:18px 35px;
    }

    .container2{
        padding: 30px;
        max-width: 450px;
    }
    .subtitle2{
        font-size: 1rem;
    }
    .about__paragraph2{
        font-size: 0.9rem;
    }
    .subtitle4{
        text-align: center;
        font-size: 0.5rem;
    }
}

@media screen and(max-width:400px){
    :root{
        --boton-padding:18px 35px;
    }
    .nav2{
        width: 350px;
        flex-wrap: wrap;
        justify-content: space-around;
        margin-top: 0px;
    }
    .container2{
        padding: 30px;
        max-width: 350px;
    }
    .subtitle2{
        font-size: 0.9rem;
    }
}

@media screen and(max-width:300px){
    :root{
        --boton-padding:18px 20px;
    }
    .nav2{
        width: 200px;
        flex-wrap: wrap;
        justify-content:space-around;
        margin-top: 0px;
    }
    .container2{
       flex-wrap: nowrap;
        max-width: 200px;
    }
}
  
    
   
