* {
    box-sizing: border-box;
   }
body{
     margin: 0;}
a{
    font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    text-decoration: none;
          }
          ul{list-style: none;
          }
          

/* menu */

header, footer {
  background-color: #ad69bb;
  box-shadow:0 4px 4px #8d50b6;margin: 0;; font-weight: 600;
}


.cabezera{width: min(70rem, 100%); 
  margin-inline: auto; 
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  
      }
#logo{
  display: flex; align-items: center;justify-content: center;
  border-radius: 25%;
  width: 6rem;
  font-size: 1.75rem;
  text-transform: uppercase;
  color: #ffffff;
        } 
        
.logo{color: #e6e6e6;}


#logo a:hover,
#logo a:focus-visible {
  color: #ffffff;
        } 
  
.menu-btn {
  background: hsl(0 0% 100% / 0.25);
  border-radius: 50%; 
  box-shadow: -5px 5px 5px hsl(180 100% 4% / 0.2);
  padding: .75rem;
  width: 3rem;
  aspect-ratio: 1;
  cursor: pointer;
  transition: all 0.3s ease-out; 
  position: fixed;
  top: 1em;
  right: 1em;
  z-index: 9000;
        }
        
        
.menu-btn .btn-linea {
  width: 25px;
  height: 3px;
  margin: 4px 0 4px 0;
  background: hsl(0, 0%, 0%);
  transition: all 0.3s ease-out;
  position: relative;
  z-index: 9000;
        }
        
.menuVisible .menu-btn .btn-linea {
  transform: rotate(180deg);
        }
       
.menuVisible .menu-btn .btn-linea:nth-child(1) {
  transform: rotate(45deg) translate(4px, 6px);
        }
.menuVisible .menu-btn .btn-linea:nth-child(2) {
  opacity: 0;
        }
.menuVisible .menu-btn .btn-linea:nth-child(3) {
  transform: rotate(-45deg) translate(4px, -6px);
        }
        
       
nav ul {
  background-color: hsla(0, 0%, 0%, 0.95);
  display: grid;
  place-items: center;
  place-content: center;
  position: fixed;
  inset: 0;
  z-index: 8000;
  translate: 100%;
  transition: all .6s ease; 
        }
        
.menuVisible ul {
  background-color: #62246e;
  transition: all .4s ease; 
  translate: 0;
        }
        
nav ul li a {
  border-bottom: solid 3px hsl(303, 58%, 50%);
  color: white;
  display: block;
  font-size: 1.5rem;
  margin-block-end: .5rem;
  width: min(70vw, 20rem); /* el valor menor entre el 40% del ancho de la ventana del navegador y 240px */
  text-align: center;
  padding: .5rem;
  text-decoration: none;
        }
        
nav ul li a:hover {
  border-bottom: solid 3px hsla(308, 65%, 62%, 0.5);
  transition: all .3s;
        }
        .btn {
          position: absolute;
          z-index: 10;
          top: 1em;
          width: 2.5em;
          aspect-ratio: 1;
          border: none;
          border-radius: 50%;
          cursor: pointer;
          background-color: hsla(295, 82%, 73%, 0.75);
          color: rgb(0, 0, 0);
          font-size: 1.1em;
          opacity: .75;
        }
        .btn-prev {
          right: calc(100% - 3.25em);
        }
        
        .btn-prox {
          right: 1em;
        }

/* cuerpo */
.contenedor{
  width: min(70rem, 100%); 
  margin-inline: auto; padding:1dvb
  
 }
.personal img {
  max-width: 40rem;
  ; padding: 1rem;
  border-radius: 4rem; 
  height: 100%;
  }
h1{font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-weight: bold;
    color: #a55bc7;
    text-transform: uppercase;


  }

h2{font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;color: #a55bc7;

  }

  .link{
    background-color: hsl(0, 0%, 0%);width: 100%;
    padding: 1rem ;
    border-radius: 1rem;}
    a{
      color: white;
      font-family: Arial, Helvetica, sans-serif;
      font-weight: bold;
      text-decoration: none;
      
      }    
      
