@import url('https://fonts.googleapis.com/css2?family=Fjalla+One&family=Roboto:wght@300&display=swap');
*/* {
  box-sizing: border-box;
  padding: 0;
  border: 0;
  margin: 0;
}*/
body {
  font-family: "Roboto", sans-serif;
  font-weight: 300;
  font-style: normal;
  font-size: 14px;
  line-height: 1.5;
}

h1, h2,.calendar-header h1, .ecorutina {
  font-family: "Fjalla One", sans-serif;
  font-weight: 400;
}
body {
    margin:0 auto;
    display: flex;
    flex-direction: column;
    min-height: 00vh;
    position: relative;
}
header {
    background-color: #3d713e;
    color: #fff;
    padding: 10px;
    color:white;
}
header ul {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    list-style: none;
  }
  nav a {
  text-decoration: none;
  color: white;
  border-radius: 10px;
  padding: 10px 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  }

.contenedorlogo {
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    text-align: justify;
    max-width: 60rem;
    margin-inline: auto;
    display: flex;
    grid-template-columns: auto auto;
    flex-direction: row;
}
.ecorutina {
  font-size: 40px;
  color: white;
text-decoration: none;
}
#logo {
    margin:3px;
    width: 10rem;
    padding: 3px;
  }
 #presentacion {
  position: relative;
  margin-top: 2em;
  padding-block: 1em;
  padding-inline: 2em;
  }
  main {
    max-width: 60rem;
    margin-inline: auto;
    padding-inline: 1rem;
    padding: 1rem;
    margin-bottom: 50px;
  }
  video {
    width: 100%;
    max-width: 60rem;
    margin: 0 auto;
    display: block;
    background-color: black;
  }
.tips {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.foro .bloquetips { 
  display: grid;
  max-width: 100vm;
  grid-template-columns: repeat (auto-fit, minmax(min(15rem, 100%),1fr));
}
.pastilla { 
  display:flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  background-color: #bfd150;
  padding: 0.5rem;
  border-radius: 10px;
  width:100%;
  border: 2px solid #3d713e;
  margin-bottom: 1rem;
}
.pastilla h3 {
  color: #3d713e
}
#iconos {
  width: 50px;
  height: 50px;
}

.navbar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #6b5839;
  color: white;
  padding: 10px 0;
  z-index: 1000;
}

.navbar ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: space-evenly;
}

.navbar a {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: white;
  padding: 8px 0;
  width: 20%;
}

.nav-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 4px;
  filter: brightness(0) invert(1);
  transition: transform 0.3s ease;
}

.nav-text {
  font-size: 0.7rem;
  text-align: center;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.navbar a:hover .nav-icon {
  transform: translateY(-2px);
}

.navbar a:hover .nav-text {
  opacity: 1;
}

/* Mobile (<= 480px) */
@media (max-width: 480px) {
  .nav-text {
    display: none;
  }
  .navbar a {
    padding: 8px;
  }
}

/* Desktop (>= 768px) */
@media (min-width: 768px) {
  .nav-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 0;
  }
  
  .nav-text {
    display: none;
  }
  
  .navbar ul {
    justify-content: center;
    gap: 2rem;
  }
  
  .navbar a {
    width: auto;
    padding: 8px 1.5rem;
  }
}

/* INDEX */

.titulo {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #3d713e;
}

.parrafo-principal {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: #3d713e;
  font-weight: 700;
}

.objetivos {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #3d713e;
}

.parrafo-objetivos {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: #3d713e;
}



/* DESAFIO */
.contenedordiasdeldesafio { 
  background-color: #c0d15b;
  border-radius: 2px;
  padding: 1rem;
  border-radius: 12px;
  margin-top: 1rem;
  margin-bottom: 1rem;
  stroke: #2b572a;
  stroke-width: 2px;
  border: 3px solid #3d713e;
  transition: transform 0.3s ease
  }
  
.contenedordiasdeldesafio:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 8px rgba(61, 113, 62, 0.2);
}

