:root {
    --blanco: #ffffff;
    --oscuro: rgba(0, 0, 0, 0.8);
    --amarillo: #eab925;
    --celeste: #0097a7;
    --negro: #0e0c0c;
    --gris:#44494a;
}


html{
    margin: 0;
    padding: 0;
    font-size: 62.5%;
    box-sizing: border-box;
    
}

body {
    margin: 0;
    padding: 0;
    font-size: 16px; /* 1 rem= 10px */
    font-family: sans-serif;
    background-color: var(--amarillo);
    
}

main{
    width: 80%;
    margin: 0 auto;
}

a{
   text-decoration: none;
   color: white; 
}
/*-------------------------------- navigator bar -------------------------------*/
.background-container{
    width: 100%;
    height: 25rem;
    position: absolute;  
}
.background-img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
header{
    width: 80%;
    height: 25rem;
    margin: 0 auto;
    position: relative;
}

@media (max-width: 800px) {
    .background-container{
        width: 100%;
        height: 31rem;
        position: absolute;  
    }
    .background-img{
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    header{
        width: 80%;
        height: 31rem;
        margin: 0 auto;
        position: relative;
    }
}

@media (max-width: 480px) {
    .background-container{
        width: 100%;
        height: 55rem;
        position: absolute;  
    }
    .background-img{
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    header{
        width: 80%;
        height: 55rem;
        margin: 0 auto;
        position: relative;
    }
}

/* -------------------propiedades de la barra de navegacion------------------- */
.contenedor{
    width: 80%;
    margin: 0 auto;
}

.contenedor h1{
    text-align: center;
}

.barra { /* propiedades de la barra de navegacion */
    width: 100%;
    height: auto;
    position: absolute;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--oscuro);
    color: var(--blanco);
    border-radius: 1rem;
    margin-top: 2rem;

}

.navegacion{
    margin: 1.5rem;
}
.navegacion a{
    color: var(--blanco);
    text-decoration: none;
    margin: .5rem;
}

@media (max-width: 768px) {
    .barra{
        flex-direction: column;
        padding-bottom: 2rem;
    }
    .nombre-logo{
        text-align: center;
    }
    .navegacion {
        margin: 0;
        padding: 0;
    }
}


@media (max-width: 480px) {
    .barra{
        flex-direction: column;
        padding-bottom: 2rem;
    }
    .navegacion {
        margin: 0;
        padding: 0;
    }
    .navegacion a{
        display: block;
        margin: 1rem;
    }
    .nombre-logo{
        text-align: center;
    }
    .logo{
        flex-direction: column;
        padding-bottom: 2rem;
    }
}



nav a{
    font-weight: 600;
    padding-right: 15px;
    font-size: 2rem;
}

nav a:hover{
    color: brown;
}

@media (max-width: 1100px) {
    nav {
        display: flex;
        flex-wrap: wrap; /* Permite que los enlaces se ajusten en varias filas */
        justify-content: space-between; /* Espacio entre enlaces */
    }
    nav a {
        flex: 1 1 30%; /* Permite que los enlaces se distribuyan en filas de dos elementos */
        padding: 5px 0; /* Ajusta el padding para más espacio */
        text-align: center;
    }
 }
 
 
 @media (max-width: 768px){
     nav{
         display: block;
         font-size: large;
         padding: 5rem 0px;
     }
     nav a{
         font-weight: 700;
         padding: 0;
     }
     
 }

/* -------------------propiedades del logo------------------- */

.logo{
    display:flex;
    align-items: center;
}

.logo h1{
    color: var(--blanco);
    padding: 1rem 1rem 0 1rem;
    margin: 0;
    font-size: x-large;
    font-weight: 750;
    text-align: center;
}

.logo-img { /* imagen del logo*/
    width: 9rem;
    height: 9rem;
    border-radius: 50%;
    padding: 1rem;
}

.logo-img2 { /* imagen del logo*/
    width: 8rem;
    height: 8rem;
    padding: 1rem;
}

.logo-img3 { /* imagen del logo*/
    width: 25rem;
    height: 2.5rem;
    padding: 1.3rem;
    margin-top: -1.3rem ;
}

.nombrers{
    display: flex ;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}


/*-------------------------------- parte 1 -------------------------------*/


h1 {
    text-align: center;
    font-size: 50px;
    color: black;
}

h2{
    color: var(--blanco);
    text-align: left;
    font-size: 15px;  
}

p{
    text-align: justify;
    color: var(--blanco)
}


.services{
    display: grid;
    grid-template-rows: repeat(5, auto);
    grid-template-columns: 1fr 1fr;
    row-gap: 2rem;
    column-gap: 2rem;
    margin: 25px auto;
    text-align: center;
    background-color: rgb(255, 190, 0);
    border: 2px solid black; /* Borde negro */
    padding: 10px; /* Espacio entre el borde y las tarjetas */

}

.card{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin: 0;
    padding: 1rem 0;
    border-radius: 10px;
    background-color: rgba(0, 0, 0, 1);
}

.card img{
    width: 90%; 
    height: 90%;
    object-fit: contain; 
}


.card h2{
    padding: 0 1rem 1rem 1rem;
    margin: 0;
}
@media (max-width: 700px) {
    .services{
        grid-template-rows: repeat(10, auto);
        grid-template-columns: 1fr ;
    }
}

/*-------------------------------- Slider -------------------------------*/


.contentItemsCarrusel{
    border: 5px solid black;
    height: 200px;
    width: 90%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.itemCarrusel{
    border: 2px solid black;
    height: 100%;
    width: 100%;
    position: relative;
}

.tarjetaCarrusel{
    position: absolute;
    background-color: black;
    height: 100%;
    width: 100%;
    
}

.flechasCarrusel{
    position: absolute;
    top: 0;
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}


a{
    text-decoration: none;
}


/*-------------------------- responsive area --------------------*/



