@charset "utf-8" ;
@import url('https://fonts.googleapis.com/css2?family=Hind:wght@700&family=Raleway:wght@100;500&display=swap');

/* REGLAS PARA CELULAR */

* {   
    margin: 0em;
    padding: 0em;
    border: 0em;
    box-sizing: border-box;
    }

body {   
    background-color: rgb(255, 255, 255);
    font-family: 'Raleway', sans-serif;
    font-weight: 500;
    }

header {
    background-image: url(../img/fondo-celular.jpg);
    background-size: cover;
    background-repeat: no-repeat;
}

header div nav{
     font-family:'Raleway', sans-serif;
     font-weight: 100;
     font-size: 0.9em;
     margin: 0.5em;
        }
    
header div nav ul {
     padding: 0em;
    list-style:none;
    display: flex;
    justify-content: center;
            }
    
header div nav ul li {
     background-color:rgb(255, 255, 255);
     margin: 1em 0.5em 0.5em 0.5em;
     padding: 0.5em;
     width: 7em;
     text-align: center;
     border-radius:1.5em;
     box-shadow: 0.2em 0.2em 1em rgb(53, 53, 53);
          }
    
header div nav ul li a {
    color:rgb(98, 240, 4);
    text-decoration:none;
    text-transform: uppercase;
    font-weight: bold ;
    font-family: 'Raleway', sans-serif;
    font-weight: 400;
          }  

div #portada {
    margin: 0.5em;
    padding: 0;
}

header div img {
    width: 10em;
    height: auto;
    display: block;
    margin: auto;
}

h1 {
    color: rgb(153, 98, 226);
    font-size: 2em;
    text-align:center;
    text-transform: uppercase;
    margin: 0.5em;
    margin-bottom: 0em;
    font-family: 'Hind', sans-serif;
    font-weight: 700 ;
    line-height: 1em;
    }

h2{
    background-color: rgb(153, 98, 226);
    color:rgb(255, 255, 255) ;
    font-size: 1em;
    padding: 0.5em;
    border-radius: 1.5em;
    margin: 1.5em;
    text-align: center;
    letter-spacing: 0.2em;
    box-shadow: 0.2em 0.2em 1em gray;
    }

p{
    color:rgb(114, 110, 107);
    font-size: 1.1em;
    margin-top: 1em;
    margin-left: 1.5em;
    margin-right: 1.5em;
        }

#materias nav ul li {
    color:rgb(114, 110, 107);
    font-size: 1.1em;
    margin-left: 3em;
    list-style: circle;
    line-height: 1.4em;
}

#trabajo nav ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    margin: 0.5em;
}

#trabajo nav ul li {
    list-style: none;
    font-size: 0.9em;
    background-color: rgb(98, 240, 4);
    padding: 0.4em;
    border-radius: 0.8em;
    margin: 0.5em;
    margin-left: 1.5em;
    box-shadow: 0.2em 0.2em 1em rgb(190, 190, 190);
} 

#trabajo nav ul li a {
    color: white ;
    text-decoration: none;
    padding: 0.3em;
} 

footer{
    background-color:rgb(238, 238, 238);
    font-size: 0.6em;
    color: rgb(131, 131, 131);
    text-align: center;
    margin: 3em 1em 2em 1em;
    padding: 1em;
    font-family: 'Raleway', sans-serif;
         }

nav>a{
    text-decoration: none;
    margin-left: 1.5em;
    color: rgb(98, 240, 4);
    font-size: 1.1em;
         }