.contenedordiasdeldesafio h2 {
  color: #3d713e;
  font-size: 1.7rem;
  margin-bottom: 1rem;
}

.contenedordiasdeldesafio h3 {
  color: #3d713e;
  font-size: 1rem;
}

.texto-desafio h4 {
  color: #3d713e;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.texto-desafio h3 {
  font-family: "Fjalla One", sans-serif;
  color: #3d713e;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.calendar-header {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 1.5rem;
  font-family: "Fjalla One", sans-serif;
  font-weight: 800;
  margin-top: 10px;
}

.calendar-header h1 {
  font-size: 2.5rem !important;
  margin-bottom: 0.5rem;
  color: #3d713e;
  font-weight: 800;
  margin-top: 10px;
}

.titulo-dia {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  color: #3d713e;
}

.checkbox-icon {
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.checkbox-icon-no {
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: background-color 0.3s ease;
  opacity: 0.5;
}

/* ECOTIPS */
.ecotips h2 {
  margin-bottom: 1.5rem;
  color: #3d713e;
  text-align: center;
  font-family: "Fjalla One", sans-serif;
  font-weight: 800;
  margin-top: 10px;
  font-size: 2.5rem !important;
}

.tipsdetalle p {
  color: #3d713e;
  font-size: 1.5rem !important;
  font-weight: bolder;
}

.contenedortips strong {
  color: #3d713e;
  font-size: 2.5rem!important;
  font-weight: bold;
}


/* CALENDARIO */

.calendario {
  width: 100vw;
  margin-left: calc(-1 * (100vw - 100%) / 2);
  padding: 2rem 1rem;
  box-sizing: border-box;
}

.calendario h1 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: #3d713e;
}

.selector-mes {
  color: #3d713e;
  display: flex;
  justify-content: flex-start;
  margin-bottom: 1.5rem;
  width: 50%;
  margin-left: 0;
  margin-right: auto;
  margin-top: 2rem;

}

.selector-mes select {
  width: 100%;
  padding: 10px;
  font-size: 1rem;
  margin-top: 10px;
  margin-bottom: 20px;
  border-radius: 8px;
  border: 2px solid #4b7536;
}

.selector-meses {
  width: 100%;
  padding: 10px;
  font-size: 1rem;
  border-radius: 8px;
  border: 2px solid #3d713e;
  background-color: white;
  color: #3d713e;
  font-family: "Fjalla One", sans-serif;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 384 512'%3E%3Cpath fill='%233d713e' d='M192 384c-8.188 0-16.38-3.125-22.62-9.375l-160-160c-12.5-12.5-12.5-32.75 0-45.25s32.75-12.5 45.25 0L192 306.8l137.4-137.4c12.5-12.5 32.75-12.5 45.25 0s12.5 32.75 0 45.25l-160 160C208.4 380.9 200.2 384 192 384z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 12px;
  padding-right: 32px;
}

.selector-meses:focus {
  outline: none;
  border-color: #82d7e1;
  box-shadow: 0 0 0 2px rgba(130, 215, 225, 0.3);
}

.selector-meses option {
  padding: 8px 12px;
  background-color: white;
  color: #3d713e;
}

.selector-meses option:checked {
  background-color: #f0f4c3;
  font-weight: bold;
}


.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 7px;
  text-align: center;
  font-weight: 500;
  margin-top: 1rem;
}

.day-name {
  font-weight: bold;
  color: #3d713e;
  font-size: 0.9rem;
}

.day:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 8px rgba(61, 113, 62, 0.2);
  border-color: #3d713e;
  transition: all 0.2s ease;
}

.day,
.past,
.highlight,
.blue {
  padding: 10px 0;
  border-radius: 8px;
  background-color: #ffffff;
  color: #3d713e;
  border: 2px solid #3d713e;
  font-size: 0.9rem;
  transition: background-color 0.2s ease;
}

.past {
  opacity: 0.4;
}

