@import url(https://db.onlinewebfonts.com/c/543092172c7d9a62dc51fa0fc510b6cf?family=Everett+Regular);

:root {
    --verde: #219150;
    --rojo-claro: #a12a1ace;
    --negro: #10221b;
    --gris: #656262;
    --blanco: #fff;
    --blanco-suave: #eee;
    --border: 2px solid var(--negro);
    --box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
    --rosa: rgba(255, 0, 0, 0.8);

}

section {
    background-image: none;
    background-color: var(--blanco);
  
  }

/**Comisiones- **/

.contenedor-principal p {
    text-align: justify;
    justify-content: space-between;

}

.row-comisiones {
    border-bottom: 1px solid var(--rojo-claro);
    margin-bottom: 6rem;
    padding: 1rem;
    margin-left: .5rem;
    margin-right: 0;

}

.row-comisiones h2 {
    font-size: 3rem;
    text-align: center;
    padding: 2rem;
    margin-top: 2rem;

}





.asidebar {
    background-color: var(--blanco-suave);
    width: 30rem;

}


.asidebar p {
    margin-top: 2rem;
    margin-left: 2rem;
    margin-right: 2rem;

}

@media (min-width:768px) {
    .contenedor-principal {
        display: grid;
        grid-template-columns: 2fr 1fr;
        column-gap: 4rem;

    }
}

.home .card {
    width: 100%;
}

.col-md-4 img {
    width: 80rem;
}

.card-body .card-text {
    line-height: .5rem;
    text-align: left;
    color: var(--gris)
}

/**Contacto**/

.contenedor{
   border:3px solid var(--blanco-suave);
   border-radius: 1rem;
   padding: 1rem;

}


@media (min-width:768px) {
    .contacto {       
        display: flex;
        justify-content: space-between;
        flex: 0 0 calc(33.3%-1rem);
    }
    


}
@media (max-width:767px) {
    .contacto {       
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        
    }
    

}



.home h6 {
    text-transform: uppercase;
    font-size: 1.6rem;
    font-weight: bold;
    line-height: .5rem;
    margin-top: 3rem;
    margin-bottom: 1rem;
}

.home .contenedor .contacto img {
    width: 250px;
    height: 150px;
    border-radius: .5rem;
  
}
.icon{
    float: left;    
    margin-left: 0rem;
    text-align: left;   
    gap: 1rem;
 

}

.icon i{
    color: var(--gris);
    margin-right: 1rem;
 
}



.icon a{
    display: block;
    font-size: 1.4rem;
    font-weight: normal;
    line-height: 3rem;
    margin-left: 1rem;
    
}




/**Nuevo*/




/**Galeria de imagenes**/

h5 {
    position: relative;
    text-align: center;
    width: 80%;
    margin: 50px auto;

}

h5::before {
    content: "";
    display: block;
    width: 100%;
    height: 2px;
    position: absolute;
    background-color: var(--negro);
    top: 50%;
    z-index: -1;
}

h5 span {
    background-color: var(--blanco);
    /*colocamos mismo color asi separa el span*/
    padding: 0 15px;
    /*separacion entre lineas*/
}

.img-galeria {
    width: 80%;
    margin: 50px auto 50px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
}

.img-galeria img {
    width: 100%;
    cursor: pointer;
    transition: .1s;

}

.img-galeria img:hover {
    transform: scale(1.2);


}


.ful-img {
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    position: fixed;
    top: 0;
    left: 0;
    display: none;
    align-content: center;
    justify-content: center;

}

.ful-img span {
    position: absolute;
    top: 5%;
    right: 5%;
    font-size: 30px;
    color: #fff;
    cursor: pointer;
}


.ful-img img {
    width: 90%;
    max-width: 600px;
}

@media screen and (max-width:400px) {
    h5 {
        text-decoration: underline;
    }

    h5 {
        display: none;
    }

    h5 span {
        padding: 0;
    }
}