@charset "utf-8";

* {

  box-sizing: border-box;}

img {
    max-width: 100%;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f7f9fc;
    margin: 0;
    padding: 0;
    grid-template-rows: auto 1fr;
    min-height: 100vh;
}

header, footer {
    background-color: #4d79ff;
    font-size: 16px;
    color: #1a1a1a;
    text-align: center;
}

.logo img {
    width: 100px;
}

footer p {
  margin-block-end: 0;
}

.menu-btn {
      display: none;
    }


header nav ul li {
      min-width: 4em;
      }
    
/*
header nav ul {
    display: flex;
    justify-content: space-around;
    align-items: center;
    list-style: none;
    flex-wrap: wrap;
    font-weight: bold;
}
*/
header nav ul li a {
    color: hsl(0, 0%, 100%);
    font-size: 1rem;
    width: auto;
    height: 100%;
    display: block;
    padding: .25em 1em;
    margin-block-end: unset;
    border-block-end: unset;
    text-align: center;
}

header nav ul li a:hover {
    background-color: white;
    color: #4d79ff;
    border-block-end: unset;
    text-decoration: none;
  }

.header-ticker {
    background-color: #2e59d9;
    padding: 5px 0;
}

.header-ticker marquee {
    color: #fff;
    font-size: 14px;
}

main {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}


.maincontenedora {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.titulocontenedora {
    max-width: 600px;
}

h1 {
    font-size: clamp(2.5em, 1rem - 2.5vi, 2.25rem);
    color: #000;

}

h3 {
  font-size: 30px;
  color: #000;
}

h4 {
  font-weight: normal;
  text-wrap: balance;
}


footer p {
    color: hsl(0, 0%, 95%);
    text-align: center;
}

a:hover {
    color: #4d79ff;
    text-decoration: underline;

}

a {
    color: #4d79ff;
    text-decoration: none;
    font-weight: medium;
}


.imagencontenedor img {
    max-width: 500px;
    border-radius: 10px;
     }

#fotoevento1 {
    width: 30em; 
    /*border-radius: 10%;*/
    margin-right: 40px;
    float: left;
    margin-top: 10px;
    margin-block-start: auto;
    margin-block-end: 4%;
}
.eventos-sugeridos {
    margin-top: 40px;
    
    }

.eventos-sugeridos h2 {
    font-size: 24px;
    color: #000;
    margin-bottom: 20px;
}

.eventos.lista {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(20rem, 100%), 1fr));
    gap: 0.5em; 
    padding-top: 1em;
}

.evento {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    max-width: 350px;
    padding: 1em;
}

.evento img {
    width: 100%;
}

.informacionevento {
    padding: 15px;
}

.informacionevento h3 {
    font-size: 18px;
    color: #000;
    margin: 0 0 10px;
}

.informacionevento p {
    font-size: 14px;
    color: #666;
    margin: 0 0 10px;
}

#boton {
  background-color: #3b66cc;
  color: #fff;
  border: none;
  padding: 0.75rem;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1rem;
  margin-top: 2rem;
  margin-block-end: 0.5em;
}
.informacionevento button {
    background-color: #4d79ff;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
}

.informacionevento button:hover {
    background-color: #3b66cc;
}

.vertodosloseventos {
    margin-top: 20px;
    text-align: center;
}

.vertodosloseventos {
    color: #4d79ff;
    text-decoration: none;
    font-size: 16px;
}

.contenedora {
    max-width: 65rem;
    margin-inline: auto;
    padding: 1rem;
}


/*header nav ul {
    display: grid;
    gap: .25rem;
    flex-wrap: wrap;
}

header .contenedora {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

*/

.encabezado.seccion {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;

}

.subtituloenlace {
    color: hsl(0, 0%, 13%);
    display: block;
    font-size: 1.17em;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    font-weight: bold;
    unicode-bidi: isolate;
    text-wrap: balance;
    }

.subtituloenlace:hover {
    border-block-end: unset;
    text-decoration: none;
}

.detalles{
    color: #505050; 
    margin: 0;
}

.menu-btn .btn-linea {
    width: 1.5em;
    height: 3px;
    margin: 4px auto;
    background-color: hsl(0 0% 95%);
    transition: all 0.3s ease-out;
  }

