@import "color-animation.scss";

/*HOJA DE ESTILOS PERSONALIZADA*/

.preloader-1 {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 100;
  background-color: white;
  .contenido-loader-1 {
    .imagen-1 {}
  }
}

.header {
  // border-bottom: 1px solid #cccccc;
  .seccion-1 {
    .cajon-texto-1 {
      text-shadow: 2px 2px 2px #949494;
    }
  }
}

.contenedor {
  background: $color5;

  .seccion-basicos-1 {
    background: $color5;
    .menu-flotante-1 {
      .menu-texto-1 {
        color: $color1;
        font-size: 3em;
        cursor: pointer;
      }
      .menu-texto-1:hover,
      .menu-texto-1:active,
      .menu-texto-1:focus {
        color: $color1;
      }
    }
  }

  .seccion-basicos-2 {

    .seccion-leccion {
      background-color: $color5;
      border: none;
      color: #222222;
      padding-top: 15px;
      padding-bottom: 15px;
      border-left: 3px solid $color1;
      cursor: pointer;
      .tema-leccion-1 {
        .fila-interna-1 {
          .cajon-texto-1 {}
          .cajon-icono-1 {
            .iconoCheck {
              color: $color9;
              margin: 0px 0 0 0px;
            }
          }
          .checkActive {
            color: #7EBB68!important;
          }
        }
      }

      &:hover {
        border-left: 6px solid $color1;
        background: $color5;
      }
    }

    .separador {
      padding: 0;
      display: flex;
      flex-direction: row;
      justify-content: flex-end;
      .linea-separador {
        padding: 0;
        margin: 0;
        hr {
          margin: 0 0 0 auto;
          width: 95%;
          border-top: 3px solid $color8;
        }
      }
    }

    .seleccionada {
      border-left: 6px solid $color1;
      background: $color5;
    }

    .seccion-modulo {
      .tema-modulo-1 {
        border-left: 3px solid $color1;
        background: $color5;
        padding-top: 17px;
        padding-bottom: 17px;
        cursor: pointer;
        .fila-interna-1 {
          .cajon-icono-1 {
            .flechaDespliegue {
              color: $color1;
              margin: 0px 0 0 0px;
            }
          }
          .cajon-texto-1 {}
        }
      }
      .tema-modulo-1:hover {
        border-left: 6px solid $color1;
        background: $color5;
      }
      .moduloSelect {
        background: $color5;
        border-left: 6px solid $color1;
      }
    }

    .fila-barra {
      .barra-progreso {
        background-color: $color3;
        height: 3px;
      }
      .icono-progreso {
        position: absolute;
        left: 5%;
      }
    }

    .fila-insignias {
      .insignia {
        margin-left: 0.4em;
        margin-right: 0.4em;
        margin-bottom: .5em;
        width: 30px;
      }
    }
  }
}

.contenido-principal-1 {
  padding-top: 10px;
  padding-bottom: 10px;
  overflow-y: scroll;
  .notificacionOK {
    font-size: 80px;
    margin: 200px auto 10px;
  }
  .notificacion {
    font-size: 100px;
    margin: 200px auto 10px;
  }
  .texto-notificacion {
    margin: 0px auto 200px;
    font-family: 'VAG-bold';
    font-size: 20px;
  }
}

.pie-pagina-1 {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  padding-top: 3rem;
  padding-bottom: 2rem;

  .boton-1 {
    border: 3px solid $color9;
    padding: .5em 1.5em .5em 1.5em;
    border-radius: 20px;
    cursor: pointer;
    &:hover {
      border: 3px solid $color3;
      color: $color3;
      .text-button {
        color: $color3;
        i {
          color: $color3;
        }
      }
    }
  }

  .boton-siguiente-1 {
    // background-color: $color1;
    border: 3px solid $color2;
    padding: .5em 1.5em .5em 1.5em;
    border-radius: 20px;
    cursor: pointer;
    position: relative;
    box-sizing: border-box;
    transition: all 500ms ease;
    overflow:hidden;
    .seccion-1 {
      .cajon-texto-1 {
        user-select: none;
        .texto-contenido-1 {
          color: $color2;
          &:hover {
            color: $color5;
          }
        }
      }
    }

    &:hover {
      .seccion-1 {
        .cajon-texto-1 {
          .texto-contenido-1 {
            color: $color5;
          }
        }
      }
    }

    &:before {
      content: '';
      position: absolute;
      top: -7px;
      left: 0px;
      width: 0px;
      height: 40px;
      background: #0090BD;
      border-radius: 20px;
      transition: all 0.5s ease;
    }

    &:after {
      position: absolute;
      font-family: "Font Awesome 5 Free";
      font-weight: 900;
      content: "\f054";
      color: $color5;
      top: 3px;
      right: -25px;
      font-size: 1.2em;
      transition: all 0.4s ease-in;
    }

    &:hover:before {
     width: 100%;
    }
    &:hover:after {
      right: 15px;
    }
  }

  .inactivo {
    pointer-events: none;
    opacity: 0.2;
  }
}

@media screen and (max-width: 425px) and (min-width: 320px) {
  .header {
    background:
      url("../img/header/bg-alpha.png") 100% top repeat,
      url(../img/header/bg-p2.png) 100% bottom no-repeat,
      #ffffff;
    background-size: contain;
    padding-top: 30px;
    padding-bottom: 30px;
    .seccion-1 {
      .cajon-texto-1 {
        .texto-menu-link {
        }
      }
    }
  }

  .pie-pagina-1 {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
  }
}

@media screen and (max-width: 768px) and (min-width: 426px) {
  .header {
    background:
      url("../img/header/bg-alpha.png") 100% top repeat,
      url("../img/header/bg-p2.png") 100% top no-repeat,
      $color5;
    background-size: contain;
    padding-top: 60px;
    padding-bottom: 60px;
    .seccion-1 {
      .cajon-texto-1 {
        .texto-menu-link {
        }
      }
    }
  }

  .pie-pagina-1 {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
  }
}

@media screen and (min-width: 769px) {
  .header {
    background:
      url("../img/header/bg-p3.png") 100% top no-repeat,
      url("../img/header/bg-p1.png") 20px center no-repeat,
      $color5;
    // background-size: auto, contain;
    background-size: contain, auto;
    padding-top: 70px;
    padding-bottom: 70px;
    .seccion-1 {
      display: flex;
      flex-direction: row;
      justify-content: center;
      align-items: center;
      .cajon-texto-1 {
        .texto-menu-link {
        }
      }
    }
  }

  .pie-pagina-1 {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
  }
}