.personal {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(20rem, 100%), 1fr));
 }

 
 .textos{gap: 1rem;}

 .anio{
  padding: 2rem;
  margin: 1em;
  background-color: #f0bcfa ;
  border-radius: 2em;
  font-family: Arial, Helvetica, sans-serif;

}

.anio h3{
  padding-bottom: 1rem;
}

.cursada{display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(20rem, 100%), 1fr));
  ; ;
  

}

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

}

img{width:100%}

footer{padding: 2rem;
  background-color:#ad69bb;
}

.fo{width: 100%;
  height: 100%;
  border-radius: 10px;
  -o-object-fit: cover;
  object-fit: cover;}


footer p{ font-family: Arial, Helvetica, sans-serif;
  font-weight: bold;
  text-align: center;
  color: rgb(255, 255, 255);}


/* porfolio caurosel */
.container__slider{
  max-width: 1000px;
  height: 500px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px 10px;
  
}

input[type=radio]{
  display: none;
}

.container{
  width: 100%;
  max-width: 800px;
  height: 100%;
  max-height: 600px;
  transform-style: preserve-3d;
  display: flex;
  justify-content: center;
  align-items: center;
}

.cards{
  position: relative;
  width: 100%;
  height: 100%;
}

.card{
  position: absolute;
  width: 60%;
  height: 100%;
  left: 0;
  right: 0;
  margin: auto;
  cursor: pointer;
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}




#item-2:checked ~ .cards #selector-1,
#item-1:checked ~ .cards #selector-3,
#item-3:checked ~ .cards #selector-2{
  transform: translateX(-40%) scale(0.8);
  opacity: 0.6;
  z-index: 0;
}

#item-3:checked ~ .cards #selector-1,
#item-1:checked ~ .cards #selector-2,
#item-2:checked ~ .cards #selector-3{
  transform: translateX(40%) scale(0.8);
  opacity: 0.6;
  z-index: 0;
}

#item-1:checked ~ .cards #selector-1,
#item-2:checked ~ .cards #selector-2,
#item-3:checked ~ .cards #selector-3{
  transform: translateX(0) scale(1);
  z-index: 1;
}


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



