* {
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
    font-family: sans-serif;
}

#header {
    display: flex;
    /*flex-direction: column;*/
    align-items: center;
    justify-content: center;
    position: fixed;
    width: 100%;
    height: 13%;
    background-color: #F9F9F3;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(0, 0, 0, 0.227);
}


.logo {

    width: 25%;
    /* padding-top: 10px;
    padding-left: 20px;*/
    display: inline-block;
    margin-left: 60px;
}

.logo img {
    width: 250px;
    height: 65px;
    margin-left: 10px;
}

nav {
    display: inline-block;
    width: 75%;
    margin-top: 15px;

    
}


nav ul {
display: flex;
/*gap: 1.5rem; */


}
nav li {
    display: inline-block;
    /*margin-left: 60px;*/ 
   /* gap: 1rem;*/



}

nav a {
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    background: linear-gradient(45deg, black, #bd8915);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    transition: all 1s;


}


.separador{
    margin-left: 50px;
}


.menu{

margin: 15px;
  
}

.contactos a{
    width: 45px;
    gap: 0.5rem;
}
.contactos a img{
    width: 45px;
}

nav a:hover {
    background: linear-gradient(45deg, #bd8915, black);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;

}

main {
    padding-top: 120px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#inicio {
    display: flex;
    padding-bottom: 100px;
    justify-content: center;
}

#inicio img {
    /*width: 350px;
    height: 420px;*/
    width: 23%;
    height: auto;
    transition: all 0.5s;
}

.h3Box {
    /*width: 40%;*/
    /*background-color: #f9f9f376;*/
    border-radius: 20%;
    padding-bottom: 60px;
    padding-top: 40px;

}



.h3 {
    text-align: center;
    font-size: 30px;
    background: linear-gradient(45deg, black, #bd8915);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    font-weight: bold;
    letter-spacing: 1.5px;

}

#tarjetasBox {
    display: flex;
    width: 100%;
    height: auto;
    align-items: center;
    justify-content: center;
    margin-bottom: 100px;


}



.tarjeta {
    margin: 20px;
    width: 14%;
    /*width: 200px;*/
    /*height: 400px;*/
    background-color: #F9F9F3;
    border-radius: 30px;
    transition: all 0.5s;
}

.tarjeta:hover {
    background-color: #e8e8d3;
    box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;

}

.tarjeta img {
    /*width: 180px;*/
    /*height: 180px;*/
    width: 90%;
    height: auto;
    border-radius: 100%;
    margin-left: 10px;
    margin-top: 25px;
}

.tarjeta h4 {
    text-align: center;
    margin-top: 30px;
    font-size: 20px;
    background: linear-gradient(45deg, black, #bd8915);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    font-weight: bold;
}

/*.tit {
    display: inline-block;
    margin-top: 35px;
    margin-left: 18px;

}*/

.contenedor_num{
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-top: 20%;
    margin-bottom: 20%;
}

.contenedor_num div{
  display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.contenedor_num h6{
    font-size: 13px;
    margin-bottom: 1px;
}

.num {
    font-size: 15px;
    font-weight: bold;
    margin: 0;
}

.divisa {
    font-size: 12px;
    margin: 0;
}

.tit-compramos {
    color: rgba(51, 167, 51, 0.914);
    font-size: 16px;
    margin-bottom: 5px;
    padding: 5px;
    
}

.tit-vendemos {
    color: rgba(209, 40, 40, 0.827);
    font-size: 16px;
    margin-bottom: 5px;
    padding-right: 5px;
    
}

/*.num {
    display: inline-block;
    margin-top: 5px;
    margin-left: 35px;
    font-size: 15px;
    font-weight: 500;
    margin-right: 15px;

}*/


/*.DOP {
    display: inline-block;
    margin-top: 5px;
    margin-left: 37px;
    font-size: 12px;
    margin-right: 23px;
    margin-bottom: 10px;

}*/

/*#espacio {
    margin-bottom: 20px;
}*/

.Contenedor {
    width: 85%;
    height: 95vh;
}

#contenerdor_servicios {
    display: grid;
    grid-template-columns: 1fr 1fr;
    text-align: justify;
    height: 40vh;
}

#serviciosh3 {
    font-size: 18px;
    margin-bottom: 10px;
    font-weight: bold;

}


#serviciostitulo {
    margin-top: 10px;
    margin-bottom: 45px;
}

.h3Box b{
    font-weight: 500;
    font-size: 17px;

}


.fondo {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #F9F9F3;
    border-radius: 15px;
    width: 100%;
    padding: 15px;


}

.servicioBox2 {

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;



}


.servicioBox2 img {
    width: 80%;
    height: 80%;
}




#ubicacion {
    width: 85%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 110px;
    margin-bottom: 20px;
}

#ubicacion img {
    width: 90%;

}

#h3boxubicacion {
    margin-bottom: none;
    padding-bottom: none;
}

#vismisval {
    display: grid;
    grid-template-columns: 1fr 1fr;
    text-align: justify;
    width: 85%;
   margin-bottom: 80px;
}


