@charset "utf-8";
* {
  box-sizing: border-box;
}
/*GENERAL*/

body{
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    margin: 0;
    color: hsl(0 0% 30%);
    background-color: rgb(214, 249, 255);
  }

h1,
h2,
h3,
h4 {
  color: hsl(325, 100%, 51%);
  line-height: 1.1;
   text-wrap: balance;
}

img {
   width: 100%;
   max-width: 100%;
  }

a {
    text-decoration: none;
    font-weight: bold;
  }

ul,
ol {
  list-style: none;
  padding: 0;
}

header, 
footer {
  background-color: rgb(12, 12, 58);
  padding: 2rem;
}

.contenedora {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

header nav ul{
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: auto;
  color: white;
  justify-content: flex-end
}
header nav ul a {
  text-decoration: none;
  color: white;
}

header nav a {
  color: hsl(0, 0%, 100%);
  background-color: hsl(325, 100%, 51%);
  display: block;
  width: 5em;
  padding-block: 0.25em .5em;
  border-radius: 100vw;
  text-align: center;
  justify-content: flex-end
}


#logo{
  width: 10%;
}


main {
    display: flex;
    flex-wrap: wrap;
    align-content: center;
    flex-direction: column;
    color: hsl(325, 100%, 51%);
    justify-content: center;
    margin: 5rem;
    }

footer{
    display: block;
    unicode-bidi: isolate;
    background-color:  rgb(12, 12, 58);
    color: white;
  }

  /*MAIN*/
 

  .datos {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    border: solid 5px hsl(325, 100%, 51%);
    border-radius: 6px;
  }

  .nombre{
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    margin: 2rem;
  }

  .fotomale{
    width: 100%; 
    border-radius: 5px;
  }

  h2 {
    background-color:  hsl(325, 100%, 51%);
    color: white;
    padding: .5rem;
    border-radius: 15px;
  }

.materias_grid {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    gap: 2rem;
}

.migrupo {
  margin: 2rem;
  text-align: center;
  align-items: center;
}

.grupo article a {
  text-align: center;
  display: block;
  background-color: white;
  color: hsl(325, 100%, 51%);
  border-radius: 1rem;
  border: solid;
  padding: 1rem;
  margin: 1rem;}