/* REGLAS PARA ESCRITORIO */
/* escritorio pequeño / tablet */
@media screen and (min-width: 768px) {
    * {   
        margin: 0em;
        padding: 0em;
        border: 0em;
        box-sizing: border-box;
        }
    
    body {   
        background-color: rgb(255, 255, 255);
        font-family: 'Raleway', sans-serif;
        font-weight: 500;
        }
    
    header {
        background-image: url(../img/fondo-tablet.jpg);
        background-size: cover;
        background-repeat: no-repeat;
    }
    
    header div nav{
         font-family: sans-serif;
         font-size: 1em;
            }
        
    header div nav ul {
         padding: 0em;
        list-style:none;
        display: flex;
                }
        
    header div nav ul li {
         background-color:rgb(255, 255, 255);
         margin-top: 1.5em;
         margin-bottom: 0.5em;
         padding: 0.5em;
         width: 10em;
         text-align: center;
         border-radius:1.5em;
              }
        
    header div nav ul li a {
        color:rgb(153, 98, 226);
        text-decoration:none;
        text-transform: uppercase;
        font-weight: bold ;
        font-family: 'Raleway', sans-serif;
        font-weight: 400;
              }  
    
    div #portada {
        margin: 0.5em;
        padding: 0;
    }
    
    header div img {
        width: 12em;
        height: auto;
        display: block;
        margin: auto;
    }
    
    h1 {
        color: rgb(153, 98, 226);
        font-size: 2em;
        text-align:center;
        text-transform: uppercase;
        margin: 1em;
        font-family: 'Hind', sans-serif;
        font-weight: 700 ;
        }
    
    h2{
        background-color: rgb(98, 240, 4);
        color:rgb(255, 255, 255) ;
        font-size: 1em;
        padding: 0.5em;
        border-radius: 1.5em;
        margin: 2em;
        }
    
    p{
        color:rgb(114, 110, 107);
        font-size: 1.1em;
        margin-top: 0.5em;
        margin-left: 2em;
        margin-right: 2em;
            }
    
    #materias nav ul li {
        color:rgb(114, 110, 107);
        font-size: 1.1em;
        margin-left: 3em;
    }
    
    #trabajo nav ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-start;
    }
    
    #trabajo nav ul li {
        list-style: none;
        font-size: 0.9em;
        background-color: rgb(153, 98, 226);
        padding: 0.4em;
        border-radius: 0.8em;
        margin-left: 2em;
    } 
    
    #trabajo nav ul li a {
        color: white ;
        text-decoration: none;
    } 

    footer{
        background-color:rgb(238, 238, 238);
        font-size: 0.6em;
        color: rgb(131, 131, 131);
        text-align: center;
        margin: 4em 1em 2em 1em;
        padding: 1em;
        font-family: 'Raleway', sans-serif;
        font-weight: 500;
             }
    
    nav>a{
        text-decoration: none;
        margin-left: 2em;
        color: rgb(153, 98, 226);
        font-size: 1.1em;
             }
   
   





   
    /* escritorio grande */
@media screen and (min-width: 992px) {
    * {   
        margin: 0em;
        padding: 0em;
        box-sizing: border-box;
        border: 0em;
        }
    
    body {   
        background-color: rgb(255, 255, 255);
        font-family: 'Raleway', sans-serif;
        font-weight: 500;
        }
    
    header {
        background-image: url(../img/fondo-escritoriogrande.jpg);
        background-size: cover;
        background-repeat: no-repeat;
    }
    
    header div nav{
         font-size: 1em;
            }
        
    header div nav ul {
         padding: 0em;
        list-style:none;
        display: flex;
        justify-content: flex-end;
                }
    
    header div nav ul :hover {
        background-color:rgb(49, 49, 49);
        }
        
    header div nav ul li {
         background-color:rgb(255, 255, 255);
         margin-top: 1.5em;
         margin-bottom: 0.5em;
         padding: 0.5em;
         width: 7em;
         text-align: center;
         border-radius:1.5em;
              }

        
    header div nav ul li a {
        color:rgb(98, 240, 4);
        text-decoration:none;
        text-transform: uppercase;
        font-weight: bold ;
              }  
    
    div #portada {
        margin: 0.5em;
        padding: 0;
    }
    
    header div img {
        width: 13em;
        height: auto;
        display: block;
        margin: auto;
    }
    
    h1 {
        color:  rgb(98, 240, 4);
        font-size: 2.3em;
        font-family: 'Hind', sans-serif;
        font-weight: 700 ;
        text-align:start;
        text-transform: uppercase;
        margin-top: 1em;
        margin-bottom: 0em;
        }
    
    h2{
        background-color: rgb(153, 98, 226);
        color:rgb(255, 255, 255) ;
        font-size: 1em;
        padding: 0.8em;
        border-radius: 1.5em;
        margin: 2em;
        text-align: start;
        }
    
    p{
        color:rgb(114, 110, 107);
        font-size: 1.1em;
        margin-left: 2em;
        margin-right: 2em;
            }
    
    #materias nav ul li {
        color:rgb(114, 110, 107);
        font-size: 1.1em;
        margin-left: 3em;
    }

    #trabajo nav ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-start;
        margin-left: 1.5em;
    }
    
    #trabajo nav ul li {
        list-style: none;
        font-size: 0.9em;
        background-color: rgb(98, 240, 4);
        padding: 0.4em;
        border-radius: 0.9em;
    } 
    
    #trabajo nav ul :hover{ 
        background-color: rgb(32, 32, 32);
     } 

    #trabajo nav ul li a {
        color: white ;
        text-decoration: none;
    } 
    
    footer{
        background-color:rgb(238, 238, 238);
        font-size: 0.6em;
        color: rgb(131, 131, 131);
        text-align: center;
        margin: 4em 1em 2em 1em;
        font-family: 'Raleway', sans-serif;
        font-weight: 500;
        padding: 1em;
             }
    
    nav>a{
        text-decoration: none;
        margin: 2em;
        color: rgb(98, 240, 4);
        font-size: 1.1em;
             }





         