.titulo{background-color: #cba4e6;
  border-radius: 2rem; padding: 1rem;}

  .carrousel {
    width: 90%;
    max-width: 120em;
    padding: 2em;
    color: var(--negro);
    transition: all 0.4s ease;
    border-radius: 1em;
    background-color: var(--blanco);
    box-shadow: 1em 1em 2em var(--sombra-ppal), -1em -1em 2em var(--sombra-sec), inset 0 0 0 transparent, inset 0 0 0 transparent;
    overflow: hidden;
  }
  
  .carrousel .grande {
    width: 200%;
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
    align-items: center;
    color: var(--negro);
    transition: all 0.4s ease;
    border-radius: 1em;
    background-color: var(--blanco);
    box-shadow: 1em 1em 2em var(--sombra-ppal), -1em -1em 2em var(--sombra-sec), inset 0 0 0 transparent, inset 0 0 0 transparent;
    padding: 2em;
    transition: all 0.5s ease;
    transform: translateX(0%);
  }
  
  .carrousel .img {
    width: calc( 100% / 2 - 2em);
    min-height: 10vh;
    color: var(--negro);
    transition: all 0.4s ease;
    border-radius: 1em;
    background-color: var(--blanco);
    box-shadow: 1em 1em 2em var(--sombra-ppal), -1em -1em 2em var(--sombra-sec), inset 0 0 0 transparent, inset 0 0 0 transparent;
  }
  
  .carrousel .puntos {
    width: 100%;
    margin: 1em 0 0;
    padding: 0.4em;
    display: flex;
    flex-flow: row nowrap;
    justify-content: center;
    align-items: center;

  }
  
  .carrousel .punto {
    width: 2em;
    height: 2em;
    margin: 1em 1em 0;
    color: var(--negro);
    transition: all 0.4s ease;
    border-radius: 1em;
    background-color: var(--blanco);
    box-shadow: 0.6em 0.6em 1.2em var(--sombra-ppal), -0.6em -0.6em 1.2em var(--sombra-sec), inset 0 0 0 transparent, inset 0 0 0 transparent;
 background-color: #d084df; }
  
  .carrousel .punto.activo {
    background-color: rgb(20, 1, 22);
  }
 
/* segundo carousel */

.carrousel1 {
  width: 100%;
  max-width: 120em;
  
  color: var(--negro);
  transition: all 0.4s ease;
  border-radius: 1em;
  background-color: var(--blanco);
  box-shadow: 1em 1em 2em var(--sombra-ppal), -1em -1em 2em var(--sombra-sec), inset 0 0 0 transparent, inset 0 0 0 transparent;
  overflow: hidden;
  
}

.carrousel1 .grande1 {
  width: 200% ;
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-between;
  align-items: center;
  color: var(--negro);
  transition: all 0.4s ease;
  border-radius: 1em;
  background-color: var(--blanco);
  box-shadow: 1em 1em 2em var(--sombra-ppal), -1em -1em 2em var(--sombra-sec), inset 0 0 0 transparent, inset 0 0 0 transparent;
  
  transition: all 0.5s ease;
  transform: translateX(0%);
}

.carrousel1 .img {
  width: calc( 100% / 2 - 2em);
  min-height: 10vh;
  color: var(--negro);
  transition: all 0.15s ease;
  border-radius: 5em;
  padding: 4rem;
  background-color: var(--blanco);
  box-shadow: 1em 1em 2em var(--sombra-ppal), -1em -1em 2em var(--sombra-sec), inset 0 0 0 transparent, inset 0 0 0 transparent;
}

.carrousel1 .puntos {
  width: 100%;
  margin: 1em 0 0;
  padding: 0.4em;
  display: flex;
  flex-flow: row nowrap;
  justify-content: center;
  align-items: center;

}

.carrousel1 .punto1 {
  width: 2em;
  height: 2em;
  margin: 1em 1em 0;
  color: var(--negro);
  transition: all 0.4s ease;
  border-radius: 1em;
  background-color: var(--blanco);
  box-shadow: 0.6em 0.6em 1.2em var(--sombra-ppal), -0.6em -0.6em 1.2em var(--sombra-sec), inset 0 0 0 transparent, inset 0 0 0 transparent;
background-color: #d084df; }

.carrousel1 .punto1.activo {
  background-color: rgb(20, 1, 22);
}

/* tercero carousel */
.carrousel2 {
  width: 90%;
  max-width: 120em;
  padding: 2em;
  color: var(--negro);
  transition: all 0.4s ease;
  border-radius: 1em;
  background-color: var(--blanco);
  box-shadow: 1em 1em 2em var(--sombra-ppal), -1em -1em 2em var(--sombra-sec), inset 0 0 0 transparent, inset 0 0 0 transparent;
  overflow: hidden;
}

.carrousel2 .grande2 {
  width: 200%;
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-between;
  align-items: center;
  color: var(--negro);
  transition: all 0.4s ease;
  border-radius: 1em;
  background-color: var(--blanco);
  box-shadow: 1em 1em 2em var(--sombra-ppal), -1em -1em 2em var(--sombra-sec), inset 0 0 0 transparent, inset 0 0 0 transparent;
  padding: 2em;
  transition: all 0.5s ease;
  transform: translateX(0%);
}

.carrousel2 .img {
  width: calc( 100% / 2 - 2em);
  min-height: 10vh;
  color: var(--negro);
  transition: all 0.4s ease;
  border-radius: 1em;
  background-color: var(--blanco);
  box-shadow: 1em 1em 2em var(--sombra-ppal), -1em -1em 2em var(--sombra-sec), inset 0 0 0 transparent, inset 0 0 0 transparent;
}

.carrousel2 .puntos {
  width: 100%;
  margin: 1em 0 0;
  padding: 0.4em;
  display: flex;
  flex-flow: row nowrap;
  justify-content: center;
  align-items: center;

}

.carrousel2 .punto2 {
  width: 2em;
  height: 2em;
  margin: 1em 1em 0;
  color: var(--negro);
  transition: all 0.4s ease;
  border-radius: 1em;
  background-color: var(--blanco);
  box-shadow: 0.6em 0.6em 1.2em var(--sombra-ppal), -0.6em -0.6em 1.2em var(--sombra-sec), inset 0 0 0 transparent, inset 0 0 0 transparent;
background-color: #d084df; }

.carrousel2 .punto2.activo {
  background-color: rgb(20, 1, 22);
}

/* cuarto carousel */

.carrousel3 {
  width: 100%;
  max-width: 120em;
  
  color: var(--negro);
  transition: all 0.4s ease;
  border-radius: 1em;
  background-color: var(--blanco);
  box-shadow: 1em 1em 2em var(--sombra-ppal), -1em -1em 2em var(--sombra-sec), inset 0 0 0 transparent, inset 0 0 0 transparent;
  overflow: hidden;
  
}

.carrousel3 .grande3 {
  width: 200% ;
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-between;
  align-items: center;
  color: var(--negro);
  transition: all 0.4s ease;
  border-radius: 1em;
  background-color: var(--blanco);
  box-shadow: 1em 1em 2em var(--sombra-ppal), -1em -1em 2em var(--sombra-sec), inset 0 0 0 transparent, inset 0 0 0 transparent;
  
  transition: all 0.5s ease;
  transform: translateX(0%);
}

.carrousel3 .img {
  width: calc( 100% / 2 - 2em);
  min-height: 10vh;
  color: var(--negro);
  transition: all 0.15s ease;
  border-radius: 5em;
  padding: 4rem;
  background-color: var(--blanco);
  box-shadow: 1em 1em 2em var(--sombra-ppal), -1em -1em 2em var(--sombra-sec), inset 0 0 0 transparent, inset 0 0 0 transparent;
}

.carrousel3 .puntos {
  width: 100%;
  margin: 1em 0 0;
  padding: 0.4em;
  display: flex;
  flex-flow: row nowrap;
  justify-content: center;
  align-items: center;

}

.carrousel3 .punto3 {
  width: 2em;
  height: 2em;
  margin: 1em 1em 0;
  color: var(--negro);
  transition: all 0.4s ease;
  border-radius: 1em;
  background-color: var(--blanco);
  box-shadow: 0.6em 0.6em 1.2em var(--sombra-ppal), -0.6em -0.6em 1.2em var(--sombra-sec), inset 0 0 0 transparent, inset 0 0 0 transparent;
background-color: #d084df; }

.carrousel3 .punto3.activo {
  background-color: rgb(20, 1, 22);
}





/* cambios a partir de los 640px */
@media (min-width: 25em) {
  .link{display: grid;place-items: center;margin: auto;}
}
@media(min-width: 40em) {

  /* el menú deja de ser fijo */
  header nav {
    /* para que esté en capa superior pero que no parezca */
    position: relative;
  }
    
  /* botón "hamburguesa" oculto */
  .menu-btn {
    display: none;
  }
  
  .link{display: grid;place-items: center;margin: auto;}



  /* menu visible */
  header nav ul,
  header .menuVisible ul {
    /* caja flexible para menu horizontal*/
    display: flex;
    /* separación entre sus elementos */
    gap: .25em;

    /* para que esté en capa superior pero que no parezca */
    position: relative;

    /* elimina desplazamiento */
    translate: 0;

    /* elimina fondo */
    background-color: unset;
  }
    
  /* items de lista  que contienen los vínculos del menu */
  header nav ul li {
    min-width: 4em; /* que no midan menos de: */
  }

  /* vínculos del menu principal */
  header nav ul li a {
    
    border-radius: .25em ;
    color: white;
    font-size: 1rem;
    width: auto;
    padding: .25em 1em;
    text-align: center;
    display: block; /* para que sean "cajas" */
    margin-block-end: unset;
    border-block-end: unset;
  }
  
  /* cuando el cursor se posiciona sobre los vínculos */
  header nav ul li a:hover {

    color:#c369ff;
    border-block-end: unset;
  }
  

  /* para que "artículo 1" y "artículo 2"
  queden uno al lado del otro */
  
  }

  @media (max-width: 480px) {
    .link{display: grid;place-items: center;margin: auto;}
  }      
        
  
  