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

body {
    display: flex;
    flex-flow: column;
    justify-content: space-between;
    min-height: 100vh;
    font-family: 'Ubuntu', 'Arial', sans-serif;
    font-weight: 300;
}

h1 { font-size: 2.5em; }

h2 { font-size: 1.5em; }

h3 { font-size: 1em}

li { color: black}

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

/*// Header //*/

header {
    width: 100%;
    background-color: red;
    color: white;
    padding: .75em 1em;
}

#logo-palabra {
    display: inline-block;
    font-family:'Arial', sans-serif;
    font-weight: 700;
    font-size: 1.5em;
    transition: transform .25s ease;
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-flow: wrap;
}

nav ul {
    display: flex;
}

nav ul li,
nav ul span {
    display: inline-block;
    padding-left: 2em;
}

nav ul li a {
    color: #fff;
    font-family: monospace,'Arial', sans-serif;
    font-size: 1em;
    transition: all .25s ease;
}

nav ul li a:hover {
    color: gray;
}

/*// Contenido //*/

main {
    display: flex;
    flex-flow: column;
    justify-content: space-around;
    align-items: center;
    flex: 1;
    height: 100%;
}

section {
    display: flex;
    flex: 1;
    align-items: center;
    width: 100%;
    padding: 2em;
}
.intro{
    flex-flow: row wrap;
    justify-content: space-between;
    background: url(img/png2.png) no-repeat fixed center;
    background-size: cover;
    
}

/* Introducción */

.intro {
    flex-flow: column;
    justify-content: space-around;
    max-width:100%;
}

.avatar {
    border-radius: 50%;
    width: 150px;
}

.info {
    font-size: 1em;
    padding-top: 2em;
    text-align-last: center;
}

.info h1 {
    color: gray;
    margin-bottom: .5em;
}

.info span {
    font-size: .75em;
    font-weight: 300;
}

.info h2 {
    font-weight: 600;
    color:gray;
}

/* App */

.pantallas {
    flex-flow: column;
    justify-content: center;
    max-width: 360px;
}

.pantallas ul {
    display: flex;
    flex-flow: row wrap;
    align-content: center;
    padding: .5em 0;
}

.pantallas ul li a {
    display: inline-block;
    width: auto;
    text-align: center;
    color: gray;
}

.pantallas ul li a:hover {
    color: red;
}

/* Académico */
.academico {
    display:block;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding:0;
    margin: 2em;
}

.academico ul {
    display:flex;
    flex-flow: column;
    flex-direction:column;
    
}

.academico ul li {
    display:inline-block;
    padding: .2em;
    
}

.academico ul li{
    display: inline-block;
    width:auto;
    height:auto;
    text-indent:none;
}
.academico h2{
    display: flex;
    justify-content: center;
    align-items: center;
    margin: .5em;
}


/* accordion */

.accordion{ 
    width:100%;
    display: flex;
    background-color: red;
    color:white;
    padding: .75em 1em;    
}
.accordion:hover{
    color: gray;
}


/* UBA */
UBA{
    font-size: 1em;
    padding: 2em;
}

.UBA{
    flex-flow: column;
    text-align-last: left;
}

.UBA h3{
    font-weight: 700;
    margin-bottom: 1em;
}
.UBA span{ 
    font-weight: bold;
}
/*// Footer //*/

footer {
    display: flex;
    text-align:center;
    flex-flow: column;
    justify-content: center;
    background-color: red;
    color: white;
    padding: 0 1em;
    width: 100%;
}

footer p {
    display: flex;
    font-size: .6em;
    flex: 1 60%;
    padding: .8em;
}

footer p,
footer div {
    padding: .8em;
}

footer p {
    font-size: .7em;
}

/*// Menú dispositivos móviles //*/

#menu-toggle {display: none;}

.hamburger-toggle {display: none;}

@media screen and (max-width: 860px) {
    
    #logo-palabra {
    font-size: 1.25em;
}
    
    nav ul {
        display: block;
        max-height: 0;
        width: 100%;
        overflow: hidden;
        text-align: center;
        transition: max-height .25s ease-in, padding-top .5s ease;
    }
    
    nav ul li {
        display: block;
        padding: 1em 0;
    }
    
    nav ul span {
        display: none;
    }
    
    #menu-toggle:checked ~ ul {
        max-height: 720px;
        padding-top: .75em;
    }
    
    .hamburger-toggle {
      background: linear-gradient(to bottom, gray, gray, transparent 12%, transparent 44%, gray, gray, transparent 56%, transparent 88%,gray,gray); /*Lineas botón*/
      cursor: pointer;
      display: block;
      float: right;
      height: 1.25em;
      width: 1.25em;
    }
    
    header {
        display: block;
    }
}