.highlight {
  background-color: #3d713e;
  border: 2px solid white;
  color: white;
  font-weight: 700;
}

.blue {
  background-color: #fcd626;
  color: #3d713e;
  border: 2px solid #3d713e;
}

/* Responsive calendario */

@media (max-width: 768px) {
  .calendar-header h1 {
    font-size: 1.2rem;
  }

  .calendar-header select {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .day,
  .past,
  .highlight,
  .blue {
    font-size: 0.75rem;
    padding: 8px 0;
  }

  .calendar-header h1 {
    font-size: 1rem;
  }
}

.selector-meses:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(130, 215, 225, 0.5);
}

.day:hover, .highlight:hover, .blue:hover {
  transform: scale(1.05);
  z-index: 1;
}




/* NUEVA RUTINA */

main {
  padding: 20px;
}

.back-arrow {
  font-size: 24px;
  text-decoration: none;
  color: #2b572a;
}

h1 {
  font-size: 1.6rem;
  font-weight: 800;
  margin-top: 10px;
}


.selector-dia select {
  width: 100%;
  padding: 10px;
  font-size: 1rem;
  margin-top: 10px;
  margin-bottom: 20px;
  border-radius: 8px;
  border: 2px solid #4b7536;
}

h2 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #2b572a;
}

.lista-tareas {
  list-style: none;
  padding: 0;
}

.lista-tareas li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.bottom-nav {
  position: fixed;
  bottom: 0;
  width: 100%;
  background-color: #fcd626;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 10px 0;
  box-shadow: 0 -2px 5px rgba(0,0,0,0.2);
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
}

.nav-item {
  text-align: center;
  font-size: 0.8rem;
  color: #2b572a;
}

.nav-item img {
  width: 24px;
  height: 24px;
  margin-bottom: 4px;
}

.eco-rutina {
  width: 100vw;
  margin-left: calc(-1 * (100vw - 100%) / 2);
  padding: 2rem 1rem;
  box-sizing: border-box;
}

.eco-rutina h1 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: #3d713e;
}

.selector-dia {
  position: relative;
  width: 100%;
  margin-bottom: 1.5rem;
}

.selector-dias {
  width: 100%;
  padding: 10px;
  font-size: 1rem;
  border-radius: 8px;
  border: 2px solid #3d713e;
  background-color: white;
  color: #3d713e;
  font-family: "Fjalla One", sans-serif;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 384 512'%3E%3Cpath fill='%233d713e' d='M192 384c-8.188 0-16.38-3.125-22.62-9.375l-160-160c-12.5-12.5-12.5-32.75 0-45.25s32.75-12.5 45.25 0L192 306.8l137.4-137.4c12.5-12.5 32.75-12.5 45.25 0s12.5 32.75 0 45.25l-160 160C208.4 380.9 200.2 384 192 384z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 12px;
  padding-right: 32px;
}

.selector-dias:focus {
  outline: none;
  border-color: #82d7e1;
  box-shadow: 0 0 0 2px rgba(130, 215, 225, 0.3);
}

.selector-dias option {
  padding: 8px 12px;
  background-color: white;
  color: #3d713e;
}

.selector-dias option:checked {
  background-color: #f0f4c3;
  font-weight: bold;
}


