@import url('https://fonts.googleapis.com/css2?family=Poppins&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;600&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body{
    background:-webkit-linear-gradient( white 30% , #9ed17d);
}

header{
    width: 100%;
    background:  #83BC5F;
}

#btn-menu{display: none;}

header label{
    display: none; 
    width: 3rem; 
    height: 3rem; 
    padding: 1rem; 
}

.menu ul{
    margin: 0;
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
}

.menu li:hover{
    background: rgba(0,0,0,0.3);
}
.menu li a{
    display: block;
    padding: .2rem 2rem;
    color: white;
    text-decoration: none;
}

.menu li i{
    display: none;
    padding: .2rem 2rem;
    color: white;
    text-decoration: none;
}

.menu_inicio{
    display: flex;
    justify-content:space-between;
    align-items: center;
    color: white;
    padding: 1em;
}


.menu li:hover{
    background: rgba(0,0,0,0.3);
}


.cnt-calendario{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    padding:2em ;
}

.calendario{
    padding: 20px;
    background-color: white;
    box-shadow: 0 0 12px #ccc;
}

h3{
    display:flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin: 1em;
    
}

.mes-semana{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
}

.mes-semana span{
    font-size: 13px;
    margin-left: 5px;
    background-color: green;
    color:white;
    padding: 5px 15px;
    border-radius: 10px;
    cursor: pointer;
}

.mes-semana span:last-child{
    background-color: transparent;
    color:green;
    border: 1px solid green;
    cursor: pointer;

}

.semana{
    margin-bottom: 10px;

}

.semana span{
    padding: 24px;
    font-size: 10px;
    font-weight: 600;
    color: green;
}

.dias{
    display: flex;

}

.dias span{
    width: 14.30%;
    text-align: center;
    padding: 30px 20px;
    cursor: pointer;
    position: relative;
    z-index: 1;
    transition: .5s;
}

.dias span:not(.proximo-mes)::before{
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background-color: green;
    border-radius: 100%;
    z-index: -1;
    opacity: 0;
    transition: .5s;
}

.dias span:not(.proximo-mes):hover{
    color: white;
}

.dias span:not(.proximo-mes):hover::before{
    color:#ccc;
    opacity: 1;
}

.proximo-mes{
    color:grey !important;
    cursor:not-allowed !important
}

.cnt-recordatorio{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.caja-recordatorio{
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: white;
    width: 30%;
    margin: 1em;
    padding: .5em;
    border-radius: 5px;
}

.caja-recordatorio i{
    padding-left: .5em;
    font-size: 30px;
    color: green;
}

h3{
    display:block;
    margin: 1em;

}

.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
  }
  
  .switch input { 
    opacity: 0;
    width: 0;
    height: 0;
  }
  
  .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color:rgb(154, 189, 154);
    -webkit-transition: .4s;
    transition: .4s;
  }
  
  .slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
  }
  
  input:checked + .slider {
    background-color: green;
  }
  
  input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
  }
  
  /* Rounded sliders */
  .slider.round {
    border-radius: 34px;
  }
  
  .slider.round:before {
    border-radius: 50%;
  }


  .informacion{
    margin: 0 10em 0 10em;
}
.info{
    padding: 1em 3em;
    margin: 2em;
    text-align:left;
    text-decoration: none;
    list-style: none;
    color: white;
    padding: 1em 5;
}

.cnt-info{
    display:flex;
    justify-content: space-around;
    align-items: center;
    background-color: black;
    padding: em 2em;
    font-size: 15px;
    margin-top: 2em;
}

.mapa{    
    filter: invert(0);
    width: 250px;
    height: 200px;
    margin-top: 2em;
}


.contenedor-footer{
    color: white; 
    display: flex;
    font-size: 10px;
    padding: 2em;
    justify-content: center;
    width: 100%;
    background: black

    
}


@media (max-width:768px){

    header{
        height: 4em;
    }

    header label{
        display: block;
        width: 5em;
        height: 4em;
    }
    
    .menu{
        position: absolute;
        background:#83BC5F;
        width: 50%;
        margin-left: -70%;
        transition: all .3s;
        z-index: 10;
    }
    
    .menu__img img{
        display: none;

    }

    label img:hover{
        position: relative;
        bottom: .2em;
        left: 1em;
        width: 3.5em;
    }
    

    label img {
        position: relative;
        bottom: .2em;
        left: 1em;
    }

    .menu ul{
        flex-direction: column;
    }


    .menu_inicio{
        display: flex;
        justify-content: flex-start;
        align-items: center;
        color: white;
        padding-left: 1em;
        border-radius: 5px;            
    }

    .menu li i{
        display: block;
        padding: .2rem 2rem;
        color: white;
        text-decoration: none;
    }

    .menu li a{
    display: block;
    padding: .2rem .2rem;
    color: white;
    text-decoration: none;
    letter-spacing: -1px
}


    #btn-menu:checked ~ .menu{
        margin: 0;
    }
}


@media (max-width:768px){
    .cnt-calendario{
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        height: 100%;
        padding:2em ;
    }

    .cnt-recordatorio{
        display: flex;
        flex-direction: column;
    }

    .caja-recordatorio{
        display: flex;
        justify-content: space-between;
        align-items: center;
        background-color: white;
        width: 93%;
        margin: 1em;
        padding: .5em;
        border-radius: 5px;
    }

    .caja-recordatorio i{
        padding-left: .5em;
        font-size: 30px;
        color: green;
    }

    .switch {
        position: relative;
        display: inline-block;
        width: 60px;
        height: 34px;
      }
      
      .switch input { 
        opacity: 0;
        width: 0;
        height: 0;
      }
      
      .slider {
        position: absolute;
        cursor: pointer;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color:rgb(154, 189, 154);
        -webkit-transition: .4s;
        transition: .4s;
      }
      
      .slider:before {
        position: absolute;
        content: "";
        height: 26px;
        width: 26px;
        left: 4px;
        bottom: 4px;
        background-color: white;
        -webkit-transition: .4s;
        transition: .4s;
      }
      
      input:checked + .slider {
        background-color: green;
      }
      
      input:checked + .slider:before {
        -webkit-transform: translateX(26px);
        -ms-transform: translateX(26px);
        transform: translateX(26px);
      }
      
      /* Rounded sliders */
      .slider.round {
        border-radius: 34px;
      }
      
      .slider.round:before {
        border-radius: 50%;
      }

      .informacion{
        margin: 0 10em 0 10em;
    }
    .info{
        padding: 1em 3em;
        margin: 2em;
        text-align:left;
        text-decoration: none;
        list-style: none;
        color: white;
        padding: 1em 5;
    }
    
    .cnt-info{
        display:flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        background-color: black;
        font-size: 12px;
        text-align: center;
        padding: 1em;
    }

    .cnt-info li{
        text-align: center;
        padding: .3em;
    }
    
    .mapa{
        filter: invert(0);
        width: 250px;
        height: 200px;
        overflow: hidden;
    }
    
    
    .contenedor-footer{
        color: white; 
        display: flex;
        font-size: 10px;
        margin: auto;
        padding: 30px;
        justify-content: center;
        width: 100vw;
    }

    .contenedor-footer p{
        text-align: center;
    }


}