body{
  background:#001a30;
}
/* BOTON */

.button{
  padding: 20px;
  background-color: #00acee;
  color: white;
  font-weight: bold;
  text-align: center;
  border-radius: 30px;
  margin: 0 auto;
  margin-top: 20px;
  transition: 0.4s;
  border: solid 1px;
}

.button:hover{
  color: #00acee;
  background-color: white;
  border-color: #00acee;
}

/* VIDEO LOGO */

.video-container {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background-color: black;
}

.header-content-video {
  max-width: 40rem;
  padding-left: 1rem;
  padding-right: 1rem;
  margin: auto;
  text-align: center;
}

.video-container__inner {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.video-container__inner video {
  margin-top: 4vh;
  min-width: 100%;
  min-height: 100%;
  max-width: 100%;
  max-height: 100%;
}

.video-container__overlay {
  height: 100vh;
  width: 100vw;
  position: absolute;
  top: 0;
  left: 0;
  background: #303952;
  z-index: 1;
  opacity: .2;
}

.video-container__button {
  z-index: 2;
  margin-top: 75vh;
}
.video-container__button p a svg{
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: #0000003d;
  fill: white;
  font-size: 50px;
  transition: 0.7s;
}
.video-container__button p a:hover svg{
  background: white  ;
  fill:black;
  transform: scale(1.2);
}


/* NUESTRA HISTORIA --------------- REVISAR DEFINITIVO*/
.explication{
  margin: 0 auto;
  background-image: url("../img/fotos-epr03/equip/3.jpg");
  background-size: cover;
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-position: center;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 95vh;
  box-sizing: border-box;
}
.explication__inner{
  max-width: 80%;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #f4f4f6d9;
  margin: 40px 0;
  box-shadow: 0 0.5rem 1.5625rem rgb(0 0 0 / 10%);
  border-radius: 15px;
}
.explication__inner-down {
  display: flex;
  justify-content: space-around;
  align-items: center;
}
.explication .texto{
  width: 80%;
  height: 100%;
  text-align: center;
}
.explication .explication__inner-up h3{
  text-align: center;
  margin: 30px 0 30px 0;
  font-size: 4em;
  font-weight: 300;
  font-family: 'Baloo Da 2', cursive;
  text-transform: uppercase;
}
.explication .texto p{
  line-height: 29px;
  font-size: 1.1rem;
  margin: 3% 0;
}

/* NEWS */

.lastnew{
  padding: 50px;
  background:#f4f4f6;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.lastnew__title{
  text-align: center;
  font-family: 'Baloo Da 2', cursive;
  text-transform: uppercase;
  font-size: 3.5em;
  padding-bottom: 30px;
}
.lastnew__slider{
  display: flex;
  align-items: center;
  justify-content: center;
}
.news-button{
  width: 30px;
  margin: 25px;
  cursor: pointer;
  transition: 0.5s;
}
.news-button:hover{
  fill: #006bbf;
  transform: scale(1.1);
}

.lastnew__inner{
  width: 70%;
  padding: 50px;
  display: none;
  flex-wrap: wrap;
  justify-content: space-between ;
  background: #FDFAF6;
  box-shadow: 0 0.5rem 1.5625rem rgb(0 0 0 / 10%);
  transition: 1.6s opacity;
}
.slider_visible{
  display: flex;
}
.lastnew-image{
  max-width: 40%;
}
.lastnew-image img{
  max-width: 100%;
}
.lastnew-text{
  padding: 20px;
  width: 55%;
  border-radius: 15px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;

}
.lastnew-text h2{
  font-size: 2.2em;
  font-weight: 300;
  font-family: 'Baloo Da 2', cursive;
  text-transform: uppercase;
}
.lastnew-text p{
  line-height: 1.5;
  text-align: justify;
}

.slider-dots{
  display: flex;
  width: 100px;
  margin-top: 20px;
}
.slider-dots .dot{
  width: 20px;
  margin: 5px;
}
.dot-colored{
  fill: #006bbf;
}
/* CONTADOR MOTOSTUDENT 2023 */
.countdown__extern{
  height: 500px;
  background-image: url(../img/fotos-epr03/equip/2.jpg);
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
 
}
.countdown__extern-overlay{
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  background-color:#075476a6;
}
.countdown__extern-overlay h2{
  color: white;
  text-align: center;
  padding-top: 30px;
  font-size: 3rem;
  font-family: 'Zen Kurenaido', sans-serif;
  text-transform: uppercase;
}
.countdown { 
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  justify-content: center;
  font-family: 'Supermercado One', cursive;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-flow: row nowrap;
          flex-flow: row nowrap;
}

.title {
  color: white;
  font-size: 1.4rem;
  text-transform: uppercase;
  font-family: 'Zen Kurenaido', sans-serif;
  font-weight: 800;
}

.countdown-block {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-flow: column nowrap;
          flex-flow: column nowrap;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  margin-right: 30px;
}

.countdown-block:last-child {
  margin-right: 0;
}

.time-elem {
  position: relative;
  color: whitesmoke;
  position: relative;
  height: 100px;
  width: 120px;
  background: rgb(54,153,220);
  background: linear-gradient(0deg, rgba(54,153,220,1) 0%, rgba(82,198,234,1) 72%);
  border: 2px solid #3a7897;
  border-radius: 8px;
  text-align: center;
  font-size:4.5em;
  overflow: hidden;
  margin-bottom: 27px;
  line-height: 100px;
}

.time-elem::before, .time-elem::after {
  content: '';
  position: absolute;
  z-index: 6;
  top: calc(50% - 7.5px);
  background: #3a7897;
  width: 10px;
  height: 15px;
}

.time-elem::before {
  left: -5px;
}

.time-elem::after {
  right: -5px;
}

.time-elem > span {
  position: absolute;
  left: 0;
  right: 0;
}

.top {
  z-index: 3;
  background: rgb(54,153,220);
  background: linear-gradient(0deg, rgba(54,153,220,1) 0%, rgba(82,198,234,1) 50%);
  -webkit-transform-origin: 50% 100%;
          transform-origin: 50% 100%;
  -webkit-transform: perspective(200px);
          transform: perspective(200px);
}

.time-elem .top::after, .time-elem .bottom-back::after {
  content: '';
  position: absolute;
  z-index: 0;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  border-bottom: 2px solid #3a7897;
}

.bottom {
  z-index: 1;
  background: rgb(18,97,190);
  background: linear-gradient(0deg, rgba(18,97,190,1) 0%, rgba(54,153,220,1) 25%);
}

.bottom::before {
  content: '';
  position: absolute;
  display: block;
  top: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background-color: #33354d;
}

.bottom-back {
  z-index: 2;
  top: 0;
  height: 50%;
  overflow: hidden;
  background: rgb(54,153,220);
  background: linear-gradient(0deg, rgba(54,153,220,1) 0%, rgba(82,198,234,1) 50%);
}

.bottom-back span {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
}

.top, .top-back {
  height: 50%;
  overflow: hidden;
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
}

.top-back {
  z-index: 4;
  bottom: 0;
  -webkit-transform-origin: 50% 0;
          transform-origin: 50% 0;
  background: rgb(18,97,190);
  background: linear-gradient(0deg, rgba(18,97,190,1) 0%, rgba(54,153,220,1) 50%);
  -webkit-transform: perspective(200px) rotateX(180deg);
          transform: perspective(200px) rotateX(180deg);
}

.top-back span {
  position: absolute;
  top: -100%;
  left: 0;
  right: 0;
  margin: auto;
}

/* INFORMATION */

.information{
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url("../img/banderas/tech-bck.jpg");
  background-attachment: fixed ;
}
.information__inner{
  backdrop-filter: blur(7px);
  width: 80%;
  border: 1px solid white;
  border-radius: 30px;
  display: flex;
  margin: 50px 0;
}
.information__inner .information_left{
  width: 40%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-right: 1px solid white;
}
.information__inner .information_left h3{
  color:#e7e7e7;
  font-size: 30px;
  margin-bottom: 25px;
}
.information__inner .information_left p{
  color:#e7e7e7;
  max-width: 300px;
  line-height: 1.8em;
  font-size: 18px;
}
.information__inner .information_right{
  width: 60%;
  display: flex;
  justify-content: center;
}
.information__inner .card{
  box-sizing: border-box;
  height: 321px;
  width: 245px;
  padding: 15px;
  border-radius: 15px;
  background-color: #1b1c1e;
  box-shadow: 0.00px 0.00px 30px 0px ,0 1px 4px rgba(0,0,0,0.6);
}
.information__inner .card svg{
  width: 50px;
  margin-top: 10px;
  margin-bottom: 50px;
}
.information__inner .card h4{
  color: #889ce7;
  font-size: 18px;
  margin-bottom: 11px;
}
.information__inner .card p{
  color: #767677;
  line-height: 1.5em;
}

.information__inner .information_right .boxes_up{
  margin-top: 30px;
  margin-right: 40px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.information__inner .information_right .boxes_down{
  height: 772px;
  margin-bottom: 30px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

/* MOTOSTUDENT */
.classification{
  margin: 0 auto;
  background: #f4f4f6;
  width: 100%;
  height: 600px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  font-size: 16px;
}
.classification__inner{
  background: white;
  width: 70%;
  height: 400px;
  padding: 50px;
  border-radius: 10px;
  box-shadow: 0 0.5rem 1.5625rem rgb(0 0 0 / 10%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}
.classification__inner h2{
  width: 100%;
  text-align: center;
  font-size: 4em;
  font-weight: 300;
  font-family: 'Baloo Da 2', cursive;
  text-transform: uppercase;
}
.classification__inner p{
  line-height: 1.5;
  text-align: center;
}

/* TEAM SLIDER*/

.team-slider{
  position: relative;
  width: 25%;
  height: 32vw;
  margin: 150px auto;
  font-family: 'Helvetica Neue', sans-serif;
  perspective: 1400px;
  transform-style: preserve-3d;
}
.team-slider label,
.team-slider label div {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  color: white;
  font-size: 70px;
  font-weight: bold;
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 400ms ease;
}
.checked{
  box-shadow: 0 13px 26px rgba(0,0,0, 0.3), 0 12px 6px rgba(0,0,0, 0.2);
  transform: translate3d(0%, 0, 0px);
  background-image: url("../img/gallery/10.jpg");
  background-size: cover;
  background-position: center;
}
.checked1{
  box-shadow: 0 6px 10px rgba(0,0,0, 0.3), 0 2px 2px rgba(0,0,0, 0.2);
  transform: translate3d(20%, 0, -100px);
  background-image: url("../img/gallery/13.jpg");
  background-size: cover;
  background-position: center;
}
.checked2{
  box-shadow: 0 1px 4px rgba(0,0,0, 0.4);
  transform: translate3d(40%, 0, -250px);
  background-image: url("../img/gallery/1.jpg");
  background-size: cover;
  background-position: center;
}
.checked3{
  box-shadow: 0 6px 10px rgba(0,0,0, 0.3), 0 2px 2px rgba(0,0,0, 0.2);
  transform: translate3d(-20%, 0, -100px);
  background-image: url("../img/gallery/15.jpg");
  background-size: cover;
  background-position: center;
}
.checked4{
  box-shadow: 0 1px 4px rgba(0,0,0, 0.4);
  transform: translate3d(-40%, 0, -250px);
  background-image: url("../img/gallery/13.jpg");
  background-size: cover;
  background-position: center;
}
/* CONTACT */
.contact {
  background-image: url(../img/fotos-epr03/circuit/1.jpg);
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
  height: 300px;
}
.contact__inner{
  height: 100%;
  width: 100%;
  background-color: #1d1d1f78;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
}
.contact__inner h3{ 
  color: white;
  font-size: 40px;
}

@media screen and (max-device-width: 1115px) {
  .information__inner{
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: none;
  }
  .information_left{
    border-right: none !important;
  }
  .information_right{
    margin-top: 40px;
  }
  .boxes_down{
    justify-content: flex-start !important;
  }
  .boxes_up{
    margin-top: 0 !important;
  }
}

@media screen and (max-device-width: 768px) {
  .explication{
    height: unset;
  }
  .explication__inner{
    max-width: 95% !important;
  }
  .explication__inner h3{
    font-size: 2.5em !important;
  }
  .texto{
    width: 95% !important;
  }
  .texto p{
    font-size: 1em !important;
  }
  .texto p:last-child{
    margin-top: 25px !important;
    margin-bottom: 25px !important;
  }

  /* NOTICIAS */

  .lastnew{
    padding: unset;
  }
  .lastnew__title{
    margin-top: 20px;
    font-size: 2.3em;
  }
  .lastnew__inner{
    width: 90% !important;
    flex-direction: column;
    padding: 25px;
    border-radius: 10px;
  }
  .lastnew-text{
    box-sizing: border-box;
    width: 100%;
    text-align: justify;
  }
  .lastnew-text h2{
    text-align: center;
    font-size: 2em;
    margin-bottom: 15px;
  }
  .lastnew-text p{
    margin-bottom: 15px;
    word-break: break-all;
  }
  .lastnew-image{
    display: none;
  }
  .slider-dots{
    margin-bottom: 10px;
  }
  .slider-dots .dot{
    width: 15px;
    margin: 5px;
  }

  /* COUNTDOWN */
  .countdown-block{
    width: 80px;
  }
  .time-elem{
    width: 80px;
  }

  /* INFORMATION */

  .information_left{
    width: auto !important;
  }
  .information_right{
    width: auto !important;
  }

  /* MOTOSTUDENT */
  .classification{
    height: unset;
  }
  .classification__inner{
    padding: 20px !important;
    width: 80% !important;
    box-sizing: border-box;
    height: unset;
    margin-top: 15px;
    margin-bottom: 15px;
    overflow: hidden;
  }
  .classification__inner h2{
    box-sizing: border-box;
    max-width: 100%;
    font-size: 2.7em;
    margin-bottom: 20px;
    margin-top: 20px;
  }
  .classification__inner p{
    text-align: justify;
    margin-bottom: 15px;
  }
  .contact__inner h3{
    text-align: center;
  }
}

@media screen and (max-device-width: 465px) {

  
  /*HEADER*/
  header{
    max-width: 100vw;
    padding-right: 0;
  }

  /*EXPLICATION*/
  .explication{
    background-repeat: no-repeat;
    background-position: center;
    background-size: 300% !important;
    background-attachment: scroll;
  }
  
  /* LAST NEW */
  .lastnew__inner{
    width: 70% !important;
  }
  .news-button{
    margin:unset;
  }
  .lastnew-text p{
    word-break: unset;
  }
  .slider-dots{
    justify-content: center;
  }
  .lastnew__slider{
    max-width: 100%;
  }
  /* COUNTDOWN */
  .countdown__extern{
    background-repeat: no-repeat;
    background-size: 200% !important;
    background-attachment: scroll;
  }
  .countdown-block{
    width: 60px;
  }
  .time-elem{
    width: 77px;
    font-size: 3em;
  }
  .countdown-block .title{
    font-size: 1em !important;
  }
  .countdown{
    overflow: hidden;
  }
  .countdown__extern-overlay{
    overflow: hidden;
  }

  /* INFORMATION */
  .information_right{
    flex-wrap: wrap;
  }
  .boxes_up{
    margin-right: 0 !important;
    margin-bottom: 15px;
  }

  /* MOTOSTUDENT */
  .classification__inner{
    width: 90% !important;
  }
  .classification__inner h2{
    box-sizing: border-box;
    max-width: 100%;
    font-size: 2.2em;
    margin-bottom: 20px;
    margin-top: 20px;
  }
  /* CONTACT */
  .contact{
    background-repeat: no-repeat;
    background-size: 110% !important;
    background-attachment: scroll;
  }
  
}