@import url('https://fonts.googleapis.com/css?family=Open+Sans|Roboto');


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: #fdfee0;
}

.title{
    text-align: center;
    font-size: 40px;
    color: #6a6a6a;
    margin-top: 50px;
    font-weight: 100;
    font-family: 'Roboto', sans-serif;
}


.container{
    width: 65%;
    height: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    color: #333;
    float: left;
    margin-left: 25px;
}

.container .card{
    width: 500px;
    height: 250px;
    border-radius: 8px;
    box-shadow: 0 2px 2px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    margin: 20px;
    text-align: center;
    transition: all 0.25s;
}

.container .card:hover{
    transform: translateY(-15px);
    box-shadow: 0 12px 16px rgba(0, 0, 0, 0.2);
}

.container img{
    width: 300px;
    height: 220px;
    -webkit-transform: rotate(-15deg);
    -moz-transform: rotate(-150deg);
    -ms-transform: rotate(-15deg);
    transform: rotate(-15deg);
    border-radius: 25px;
    margin-top: 25px;
}
.container img:hover{
    transform: translateY(-15px);
    box-shadow: 0 12px 16px rgba(0, 0, 0, 0.2);
       }
.container .card h4{
    font-weight: 600;
    font-size: 25px;
}

.container .card p{
    padding: 0 1rem;
    font-size: 14px;
    font-weight: 300;
}

.container .card a {
    font-weight: 500;
    text-decoration: none;
    color: #3498db;
}
.aside{
    /*width: 30%;*/
    height: auto;
    display: flex;
    flex-wrap:wrap;
    justify-content: center;
    overflow: hidden;
    flex-direction: column;
    border-left: 1px solid blue;
    color: #fff;
}
.aside .publicidad{
   
    height: 430px;
    border-radius: 8px;
    box-shadow: 0 2px 2px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    margin: 20px;
    text-align: center;
    transition: all 0.25s;
    background:  #00009c;
    color: #fff;

}
.aside .publicidad .calendar{
    display: flex;
    width: 90%;
    padding: 10px;
    margin:auto;

}
.aside .publicidad a{
    color: #fff;
    text-decoration: none;
    font-size: 12px;
}

.aside .publicidad img{
    
     width: 330px;
    height: 220px;
     width: 300px;
    height: 220px;
    border-radius: 25px;
    margin-top: 25px;
    border: 3px solid #fff;
   box-shadow: 0 12px 16px rgba(255, 255, 255, 0.2);

 
}

.aside .publicidad video{
    
     width: 330px;
    height: 220px;
     width: 300px;
    height: 220px;
    border-radius: 25px;
    margin-top: 25px;
    border: 3px solid #fff;
   box-shadow: 0 12px 16px rgba(255, 255, 255, 0.2);

 
}

@media all and (max-width: 720px) {
    .container img{
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    transform: rotate(0deg);
    border-radius: 25px;
            }
            .aside{
                flex-direction: column;
                width: 100%;
                border-left: 0;
                }
                .container{
                    width: 100%;
                    margin: auto;
                    }
                
                .title{
                    text-align: center;
                }





                .container .card{
                    width: 500px;
                    height: 300px;
                    border-radius: 8px;
                    box-shadow: 0 2px 2px rgba(0, 0, 0, 0.2);
                    overflow: hidden;
                    margin: 20px;
                    text-align: center;
                    transition: all 0.25s;
}

}























































