@import url('https://fonts.googleapis.com/css?family=PT+Sans:400,400i,700,700i');
*{margin: 0;padding: 0}
body {background-color: #180d22;margin: 0}
header {position:fixed; background-color: #ee1848; width: 100%; margin: 0; top: 0;left: 0}

h1 {position:absolute;
    font-size: 1.6rem;
    color: #180d22;
    font-family: 'PT Sans';
    margin-left: 1.2%;
    padding:0.75rem}

p {font-size: 1rem;
    color: #d7d7d7;
    font-family: 'PT Sans';
    padding-bottom: 7%;
    text-align: center}


.li_bloques {
    float: right;
    display: block;
    color: white;
    text-align: center;
    font-size: 17px;
    padding: 1em 2em;
    text-decoration: none;
    transition: background-color .3s ease-out;}

.materias {
    line-height: 200%;
    font-size: 1rem;
    font-family: 'PT Sans';
	display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-around;
    align-items: baseline;
    align-content: flex-start;
    padding: 4rem} 

/*foto*/
.fotoyo {
    width: 25vh;
    height: auto;
    border-radius: 80%; margin-top: 7%}

/*Nombre*/
h2 {font-size: 2rem;
    color: #ee1848;
    font-family: 'PT Sans';
    font-weight: 700;
    padding-top: 1%;
    padding-bottom: 0.5%;
    text-align: center}

t {font-size: 1.1rem;
    color: #d7d7d7;
    font-family: 'PT Sans';
    padding-bottom: 7%;
    text-align: center}

/*Niveles*/
h3 {font-size: 2rem;
    color: #ee1848;
    font-family: 'PT Sans';
    padding-top: 7%;
    padding-bottom: 7%;
    text-align: center}


.logo {float: left; padding-left: 2rem; padding-top: 0.3rem}

/* Menu de nombres*/
header nav ul li {
    width: auto;
    font-family: 'PT Sans';
    font-weight: 700;
    display: block;
    text-decoration: none;
    float: right;
    padding: 1rem;
    margin-top: 0.15%;
    height: 100%}

nav ul li a {display: block; color: #180d22; text-decoration: none;height: 100%}
nav ul li:hover {background: #d7d7d7; margin: 0} 
nav ul li a:hover {color: #ee1848 } 

.informacion {
    display:flex;
    justify-content: center;
    align-items: center;
    padding-top: 2rem;
    background-color: #ee1848;}

.info { margin-bottom: -4.5rem;
    color: #180d22;}

footer {padding-top: 3%;
    padding-bottom: 2%;
   padding-left: 20rem;
    padding-right: 20rem;
    }
    
h4 {font-size: 0.8rem;
    color: #d7d7d7;
    font-family: 'PT Sans';
    font-weight: 400;
    text-align: center;}

.yuyu {display:flex;
    justify-content: center;
    align-items: center;
    padding-top: 2rem;padding-bottom: 4%;padding-top: 5%;}

.button  {font-family: 'PT Sans', sans-serif; font-weight: 700; color: #ee1848;padding: 1rem; padding-right: 2rem; padding-left: 2rem;
    cursor: pointer;
    display: block;
    position: relative;
    border: 2px solid #ee1848; background-color: transparent !important;
    transition: all 0.4s cubic-bezier(0.215, 0.61, 0.355, 1) 0s; 
}
section article a {text-decoration: none; list-style-type: none}
.button:hover { color: #180d22 !important;
    background-color: #ee1848!important;
    text-shadow: ntwo;border: 2px solid #ee1848}
.button:hover:before {
    top: 0%;
    bottom: auto;
    height: 100%;}
.button:before {
    display: block;
    position: absolute;
    left: 0px;
    bottom: 0px;
    height: 0px;
    width: 100%;
    z-index: -1;
    content: '';
    color: #000 !important
    background: #F7CA18;
    transition: all 0.4s cubic-bezier(0.215, 0.61, 0.355, 1) 0s;}