@font-face {
    font-family: 'tusker';
    src: url(../fuentes/TuskerGrotesk-2800Super.otf);
}

@font-face {
    font-family: 'firasans-regular';
    src: url(../fuentes/FiraSans-Regular.ttf);
}

@font-face {
    font-family: 'firasans-bold';
    src: url(../fuentes/FiraSans-Bold.ttf);
}

@font-face {
    font-family: 'firasans-light';
    src: url(../fuentes/FiraSans-Light.ttf);
}
*{scroll-behavior: smooth;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body{
   
    max-width: 100%;
    min-height: 100vh;
    background-color: black;
}

img {
    max-width: 100%;
}
/*que los links no tengan estilos*/
li {list-style: none;}
a {text-decoration: none; 
    color: black;
    text-transform: none;
}
/*menu*/
header {
    height: 7em;
   
}
nav {
    position: relative;
   
}
.toggle-menu {
    position: absolute;
    z-index: 9000;
display: flex;
justify-content: space-between;
width: 100%;
background-color: #e7e7e8;
padding: 1em;
}
.toggle-menu .logo {
    width: 7em;
    height: fit-content;
    margin-top: 0.4em;
    margin-left: 0.2em;
}
.toggle-menu .menuimg {
    padding-top: .5em;
    width: 2em;
    height: 2.5em;
    margin-top: 0.9em;
    margin-right: 0.5em;
}

.main-menu {
    position: absolute;
    z-index: 8000;
    margin-top:4em ;
    right: 0;
    font-family: 'firasans-regular';
    font-size: 1.2em;
    display: flex;
    flex-direction: column;
    width: 60%;
    text-align: left;
    padding: 2em 0 2em 2em;
    gap: 1em;
    background-color: #e7e7e8;
    margin-left: auto;
    margin-right: 0;
    transform: translateY(-100%);
    transition: .3S;
}
.main-menu--show {transform: translateY(0);
}


.list__item{
    width: 100%;
    text-align: left;
    overflow: hidden;
    margin-left: 0;
    height: 0%;
}

.list__item--click{
    cursor: pointer;
   
}

.list__button{
    display: flex;
    align-items: left;
    gap: 0.1em;
    width: 70%;
    margin: 0 auto 0 0;
    color: black;
}

.carrera {
    margin: 0.1em;
}


.arrow {
    margin-top: 0.05em;
}

.arrow .list__arrow{
    transform: rotate(90deg);
    color: black;
}

.list__arrow {
    padding-left: 0%;
    transition: transform .3s;
    color: black;
}

.list__show{
    width: 90%;
    text-align: left;
    margin-left: 1em;
    transition: height .3s;
    height: 0;
    color: black;
   
}

.nav__link{
    color: black;
}

.list__inside{
    padding-top: 1em;
      margin-bottom: 0.8em;
      color: black;
  
  }
  .list__inside:last-child{
      padding-top: .5em;
  }
  
.list__fotografia{
    margin-top: 1em;
    color: black;
}

.boton {
    margin-bottom: 1.65em;
}

li {
    padding-left: 0.4em;
    padding-right: 0.4em;
    color: black;
}

/*footer*/
footer {
    padding: 1em;
     background-color:#e7e7e8; 
     text-align: center;
 }
 .iconos-footer {
     margin-top: 1em;
     display: flex;
     max-width: 60%;
     height: 2em;
    justify-content: space-around;
    margin-left: auto;
    margin-right: auto;
 }
 .info-footer {
     font-family: 'firasans-regular';
 }

@media screen and (min-width:600px) {
#main-menu {
    width: 30%;
}
}

@media screen and (min-width:992px) {

    
    #main-menu {
        width:20%;
      
    }

    footer {
        padding: 1em;
         background-color:#e7e7e8; 
         text-align: center;
     }
     .info-footer {
        text-align: left;
        line-height: 1.5em;
        width: 50%;
     }
     .iconos-footer {
        height: 1em;
        display: flex;
        gap: 0em;
        width: 15%;
        margin-right: 0;
     }
     .footer-elementos {
        padding: 1em;
   
    display: flex;
    flex-direction: row;
 margin-left: auto;
 width: 90%;
 margin-right: auto;
     }
    }
    /*FIN menu*/


/*media querys para el menu y footer hasta aca para que no haya confusion con el resto de querys.
- hasta 600 seria mobile- de 600 a 992 tablet y de 992 para arriba version escritorio*/