ESTA PARTE ES EL ESTILO DE MI CUENTA

.contenedoracuenta { 
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 300px;
    text-align: center; }

.contenedoracuenta, H1 {
        color: #000000;
    }
    
.contenedoracuenta, p {
        color: #666;
    }
    
form {
        display: flex;
        flex-direction: column;
        max-width: 30em;
    }
    
label {
        font-weight: bold;
        margin-top: 1rem;
        text-align: left;
    }
    
input {
    padding: 0.5rem;
    margin-top: 0.5rem;
    border: 1px solid #ededed;
    border-radius: 10px;
    margin-bottom: 1em;
    }
    
input[type="contraseña"] {
        position: relative;
        padding-right: 2rem;
    }
    
button {
        margin-top: 1rem;
        padding: 0.75rem;
        border: none;
        border-radius: 5px;
        background-color: #2e59d9;
        color: white;
        font-size: 1rem;
        cursor: pointer;
    }
    
button:hover {
        background-color: #4d79ff;
    }
.introduccion {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(20rem, 100%), 1fr));
    gap: 1rem; 
}
    
/*correccion clase*/

img {
    max-width: 100%;
}

.evento p:last-child {
    margin-inline-end: 0;
    color: #2e59d9;
}

/* CALENDARIO! */

section.calendario #wrapper {
    display: grid;
    grid-template-rows: 70px 1fr 70px;
    grid-template-columns: 1fr;
    grid-template-areas: "sidebar"
                         "content";
    width: 100vw;
    height: 100vh;
  }
  
  @media screen and (min-width: 850px) {
    #wrapper {
      grid-template-columns: 200px 5fr;
      grid-template-rows: 1fr;
      grid-template-areas: "sidebar content";
    }
  }
  
  /* PRINCIPAL */
  
  .toolbar{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
  }
  
  .calendar__week,
  .calendar__header {
    display: grid;
    grid-template-columns: repeat(7, minmax(min(3em, 100%), 1fr)); 
  }
  .calendar__week {
    text-align: center;
  }
  
  .calendar__header {
    grid-auto-rows: 50px;
    align-items: center;
    text-align: center;
  }
  
  .calendar__day {
    padding: 16px;
  }

  /* COSMETIC STYLING */
  
  sidebar {
    background-color: white;
    box-shadow: 5px 0px 20px rgba(0, 0, 0, 0.2);
  }
  
  @media screen and (min-width: 850px) {
    .menu__icon {
      font-size: 0.9rem;
      padding-right: 16px;
    }
    .menu__item--active {
      border-left: 4px solid var(--red);
      box-shadow: inset 10px 0px 17px -13px var(--red);
    }
  }

  .calendar {
    background-color: white;
    border: 1px solid #e1e1e1;
  }
  
  .calendar__header > div {
    text-transform: uppercase;
    font-size: 0.8em;
    font-weight: bold;
  }
  
  .calendar__day {
    border-right: 1px solid #e1e1e1;
    border-top: 1px solid #e1e1e1;
  }
  
  .calendar__day:last-child {
    border-right: 0;
  }
  
  .toggle{
    display: grid;
    grid-template-columns: 1fr 1fr;
  
    text-align: center;
    font-size: 0.9em;
  }
  .toggle__option{
    padding: 16px;
    border: 1px solid #e1e1e1;
    border-radius: 8px;
    text-transform: capitalize;
    cursor: pointer;
  }
  .toggle__option:first-child {
      border-top-right-radius: 0;
      border-bottom-right-radius: 0;
  }
  .toggle__option:last-child {
      border-left: 0;
      border-top-left-radius: 0;
      border-bottom-left-radius: 0;
  }
  .toggle__option--selected{
    border-color: white;
    background-color: white;
    color: var(--red);
    font-weight: 500;
    box-shadow: 1px 2px 30px -5px var(--red);
  }


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

  /* restodeedicionflor */

  #infoproximoevento {
    background-color:  #ffffff;
    padding: 1.5em;
    border-radius: 20px;
  }

  .current-month {
    text-align: center;
    font-weight: bold;
  }

  #opcionfiltro {
    padding-right: 5.8em;
  }

  #filtros {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
  }

  #filtros label {
        font-weight: normal;
        margin-top: 1rem;
        text-align: left;
        color: #aaa8a8;
    }

 #barradefiltros {
    background-color:  #dfdde4;
    padding: 0.6em;
    border-radius: 15px;
 }

 #titulobarra {
   margin: 0.5em;
   color: #a9a9a9;
   margin-right: 7.5em;
   margin-bottom: 0
 }

