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

*{
  box-sizing: border-box;
}

body{
  margin: 0 auto;
  font-family: sans-serif;
  font-weight: 100;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

main {
  max-width: 60rem;
  margin-inline: auto;
  padding-inline: 1rem;
}

header, footer {
  background-color: hsl(271, 78%, 56%);
  color: white;
}

footer {
  margin-top: 2rem;
  padding: 1rem;
}

footer p {
  max-width: 60rem;
  margin-inline: auto;
}


h1 {
  font-family: Oswald, sans-serif;
  font-weight: 600;
  color: blueviolet;
  font-size: 220%;
}

h2 {
  font-family: Oswald, sans-serif;
  font-weight: 600;
  color: hsl(271, 50%, 60%);
  border-bottom: 2px solid hsl(271, 50%, 60%);
  margin-top: 10%;
}

h3 {
  font-family: Oswald, sans-serif;
  font-weight: 500;
}

h4 {
  font-family: Oswald, sans-serif;
  font-weight: 400;
  font-size: 110%;
  margin: 0 auto;
  margin-top: 10px;
  padding-top: 10px;
}

.header_contenedora {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  text-align: justify;
  max-width: 60rem;
  margin-inline: auto;
}

header ul {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  list-style: none;
}

nav a {
  text-decoration: none;
  color: white;
  background-color: hsl(271, 50%, 70%);
  border-radius: 10px;
  padding: 10px 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

nav a:hover {
  background-color: white;
  color: black;
}

#logo {
  background-color: white;
  margin: 10px;
  border: solid 3px; color: black;
  border-radius: 5%; 
  width: 5rem;
  padding: 3px;
}

.comitente_contenedora {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 3rem;
}

.comitente_contenedora div {
  flex-direction: column;
}

.comitente_contenedora img {
  border-radius: 15px;
  margin-top: 2rem;
  gap: 1rem;
  max-width: 100%;
}

.comitente_contenedora h1 {
  font-size: 500%;
  margin: 0 auto;
  margin-top: 1rem;
  color: blueviolet;
}

.comitente_contenedora p {
  padding-right: 3rem;
}

.comitente_contenedora h3 {
  display: inline-block;
  background-color: blueviolet;
  border-radius: 15px;
  color: white;
  padding: 5px 10px;
  margin-top: 2rem;
  margin-bottom: 0px;
}

.comitente_contenedora h3:hover {
  background-color: black;
}

.tarjetas_rot {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(15rem, 100%), 1fr));
  gap: 1rem;
}

article {
  background-color: black;
  border-radius: 15px;
  flex: 0 1 calc(33% - 10px);
  color: white;
}

article:hover {
  transform: scale(1.05);
  transition: 0.3s ease-out
}

.mara, .cami, .cele {
  display: flex;
  justify-content: center;
  flex-direction: column;
}

.mara img, .cami img, .cele img {
  border-radius: 15px;
  width: 80%;
  margin: 0 auto;
  margin-top: 2rem;
}

article h3 {
  font-size: 200%;
  margin: 0 auto;
  margin-top: 10px;
  border-bottom: solid 3px hsl(271, 90%, 80%);
  border-top: solid 3px hsl(271, 90%, 80%);
  padding-top: 10px;
  padding-bottom: 10px;

}

.cami h3 {
  padding-left: 1rem;
  padding-right: 1rem;
}

.mara h3 {
  padding-left: 23px;
  padding-right: 23px;
}

.t1, .t2, .t3 {
  margin-left: 2rem;
  margin-right: 2rem;
}

article h5 {
  color: white;
  background-color: blueviolet;
  border-radius: 15px;
  padding: 5px 10px;
  display: flex;
  justify-content: center;
}

article a {
  text-decoration: none;
}

article h5:hover {
  background-color: white;
  color: black;
}

.todouba {
display: grid;
grid-template-columns: 1fr;
grid-gap: 10px;

}

.uba40 {
  border: solid 3px black;
  border-radius: 15px;
}

.uba40 ul {
  text-align: center;
  padding-inline-start: 0px;
}

.uba40img {
  width: 60%;
  text-align: center;
}

.ubafadu {
  border: solid 3px black;
  border-radius: 15px;
  text-align: center;
}

.ubafadu ul, .ubafadu h3, .ubafadu img {
  text-align: center;
  padding-inline-start: 0px;
}

.ubafaduimg {
  width: 50%;
  margin: 1rem;
  margin-top: 3rem;
}

.uba40 h3 {
  margin: 0px;
  margin-bottom: 1rem;
}

.diazcortez {
  border: solid 3px black;
  border-radius: 15px;
  margin-top: 1rem;
  
}

.diazcortez h3 {
  font-size: 200%;
  border-bottom: solid 3px black;
}

.textodc {
  padding: 3rem;
  width: fit-content;
  flex-wrap: wrap;
 
}

h4 {
  font-weight: 500;
  margin: 0 auto;
}

.adjuntosimg {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.adjuntosimg img {
width: fit-content;

}

.adjuntosimg ul {
 padding: 2rem;
}

.contenedora_academicos li {
  list-style: none;
}

.userpersona img {
  max-width: 100%;
  margin-top: 2rem;
}

.contenedora_mvp h3 {
  display: inline-block;
  background-color: blueviolet;
  border-radius: 15px;
  color: white;
  padding: 5px 10px;
  margin-top: 2rem;
  margin-bottom: 0px;
}

.contenedora_mvp h3:hover {
  background-color: black;
}

.myb img {
  max-width: 100%;
  margin-top: 2rem;
}

.userpersona a {
  background-color: blueviolet;
  color: white;
  padding: 20px 30px;
  border-radius: 10px;
  text-decoration: none;
  display: flex;
  justify-content: center;
  margin-top: 3rem;
  font-family: Oswald;
  font-weight: 600;
  font-size: 1.5rem;
}