@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Satisfy&display=swap');

* { box-sizing: border-box;
    margin:0; 
}

/* *** reglas generales *** */
body{
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    min-height: 100vh;
    justify-content: space-between;
    max-width: 100%;
    margin: 0 auto;
    padding: 1rem;
}

header{
    width: 100%;
    background-color:#C9BBBC;
    font-family:sans-serif;
    font-size: 1em;
    margin: .2em;
    padding: 2em ;
    word-spacing: 1em;   
}

.contendorh{
    width: 100%;
    height: 100%;
    align-content: center;
}

.contenedorh img{
    width: 100%;
    float: left;
}

ul.menu{ 
  list-style-type: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  text-align: center;
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-around;
}

/*
.menu li {
 display: inline-block;
 

}
*/

.menu li a {
  display: block;
  color: white;
  text-align: center;
  padding: 14px;
  text-decoration: none;
  font-size: .9em;
}

.menu li a:hover {
  background-color: #D8D2D3;
}

#banner{
    margin-top: 50px;
    margin-bottom: 2px;
    padding-left: 300px;
    padding-bottom: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    padding-left: 2%;
}

#banner img{
    width: 75%;
    margin-left: 5%;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    padding-left: 20%;
}


#General{
    padding-left:5%;
    margin-top: 1em;
    display: flex;
    flex-wrap: wrap;
    justify-content:center;
}
#General h1{
    margin-top: 3vh;
}

#About img{
    margin: 15px 2px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    padding-left: 2%;
    height: 400px;
}

#contenedora-izquierda{
    display: flex;
    flex-direction: column;
    padding: 10px;
    height: 70vh;
}
#contenedora-izquierda p {
    text-align: left;
    margin-top: 10px;
}


#contenedor-foto{
    height: 170px;
    display:flex;
    flex-direction: column;
    justify-content: space-around;
}


#contenedor-foto > img{
    width: 262px;
    height: 260px;
    padding: 45px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 2%;
    
}

#contenedora-derecha {
    border-left-style: solid;
    justify-content: space-around;
}

#contenedora-derecha > article {
    padding: 10px;
}

article li{
    display: flex;
    flex: column;
    text-decoration: none;
}

.contenedor h1{
    font-size: 2em;
    text-align: center;
    padding: 20px;
    margin: 20px 0 15px 0;
    font-weight: 300;
}

.contenedor-imagenes{
    display: flex;
    width: 85%;
    margin: auto;
    justify-content: space-around;
    flex-wrap: wrap;
    border-radius: 3px;
}
.contenedor-imagenes .imagen{
    width: 32%;
    position: relative;
    height: 250px;
    margin-bottom: 5px;
    box-shadow: 0px 0px 3px 0px rgba(0, 0, 0, .75)
}

.imagen img{
    width: 100%;
    height: 100%;
    object-fit: cover; 
}
	
.imagen:hover {filter: opacity(.5);}

footer{
    background:#C9BBBC; 
    display: flex;
    padding: 10px;
    
}

.contenedora{
    max-width: 100rem;
}   

.ejemplo{
    background-color: red;
}

/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {
        #contenedora-izquierda{
            height: fit-content;
            margin-bottom: 5px;
        }
    
        .contenedor-imagenes .imagen {
            width: 100%;
            margin-bottom: 20px;
        }
    
        #contenedora-derecha {
            border-left-style: none;
        }
}

/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 600px) {
    #contenedora-izquierda{
        height:30vh; 
    }
}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {

}

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) {

}

/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (min-width: 1200px) {

}