@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';
 }
.info-footer p {
    margin: 0;
}
@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*/
/*inicio main*/
main{
    background-color: black;
   
}

.noticia {
    border: 1px solid black;
    background-color: black;
}
.noticia:hover {
    transform: scale(0.9);  transition: 0.3s;
}
/*todos los rectangulos se muestran asi*/
.rectangulo-color {
    display: flex;
    justify-content: space-between;
    padding: .5em 1em .5em 1em;
    text-transform: uppercase;
    font-family: 'firasans-bold';
    width: 100%;
   
}

/*texto general en todas las noticias*/
.texto-noticia {
    font-family: 'firasans-bold';
    margin-left: 1em;
    margin-right: 1em;
    max-width: 85%;
    color: white;
    margin-top: 5em;
}
.texto-noticia .titulo {
    font-size: 1.2em;
    margin-bottom: 1em;

}
.texto-noticia .fecha {
    font-size: 0.6em;
    text-transform: uppercase;
}

/*cada rectangulito por separado color de fondo y letra*/
.rectangulo1 {
    color: black;
    background-color: rgb(252, 215, 33);
    width: 100%;
}

.rectangulo2 {
    color: white;
    background-color: rgb(225, 0, 122);
    
}
.rectangulo3 {
    color: white;
    background-color: rgb(0, 157, 226);
}
.rectangulo4 {
    color: white;
    background-color: rgb(0, 0, 0);
}
/*desde aqui particular de cada noticia*/
.noticia1 {
    background-image: url('../imagenes/noticia1.jpg');
    background-size: cover;
    height: 15em;
  
}
.noticia2 {
    background-image: url('../imagenes/noticia2.jpg');
    background-size: cover;
    height: 15em;
}
.noticia3 {
    background-image: url('../imagenes/noticia3.jpg');background-size: cover;
    height: 15em;
    width: 100%;
}
.noticia4 {
    background-image: url('../imagenes/noticia4.jpg');background-size: cover;
    height: 15em; 
}
/*charlas*/
.charlas {
    max-width: 100%;
    background-color: black;
    margin-top: 3em;
    color: white;
    text-align: center;
  
}
.charlas .titulo{
    font-family: 'tusker';
    font-size: 5em;
}

.charlas-item {
    font-family: 'firasans-bold';
    display: flex;
 justify-content: space-between;
    width: 90%;
    color: white;
    background-color: black;
padding: 1em 1em 2em 1em;
    margin-top: 1em;
    border-bottom: .5px solid white;
    margin-left: auto;
    margin-right: auto;
}
.charlas-item .fecha-charla {
    color: rgb(252, 215, 33);
    font-family: 'firasans-light';
    font-weight: 300;
}
.charlas-item .horario-charla {
    color: rgb(252, 215, 33);
    font-family: 'firasans-light';
    font-weight: 300;
}

/*FORMULARIO*/
.formulario {
    margin-top: em;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    text-align: center;

}
.formulario .titulo {
    font-family: 'tusker';
    font-size: 5em;
    color: white;
    margin-bottom: .5em;
}
.reserva {
    padding-top: 0.1em;
    height: 33em;
    background-color: rgb(252, 215, 33);
    width: 21.5em;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2em;
    padding-left: 2em;
    padding-right: 2em;
}
.reserva h4 {
    padding-top: 1em;
    font-size: 1.2em;
    font-family: 'firasans-bold';
    color: black
}
form input {
font-size: 1.2em;
font-family: 'firasans-light';
font-weight: 300;
display: block;
width: 90%;
margin-top: 1em;
margin-left: auto;
margin-right: auto;
height: 3em;
}
form .control {
    align-items: auto;
    justify-content: auto;
    margin-left: auto;
    margin-right: auto;
    padding-left: 0.5em;
    font-size: 1em;
}
form .envio {
    background-color: black;
    color: white;
    align-items: auto;
    justify-content: auto;
    margin-left: auto;
    margin-right: auto;
}
#envio {
    margin-top: 1em;
}
.relleno {
    background-color:gray;
    color: black;
}
/*contacto*/

.portada-contacto {
    background-image: url(../imagenes/portadacontacto.jpg);
    background-repeat: no-repeat;
    background-size: cover;
   height: 25em;
    background-position: center center;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr 1fr;}

h1 {grid-column: 2 / 3;
grid-row: 1 / 2;
color: white;
font-size: 8em;
font-family: 'tusker';
text-align: center;}

.info-contacto {
   padding-bottom: 2em;
    color: white;
margin-top: 2.8em;
    text-align: center;
}
.intro-contacto {
    margin-bottom: 1em;
}
.intro-contacto h2{
    font-family: 'firasans-bold';
   font-size: 2.5em;
   max-width: 80%;
   display: block;
   margin-left: auto;
   margin-right: auto;

}
.intro-contacto p {
    margin-left: auto;
    margin-right: auto;
    max-width: 80%;
    font-size: 1.5em;
}

#cards {
    display: block;
}

