@charset "utf-8";

@import url('https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,600,700,900');

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    list-style: none;
}

body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100vh;
    font-family: 'Source Sans Pro', sans-serif;
}

p {
    font-size: 10px;
    color: dimgray;
    padding: 5px 10px 30px;
}

a {
    text-decoration: none;
    font-size: 10px;
    margin: 10px;
    color: dimgray;
    border: 1.5px solid white;
    padding: 4px;

}

a:hover {
    text-decoration: none;
    font-weight: 800;
}


/*NAVBAR*/

header {
    background-color: #00496F;
    padding: 10px 20px;
    box-shadow: 0px 10px 15px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

header h4 {
    text-align: right;
    color: white;
    font-size: 12px;
    font-weight: 300;
}

/*NOTICIAS*/

main {
    display: flex;
    flex-wrap: wrap;
    width: 95%;
    align-items: center;
    justify-content: space-between;
    margin: auto;
}

.nota1 {
    background-image: url(images/libro1.jpg);
    background-size: cover;
    min-height: 150px;
    padding: 20px;
    margin-top: 10px;
    margin-bottom: 10px;

}

.nota1 h1 {
    font-size: 14px;
    padding: 30px 10px 0px;
    color: dimgray;
}

.nota2 {
    background-image: url(images/cafe.jpg);
    background-size: cover;
    min-height: 150px;
    width: 48.5%;
    padding: 20px;
    margin-bottom: 10px;
}

.nota2 h2 {
    font-size: 12px;
    padding: 30px 10px 0px;
    color: dimgray;
}

.nota3 {
    background-image: url(images/libreria.jpg);
    background-size: cover;
    min-height: 150px;
    width: 48.5%;
    padding: 20px;
    margin-bottom: 10px;
}

.nota3 h2 {
    font-size: 12px;
    padding: 30px 10px 0px;
    color: dimgray;
}

.nota4 {
    background-image: url(images/calendario.jpg);
    background-size: cover;
    min-height: 150px;
    width: 31%;
    padding: 10px;
    margin-bottom: 10px;

}

.nota4 h3 {
    font-size: 10px;
    padding: 30px 10px 0px;
    color: dimgray;
}

.nota5 {
    background-image: url(images/cafe.jpg);
    background-size: cover;
    min-height: 150px;
    width: 31%;
    padding: 10px;
    margin-bottom: 10px;
}

.nota5 h3 {
    font-size: 10px;
    padding: 30px 10px 0px;
    color: dimgray;
}

.nota6 {
    background-image: url(images/cafe.jpg);
    background-size: cover;
    min-height: 150px;
    width: 31%;
    padding: 10px;
    margin-bottom: 10px;

}

.nota6 h3 {
    font-size: 10px;
    padding: 30px 10px 0px;
    color: dimgray;
}
