body,
html {
  padding: 0px;
  margin: 0px;
  font-family: 'Calibri', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
}

h1,
h4 {
  padding: 0px;
  margin: 0px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: 1.2em;
  font-family: 'Calibri', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
  text-align: center;
  color: #88073B;
  padding: 0px 0px !important;
  margin: 0px 0px !important;
}

p {
  font-size: 1.2em
}

ol {
  margin: 0px auto;
  padding: 0px 21px;
}

span.nota {
  color: red
}

span.lado {
  color: rgb(25, 0, 255)
}

span.perimetro {
  color: rgb(255, 0, 179)
}


span.medida {
  color: rgb(255, 174, 0)
}


.responsive-comprobar {
  width: 50%;
  height: fit-content;

}

.btn-comprobar {
  margin: 0px auto;
  text-align: center;
}


/* ok */
.titulo-interactiva {
  font-size: 1.2em;
  color: #009b7f;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 67vh;
  pointer-events: none;
}


.contendor-bienvenida {
  display: flex;
  width: 100%;
  height: 100vh;
  /*  background-color: #DFDBE5;
  background-image: url("data:image/svg+xml,%3Csvg width='30' height='30' viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 10h10v10H0V10zM10 0h10v10H10V0z' fill='%2376b952' fill-opacity='0.4' fill-rule='evenodd'/%3E%3C/svg%3E"); */
  background-image: url(./assets/img/fondo.png);
  background-repeat: no-repeat;
  background-size: 100%;
  background-position: center center;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  overflow: scroll;
}


/* Imagenes */
.responsive {
  width: 89%;
  height: fit-content;
}

.responsive-img {
  width: 40%;
  height: auto;
}

.responsive-grafica {
  width: 90%;
  height: auto;
}

.responsive-formula {
  width:50%;
  height: auto;
}


.ejemplo-formula {
  display: flex;
  justify-content: center;
  flex-direction: row;
  align-items: center;
}

.animacion-slider2 {
  width: 90%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  justify-content: center;
  flex-direction: row;
  align-items: center;
}

.contenido-actividad-bienvenida {
  width: 73%;
  height: 80%;
  border: 9px #ffc107 double;
  border-radius: 28px 28px;
  background-color: white;
  margin: 0px auto;
  padding: 12px;
  background-color: #ffffff;
  opacity: 1;
  overflow: hidden;
  background-image: url(./assets/img/fondoRecuadro.png);
  background-size: 100%;
  background-repeat: no-repeat;
  background-position: center center;

}

.bienvenida {
  display: grid;
  grid-template-columns: 1fr;
  place-items: center;
  align-items: center;
}



/* css actividad nueva*/

.contenedor-actividad {
  display: grid;
  grid-template-columns: 1fr;
  height: 60vh;
  align-items: center;
}

.siguienteBtn {
  width: 23vh;
  height: 15vh;
  background-image: url(./assets/img/btn1.svg);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center center;
  cursor: pointer;
  text-align: center;
  margin: 0px auto;
}