#linkcalendario {
    display: block;
    margin-top: 20px;
    margin-bottom: 20px;
} 

/* css para primera iniciar sesión*/


.form {
  background-color:#ffffff;
  width: min(25em, 90%);
  padding: 2em 2em;
  border-radius: .5em;
  box-shadow: 0 .5em 1em -.5em hsl(0 0% 0% / 30%);
  text-align: center;
  margin: 0 auto;
}

.form__titulo {
  font-size: 2rem;
  margin-block-end: .5em;
}

.form__parrafo {
  font-weight: 300;
}

.form__link {
  font-weight: bold;
  color: #000;
  text-decoration: none;
  outline: none;
}

.form__contenedor {
  margin-block-start: 3em;
  display: grid;
}

.form__grupo {
  position: relative;
  --color: hsl(0 0% 35% / 50%);
}

.form__input {
  width: 100%;
  background: none;
  color: hsl(0 0% 50%);
  font-size: 1rem;
  padding: .5rem;
  border: solid 1px var(--color);
  border-radius: .25em;
  outline: none;
  cursor: pointer;
  transition: 1s;
}

.form__input:focus {
  color: var(--color);
  font-weight: 700;
}

.form__label {
  color: var(--color);
  position: absolute;
  top: 0;
  left: .5em;
  transform: translateY(.5em);
  transition: transform .5s, color .3s, padding .5s;
  background-color: hsl(0 0% 100%);
  padding: 0;
  margin-top: 0;
}

:is(.form__input:not(:placeholder-shown),
    .form__input:focus) {
  --color: hsl(225 90% 60%);
}

:is(.form__input:not(:placeholder-shown),
    .form__input:focus) + .form__label {
  transform: translateY(-.6em) scale(.7);
  transform-origin: left top;
  padding: 4px;
  --color: hsl(225 90% 60%);
}

.form__label::before {
  content: "";
  position: absolute;
  inset: calc(50% - .5em) auto auto 0;
  background-color: hsl(225 90% 60% / 50%);
  border-radius: 50%;
  width: 1em;
  aspect-ratio: 1;
  transform: scale(0);
  transition: .5s;
}

.form__input:focus + .form__label::before {
  transform: scale(1.5);
  inset: calc(100% + .3em) auto auto -2.5em;
}

.form__submit {
background-color: hsl(225 90% 60%);
color:#ece9ff;
font-size: inherit;
padding-block: .8em;
border: none;
border-radius: .5em;
outline: none;
cursor: pointer;
transition: .5s;
}

.form__submit:focus,
.form__submit:hover {
  background-color: hsl(225 50% 40%);
}

/* css perfil*/

.perfil {
    display: grid;
    grid-template-rows: auto auto auto auto;
    gap: 20px;
    padding: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.fotoperfil {
  display: flex;
  justify-content: center;
  align-items: center;
}

.fotoperfil img {
  border-radius: 50%;
  width: 150px;
  height: 150px;
  object-fit: cover;
}

.infoperfil {
  text-align: center;
}

.infoperfil h2 {
  margin: 10px 0;
  font-size: 24px;
}

.infoperfil p {
  margin: 5px 0;
  color: #000;
}

.profile-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.eventosasistidos {
  text-align: center;
  border-block-end: 4px solid #4d79ff;
  padding-block-end: .35rem;
}

.eventosasistidos h3 {
  margin: 0;
}

#introduccioninicio {
  background-image: url(../imagenes/libretasuba.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  padding: 3em;
}

#mainindex {
  margin: 0;
  padding: 0;
  max-width: none;
}

section#introduccioninicio h1,
#introduccioninicio h2,
#introduccioninicio h4 {
  color: rgb(255, 255, 255);
}

#textosintro {
  max-width: 530px;
}

.bolded {
  font-weight: bold;
}

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

.eventsperfil {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(20rem, 100%), 1fr));;
  gap: 20px;
  width: 100%;
  max-width: 800px;
}

