@font-face {
    font-family: 'rosariobold';
    src: url('fonts/rosario-bold-webfont.eot');
    src: url('fonts/rosario-bold-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/rosario-bold-webfont.woff') format('woff'),
         url('fonts/rosario-bold-webfont.ttf') format('truetype'),
         url('fonts/rosario-bold-webfont.svg#rosariobold') format('svg');
    font-weight: normal;
    font-style: normal;

}


@font-face {
    font-family: 'rosarioregular';
    src: url('fonts/rosario-italic-webfont.eot');
    src: url('fonts/rosario-italic-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/rosario-italic-webfont.woff') format('woff'),
         url('fonts/rosario-italic-webfont.ttf') format('truetype'),
         url('fonts/rosario-italic-webfont.svg#rosarioregular') format('svg');
    font-weight: normal;
    font-style: normal;

}


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

}

/* hoja de estilo jt006 */

body, html {
    background-color: rgb(240, 240, 240);
    width: 100%;
    height: 100%;
    font-family: "rosarioregular";
}

div#pagina {
    background-color: rgb(255, 255, 255);
    width: 80%;
    height: auto;
    margin: auto;
    text-align: center;    
}

header {
    background-color: rgb(227, 227, 227)
}

nav {
    margin: auto;
    background-color: rgb(255, 255, 255);
    
}

nav ul {
    list-style: none;

}

nav ul li{
    width: none;
    float: center;
    margin-right: 3rem;
    
    
}

nav ul li a {
    text-decoration: none;
    color: rgb(255, 255, 255);
    font-size: 15px;
    display: block;
    text-align: center;
    width: 100%;
    text-align: center;
    background-color: rgb(99,99,99)


}

nav ul li: a: hover{
        color: rgb(255, 108, 0);
        background-color: rgb(99,99,99);
    }


section {
    font-size: 12px;
    text-align: justify;
    margin-left: 90px;
    margin-right: 90px;
}

.texto-destacado1{
    font-size: 12px;
    font-variant: small-caps;
    /* font-family: sans-serif */
        }

a {
    text-decoration: none;
    color:rgb(255, 108, 0);
}

p {
    font-size: 20px;
    /*font-family: sans-serif*/
}

p2 {
/*font-family: sans-serif;*/
    font-size: 14px; 
}

footer {
    font-size: 10px;
    /*font-family: sans-serif;*/
    color: rgb(175, 175, 175);
    background-color: rgb(227, 227, 227)
}
    
h1, h2 {
    font-family: "rosariobold"
        }


@media all and (min-width: 1px) and (max-width: 320px) {
    width: 10rem;
    margin-right: 1rem;
    div#pagina {   
    width: 100%;
    } 
    
}

@media all and (min-width: 320px) and (max-width:640px) {
    div#pagina {   
    width: 100%;
}  
}

@media all and (min-width: 641px) {
    
    div#pagina {   
    width: 80%;
    }  
    
    nav{
        float: right;
    }
    
    nav ul li{
        width: 10rem;
        float: left;
        margin-right: 1rem;
}
}


        
        
    
        