* {
    margin: 0;
    box-sizing: border-box;
    text-decoration: none;
    list-style: none;
}

body {
  font-family: 'Montserrat', sans-serif;
  background-color: #f9f8f6;
  color: #23522e;
  line-height: 1.6;
}
  
p {
    line-height: 1.6;
}
 
header {
    padding: 50px 50px 50px 50px;
 }
 header .contenedora {
    margin-inline: auto;
}

.con-sombra-chica {
    border: 2px solid #375e36;
  box-shadow: .2rem .2rem #375e36;
}

/* componentes superiores y contenidos */

 header,
 footer {
    background-color: #82bd80;
    color: #fbfaeb;
    padding: 1rem;
 }


/* menú */

header nav ul {
    margin-block-end: 0;
    display: flex;
    justify-content: space-between;
    gap: .75rem;
    place-content: center;
    padding-left: 0;
}

header nav li {
    margin-block-start: .5rem;
    width: 100px;
}

header nav a {
    background-color: #fbfaeb;
    color: #274726;
    display: block;
    padding-block: 0.50em .35em;
    text-align: center;
    border-radius: 100vw;
    font-weight: bold;
}

header nav ul li a  :hover
header nav ul li a  :focus-visible {
    background-color: rgb(201, 219, 171);
    transition: .10s;
}
figure img {
  display: block; 
  margin-inline: auto;
  width: 100px;
  object-position: center;
}
figure {
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.contenedora nav {
    margin-inline: auto;
    align-items: center;
    text-align: justify;
}

.contenedora figure img{
    margin-inline: auto;
    width: 50%;
}

.miperfil {
    width: min(65rem, calc(100% - 3rem));
    margin-inline: auto;
}

.mibiografia h2{
    padding: 1rem ;
    margin-inline: auto;
    text-align: center;
}

.mibiografia ul li{
    text-align: justify;
}

#logo img {
  display: block;
  width: 12em;
  align-items: center;
  aspect-ratio: 1;
  background-color: none;
  padding: .5rem .75rem;
  margin-inline: auto;
}

.Male {
    border-radius: 2rem;
    width: 400px;
    margin-inline: auto;
    padding: 1rem 2rem;
}

.nombre :last-of-type {
    background-color: #23522e;
    color: rgb(248, 248, 235);
    line-height: 2em;
    text-align: center;
    box-shadow: .4rem .4rem rgb(29, 49, 49) ;   
}
.botones {
    display: flex;
    justify-content: start;
    gap: 1.25rem;
    margin-top: 2.5rem;
    
}

.boton {
    background-color: #23522e;    
    color: #ffffff;
    border: 2px solid #23522e;
    border-radius: 10px;
    padding: 0.75rem 2rem;
    font-size: 1.125rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.boton:hover,
.boton:focus-visible {
    background-color: #ffffff;
    color: #23522e;
    box-shadow: 0 4px 8px rgba(10, 59, 4, 0.4);
}

.mi-fotos {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

.mi-fotos figure {
  position: relative;
  width: 200px;
  margin: 0;
  overflow: hidden;
  border: 6px solid #4a9e58;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 6px 12px rgba(29, 66, 12, 0.25);
}

.mi-fotos img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
  transition: transform 0.3s ease;
}

.mi-fotos figure:hover img {
  transform: scale(1.05);
}

/* Overlay de texto */
.mi-fotos figure::after {
  content: "";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: bold;
  color: #ffffff;
  text-shadow: 0 2px 6px rgba(0,0,0,0.9);
  background: rgba(0,0,0,0.5);  /* fondo translúcido oscuro */
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mi-fotos figure:hover::after {
  opacity: 100;
}

.Malena::after   { content: "Esta soy yo"; }
.Patagonia::after { content: "Patagonia argentina"; }
.Acro::after     { content: "Mi pasión"; }

.datos h2:last-of-type {
    background-color:  rgb #f9f8f6;
    color: #23522e;
    text-align: center;
    text-decoration: none;
    padding: .25em 2em;
    display: block;
    padding-block: 0.50em .50em;
    border-radius: 100vw;
    box-shadow: .4rem .4rem #23522e;
}

.primeraño {
    border: 2px solid #23522e;
    background-color: rgb #f9f8f6 ;
    color: rgb(44, 43, 43);
    text-decoration: none;
    margin: 1em;
    padding: .5rem 2rem 10px;
    border-radius: .6em;
}

.segundoaño {
    border: 2px solid #23522e;
    background-color: rgb #f9f8f6;
    color: rgb(44, 43, 43);
    text-decoration: none;
    margin: 1em;
    padding: .5rem 2rem 10px;
    border-radius: .6em;
}

.terceraño {
    border: 2px solid #23522e;
    background-color: rgb #f9f8f6 ;
    color: rgb(44, 43, 43);
    text-decoration: none;
    margin: 1em;
    padding: .5rem 2rem 10px;
    border-radius: .6em;
}

.equipo_articulos {
  padding-top: 1em;
  padding-bottom: 1em;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(20rem, 100%), 1fr));
  gap: 1rem;
  width: 75%;
  margin-inline: auto;
}

.equipo_articulos article {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.equipo article {
  background-color: rgba(176, 255, 131, 0.856);
  padding: 1em;
  border-radius: .5rem;
  box-shadow: .4rem .4rem rgb(36, 97, 46)
}

.equipo figure img {
  width: 10em;
  aspect-ratio: 1;
  border: solid .4em rgb(50, 139, 70);
  border-radius: 50%;
}


.equipo_textos a {
  background-color: hsl(0, 0%, 100%);
  border-radius: .5rem;
  color: rgb(35, 139, 44);
  padding: .51rem;
}


.equipo_textos a:hover,
.equipo_textos a:focus-visible {
  color:  rgb(5, 39, 0);
  background-color: rgba #aefda3;
  outline: none;
}

.equipo_textos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}


#UBAlogo img{
    display: block;
  width: 12em;
  align-items: center;
  aspect-ratio: 1;
  background-color: none;
  padding: .5rem .75rem;
  margin-inline: auto;
}

img{ 
    max-width: 100% ;
}

footer { 
    max-width: 65ch;
    margin: 1lh ;
    padding: .5rem .75rem;
}

footer p {
    text-align: justify;
}