.imgvismis{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.imgvismis img{
    width: 100%;
}


#vismis_contenedor {
    display: grid;
    grid-template-columns: 15% 85%;
    text-align: justify;
    margin: 15px;
    height: 20%;
    margin-top: 50px;
}

#vismis_contenedor b{
    font-weight: 500;
}

#vismis_contenedor h3{
     display: flex;
    justify-content: center;
    background: linear-gradient(45deg, black, #bd8915);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    font-weight: bold;
    font-size: 20px;
    margin-bottom: 10px;
}



#mision {
    text-align: center;
    width: 90%;
    margin: 10px;
    margin-top: 95px;
    margin-bottom: 50px;
}

#vision {
    text-align: center;
    width: 90%;
    margin: 10px;
}

#valores {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: left;
}

#valores img{

    width: 20%;
}


#valores ul {
    background-color: #F9F9F3;
    border-radius: 15px;
    padding: 20px;
    list-style-type: none;
}


#valores ul li{
    margin-bottom: 8px;
    line-height: 1.35;
}


#valores h3 {
    display: flex;
    justify-content: center;
    background: linear-gradient(45deg, black, #bd8915);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    font-weight: bold;
    font-size: 20px;
    margin-bottom: 10px;
}



#valores b{
    font-weight: 500;
    font-size: 17px;
}

#footer{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    background-color: black;    
    width: 100%;
    min-height: 220px;
    padding: 25px 20px 15px;
    gap: 18px;
}

#footer h2 {
    color: white;
    font-size: 24px;
    font-weight: bold;
    margin: 0;
}

.contacto-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 35px;
    width: 100%;
}

.contacto-footer a {
    display: flex;
    align-items: center;
    gap: 9px;
    color: white;
    font-size: 15px;
    text-decoration: none;
}

.contacto-footer a:hover {
    color: #bd8915;
}

.contacto-footer img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

#footer h1{
color: white;
font-size: 15px;
font-weight: lighter;
margin: 0;
}

.abrir-menu,
.cerrar-menu{

    display: none;
    border: 0;
    font-size: 1.6rem;
    background-color: transparent;
   cursor: pointer;
   font-weight: bold;
}



@media (max-width:600px){

    .logo {

    width: 90%;
    display: inline-block;
    margin-left: 3px;
    
}

main{
    padding-top: 20px;
}


#inicio{
    display: grid;
    width: 90%;
    aspect-ratio: 16 / 9;
    padding-bottom: 45px;
    justify-items: center;
    align-items: center;
}


    #inicio img {
    grid-area: 1 / 1;
    width: 100%;
    height: 100%;
    opacity: 0;
    object-fit: contain;
    pointer-events: none;
    transition: opacity 2.5s ease-in-out;
}

#inicio img.imagen-activa {
    opacity: 1;
    pointer-events: auto;
}


.h3 {
    text-align: center;
    font-size: 22px;
    background: linear-gradient(45deg, black, #bd8915);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    font-weight: bold;
    letter-spacing: 1.5px;

}
#tarjetasBox {
    display: flex;
    flex-flow:row wrap;
    width: 100%;
    margin-bottom: 40px;


}
.tarjeta {
    margin: 20px;
    width: 37%;
    /*width: 200px;*/
    /*height: 400px;*/
    background-color: #F9F9F3;
    border-radius: 30px;
    transition: all 0.5s;
}

.Contenedor {
    width: 95%;
    height: 95vh;
}
.servicioBox2 img {
    width: 90%;
    height: 40%;
    margin-top: 50px;
}
#contenerdor_servicios {
    display: grid;
    grid-template-columns: 1fr 1fr;
    text-align:start;
    height: 320px;
}
#ubicacion {
    width: 85%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 140px;
    padding-bottom: 50px    ;
}
#ubicacion img {
    margin-top: 50px;
    width: 100%;
    margin-bottom: 50px

}
#vismisval {
    display: inline-block;
    justify-content: center;
}


.abrir-menu{
    display: block;
    margin-left: 35px;
}

.cerrar-menu{
    display: block;
}
#header{
    display: flex;
    flex-direction: row-reverse;
position: static;
}

nav{
     opacity: 0;
    visibility: hidden;

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    background-color: #F9F9F3;
    padding: 2rem;
    box-shadow: 0 0 0  100vmax rgba(0, 0, 0, .5);
    width: 280px;
    
    
}
nav.visible{
 opacity: 1;
 visibility: visible;
}

nav ul{
 flex-direction: column;
 align-items: end;
 justify-content: center;
}

#footer h1{
color: white;
font-size: 16px;
font-weight: lighter;
text-align: center;
justify-content: center;
}

.contacto-footer {
    flex-direction: column;
    gap: 14px;
}

.contacto-footer a {
    font-size: 14px;
}

}

@media (max-width:450px){


    .h3{

        font-size: 20px;


    }
    .tarjeta {
    margin: 10px;
    width: 40%;
   
}


    .tarjeta h4 {
    margin-top: 26px;
    
}

#tit_compramos {    
    font-size: 12.5px;
}

#tit_vendemos {
    font-size: 12.5px;
}

}

