/*********************FUENTES*********************/

@font-face {
    font-family: 'titillium_webregular';
    src: url('titilliumweb-regular-webfont.eot');
    src: url('titilliumweb-regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('titilliumweb-regular-webfont.woff2') format('woff2'),
         url('titilliumweb-regular-webfont.woff') format('woff'),
         url('titilliumweb-regular-webfont.ttf') format('truetype'),
         url('titilliumweb-regular-webfont.svg#titillium_webregular') format('svg');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'titillium_webresemibold';
    src: url('titilliumweb-semibold-webfont.eot') format('eot'),
         url('titilliumweb-semibold-webfont.eot') format('eot');
    font-weight: normal;
    font-style: normal;

}

/*********************ESTILOS*********************/

*{
    font-family: 'titillium_webregular', sans-serif;
    box-sizing: border-box;
    list-style: none;
    text-decoration: none;
    margin: 0;
    padding: 0 ;
    
 }

/**body**/

.mainwrap{ 
   height: 60em;
    background-color: #FFF900;
}


/**header**/

header{
    background-color: #06FF00;
}

.contenedor{
    padding-left: 10px;
    padding-right: 5px;
    display: flex;
    
}
.botones{
    display: flex;
    align-items: flex-end;
    width: 350px;
}
nav ul li {
    display: flex;
    justify-content: flex-end;
}

nav ul{
    display: flex;
    justify-content: flex-end;
    align-content: space-between;
    width: 300px;
    
}
a{
    width: auto;
    display: flex;
    align-content: space-between;
    height: 30px;
    text-align: center;
}
a:hover{
    background-color: #61008C;
    color:#FFF900;
}
#logo img{
    height: 80px;
    padding: 10px;
}
.pantalla a{
    background-color: #61008C;
    color: #FFF900;
}
/**main**/


 a{
    color: white;
    align-items: center;
    border-radius: 0.5em;    
}
nav ul li a{
    background-color:#FFF900;
}
section img{
    width:350px;
    padding: 20px;
    margin: 20px;
}
aside{
    padding: 20px;
    padding-left: 50px;
    height: 260px;
}
p{
    width: 250px;
    padding: 5px;
    text-align: center;
}

/**footer**/    

footer{
    background-color: #61008C;
    width: 100%;
    height: 9rem;
    text-align: center;
    padding: 3em;
    padding: 20px;
    
}
      

a{
    color: black;
}
footer p{
    width: 350px;
    font-size: 15px;
} 
footer p{
    color: aliceblue;
   width: auto;
}

      #inicio{
        display: flex;
        flex-direction: row;
      justify-content: space-around;
          
        
    }
    .panel{
        display: flex;
        flex-direction: column;
        width: 100px;
        align-items: center;
          
    }
 .panel li a{
        background-color: #61008C;
        color: aqua;
    }

h2{
    vertical-align: baseline;
    font-family: 'titillium_webresemibold', sans-serif;
    font-size:95%;
    color: #FFF900;
}

body{
    display: flex;
    flex-direction: column;
}      

h3{
    color: #61008C;
    text-align: center;
}
.libro{
    background-color: #FF5600
}

/*******calendario******/
a {
	text-decoration: none;
}

h2 {
	font-size: 2em;
	line-height: 3em;
	margin: 0;
    background: #06FF00;
    width: 16em;
}

h3 {
	font-size: 1.5em;
	line-height: 1em;
	margin: .33em 0;
}

table {
	border-spacing: 0;
    background: #E6E6E6;
    width: 30em;
}

.container {
	height: 4;
	left: 75%;
	margin: -255px 0 0 -245px;
	position: absolute;
	top: 70%;
}

/* ---------- CALENDAR ---------- */

.calendar {
	text-align: center;
}

.calendar header {
	position: relative;
}

.calendar h2 {
	text-transform: uppercase;
}

.calendar thead {
	font-weight: 600;
	text-transform: uppercase;
}

.calendar tbody {
	color: #7c8a95;
}

.calendar tbody td:hover {
	border: 2px solid #D90067;
}

.calendar td {
	border: 2px solid transparent;
	border-radius: 50%;
	display: inline-block;
	height: 4em;
	line-height: 4em;
	text-align: center;
	width: 4em;
}

.calendar .prev-month,
.calendar .next-month {
	color: #cbd1d2;
}

.calendar .prev-month:hover,
.calendar .next-month:hover {
	border: 2px solid #cbd1d2;
}

.current-day {
	background: #D90067;
	color: #06FF00;
}

.event {
	cursor: pointer;
	position: relative;
}

.event:after {
	background: #61008C;
	border-radius: 50%;
	bottom: .5em;
	display: block;
	content: '';
	height: .5em;
	left: 50%;
	margin: -.25em 0 0 -.25em;
	position: absolute;
	width: .5em;
}

.event.current-day:after {
	background: #06FF00;
}

.btn-prev,
.btn-next {
	border: 3px solid #FFF900;
	border-radius: 50%;
	color: #FFF900;
	height: 2em;
	font-size: .75em;
	line-height: 2em;
	margin: -1em;
	position: absolute;
	top: 50%;
	width: 2em;
}

.btn-prev:hover,
.btn-next:hover {
	background: #FFF900;
	color: #f9f9f9;
}

.btn-prev {
	left: 6em;
}

.btn-next {
	right: 6em;
}

/*********************FLEXBOX*********************/

@media screen and (min-width:50em)  
{
    

body{
    display: flex;
    flex-direction: column;
}

#logo img{
        max-width: 5em;    
}  
 nav ul li a{
    text-align: center;
    width: 150px;
    
}
header{
    padding: 0;
    margin: 0;
    height: 80px;
}

 .botones{
        display: flex;
        justify-content: flex-end;
    } 
    .botones{
    display: flex;
    align-items: flex-end;
    width: 520em;    
}
     
 a {
    
    display: block;
    padding: 0.35em;
    text-align:center;}
    
       footer{
    background-color: #61008C;
    width: 100%;
    height: 17em;
    text-align: center;
    padding: 3em;
    
}      
footer p{
    text-align: center;  
}
footer p{
        width: 850px;
    }
    .entrar{
        margin-right: 100px;
    }
    .entrar nav ul li a{
        display: flex;
    }
#logo{
    margin-left:90px;
    
}
    section{
        display: flex;
        justify-content: center;
        width: 50%;
        background-color: #FF5600;
        height: 60em;
    }
    
    aside{
        display: flex;
        flex-direction: column;
        width: 50%;
        padding: 5em;
    }
    
       #inicio{
        display: flex;
        flex-direction: row;
      justify-content: space-around;
            
    }
    #inicio{
        display: flex;
        flex-direction: row;
      justify-content: space-around;
    margin-right: 20px;
        width: 750px; 
    margin-left: 50px;
    }
    
    .panel{
        display: flex;
        flex-direction: column;
          
    }
    #lados{
        display: flex;
        ;
    }
    .perfil{
        display: flex;
        flex-direction: column;
    }
    .perfil a{
        width: 120px;
        background-color: #61008C;
        color: #FFF900; 
         box-shadow: 0 0.35em 0.5em 0
        rgba(0 , 0, 0, 0.2)
    }
    .editar{
        width:250px;
        display: flex;
        align-self: center;
        flex-direction: column;
        align-items: center;
    }
    h1{
        font-size: 20;
        color: #FFF900;
    }
    h2{
        font-size: 30px;
    }
    
}   