.lista-tareas {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.texto-tarea {
  flex-grow: 1;
  color: #3d713e;
  font-weight: bold;
  font-size: 1rem;
  padding: 0.8rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.lista-tareas li:hover {
  background-color: #f0f4c3;
  border-color: #82d7e1;
  transform: translateX(4px);
  transition: all 0.2s ease;
}

.lista-tareas li:hover i {
  transform: scale(1.2);
  transition: transform 0.2s ease;
}

.texto-tarea .check {
  color: #3d713e;
  font-size: 1.4rem;
  font-weight: bold;
  margin-left: 1rem;
}

.tarea-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.5rem;
  padding: 0.5rem;
  border-radius: 8px;
  background-color: white;
  border: 2px solid #e0e0e0;
  cursor: pointer;
  transition: all 0.3s ease;
}

.tarea-item i {
  color: #3d713e;
  font-size: 1.2rem;
  width: 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
}
.tarea-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.contenedor-boton-crear {
  display: flex;
  justify-content: right;
  margin: 1.5rem 0;
}

.boton-crear {
  background-color: #ffc107;
  color: #3d713e;
  border: 2px solid #3d713e;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: bold;
  padding: 0.8rem 1.6rem;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
  font-family: "Fjalla One", sans-serif;
  text-decoration: none;
}

.boton-crear:hover {
  background-color: #3d713e;
  color: white;
}


.home-page {
    background-color: #f0f4c3;
}

.calendario-page {
    background-color: #c0d15b;
}

.ecotips-page {
    background-color: #f0f4c3;
}

.rutinas-page {
    background-color: #c0d15b;
}

.desafio-page {
    background-color: #f0f4c3;
}
.nosotros-page {
  background-color: #f0f4c3;

}

/*FOOTER*/
footer p{
    font-size: 0.4em;
    padding: 20px;
}

  
  .contenedortips { 
  background-color: #c0d15b;
  border-radius: 2px;
  padding: 1rem;
  border-radius: 20px;
  margin-top: 1rem;
  margin-bottom: 1rem;
  stroke: #2b572a;
  stroke-width: 20px;
  border: 2px solid #3d713e;
  }

.contenedortips {
  max-width: 600px;
  margin:4 auto 12px;
}
.tipsdetalle strong {
  padding: 3px;
  font-weight: 80;
  font-size:20px;
  }
#fotos {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}
.tipsencabezado {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 10px;
  position: relative;
}
.tipsencabezado strong {
 font-weight: 400;
font-size:20px;
font-family: "fjalla one", sans sans-serif ;
}

.tipsencabezado p {
  font-weight: 10px;
  margin: 1px;
}
.tipsdetalle {
  align-items: center;
  gap: 20px;
  position: relative;
}
.tipsdetalle p {
  font-weight: 10;
  margin: 10;
  font-size: small;
}
.titulotips {
  font-size: 2rem;
}

/*ECO RUTINA*/

.eco-rutina {
  padding: 1.5rem;
  background-color: #c0d15b;
}

.contenedor-nueva-rutina {
  margin: 2rem 0;
  position: relative;
}

.titulo-boton {
  color: #3d713e;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  text-align: left;
  padding-left: 0.5rem;
}
@media (min-width: 768px) {
  .contenedorlogo {
 margin-left: 10rem;
  }
  @media (min-width: 768px) {
    #presentacion {
   margin-left: 7rem;
    }
  }
  @media (min-width: 768px) {
    .video {
   margin-left: 7rem;
    }
  }
  @media (min-width: 768px) {
    .lista-tareas {
   margin-left: 7rem;
    }
  }
  @media (min-width: 768px) {
    .seleccion-dias {
   margin-left: 7rem;
    }
  }
  @media (min-width: 768px) {
    .selector-dia {
   margin-left: 7rem;
    }
  }  @media (min-width: 768px) {
    .mainnosotros {
   margin-left: 20rem;
   margin-bottom: 5rem;
    }
  }
  @media (min-width: 768px) {
    .objetivos {
   margin-left: 10rem;
    }
  }
  @media (min-width: 768px) {
    .parrafo-objetivos {
   margin-left: 10rem;
    }
  }
}
@media (min-width: 768px) {
  .dias-scroll {
 margin-left: 5rem;
  }
}


@media (min-width: 768px) {
  .titulo-boton {
 margin-left: 10rem;
  }
}
@media (min-width: 768px) {
  .header-rutinas {
 margin-left: 10rem;
  }  }

  @media (min-width: 768px) {
    .lista-rutinas {
   margin-left: 10rem;
   display: grid;
   grid-template-columns: repeat(3, 1fr);
    }

}
.boton-nueva-rutina {
  background-color: #fcd626;
  color: #2b572a;
  border: 3px solid #3d713e;
  border-radius: 12px;
  padding: 0.8rem 1rem;
  font-size: 0.9rem;
  margin: 0 auto;
  box-shadow: none;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  text-decoration: none
}