.card {
    margin-top: 2em;
    padding: 1.3em;
    margin-left: auto;
    margin-right: auto;
    width: 80%;
    background-color: white;
    color: black;
    
}
.card p {
    font-size: .8em;
}
.card:hover {
    background-color: rgb(252, 215, 33);
}
.card img {
    max-width: 15%;
    margin-top: 2em;
}
.card span{
    font-weight: bold;
}

h1 {
    font-size: 7em;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
}
h2 {
    font-family: 'tusker';
    font-size: 6em;
 text-align: center;
}
h3 {
    font-family: 'firasans-bold';
    text-align: center;
    margin-bottom: 1em;
    display: block;
    max-width: 90%;
    margin-left: auto;
margin-right: auto;
font-size: 1.2em;
margin-top: 0.8em;
padding-top: 0.2em;
}
h4 {
    font-family: 'firasans-regular';
    font-size: 1.2em;
    max-width: 90%;
    margin-top: 1.5em;
    margin-bottom: 2em;
    margin-left: auto;
    margin-right: auto;
}
p {
    font-family: 'firasans-light';
margin-top: 0.5em;
max-width: 85%;
margin-left: auto;
margin-right: auto;
margin-bottom: 1.8em;
}

@media screen and (min-width:200px) {
    .reserva {
    padding-top: 0.1em;
    height: 35.5em;
    background-color: rgb(252, 215, 33);
    width: 16em;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 3em;
    padding-left: 2em;
    padding-right: 2em;
    padding-bottom: 2em;
}

/*query para version escritorio empezaria aqui*/
@media screen and (min-width:992px) {

    .main-menu {
        width: 20%;
      
    }
    .toggle-menu .logo {
        width: 7em;
        height: fit-content;
        margin-left: 1em;
    }
    .toggle-menu .menuimg {
        padding-top: .5em;
        width: 2em;
        height: 2.5em;
        margin-right: 1.5em;
    }

    h1 {
        font-family: 'tusker';
        font-size: 8em;
     text-align: center;
     margin-top: 0.15em;
     margin-bottom: 0.13em;
    }

  .gridcontainer{
    display: grid;
   max-width: 100%;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 1fr);
justify-content: center;
}
#primeranoticia {

    grid-column-start:1; 
    grid-column-end: 3; 
    grid-row-start:1; 
    grid-row-end:3; 
}
.noticia1 {
height: 30em;
}

.noticia1 .texto-noticia{
    margin-top: 20em;
 
}
#segundanoticia {
    grid-column-start:3; 
    grid-column-end: 4;
    grid-row-start:1;  
    grid-row-end:2;
    height: 15em;
}
#tercernoticia{
    grid-column-start:4; 
    grid-column-end: 5; 
    grid-row-start:1;
    grid-row-end:2;
    height:15em;
}
#cuartanoticia{
    grid-column-start:3; 
    grid-column-end: 5; 
    grid-row-start:2;
    grid-row-end:3;
    height: 15em;
}
.charlas {
    grid-column-start:1; 
    grid-column-end: 3; 
    grid-row-start:3;
    grid-row-end:5;
    margin-top: 0em;
    width: 50em;
}
.charlas-item {
    margin-top: 2em;
    
}
.portada-contacto {
    width: 100%;
}
.formulario{
    margin-bottom: 4em;
    margin-top:0em;
    width: 40em;
}
.cards {
    display: block;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: row;
    gap: 1.5em;
    max-width: 70%;
}
.card {
    width: 32%;
    height: 15.5em;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
}

.card-lugar {
    width: 32%;
    height: 15.5em;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
}


h4 {
    font-family: 'firasans-regular';
    font-size: 3em;
    max-width: 90%;
    margin-top: 1.5em;
    margin-bottom: 2em;
    margin-left: auto;
    margin-right: auto;
}

p {
    font-family: 'firasans-light';
margin-top: 0.5em;
max-width: 82%;
margin-left: auto;
margin-right: auto;
margin-bottom: 0.6em;
}

/*FORMULARIO*/
.formulario {
    margin-top: 1.7em;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}
.formulario .titulo {
    font-family: 'tusker';
    font-size: 5em;
    color: white;
    margin-bottom: .5em;
}
.reserva {
    padding-top: 0.3em;
    height: 32em;
    background-color: rgb(252, 215, 33);
    width: 40em;
    margin-left: auto;
    margin-right: auto;
    padding-left: 2em;
    padding-right: 2em;
}
.reserva h4 {
    padding-top: 1.7em;
    font-size: 1.2em;
    font-family: 'firasans-bold';
    color: black
}
form input {
font-size: 1.2em;
font-family: 'firasans-light';
font-weight: 300;
display: block;
width: 88.1%;
margin-top: 1em;
margin-left: auto;
margin-right: auto;
height: 3em;
}
form .control {
    align-items: auto;
    justify-content: auto;
    margin-left: auto;
    margin-right: auto;
    padding-left: 0.5em;
    font-size: 1em;
}
form .envio {
    background-color: black;
    color: white;
    align-items: auto;
    justify-content: auto;
    margin-left: auto;
    margin-right: auto;
}
#envio {
    margin-top: 1em;
}
.relleno {
    background-color:gray;
    color: black;
}
}
}