* {
    box-sizing: border-box;
}

body {
    font-family: Arial;
    padding: 10px;
    background: #f1f1f1;
}

/* Encabezado */
.header {
    padding: 30px;
    text-align: center;
    background: white;
}

.header h1 {
    font-size: 50px;
}

ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

/* Fondo negro para la barra del menu */
.topnav {
    background-color: #333;
    overflow: hidden;
}

/* Añade estilo a los enlaces del menu */
.topnav a {
    float: left;
    display: block;
    color: #f2f2f2;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 17px;
}

/* Cambia el color de los enlaces al pasar el raton */
.topnav a:hover {
    background-color: #ddd;
    color: black;
}

/* Añade estilo a la clase activa */
.active {
    background-color: blue;
    color: white;
}


.topnav .icon {
    display: none;
}

/* Cambia de color el menu al pasar el raton */
.topnav a:hover {
    background-color: #ddd;
    color: black;
}

/* Columna izquierda */
.leftcolumn {   
    float: left;
    width: 75%;
}

/* Columna derecha */
.rightcolumn {
    float: left;
    width: 25%;
    background-color: #f1f1f1;
    padding-left: 20px;
}

.fakeimg {
    background-color: #aaa;
    width: 100%;
    height: 200px;
    padding: 0px;
}

.p {
    font-family: sinkin;
}

.imgnoti {
    background-color: #aaa;
    width: 60%;
    height: 300px;
    padding: 0px;
    margin:auto;
}

.imgpop {
    background-color: #aaa;
    width: 100%;
    height: 200px;
    padding: 0px;
    margin-bottom:8px;
}

.imgpop figure {  
    height: 100%;
	  overflow: hidden;
	  position: relative;
	  width: 100%;
    padding: 0px;
    margin: auto;
}

.imgpop figcaption {
    background: rgba(0,0,0,0.8);
    color: white;
    display: table;
    height: 50%;
    left: 0px;
    opacity: 0;
    position: absolute;
    right: 0;
    top: 70%;
    z-index: 100;
}

.imgpop figcaption p {
    display: table-cell;
    font-size: 1.5em;
    position: relative;
    top: -40px;
    left: 10px;
    right: 10px;
    width: 100%;
    vertical-align: bottom;
}

.imgpop :hover figcaption {
    opacity: 1;
}

.imgpop img {
    width: 100%;
    height: 100%;
    padding: 0px;
}

.button {
    background-color: #e7e7e7;
    border: none;
    color: black;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 8px;
}

.button:hover {
    background-color: #e7e7e7;
    border: none;
    color: black;
    padding: 13px 28px;
    text-align: center;
    text-decoration: none;
    font-size: 18px;
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 22px;
    transition: 0.6s;
}

.hidden {
    display: none;
}

.hidden p {
    display: block;
}

/* Añade efecto de tarjeta para los articulos */
.card {
    background-color: white;
    padding: 20px;
    margin-top: 20px;
}

/* Limpia la condicion "float" para poder colocar un footer */
.row:after {
    content: "";
    display: table;
    clear: both;
}

/* Footer */
.footer {
    padding: 20px;
    text-align: center;
    background: #ddd;
    margin-top: 20px;
}

@font-face {
	font-family: sinkin;
	src: url(../fonts/SinkinSans.otf);
}

@font-face {
	font-family: sinkin2;
	src: url(../fonts/SinkinSans2.otf);
}

/* Coloca ambas columnas en una sola para dispositivos de menos de 800px de pantalla */
@media (max-width: 800px) {
    .leftcolumn, .rightcolumn {   
        width: 100%;
        padding: 0;
    }
    .imgnoti {
        width:100%;
        height: 200px;
    }
}

/* Menu responsive */
@media screen and (max-width: 600px) {
  .topnav a:not(:last-child) {display: none;}
  .topnav a.icon {
    float: right;
    display: block;
  }
}

/* Ajuste del tamaño del menu para dispositivos */
@media screen and (max-width: 600px) {
  .topnav.responsive {position: relative;}
  .topnav.responsive a.icon {
    position: absolute;
    right: 0;
    top: 0;
  }
  .topnav.responsive a {
    float: none;
    display: block;
    text-align: left;
  }
}