/*inicio main*/
/*
h4:subtitulo color
strong: destacados
H5 "año carrera"
SPAN: negrita sin sentido como "duracion o cursada"
EM: negrita + importancia dentro de un texto
*/
h2 {
    font-family: 'tusker';
    color: white;
    font-size: 7em;
    text-align: center;
    margin-top: 0.2em;
}

h3 {
    font-family: 'firasans-bold';
    text-transform: uppercase;
    font-family: 'firasans-bold';
    display: block;
    text-align: left;
    max-width: 90%;
    margin-left: auto;
margin-right: auto;
font-size: 1.2em;
align-items: center;
margin-top: 0.7em;
margin-bottom: 0.7em;
padding-left: 0.4em;
padding-right: 0.4em;
}
h4 {color: rgb(225, 0, 122);
    font-family: 'firasans-regular';
    text-align: center;
    margin-bottom: 2em;
    display: block;
    max-width: 90%;
    margin-left: auto;
margin-right: auto;
font-size: 1.2em;
padding-left: 0.4em;
padding-right: 0.4em;
}

h5 {
    font-family: 'firasans-light';
    max-width: 90%;
    margin-left: auto;
margin-right: auto;
margin-top: 1.2em;
margin-bottom: 1em;
padding-left: 0.6em;
padding-right: 0.6em;
}
strong {
    color: rgb(225, 0, 122);
    display: block;
    font-family: 'firasans-regular';
    font-size: 1.2em;
    max-width: 90%;
    margin-left: auto;
margin-right: auto;
    margin-top: 0.9em;
    margin-bottom: 1em;
    padding-left: 0.4em;
    padding-right: 0.4em;
}
em {
    font-style: normal;
    font-family: 'firasans-bold';
}
span {
    
    font-family: 'firasans-bold';
}

p{ font-family: 'firasans-light';
    max-width: 90%;
    margin-left: auto;
margin-right: auto;
padding-left: 0.4em;
padding-right: 0.4em;
padding-bottom: 0.2em;
}

