* {
  -o-box-sizing: border-box;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  /* overflow: hidden; */
  color: rgba(255, 255, 255, 0.5);
  font-family: 'Fredoka One', sans-serif;
}

#ScrollPane {
  position: relative;
  width: 100%;
  height: 100%;
}

.scr, .pane {
  position: relative;
  width: 100%;
  height: 100%;
  font-size: 30px;
}

b {
  font-size: 90px;
  display: block;
  color: #ffffff;
  text-shadow: 1px 1px 0 #2CB1E5, 2px 2px 0 #2CB1E5, 3px 3px 0 #2CB1E5, 4px 4px 0 #2CB1E5, 5px 5px 0 #2CB1E5, 5px 5px 10px rgba(0, 0, 0, 0);
  letter-spacing: 1px;
}

.yellow {
  text-shadow: 1px 1px 0 #F2B111, 2px 2px 0 #F2B111, 3px 3px 0 #F2B111, 4px 4px 0 #F2B111, 5px 5px 0 #F2B111, 5px 5px 10px rgba(0, 0, 0, 0);
  text-align: center;
  font-size: 55px;
  margin-bottom: 10px
}

.teal {
  text-shadow: 1px 1px 0 #60C7D8, 2px 2px 0 #60C7D8, 3px 3px 0 #60C7D8, 4px 4px 0 #60C7D8, 5px 5px 0 #60C7D8, 5px 5px 10px rgba(0, 0, 0, 0);
}

span {
  display: block;
  text-align: center;
}

.horiz {
  position: relative;
  width: 100%;
  height: 100%;
}

.horiz .spane {
  overflow: hidden;
  font-size: 0;
  position: relative;
  width: 100%;
  height: 100%;
  white-space: nowrap;
}

.horiz .pane {
  display: inline-block;
  width: 100%;
}

.ct {
  top: 0;
  left: 0;
  width: 100%;
  max-width: 1300px;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
}

.an .ct {
  transform: translate3D(0, 20px, 0) rotateX(90deg) scale(0.5);
  opacity: 0;
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.380, 1.470);
}

.left, .right {
  overflow: hidden;
  display: block;
  position: absolute;
  height: 100%;
  width: 50%;
  top: 0;
}

.right {
  left: 50%;
}

.scrollup {
  position: absolute;
  width: 200px;
  top: 10px;
  left: 50%;
  margin-left: -100px;
  z-index: 3000;
  font-size: 20px;
  text-align: center;
}

.scrolldown {
  position: absolute;
  width: 200px;
  bottom: 10px;
  left: 50%;
  margin-left: -100px;
  z-index: 3000;
  font-size: 20px;
  text-align: center;
}

.an.visible .ct {
  transform: translate3D(0, 0, 0) scale(1);
  opacity: 1;
}

.header {
  z-index: 1;
  position: fixed;
  padding: 30px 50px 30px 50px;
  display: flex;
  justify-content: space-between;
  width: 100%;
}

.header2 {
  z-index: 1;
  position: absolute;
  padding: 30px 50px 30px 50px;
  display: flex;
  justify-content: space-between;
  width: 100%;
}

.logojep {
  width: 100%;
  max-width: 350px;
}

#Helper {
  position: fixed;
  background: #ffffff;
  bottom: 0;
  left: 0;
  padding: 5px;
  z-index: 3000;
  font-size: 12px;
  color: #1e1e1e;
}

#Inicio, #Violeta, #Videos, #Info, #Premios {
  background-position: center;
  background-size: cover;
}

#Inicio {
  background-image: url('../back/backhome_1.jpg');
}

#Violeta {
  background-image: url('../back/backhome_2.jpg');
}

#Videos {
  background-image: url('../back/backhome_3.jpg');
}

#Premios {
  background-image: url('../back/backhome_5.jpg');
}

#Info {
  background-image: url('../back/backrelato1_1.jpg');
}

#Glosario {
  background: rgb(255, 249, 244);
  background: -webkit-linear-gradient(rgba(255, 249, 244, 1) 0%, rgba(246, 222, 230, 1) 100%);
  background: -o-linear-gradient(rgba(255, 249, 244, 1) 0%, rgba(246, 222, 230, 1) 100%);
  background: linear-gradient(rgba(255, 249, 244, 1) 0%, rgba(246, 222, 230, 1) 100%);
}

.titlehome, .subtitle, .titleglosario {
  color: #fff;
}

.titlehome {
  font: 85px/1.2 'Fredoka One', sans-serif;
}

.titleglosario {
  font: 140px/1.2 'Fredoka One', sans-serif;
  text-align: center;
}

.subtitle {
  font: 32px/1.2 'Quicksand', sans-serif;
  font-weight: 500;
  margin-bottom: 40px;
}

.description {
  font: 19px/1.5 'Quicksand', sans-serif;
  font-weight: 500;
  margin-top: 20px;
  color: #192744;
}

.btn {
  display: inline-block;
  padding: 10px 20px;
  text-decoration: none;
  position: relative;
  text-align: center;
  text-indent: 2px;
  transition: color 0.1s linear 0.05s;
  background: #66FF99;
  color: #083349;
  font-family: 'Fredoka One', sans-serif;
  border-radius: 50px;
  font-size: 17px;
  border: none;
  line-height: inherit;
  cursor: pointer;
}

