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

body {
    display: flex;
    flex-flow: column;
    min-height: 100vh;
    font-family: 'Roboto', 'Arial', sans-serif;
    font-weight: 400;
}

img {
    max-width: 100%;
    height: auto;
}

h2 {
    font-size: 1.2em;
    color: #1f263b;
}

p, span {
    font-size: 1em;
    color: #85878d;
}

/*// HEADER //*/

header {
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
    align-items: center;
    height: 66px;
    background-color: #6A1B9A;
    padding: 22px;
    box-shadow: 0 0 4px rgba(0,0,0,.75);
}

header .header-item {
    width: 33%;
}

h1 {
    display: flex;
    justify-content: center;
}

h1 a {
    font-family: 'Expletus Sans', 'Arial', sans-serif;
    font-weight: 500;
    font-size: .9em;
    color: #fff;
    text-shadow: 0 2px 2px rgba(0,0,0,.75);
}

h1 a span {
    font-style: italic;
    color: #FFEB3B;
}

h1 a:active {
    transform: translateY(2px);
    text-shadow: 0 0 0 rgba(0,0,0,0);
}

.busqueda {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.busqueda img {
    height: 22px;
    width: auto;
}

/* Menú Desplegable */

.menu-desplegable {
    position: fixed;
    top: 0;
    left: 0;
    width: 0;
    max-width: 0;
    height: 100vh;
    display: none;
    flex-flow: column;
    justify-content: space-between;
    align-items: stretch;
    background-color: #fff;
    box-shadow: 0 0 16px rgba(0,0,0,.75);
    transition: all .25s ease;
}

#menu-toggle {display: none;}

#menu-toggle:checked ~ div {
    display: flex;
    width: 84vw;
    max-width: 480px;
}

.hamburger-toggle {
    background: linear-gradient(to bottom, #fff 0%, #fff 12%, transparent 12%, transparent 44%, #fff 44%, #fff 56%, transparent 56%, transparent 88%, #fff 88%, #fff 100%); /*Lineas botón*/
    cursor: pointer;
    display: block;
    height: 16px;
    width: 22px;
}

.menu-superior {
    display: flex;
    flex-flow: column;
    justify-content: space-around;
    align-items: center;
    height: 200px;
    background-color: #6A1B9A;
}

.menu-superior .boton {
    align-self: flex-end;
    width: 20px;
    height: 20px; /* momentaneo */
    background-color: #fff; /* momentaneo */
    margin-right: 18px;
}

.usuario {
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.usuario img {    
    border-radius: 50%;
    width: 78px;
    height: auto;
    margin-bottom: 10px;
}

.usuario h2,
.usuario h3 {
    color: #fff;
}

.usuario h2 {
    margin-bottom: 4px;
}

.usuario h3 {
    font-size: .8em;
}

.menu-enlaces {
    display: flex;
    flex-flow: column;
    justify-content: space-between;
    align-items: stretch;
    flex-grow: 1;
}

.menu-enlaces a {
    display: flex;
    flex-flow: row nowrap;
    justify-content: flex-start;
    align-items: center;
    height: 56px;
    padding: 16px 18px;
}

.menu-enlaces img {
    width: 18px;
    height: 18px; /* momentaneo */
    background-color: #6A1B9A; /* momentaneo */
    margin-right: 18px;
}

.menu-enlace {
    display: flex;
    flex-flow: row;
    justify-content: space-between;
    flex-grow: 1;
}

.activo {
    background-color: #F3E5F5;
    border-right: solid 4px #6A1B9A;
}

.antipanico {
    background-color: #d80000;
}

.antipanico img {
    background-color: #fff; /* momentaneo */
}

.antipanico span {
    color: #fff;
}

/*// CONTENIDO //*/

main {
    display: flex;
    flex-flow: column;
    justify-content: flex-start;
    align-items: stretch;
}

article {
    justify-content: center;
    padding: 16px;
    border-bottom: solid 1px rgba(0,0,0,.1);
}

.header-article {
    display: flex;
    flex-flow: row;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.avatar-article {
    border-radius: 50%;
    width: 14%;
    min-width: 48px;
    max-width: 64px;
    height: auto;
    margin-right: 12px;
}

.autor-article {
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: stretch;
    width: 100%;
}

.usuario-article {
    display: flex;
    flex-flow: row;
    justify-content: flex-start;
}

.detalles-article {
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
    font-size: .8em;
}

.visitas-article {
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
}

.visitas-article img {
    width: 16px;
    margin-right: 4px;
}

.texto-article {
    display: flex;
    flex-flow: column;
    align-items: stretch;
}

.texto-article p {
    margin-bottom: 14px;
}

.texto-article img {
    width: 100%;
    height: auto;
    margin-bottom: 14px;
}

.footer-article {
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
    align-items: center;
}

.footer-article button {
    width: 50%;
    height: 38px;
    background-color: rgba(0,0,0,.05);
    border-bottom: solid 2px rgba(0,0,0,.1);
    border-top: 0;
    border-left: 0;
    border-right: 0;
    margin: 4px;
}

.footer-article button:active {
    border-bottom: 0;
}