

@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');



*{padding: 0;
  margin: 0;
    

}

body{ font-family: 'Roboto', sans-serif; margin:0}


/* NOMBRE DE LA PAGINA Y CONFIGURACION, IGUAL PARA TODAS LAS PANTALLAS */

header { ; color: #397AA2; background: #ffffff; padding: 0.5rem ; height: 65px; ;  }

header nav ul li {width: 100% vw; }

.Icono-inicio { height: 23px;width: auto; fill: red;
    padding-top: 0.5rem;
}




header {
    background-image: url(img/Fondo.jpg);
    background-size: cover;
    background-position: center;
    height: 15rem;
    font-family: 'Roboto', sans-serif; 
}

.rotulo ul {
    color: #fff;
    display: flex;
    background-color: rgba(0, 0, 0, 0.2);
    padding: 1rem;
    width: 100%;
    justify-content: space-between;
}  


@media only screen and (max-width: 479px){
.rotulo ul {
    padding: 1rem 0;
    width: 100%;
    justify-content: center;
}}

.rotulo li {
    list-style: none;
}
    
.rotulo a {
    text-decoration: none;
    color: #fff;
    width: 100%;
    margin: 1rem;
    padding: 0rem 2rem 2rem 2rem;
}

@media only screen and (max-width: 479px){
.rotulo a {
    padding: 0rem;
}}

.center {
    display: block;
    text-align: -webkit-center;
}



h1 {
    text-align: center;
    padding: 1rem;
    color: white;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    padding-top: 0.8rem;
    letter-spacing: 0.20rem;
    text-transform: uppercase;
}


center img {
    margin: auto;
    display: block;
    border: 0.2rem solid #fff;
    border-radius: 5rem;
    padding: 0;
    width: 150px;
}


h2 {
    color: #ff8100;
    text-decoration: none;
    font-size: 1rem;
    margin-top: 4rem;
    padding: 3 0 0rem 1rem;
    letter-spacing: 0rem;
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
    text-align: center;
}

.titulo {
    text-align: center;
    color: dimgray;
    font-size: 1rem;
    font-weight: 400;
    margin-bottom: 2rem;
}



main {
    padding: 0;
    text-align: center;
    margin: 1rem;
}

.materias {
    display: flex;
    justify-content: space-around;
    margin: 0 rem, 2rem;
    font-size: 4rem;
    width: auto;
    flex-wrap: wrap;
}

@media only screen and (max-width: 479px){
article {
    margin-bottom: -6rem;
    width: 100%;
}}

article div {
    font-size: 0.8rem;
    color: dimgray;
    text-align: center;
    padding: 1.5rem;
    list-style-type: none;
    justify-content: center;
    display: inline;
    width: 30%;
}

div p {
    padding-top: 1.2rem;
}

footer {
    color: #7c7c7c;
    font-size: 0.7rem;
    text-align: center;
    margin: 5rem 3rem 0rem 3rem;
    padding: 2rem;
    width: auto;
}