.boton-nueva-rutina:hover {
  background-color: #3d713e;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(61, 113, 62, 0.3);
}
@media (hover: hover) {
  .boton-nueva-rutina:hover {
      background-color: #3d713e;
      color: white;
      margin-left: 10rem;
  }
}

@media (min-width: 768px) {
  .boton-nueva-rutina {
      width: auto;
      padding: 1rem 1.5rem;
      font-size: 1rem;
      box-shadow: 0 4px 8px rgba(61, 113, 62, 0.2);
      margin-left: 10rem;
  }
}
@media (min-width: 768px) {
  .calendario {

      margin-left: 10rem;
  }
}

.plus-icon {
  font-size: 2rem;
  margin: 0 auto;
  font-weight: bold;
  line-height: 1;
  text-align: center;;
}

.rutinas-populares {
  margin-top: 2rem;
}
.rutinas-populares h2 {
  color: #3d713e
}

.header-rutinas {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
}

/*WEB*/
.header-rutinas {
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

/*DESPLEGABLE*/
.selector-ordenar {
  position: relative;
  margin-left: 1rem;
}

.selector-ordenar select {
  min-width: 180px;
  background-color: white;
  color: #3d713e;
  border: 2px solid #3d713e;
  border-radius: 8px;
  padding: 0.6rem 2rem 0.6rem 1rem;
  font-family: "Fjalla One", sans-serif;
  font-size: 0.9rem;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 384 512'%3E%3Cpath fill='%233d713e' d='M192 384c-8.188 0-16.38-3.125-22.62-9.375l-160-160c-12.5-12.5-12.5-32.75 0-45.25s32.75-12.5 45.25 0L192 306.8l137.4-137.4c12.5-12.5 32.75-12.5 45.25 0s12.5 32.75 0 45.25l-160 160C208.4 380.9 200.2 384 192 384z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.7rem center;
  background-size: 12px;
  transition: all 0.3s ease;
  width: 100%;
  margin-top: 0.5rem;
}

.selector-ordenar option {
  position: relative;
  padding: 0.5rem 1.5rem 0.5rem 1.8rem;
}

.selector-ordenar option[value="mas-puntuada"]::before {
  content: "✓";
  position: absolute;
  left: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
  color: #3d713e;
  font-weight: bold;
}

.selector-ordenar option:checked {
  font-weight: bold;
  background-color: #f0f4c3;
  color: #3d713e;
}

.selector-ordenar option[value="mas-puntuada"]:checked::before {
  content: "✓";
  position: absolute;
  left: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
  color: #3d713e;
  font-weight: bold;
}

.selector-ordenar select:focus {
  outline: none;
  border-color: #82d7e1;
  box-shadow: 0 0 0 2px rgba(130, 215, 225, 0.3);
}

/* Versión desktop */
@media (min-width: 768px) {
  .selector-ordenar select {
    width: auto;
    margin-top: 0;
  }
  
  .header-rutinas {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

/* RUTINAS */
.lista-rutinas {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.rutina-item {
  background: linear-gradient(to right, white 90%, #bfd150 10%);
  border-radius: 12px;
  padding: 0.8rem;
  border-left-width: 4px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  background: white;
  border: 2px solid #3d713e;
  border-left: 6px solid #3d713e;
  border-radius: 12px;
  padding: 0.8rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.rutina-item:hover {
  transform: translateX(4px);
  border-color: #82d7e1;
  border-left-color: #82d7e1;
}

.rutina-content h3 {
  color: #3d713e;
  margin-bottom: 0.5rem;
  font-size: 1rem;
  position: relative;
  display: inline-block;
}

.rutina-content h3::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 50%;
  height: 2px;
  background-color: #fcd626;
}

.rutina-stats {
  display: flex;
  justify-content: space-between;
  color: #3d713e;
  flex-direction: column;
    gap: 0.3rem;
}

/*WEB*/
.rutina-stats {
  flex-direction: row;
  justify-content: space-between;
}

.rating,
.rating-1, 
.rating-2,
.rating-3,
.rating-4,
.rating-5,
.rating-6 {
    color: #3d713e;
    position: relative;
    font-size: 1.2rem;
    display: inline-block;
    unicode-bidi: bidi-override;
}

.rating::before,
.rating-1::before,
.rating-2::before, 
.rating-3::before,
.rating-4::before,
.rating-5::before,
.rating-6::before {
    content: "★★★★★";
    color: #ffc107;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    overflow: hidden;
    direction: rtl;
}

.rating-1::before { width: 100%; }
.rating-2::before { width: 80%; }
.rating-3::before { width: 80%; }
.rating-4::before { width: 60%; }
.rating-5::before { width: 60%; }
.rating-6::before { width: 40%; }


.personas {
  font-size: 0.8rem;
}
strong {
  font-weight: bold;
 
}
.menu-hamburguesa {
  position: absolute;
  top: 15px;
  right: 20px;
  z-index: 1000;
}

.menu-toggle {
  font-size: 28px;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
}

/* Menú desplegable */
.dropdown-menu {
  display: none;
  flex-direction: column;
  background-color: white;
  position: absolute;
  top: 50px;
  right: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  z-index: 999;
}

.dropdown-menu a {
  padding: 12px 16px;
  text-decoration: none;
  color: #333;
  transition: background 0.3s;
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
}

.dropdown-menu a:hover {
  background-color: #f0f0f0;
}
.iniciar-sesion {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    align-content: center;
    padding: 0 1.8rem;
}

.texto-iniciarsesion h2 {
    font-family: "Fjalla One", sans-serif;
    color: #3d713e;
    font-size: 2rem;
    font-weight: 800;
}

.texto-iniciarsesion p {
    color: #3d713e;
    font-size: 1rem;
    font-weight: 600;
}

.formulario-iniciarsesion {
    min-width: fit-content;
    width: 90%;
    background-color: #ffc107;
    border: 3px solid #2D2C28;
    border-radius: 25px;
    padding: 1rem;
    text-align: center;
}


.formulario-iniciarsesion input {
    border: 1px solid none;
    border-radius: 5px;
    padding: 8px;
    margin: 8px auto;
    width: 80%;
}

.formulario-iniciarsesion h3 {
    text-align: start;
    text-decoration: none;
    font: weight 400px;;
}
.formulario-iniciarsesion h4 {
    text-decoration: underline;
    font-weight: 400;
}
.formulario-iniciarsesion h5 {
    text-decoration: none;
    font-weight: 400;
}
.texto-iniciarsesion {
    text-align: center;
    margin: 1rem;
}
 .formulario-iniciarsesion{
        width: 40%;
        display: block;
        margin: 0 auto;
     
    }
.boton-sesion {
        display: inline-block;
        padding: 15px 45px;
        color: rgb(0, 0, 0);
        border: 4px #2D2C28 solid;
        border-radius: 1rem;
        box-shadow: 4px 4px 0px 1px #2D2C28;
        background-color: #FBF5E6;
        text-decoration: none;
        font-size: 16px;
        font-weight: bold;
        text-align: center;
        text-transform: uppercase;
        transition: background-color 0.3s;
        margin: 0 0 1rem 0;
    }
.boton-sesion:hover {
        background-color: grey;
    }
ul {
    list-style: none;
    padding: 0;
}
.profile-container {
            max-width: 600px;
            margin: 30px auto;
            background: white;
            border-radius: 10px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
            padding: 30px;
            text-align: center;
            }
.profile-pic {
            width: 150px;
            height: 150px;
            border-radius: 50%;
            object-fit: cover;
            border: 5px solid #e1f5dd;
            margin: 0 auto 20px;
            display: block;
        }
.tagline {
            font-style: italic;
            color: #689f38;
            margin-bottom: 20px;
        }
        
        .bio {
            text-align: left;
            margin-top: 20px;
            padding-top: 20px;
            border-top: 1px dashed #c8e6c9;
        }
        
        .interests {
            margin-top: 20px;
        }
        .interest-tag {
            display: inline-block;
            background-color: #e8f5e9;
            color: #1b5e20;
            padding: 5px 10px;
            border-radius: 15px;
            margin: 5px;
            font-size: 0.9em;
        }



        
/*HOME*/
.desafio-semanal {
  width: 100%;
  max-width: 100%;
  padding: 1rem;
  box-sizing: border-box;
}

.desafio-semanal h1 {
  color: #3d713e;
  font-size: 1.5rem;
  text-align: center;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  padding-top: 8px;
}


.contenedor-calendario {
  width: 100vw;
  margin-left: calc(-1 * (100vw - 100%) / 2);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0;
  box-sizing: border-box;
}

.flecha-visual {
  color: #3d713e;
  font-size: 2rem;
  padding: 0 5px;
  user-select: none;
  flex-shrink: 0;
  font-weight: bold;
  opacity: 0.6;
}

.dias-scroll {
  flex-grow: 1;
  display: flex;
  overflow-x: auto;
  gap: 6px;
  padding: 0 2px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.dias-scroll::-webkit-scrollbar {
  display: none;
}

.dia {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  scroll-snap-align: start;
  min-width: 85px;
  padding: 10px;
  border-radius: 10px;
  text-align: center;
  background-color: #ffffff;
  border: 2px solid transparent;
  flex-shrink: 0;
}

.dia.activo {
  scroll-snap-align: center;
}


.dia .dia-numero {
  font-family: "Fjalla One", sans-serif;
  font-size: 1.3rem;
  font-weight: bolder;
  margin-bottom: 4px;
  color: #3d713e;
}

.dia .dia-numero-actual {
  font-family: "Fjalla One", sans-serif;
  font-size: 1.3rem;
  font-weight: bolder;
  margin-bottom: 4px;
  color: #f0f4f0;
}

.dia .dia-mes {
  font-size: 1rem;
  font-weight: bold;
  color: #3d713e;
}

.dia .dia-mes-actual {
  font-size: 1rem;
  font-weight: bold;
  color: #f0f4f0;
}

.dia .dia-actual {
  font-size: 1.5rem;
  font-weight: bolder;
  color:#c0d15b;
  margin-top: 4px;
}

/* Colores de estado */
.dia.pasado {
  background-color: #d9e8d9;
  border: 2px solid #3d713e;
  opacity: 0.6;
}
.dia.activo {
  background-color: #3d713e;
  color: white;
}
.dia.futuro {
  background-color: #fcd626;
  border: 2px solid #3d713e;
}

/* Desktop */
@media (min-width: 768px) {
  .dia {
    min-width: 100px;
    padding: 15px 10px;
  }

  .flecha-visual {
    font-size: 2.5rem;
    margin-inline: 16px;
  }

  .dias-scroll {
    gap: 12px;
    padding: 18px;
    padding-inline: 0;
  }
}


.desafio-actual {
  background-color:#bfd150;
  color: #3d713e;
  border: 3px solid #3d713e;
  padding: 1.2rem;
  border-radius: 12px;
  margin-bottom: 2rem;
}

.desafio-actual h2 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: #3d713e;
}
.desafio-actual p {
  font-weight: bold;
}

.tareas-hoy h2 {
  color: #3d713e;
  font-size: 1.3rem;
  margin-bottom: 1rem;
  text-align: left;
}

.tarea {
  display: flex;
  background-color:#bfd150;
  border-radius: 12px;
  padding: 1rem;
  margin-bottom: 1rem;
  border: 3px solid #3d713e;
  transition: transform 0.3s ease;
  flex-direction: column;
  align-items: flex-start;
}

.tarea:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 8px rgba(61, 113, 62, 0.2);
}

.tarea-icono {
  width: 50px;
  height: 50px;
  background-color: #3d713e;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 0;
  margin-bottom: 1rem;
  flex-shrink: 0;
}

.tarea-icono i {
  color: white;
  font-size: 1.5rem;
}

.tarea-contenido h3 {
  color: #3d713e;
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
}
.tarea-contenido p {
  color: #3d713e;
  font-size: medium;
}

.tarea-tip {
  color: #3d713e;
  padding: 0.5rem;
  border-radius: 6px;
  margin-top: 0.5rem;
  font-size: 0.9rem;
  font-weight: bold;
}

.tarea-tip strong {
  color: #3d713e;
}

/* Responsive para desktop */
@media (min-width: 768px) {
  .desafio-semanal {
      padding: 2rem;
  }
  
  .desafio-semanal h1 {
      font-size: 1.8rem;
  }
  
  .dias-desafio {
      justify-content: center;
      gap: 10px;
  }
  
  .dia {
      min-width: 90px;
      padding: 1rem 0.5rem;
  }
  
  .desafio-actual {
      padding: 1.5rem;
  }
  
  .tarea {
      padding: 1.2rem;
  }
}
.tarjetas {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(15rem, 100%), 1fr));
    gap: 2rem;
    margin-top: 2rem;
    margin-left: 2rem;
    margin-right: 2rem;
  }
  article {
    background-color: #3d6f3e;
    border-radius: 15px;
    flex: 0 1 calc(33% - 10px);
    color: #ede7bf;
  }
  article:hover {
    transform: scale(1.05);
    transition: 0.3s ease-out
  }
  .integrante1, .integrante2, .integrante3 {
    display: flex;
    justify-content: center;
    flex-direction: column;
  }
  .integrante1 img, .integrante2 img, .integrante3 img {
    border-radius: 15px;
    width: 80%;
    margin: 0 auto;
    margin-top: 2rem;
  }
  
  article h3 {
    font-size: 200%;
    margin: 0 auto;
    margin-top: 10px;
    padding-top: 10px;
    padding-bottom: 10px;
  }
  .integrante1 h3 {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .integrante2 h3 {
    padding-left: 23px;
    padding-right: 23px;
  }
  .integrante3 h3 {
    padding-left: 23px;
    padding-right: 23px;
  }
  .t1, .t2, .t3 {
    margin-left: 2rem;
    margin-right: 2rem;
  }
  article h5 {
    color: white;
    background-color: #c0d14e;
    border-radius: 15px;
    padding: 5px 10px;
    display: flex;
    justify-content: center;
  }
  article a {
    text-decoration: none;
  }
  
  article h5:hover {
    background-color: white;
    color: black;
  }
  h4 {
    font-weight: 500;
    margin: 0 auto;
  }

  .contenedor-arquetipos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(15rem, 100%), 1fr));
    gap: 0.5rem;
  }
  .arquetipo img, .mvp img{
    box-sizing: border-box;
    display: block;
    margin-top: 1em;
    margin-bottom: 1em;
    max-width: 100%;
    margin-inline: auto;
  }
  @media (min-width: 1025px) {
    /* Navbar vertical */
    .navbar {
      position: fixed;
      top: 0;
      bottom: 0;
      left: 0;
      width: 110px;
      height: 100vh;
      background-color: #6b5839;
      flex-direction: column;
      align-items: center;
      justify-content: start;
      padding-top: 2rem;
      z-index: 1000;
    }
  
    .navbar ul {
      flex-direction: column;
      gap: 2rem;
      height: 100%;
      justify-content: flex-start;
      align-items: center;
    }
  
    .navbar a {
      width: 100%;
      justify-content: center;
      padding: 0.5rem 0;
    }
  
    .nav-icon {
      width: 42px;
      height: 42px;
      margin-bottom: 4px;
    }
  
    .nav-text {
      display: block;
      font-size: 0.8rem;
      text-align: center;
    }
  }