.titulo-presentation {
  width: 100%;
  height: 66vh;
  background-image: url(./assets/img/Titulo.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center center;
}

.ejercicios {
  display: grid;
  align-content: center;
  text-align: center;
  grid-template-columns: 1fr 7fr;
  width: 40vh;
  place-items: center;
}

.row-resultado {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-content: center;
  align-items: center;
}

input[type="text"] {
  border: 2px solid rgb(42, 141, 216);
  size: 3px;
  width: 4vw;
  height: 4vh;
  text-align: center;
  margin: 5px
}

input[type="text"].correctoInput {
  border: 2px solid rgb(42, 216, 42);
}

input[type="text"].incorrectoInput {
  border: 2px solid rgb(216, 42, 42);
}

.correcto {
  width: 5vh;
  height: 5vh;
  background-image: url(./assets/img/correcto.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center center;
}


.incorrecto {
  width: 5vh;
  height: 5vh;
  background-image: url(./assets/img/incorrecto.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center center;
}

.mensaje-actividad {
  width: 100vw;
  height: 100vh;
  display: none;
  text-transform: uppercase;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #ffe000;
  font-size: 1.6em;
  font-weight: bold;
  background: #000000bf;
  justify-content: center;
  align-items: center;
  z-index: 9999999;
}

.button {
  width: 100%;
  display: inline-block;
  /*  outline: 1px solid #009b7f;
    outline-offset: 2px; */
  text-decoration: none;
  text-align: center;
  padding: 6px 0px;
  border-bottom: solid 4px #6A5982;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  font: 1em Arial, Helvetica, sans-serif;
  font-weight: bold;
  color: #E5FFFF;
  background: #9D85BE;
  -webkit-box-shadow: 0px 0px 2px #bababa, inset 0px 0px 1px #ffffff;
  -moz-box-shadow: 0px 0px 2px #bababa, inset 0px 0px 1px #ffffff;
  box-shadow: 0px 0px 2px #bababa, inset 0px 0px 1px #ffffff;
  margin: 23px auto;
  cursor: pointer
}

.button:hover {
  width: 100%;
  margin: 0px auto;
  padding: 6px 0px;
  border-bottom: solid 4px #6A5982;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  font: 1em Arial, Helvetica, sans-serif;
  font-weight: bold;
  color: #E5FFFF;
  background-color: #9964e2;
  background-image: -moz-linear-gradient(top, #9964e2 0%, #a93094 100%);
  background-image: -moz-linear-gradient(top, #9964e2 0%, #a93094 100%);
  background-image: -moz-linear-gradient(top, #9964e2 0%, #a93094 100%);
  background-image: -moz-linear-gradient(top, #9964e2 0%, #a93094 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#3b9c8a', endColorstr='#3b9c8a', GradientType=0);
  background-image: linear-gradient(top, #9964e2 0%, #a93094 100%);
  -webkit-box-shadow: 0px 0px 2px #bababa, inset 0px 0px 1px #ffffff;
  -moz-box-shadow: 0px 0px 2px #bababa, inset 0px 0px 1px #ffffff;
  box-shadow: 0px 0px 2px #bababa, inset 0px 0px 1px #ffffff;
  margin: 23px auto;
  transform: scale(1.1, 1.1);
  transition: transform 0.2s ease-in-out;
}

.button:not(:hover) {
  transform: scale(1, 1);
  transition: transform 0.2s ease-in-out;
}


.botones {
  width: 60%;
  margin: 0px auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  align-content: center;
}



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




#slider1,
#slider2,
#slider3,
#slider4,
#slider5 {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  height: 61vh;
  align-items: center;
  width: 100%;
  align-content: center;
  padding: 2vh;
}

#slider6 {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  height: 71vh;
  align-items: center;
  width: 90%;
  align-content: center;
  padding: 2vh;
  margin:0px auto
}

.contenedor-ejercicios {
  display: grid;
  height: 61vh;
  width: 100%;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  place-items: center;
  align-items: center;
}

.contenedor-ejercicios .row {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

@media only screen and (max-width: 600px) {

  .titulo-presentation {
    background-size: 151%;
  }

  h1 {
    font-size: 0.8em;
  }

  p {
    font-size: 0.9em;
    text-align: justify;
  }


  /* Imagenes */
  .responsive {
    width: 90%;
    height: fit-content;
  }


  .contenido-actividad-bienvenida {
    justify-content: center;
    width: 80%;
    display: flex;
    flex-direction: column;
    height: 78vh;
    overflow: scroll;
    padding-top: 2%;
    margin-top: 1%;
    background-size: auto;
  }


  .bienvenida {
    display: grid;
    grid-template-columns: 1fr;
    place-items: center;
    align-items: center;
  }


  .contenedor-actividad {
    display: grid;
    grid-template-columns: 1fr;
    height: 41vh;
    align-items: center;
  }

  .botones {
    width: 71vw;
  }

  .responsive-img {
    width: 100%;
    height: auto;
  }

  .responsive-grafica {
    width: 100%;
    height: auto;
  }

  .responsive-formula {
    width:80%;
    height: auto;
  }

  .ejemplo-formula {
    flex-direction: column;
  }

  #slider6 {
    justify-content: flex-start;
    grid-gap: 32px;
  }
}

@media (min-width: 320px) and (max-width: 480px) {

  /* CSS */
  .contenido-actividad-bienvenida {
    justify-content: center;
    width: 80%;
    display: flex;
    flex-direction: column;
    height: 78vh;
    overflow: scroll;
    padding-top: 8%;
    margin-top: 8%;
    background-size: auto;
  }

  .contenedor-ejercicios {
    display: flex;
    place-items: center;
    align-items: center;
    flex-direction: column;
    height: fit-content;
  }

  .contenedor-ejercicios .row {
    display: grid;
    grid-template-columns: 1fr;
    place-items: center;
    align-items: center;
  }

  input[type="text"] {
    width: 14vw;
    height: 4vh;
  }


  element.style {
    cursor: pointer;
  }

/*   .btn-comprobar {
    margin: 0px auto;
    text-align: center;
    position: absolute;
    bottom: 0px;
  } */

  .animacion-slider2 {
    width: 90%;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    text-align: justify
  }

  .siguienteBtn {
    width: 16vh;
    height: 15vh;
  }

  .texto-slider3 {
    width: 90%
  }

  .texto-slider1 {
    width: 90%
  }

  .texto-slider4 {
    width: 90%
  }

  .responsive-grafica {
    width: 100%;
    height: auto;
  }

  #slider6 {
    justify-content: flex-start;
    grid-gap: 32px;
  }

}