.btn::before {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
  color: #083349 !important;
  border-radius: 50px;
  z-index: 1;
  opacity: 0;
  transition: height 0.2s ease, top 0.2s ease, opacity 0s linear 0.2s;
}

.btn::before {
  background: #fff;
  color: #083349 !important;
}

.btn::after {
  transition: border 0.1s linear 0.05s;
}

.btn .btn-inner {
  position: relative;
  z-index: 2;
}

.btn:hover {
  color: #083349 !important;
  transition: color 0.1s linear 0s;
}

.btn:hover::before {
  top: 0;
  height: 100%;
  opacity: 1;
  transition: height 0.2s ease, top 0.2s ease, opacity 0s linear 0s;
}

.btn:hover::after {
  border-color: #373737;
  transition: border 0.1s linear 0s;
}

.layer-home-1 {
  width: 30%;
  text-align: center;
}

.layer-home-2 {
  width: 70%;
  padding-left: 100px;
  text-align: left;
}

.layer-home-3 {
  width: 40%;
  text-align: center;
  position: relative;
  top: 15%;
}

.layer-home-4 {
  width: 60%;
  padding-left: 100px;
  text-align: left;
}

.layer-home-5 {
  width: 350px;
  text-align: center;
  position: absolute;
  top: 60%;
  left: 5%;
  z-index: 0;
}

.layer-home-6 {
  width: 760px;
  position: relative;
  top: -3.5%;
  z-index: 1;
}

.layer-home-7 {
  width: 40%;
  text-align: center;
  position: relative;
  top: 0%;
}

.relatos a {
  margin-bottom: 15px;
}

.btn-3d {
  position: relative;
  display: flex;
  font-family: 'Fredoka One', sans-serif;
  text-decoration: none;
  font-size: 22px;
  padding: 0px 30px;
  margin-bottom: 30px;
  margin-right: 30px;
  color: #ffffff;
  transition: all 0.08s linear;
  border-radius: 50px;
  width: fit-content;
}

.btn-3d img {
  width: 50px;
}

.btn-3d p {
  margin-left: 10px;
}

.btn-3d:active {
  top: 9px;
}

.btn-3d.red {
  background-color: #FF66FF;
  box-shadow: 0 0 0 1px #FF66FF inset, 0 0 0 2px rgba(255, 255, 255, 0.15) inset, 0 8px 0 1px rgba(0, 0, 0, 0.2), 0 8px 0 0 #E65CE6;
}

.btn-3d.red:active {
  box-shadow: none;
}

.btn-3d.blue {
  background-color: #662A93;
  box-shadow: 0 0 0 1px #662A93 inset, 0 0 0 2px rgba(255, 255, 255, 0.1) inset, 0 8px 0 1px rgba(0, 0, 0, 0.1), 0 8px 0 0 #55257F;
}

.btn-3d.blue:active, {
  box-shadow: none;
}

.btn-3d.green {
  background-color: #FDC00F;
  box-shadow: 0 0 0 1px #FDC00F inset, 0 0 0 2px rgba(255, 255, 255, 0.1) inset, 0 8px 0 1px rgba(0, 0, 0, 0.1), 0 8px 0 0 #E5A810;
}

.btn-3d.green:active {
  box-shadow: none;
}

.btn-3d.green2 {
  background-color: #31C45B;
  box-shadow: 0 0 0 1px #31C45B inset, 0 0 0 2px rgba(255, 255, 255, 0.1) inset, 0 8px 0 1px rgba(0, 0, 0, 0.1), 0 8px 0 0 #209E44;
}

.btn-3d.green2:active {
  box-shadow: none;
}

.btn-3d.purple {
  background-color: #2892C7;
  box-shadow: 0 0 0 1px #2892C7 inset, 0 0 0 2px rgba(255, 255, 255, 0.1) inset, 0 8px 0 1px rgba(0, 0, 0, 0.1), 0 8px 0 0 #268AB2;
}

.btn-3d.purple:active {
  box-shadow: none;
}

.enlaces {
  display: flex;
  justify-content: flex-start;
}

.overflow-auto {
  overflow: auto;
}

.header-glosario {
  position: absolute;
  z-index: 0;
}

.texto-glosario {
  font: 24px/1.2 'Quicksand', sans-serif;
  position: relative;
  max-width: 1000px;
  width: 100%;
  margin: 0px auto;
  padding-top: 140px;
}

.texto-glosario h6 {
  font-size: 42px;
  margin-bottom: auto;
}

.texto-glosario p {
  color: #193E50 !important;
  text-align: justify;
}

/* PREMIOS*/

.winners{
  
  padding: 3% 5% 2%;

  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 20px;

  justify-content: space-around;
  align-content: space-between;
  justify-items: stretch;

}

#Premios .titlehome{
  padding: 0 3% 5px ;
  margin: auto;
}

.winners img{
  max-width: 100%;
  padding: 0 1px;
  min-width: 50px;
}

.winners img:hover {
  -webkit-transform:scale(1.3);transform:scale(1.3);
  transition:all .3s ease-in-out;
}

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

  .winners{
      padding: 0 2%;
      display: flex !important;
      flex-direction: row !important;
      flex-wrap: wrap !important;
      justify-content: space-evenly !important;
  }
   
  #Premios .titlehome{
    max-width: 430px;
    padding: 0 3% 2% ;
    margin: auto;
  
  }

}
