figure img   {
  display: block;
    margin: auto;
}

body   {
    font-family: roboto;
    margin: 50px 50px 50px 50px;
    background-image: url(img/GRUPO.svg) no-repeat center center fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

body header {
    flex-direction: row;
    justify-content:space-around;
}

body header nav ul{
    display: flex;
    flex-direction: row;
    list-style: none;
    justify-content:space-around;
}

main   {
  margin: auto;
      margin-bottom: 40px;
}

main h1  {
  text-align: center;
    background-color: rgba(255, 255, 255, 0.87);
    border-radius: 5px;
    width: 450px;
    margin: auto;
    margin-top: 30px;
    margin-bottom: 30px;
    color: #231F20;
    font-size: 22px;
}

body header nav ul li{
    display: flex;
    flex-direction: row;
    list-style: none;
    justify-content:space-around;
}

footer    {
    font-size: 9px;
    font-family: roboto;
    text-align: center;
    margin-right: 200px;
    margin-left: 200px;
}

.principal  {
    padding: 10px;
}

.img-border  {
  object-fit: cover;
  width: 250px;
  height: 250px;
  border-radius: 15px;
}

.alumno img  {
  -webkit-filter: grayscale(100%); /* Safari 6.0 - 9.0 */
      filter: grayscale(100%);
}

.alumno  a{
  color: #43abe1;
  text-decoration: none;
  font-weight: bolder;
  font-size: 20px;
}

.alumno  p{
  background-color: #505759;
/* margin-left: 20px; */
border-radius: 5px;
color: white;
width: 200px;
text-align: center;
margin: auto;
padding: 10px;
}

nav    {
  background-color: rgba(144, 178, 180, 0.86);
  border-color: #a0bdbf;
  height: 50px;
  border-radius: 15px;
  border-style: double;
}

Nav a{
     color: #f2f2f2;
     text-decoration: none;
     font-weight: bolder;
}

Nav a:hover {
    color: orange;
    text-decoration: none;
}

.alumno  {
  margin: auto;
    width: 50%;
    padding: 10px;
    text-align: center;
}

.materias  {
  margin: auto;
width: 40%;
padding: 10px;
background-color: rgba(255, 255, 255, 0.83);
border-radius: 15px;
}

.materias p, h3, h4  {
  margin-top: 2px;
  margin-bottom: 2px;
}

.textomaterias   {
  margin: auto;
  width: 40%;
}