.portadacursosgeneral {
    display: grid;
    width: 100%;
    grid-template-columns: auto auto;
    grid-template-rows: 2em auto 2em;
height: 30em;
background-image: url(../imagenes/portadacursos.jpg);
background-repeat: no-repeat;
background-size: cover; 
}

  .cursos {
     width: 100%;
     color: white;
     display: block;
     margin-left: auto;
     margin-right: auto;
    }
    
    .las-imagenes {
        margin-top: 2em;
        margin-bottom: 2em;
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(12.5em, 1fr));
      gap: .25em;
    }
    
    
    .cursos figure {
      position: relative;
      overflow: hidden;
      scale: 105%;
    }
    
    .cursos img {
      object-fit: cover;
      object-position: left center;
      width: 100%;
      height: 100%;
      display: block; 
    }
    
    .cursos figcaption {
      background-color: rgb(252, 215, 33);
      color: black;
      padding: .5em;
      line-height: 1em;
      font-weight: 700;
      font-family: 'firasans-bold';
      position: absolute;
      inset: 0;
      transform: translateY(calc(100% - 2em));
      transition: all .6s ease;
  
    }
    
    .cursos figure:hover figcaption {
      background-color: rgb(225, 0, 122, 0.5);
      transition: all .3s ease;
    
      transform: translateY(0);
      display: grid;
      text-align: center;
      place-items: center;
      place-content: center;
      padding-inline: 2em;
    }
    
    .cursos figcaption span {
      display: block;
      font-size: .75em;
      color: #e7e7e8;
      margin-block-start: .5em;
      text-transform: none;
    }
    
    .cursos figcaption a {
      display: inline-block;
      margin-block-start: .5em;
      background-color: rgba(18, 19, 12, 0.5);
      color: rgba(255, 251, 1, 0.85);
      padding: .25em 1em;
    }
    
    .cursos figcaption a::after {
      content: " →";
    }
    
    .cursos figcaption a:hover {
      background-color: hsl(209 100% 35% / 0.95);
      box-shadow: 0 .25em .25em hsl(0 0% 0% / 0.25);
      color: hsl(0 0% 90%);
    }
    
    .introduccion {
      width: 100%;
      margin-left: auto;
      margin-right: auto;
      margin-top: 2.1em;
      margin-bottom: 2.1em;
    }

    .portadacursosgeneral {
        width: 100%;
        margin-bottom: 1.5em;
    }
    .curso1 {
        display: grid;
        width: 100%;
        grid-template-columns: auto auto;
        grid-template-rows: 1fr auto 2em;
    height: 30em;
    background-image: url(../imagenes/portadacurso1.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    justify-content: space-between;
    }
    .curso2 {
        display: grid;
        width: 100%;
        grid-template-columns: auto auto;
        grid-template-rows: 1fr auto 2em;
    height: 30em;
    background-image: url(../imagenes/portadacurso2.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    justify-content: space-between;
    }
    .curso3 {
        display: grid;
        width: 100%;
        grid-template-columns: auto auto;
        grid-template-rows: 1fr auto 2em;
    height: 30em;
    background-image: url(../imagenes/portadacurso3.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    justify-content: space-between;
    }
    .curso4 {
        display: grid;
        width: 100%;
        grid-template-columns: auto auto;
        grid-template-rows: 1fr auto 2em;
    height: 30em;
    background-image: url(../imagenes/portadacurso4.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    justify-content: space-between;
    }
    .curso5 {
        display: grid;
        width: 100%;
        grid-template-columns: auto auto;
        grid-template-rows: 1fr auto 2em;
    height: 30em;
    background-image: url(../imagenes/portadacurso5.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    justify-content: space-between;
    }
    .curso6 {
        display: grid;
        width: 100%;
        grid-template-columns: auto auto;
        grid-template-rows: 1fr auto 2em;
    height: 30em;
    background-image: url(../imagenes/portadacurso6.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    justify-content: space-between;
    }

    .portadacurso p {
        display: block;
        grid-column: 1/3;
        grid-row: 1/2;
        background-color:rgb(225, 0, 122);
        padding-top: 0.6em;
        padding-left: 0.7em;
        padding-bottom: 0.3em;
        font-family: 'firasans-bold';
        color: white;
        width:89%;
        height: 2.3em;
        text-align: left;
    }
  .info-curso {
    color: white;

  }

  
.caja{
    margin-top: 1.8em;
}
.inscribite {
    grid-column: 1 / 2;
    grid-row: 3/ 5;
    background-color: rgb(252, 215, 33);
    color: black;
  margin-bottom: 2em;
  width: 20em;
  height: 23.7em;
  margin-left: auto;
  margin-right: auto;
  padding-top: 2.2em;
}
.inscribite img {
    max-height: 1.5em;
    margin-right: 1em;
}
.inscribite h3 {
    text-align: center;
}
.inscribite ul{
    display: block;
    width: 70%;
margin-left: auto;
margin-right: auto;
}
.espacio-titulo {
    margin-top: 2em;
  }
.caja {
    margin-top: 2em;
    margin-bottom: 3.5em;
}
.inscribite li {
    padding: .5em;
    display: flex;
    align-items: center;
    font-family: 'firasans-light';
}
.inscribite a {
    text-decoration: none;
    color: white;
    background-color: black;
    padding: .5em;
    text-align: center;
    display: block;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
   
}

.inscribite a:hover {
    background-color: white;
    color: black;
  
}
.inactiva a {
    background-color: gray;
    color: darkgray;
}


    @media screen and (min-width: 992px) {
  
      .caja {
        margin-top: 2em;
        margin-bottom: 3.7em;
      }
.cursos {
    width: 100%;
}
       .introduccion{

      width: 80%;
      
       }
      
       .las-imagenes {
        margin-left: auto;
        margin-right: auto;
        width: 70%;
    }

    .cursos figcaption {
        background-color: rgb(252, 215, 33);
        color: black;
        font-family: 'firasans-bold';
        position: absolute;
        inset: 0;
        transform: translateY(calc(100% - 2em));
        transition: all .6s ease;
        font-size: 1em;

        padding-left: 0.8em;
        padding-bottom: 0.8em;
      }

    .cursos figure:hover figcaption {
        background-color: rgba(240, 6, 150, 0.877);
        transition: all .3s ease;
        transform: translateY(0);
        display: grid;
        text-align: center;
        place-items: center;
        place-content: center;
        padding-inline: 2em;
      }
      
      .cursos figcaption span {
        display: block;
        font-size: .75em;
        color: #ddd;
        margin-block-start: .5em;
        text-transform: none;
        margin-top: 0.7em;
        margin-bottom: 0.5em;
      }
      
      .cursos figcaption a {
        display: inline-block;
        margin-block-start: .3em;
        background-color: black;
        color: rgba(255, 251, 1, 0.85);
        padding-top: 0.7em;
        padding-bottom: 0.7em;
        padding-left: 0.7em;
        padding-right: 0.7em;
      }

      .boton-ver{
        font-size: 1em;
      }

      .cursos figure {
        position: relative;
        overflow: hidden;
        margin-right: 1em; 
        margin-bottom: 0.7em;
      }

      .espacio-titulo {
        margin-top: 2em;
      }

}

      