*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat';
    scroll-behavior: smooth;
    scroll-padding-top: 50px;
}

body{
    background-color: rgba(255, 255, 255, 0.945);
}

.navegador{
    font-size: 14px;
    font-weight: 700;
    display: flex;
    flex-direction: row;
    background-color: black;
    padding: 15px;
    justify-content: center;
    list-style: none;
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1;

}

.navegador a{
    text-decoration: none;
    color: white;
    padding: 10px;
    margin: 20px;
    transition: all 0.6s;
    
}

.navegador a:hover{
    background-color: rgb(168, 210, 158);
    border-radius: 10px;

}

.navegador a:active{
    color: black;
    transition: 0.1s;

}

.portada{
    min-height: 100vh;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-evenly;
    
}

.portada img{
    width: 15vw;
    height: auto;
    margin: 20px;
}

.portada h1{
    font-size: 2.3vw;
}

.separador{
    background-color: black;
    color: white;
    text-align: center;
    padding: 10px;
    font-size: 15px;
}

.seccion{
    width: 100%;
    margin: 15px auto ;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;   
    justify-content: center; 


}

.tarjeta {
    width: 450px;
    margin: 25px;
    height: auto;
    box-shadow: 4px 4px 14px -1px rgba(120,120,120,0.75);
    -webkit-box-shadow: 4px 4px 14px -1px rgba(120,120,120,0.75);
    -moz-box-shadow: 4px 4px 14px -1px rgba(120,120,120,0.75);
    border-radius: 20px;
    transition: all 0.5s;
    background-color: rgba(255, 255, 255, .10);
    line-height: 1.5;
}

.tarjeta img{
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 20px 20px 0px 0px;
}


.tarjeta h3{
    text-align: center;
    margin: 15px;
    
    
}
.tarjeta p{
    margin: 0 25px 10px;
}

.tarjeta:hover{
    scale: 1.05;
}

.seccion2{
    width: 100%;
    margin: 15px auto ;
    display: flex;
    flex-wrap: wrap;   
    justify-content: center; 
    align-items: center;

}

.tarjetaContacto{
    width: 200px;
    padding: 10px;
    margin: 10px 20px ;
    border-radius: 15px;
    transition: 0.7s;
  
}
.tarjetaContacto h2{
    font-size: 14px;
}
.tarjetaContacto:hover{
    box-shadow: 4px 4px 14px -1px rgba(120,120,120,0.75);
}

.imagenTarjetaContacto{
    width: 100%;
    height: 100px;
    object-fit: contain;
}

.contenidoTarjetaContacto{
    display: flex;
    flex-direction: column;
    align-items: center;
}
.tarjetaContacto a{
    text-decoration: none;
    background-color: rgb(168, 210, 158);
    color: black;
    font-size: 10px;
    font-weight: 700;
    padding: 10px;
    border-radius: 15px;
    transition: 0.6s;
}

.tarjetaContacto a:hover{
    color: white;
}
.tarjetaContacto a:active{
    color: black;
    transition: 0.1s;
}
footer{
    display: flex;
    background-color: black;
    justify-content: space-around;
}
footer a{
    color: grey;
    text-decoration: none;
}
.parent {
    display: grid;
    flex-direction: row;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    grid-column-gap: 0px;
    grid-row-gap: 0px;
    grid-row-gap: 10px;
    color: grey;
    font-size: small;
    text-align: center;
}
.div1 { grid-area: 1 / 1 / 2 / 2; }
.div2 { grid-area: 1 / 2 / 2 / 3; }
.div3 { grid-area: 1 / 3 / 2 / 4; }
.div4 { grid-area: 2 / 2 / 3 / 3; }

@media screen and (max-width: 768px){
    .portada{
        flex-direction: column;
        justify-content: center;
    }
    .portada img{
        width: 40vw;
        height: auto;
        margin: 20px;
    }
    .portada h1{
        font-size: 4vw;
        margin-top: 20px;
    }
    .parent{
        display: table-column;
    }
}

