@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: 'rosarioitalic';
    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(99,99,99);
    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); 
    
}

section nav{
    width: 15rem;
    float: center;
    height: 14rem;
    
}

nav ul {
    list-style: none;
    }

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

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

section img {
    width: 20rem;
    text-align: justify;
    margin-bottom: 2rem;

    }

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

.texto-destacado2{
    font-size: 14;
    color: rgb(255, 108, 0)
}

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

p {
    font-size: 16px;
    background-color: rgb(227, 227, 227);
    float: center;
    }

p:hover{
    color: rgb(00,00,00);
    background-color: rgb(255, 255, 255);
}

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




@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;
}
}


        
        
    
        