.eventperfil {
  background-color: #ffffff;
  padding: 20px;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.eventperfil h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.eventperfil p {
  font-size: 14px;
  margin-bottom: 20px;
}

.eventperfil button {
  background-color: #0056b3;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.eventperfil button:hover {
  background-color: #003f7a;
}



/* CALENDARIO PROGRAMACION */

.tasks {
  border: 1px 1px 1px 1px solid;
  padding: 2px 2px;
  font-size: 16px;
  background-color:#3b66cc;
  color: white;
  font-weight: bold;
  line-height: 1em;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  margin-bottom: 0;
  margin-right: 0;
}

/*color calendario*/

.calendar a {
  color: white;
  font-size: small;
  font-weight: medium;
}

/* CHARLA CALENDARIO */

.charla {
  display: grid;
  grid-template-columns: repeat( auto-fit, minmax( min( var(--tamanio), 100%), 1fr));
  gap: var(--gap);
}

.charla {
  padding: 0 1em 2em 1em;
  width: min(75em, 100%);
  margin-inline: auto;
}

.charlaabierta div {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(12.5em, 1fr));
  gap: .25em;
}


.charla figure {
  border-radius: 5px;
  
  aspect-ratio: 1;
  position: relative;
  overflow: hidden;
}

.charla img {
  object-fit: cover;
  object-position: left center;
  width: 100%;
  height: 100%;
}

.charla figcaption {
  background-color: hsl(210 29% 44% / 0.5);
  color: white;
  padding: .1em;
  line-height: 2em;
  text-transform: uppercase;
  font-weight: 700;
  position: absolute;
  inset: 0;
  transform: translateY(calc(100% - 2em));
  
  transition: all .6s ease;
}

.charla figure:hover figcaption {
  background-color: hsl(280 15% 35% / 0.75);
  transition: all .3s ease;
  transform: translateY(0);
  display: grid;
  text-align: center;
  place-items: center;
  place-content: center;
  padding-inline: 2em;
}

.charla figcaption span {
  display: block;
  font-size: .75em;
  color: #ddd;
  margin-block-start: .5em;
  text-transform: none;
}

.charla figcaption a {
  display: inline-block;
  margin-block-start: .5em;
  background-color: hsl(209 100% 35% / 0.5);
  color: hsl(0 0% 90% / 0.85);
  padding: .25em 1em;
  border-radius: 2em;
}

.charla figcaption a::after {
  content: " →";
}

.charla 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%);
}


:root {
  --color_blanco: #fff;
  --altura_header: 80px;
  --padding_left_right: 2rem;
  --ancho_maximo: 1200px;
}

.navbar {
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  padding: 0 var(--padding_left_right)
}

.list_icon {
  color: #ffff;
  cursor: pointer;
}
.ul_links {
  width: 100%;
  position: fixed;
  top: var(--altura_header);
  display: flex;
  justify-content: center;
  height: calc(100vh - var(--altura_header));
  align-items: center;
  flex-direction: column;
  gap: 3rem;
  background-color: #4d79ff;
  height: 0;
  overflow: hidden;
  left: 0;
  transition: all .3s;
  z-index: 8000;

}
.li_links {
  list-style: none;
}
.link {
  color: #ffff;
  font-weight: bold;
  font-size: 3em;
}
.menu_hamburguesa {
  display: none;
}

.menu_hamburguesa:checked + .ul_links {
  height: calc(100vh - var(--altura_header));
}

@media (min-width:768px){
.labe_hamburguesa {
  display: none;
}
.ul_links {
  position: static;
  width: auto;
  flex-direction: row;
  height: auto;
  gap: 2rem;
}
.link {
  font-size: 1.2rem;
  transition: all .3s;
  padding: .2rem .7rem;
}

.link:hover {
  background-color: #ffff;

}
}

ul.ul_links {
  margin-block-start: 0;
  margin-block-end: 0;
  padding-inline-start: 0;
}

/*ultima correccion*/

#infoevento {
  display: grid;
  grid-template-rows: auto auto 1fr;
  padding-left: 0;
}
#infoevento p {
  display: block;
  margin: 0;
  text-wrap: pretty;
}

#infoevento a {
  margin-inline-end: auto;
}