@import url(http://fonts.googleapis.com/css?family=Yanone+Kaffeesatz:400,700,300,200);

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

}


body {
    background-image: url(imagenes/gradient2-01.jpg); 
    font-size: 12pt; 
    font-family: monospace      
}


ul,li {
    padding: 0; 
    margin: 0;
}


ul {
    list-style: none; 
}


header {
    margin-bottom: 1rem   
}


#pagina{
    width:1024px; 
    margin: auto;
}


header h1 {
    font-size: 1.3rem; 
    color: rgb(0, 0, 0); 
    font-family: 'Yanone Kaffeesatz', sans-serif; 
    background-color: rgb(70, 228, 188); 
    width: 1000px; 
    align-content: center; 
    padding-top: 10px; 
    padding-bottom: 10px; 
    text-align: center
}


nav{
    overflow: auto; 
    background-color: rgb(172,233,0); 
    width: 1000px;
    padding-top: 10px; 
    padding-bottom: 10px;
    
}


header ul {
    list-style: none;  
    margin: auto;   
}



header ul li {
    float: left;
    align-content: center;
}


header ul li a {
    text-decoration: none;
    text-decoration-color: none; 
    color: rgb(110, 255, 255); 
    display: block; 
    background-color: #ef4c4c; 
    margin-left: 0.5cm; 
    padding-left: 0.3cm; 
    padding-right: 0.3cm;                   
}


header ul li a:hover {
    color: rgb(228, 255, 82); 
    background-color: rgb(20,25,25)                  
}


#modulos #info-grupo {
    background-color: rgb(255,36,164); 
    color: rgb(255, 255, 255); 
    width: 700px; 
    text-align: center;
    padding-top: 10px;
    padding-bottom: 10px;
    float: left;
}


#modulos #carta {
    background-color: rgb(16, 52, 255); 
    color: rgb(255, 255, 255); 
    width: 940px; 
    text-align: left;
    padding-left: 20px;
    padding-right: 40px;
    padding-top: 10px;
    padding-bottom: 10px;
    float: left;
}


#modulos #programa-de-estudios{
    background-color: rgb(204,55,194);
    color: rgb(255, 255, 255); 
    padding-top: 10px;
    width: 300px; 
    float: left;
}


#modulos #programa-de-estudios ul { 
    padding: 5px;
}


#modulos ul li{
    display: inline-block;
}

@media all and (min-width:12rem) and (max-width:24rem)
    {body{
            background-color: rgb(204,44,89);
            font-size: 2rem
                }
    }

@media all and (min-width:25rem) and (max-width:48rem)
    {body{
        
            background-color: rgb(101, 147, 163);
            font-size: 2rem
                }
    }

@media screen and (min-width:49rem) and (max-width:90rem)
    {
        body{
            background-color: rgb(44, 204, 112);
            font-size: 2rem
                }
        header ul li {float: none}
 }

footer {
    clear:both; 
    font-family: 'lobster_1.4regular'; 
    background-color: rgb(180,49,244); 
    height: 50px; 
    width: 940px; 
    text-align: center; 
    padding-left: 30px; 
    padding-right: 30px;
}