/* escritorio extra grande */
@media screen and (min-width: 1200px) {
    * {   
        margin: 0em;
        padding: 0em;
        border: 0em;
        box-sizing: border-box;
        }
    
    body {   
        background-color: rgb(255, 255, 255);
        font-family: 'Raleway', sans-serif;
        font-weight: 500;
        }
    
    header {
        background-image: url(../img/fondo-escritoriogrande.jpg);
        background-size: cover;
        background-repeat: no-repeat;
    }
    
    header div nav{
         font-family: sans-serif;
         font-size: 1em;
            }
        
    header div nav ul {
         padding: 0em;
        list-style:none;
        display: flex;
        justify-content: flex-end;
                }
    
header div nav ul :hover {
        background-color:rgb(49, 49, 49);
         }
        
    header div nav ul li {
         background-color:rgb(255, 255, 255);
         margin-top: 1.5em;
         margin-bottom: 0.5em;
         padding: 0.5em;
         width: 7em;
         text-align: center;
         border-radius:1.5em;
              }
        
    header div nav ul li a {
        color:rgb(98, 240, 4);
        text-decoration:none;
        text-transform: uppercase;
        font-weight: bold ;
        width: 7em;
              }  
    
    div #portada {
        margin: 0.5em;
        padding: 0;
    }
    
    header div img {
        width: 13em;
        height: auto;
        display: block;
        margin: auto;
    }
    
    h1 {
        color:  rgb(153, 98, 226);
        font-size: 2.3em;
        text-align:start;
        text-transform: uppercase;
        margin: 1em;
        font-family: 'Hind', sans-serif;
        font-weight: 700 ;
        }
    
    h2{
        background-color: rgb(153, 98, 226);
        color:rgb(255, 255, 255) ;
        font-size: 1em;
        padding: 0.8em;
        padding-left: 1em;
        border-radius: 1.5em;
        margin: 2em;
        text-align: start;
        }
    
    p{
        color:rgb(114, 110, 107);
        font-size: 1.1em;
        margin: 1em;
        margin-left: 2em;
        margin-right: 2em;
            }
    
    #materias nav ul li {
        color:rgb(114, 110, 107);
        font-size: 1.1em;
        margin-top: 0.5em;
        margin-left: 3em;
    }
    
    #trabajo nav ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-start;
    }
    
    #trabajo nav ul li {
        list-style: none;
        font-size: 0.9em;
        background-color: rgb(98, 240, 4);
        padding: 0.6em;
        border-radius: 1em;
        margin: 0;
        margin-left: 1.5em;
    } 
    
    #trabajo nav ul :hover{ 
       background-color: rgb(32, 32, 32);
    } 


    #trabajo nav ul li a {
        color: white ;
        text-decoration: none;
    } 

    footer{
        background-color:rgb(238, 238, 238);
        font-size: 0.6em;
        color: rgb(131, 131, 131);
        text-align: center;
        margin: 4em 1em 2em 1em;
        padding: 1em;
        font-family: 'Raleway', sans-serif;
        font-weight: 500;
             }
    
    nav>a{
        text-decoration: none;
        margin: 2em;
        color: rgb(98, 240, 4);
        font-size: 1.1em;
    }