
html, body{
    margin: 0;
    padding: 0;
}

body{
    width: 100%;
    height: 100%;
    font-family: sans-serif;
    letter-spacing: 0.03em;
    line-height: 1.6;
    font-family: 'Open Sans', sans-serif;
     background: url("../img/fondopantalla/fondoblanco.jpg");
}

     div.logo{
        text-align: right;
        margin-top: -5%;
        margin-right: 10%;
     }
    
   /*titulo principal*/
    h1.titulo{
        color: 	#39a900;
        font-size: 70px;
        text-align: center;
      	font-weight:bold;
        font-family:"Josefin Sans";
    }

.container{
    width: 100%;
    max-width: 1200px;
    height: 430px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: auto;
}

.container .card{
    width: 360px;
    height: 500px;
    border-radius: 20px;
    overflow: hidden;
    margin: 20px;
    text-align: center;
    transition: all 0.25s;
    border: none;
    animation: fotos .1s alternate infinite;
   
    
}

/*@keyframes fotos{*/
/*    0%{transform: translateY(0px);}*/

/*    50%{transform: translateY(-5px);}*/

/*    100%{transform: translateY(-10px);} */
/*}*/
.container .card:hover{
    transform: translateY(-15px);
   box-shadow: 7px 8px 3px   #39a900;
    background:#fbfbe2;
    /*box-shadow: 7px 8px 3px   #00aaff;*/
    /*background:  rgb(190, 190, 190);*/
}

.container .card img{
    width: 220px;
    height: 210px;
}


.container .card h4{
        font-weight: 600;
        text-align: center;
        font-family: 'calibri';
        color:#00324d;
        background: white;
        border-radius: 5px;
}

.container .card h4:hover{
    background:#82def0;
}
.container .card p{
    padding: 0 1rem;
    font-weight: 300;
    text-align: center;
     color: black;
         font-family: 'calibri';
         font-style: italic;
         font-size: 18px;
         text-align: justify;
         line-height:1;
}





/*LEER MAS*/
button{
    text-align: center;
    border-radius: 5px;
    border: 1px solid #00aaff;
    width: 120px;
    height: 30px;
    color: black;
    font-weight: bold;
    cursor: pointer;
}

button:hover{
    background: #82def0;
}

    /*titulo secundario*/

 
    .titulo22{
    color: #00324d;
	font-size: 50px;
	text-align: center;
	font-family:"Josefin Sans";
	font-weight:bold;
	text-shadow: 0px 1px 1px black;
   
}
        
      
      


    /*MENU*/

    body{
        font-family: 'Verdana';
    }
    
    a{
        text-decoration: none;
    }
    
    ul{
        list-style: none;
    }
    
    img{
        max-width: 100%;
    }
    
    .navegacion{
        width: 100%;
        background: none;
        height: 70px;
        display: flex;
        justify-content: center;
    }
    
    .menu{
        width: 1000px;
        display: flex;
        flex-wrap: wrap;
        height: 60px;
    }
    
    .menu li{
        flex-basis: 0;
        flex-grow: 1;
        border-right: 0px    none;
        position: relative;
    }
    
    .menu .first-item{
        border-left: 0px    none;
    }
    
    .menu li a{
        font-family: 'Verdana';
        display: flex;
        flex-direction: column;
        font-size: 20px;
    }
    
    .menu .imagen{
        position: absolute;
        bottom: 0;
        right: 20px;
        width: 0%;
        z-index: 20;
    
        -webkit-transition: all 300ms cubic-bezier(0.445, 0.050, 0.550, 0.950); 
       -moz-transition: all 300ms cubic-bezier(0.445, 0.050, 0.550, 0.950); 
         -o-transition: all 300ms cubic-bezier(0.445, 0.050, 0.550, 0.950); 
            transition: all 300ms cubic-bezier(0.445, 0.050, 0.550, 0.950); /* easeInOutSine */
    
    -webkit-transition-timing-function: cubic-bezier(0.445, 0.050, 0.550, 0.950); 
       -moz-transition-timing-function: cubic-bezier(0.445, 0.050, 0.550, 0.950); 
         -o-transition-timing-function: cubic-bezier(0.445, 0.050, 0.550, 0.950); 
            transition-timing-function: cubic-bezier(0.445, 0.050, 0.550, 0.950); /* easeInOutSine */
    
        -webkit-box-shadow: 0px 0px 0px 0px   none;
    -moz-box-shadow: 0px 0px 0px 0px    none;
    box-shadow: 0px 0px 0px 0px    none;
    }
    
    .menu li a .text-item{
        width: 100%;
        height: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
        color: #00324d;
        top: 0%;
        position: absolute;
        z-index: 10;
      
    
        -webkit-transition: all 500ms cubic-bezier(0.175, 0.885, 0.320, 1); /* older webkit */
    -webkit-transition: all 500ms cubic-bezier(0.175, 0.885, 0.320, 1.275); 
       -moz-transition: all 500ms cubic-bezier(0.175, 0.885, 0.320, 1.275); 
         -o-transition: all 500ms cubic-bezier(0.175, 0.885, 0.320, 1.275); 
            transition: all 500ms cubic-bezier(0.175, 0.885, 0.320, 1.275); /* easeOutBack */
    
    -webkit-transition-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1); /* older webkit */
    -webkit-transition-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1.275); 
       -moz-transition-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1.275); 
         -o-transition-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1.275); 
            transition-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1.275); /* easeOutBack */
    }
    
    .menu li a .down-item{
        position: absolute;
        top: 0%;
        width: 100%;
        height: 100%;
        background:   none;
    
        -webkit-transition: all 200ms cubic-bezier(0.215, 0.610, 0.355, 1.000); 
       -moz-transition: all 200ms cubic-bezier(0.215, 0.610, 0.355, 1.000); 
         -o-transition: all 200ms cubic-bezier(0.215, 0.610, 0.355, 1.000); 
            transition: all 200ms cubic-bezier(0.215, 0.610, 0.355, 1.000); /* easeOutCubic */
    
    -webkit-transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000); 
       -moz-transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000); 
         -o-transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000); 
            transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000); /* easeOutCubic */
    }
    
    .menu li:hover .down-item, .menu li:hover .text-item{
        top: 100%;
        height: 100%;
    }
    
    .menu li:hover .imagen{
        width: 40%;
      margin: auto;
        
    }
    
    
    
    






    
    
    
    
    
    
    
    
    
    
    
    
    
    
    