*{
  margin: 0;
  padding: 0;
}

body{
  overflow-x: hidden;
}

.imageninicio{
  position: absolute;
  width: 100vw;
  height: 100vh;
  -webkit-animation-name:posInicio;
  -webkit-animation-duration: 5s;
  animation-name: posInicio;
  animation-duration: 3s;
  opacity: 0;
  overflow: hidden;
}

@-webkit-keyframes posInicio{
  from{ z-index: 1; opacity: 1;}
  to{z-index: 1; opacity: 0;}
}

@keyframes posInicio{
  from{z-index: 1; opacity: 1}
  to{z-index: 1; opacity: 0;}
}

/* Imagen de fondo del header */
header{
  width: 100vw;
  height: 100vh;
  min-width: 700px;
  min-height: 600px;
  background-image: url("../../img/ESCORP/headerESCORP16.jpg");
  background-position: bottom;
  background-size: cover;
  display: block;
  align-items: center;
  justify-content: center;
}

/* Titulo y eslogan posocion */
.header-content{
  margin-bottom: 150px;
  color: #FAFAFA;
  text-align: center;
  position: absolute;
  right: -10%; /* derecha */
 /*  left: 10%; */ /* izquierda */
  /* left: 50%; */ /* centro */
  top: 35%;
  transform: translateX(-50%) translateY(-50%);
}

.tittle span{
  font-size: 15vmin;
  font-weight: bold;
  position: relative;
  font-family: 'Oswald', sans-serif;
  cursor: pointer;
  transition: all 300ms ease-in-out;
}

.tittle span::before{
  content: var(--l);
  position: absolute;
  transform: scale(1.1);
  filter: blur(15px);
}

.tittle span::after{
  content: var(--l);
  position: absolute;
  top: 80%;
  left: 0;
  filter: blur(30px);
  transform: rotateX(50deg);
}

.tittle span:hover{
  filter: contrast(250%);
}

.tittle span:nth-child(n){
  color: #FAFAFA;
}

.eslogan{
  font-family: 'Water Brush', cursive;
  font-size: 4vmin;
}

.link{
  text-decoration: none;
  padding: 8px 15px;
  background: #fc036b;
  border-radius: 30px;
  color: white;
  justify-content: right;
  font-size: 2vmin;
  margin-bottom: 25px;
  cursor: pointer;
}

.link:hover{
  background: #1803fc6d;
  text-decoration: none;
}

.line{
  width: 200px;
  height: 4px;
  background: #fc036b;
  margin: 0px auto;
  border-radius: 5px;
}

/* ------------------Events-------------- */
section{
  width: 90%;
  margin: 20px auto;
  overflow: hidden;
}

.titulos_events{
  text-align: center;
  font-size: 5vmin;
  color: #0a0a0a;
  margin: 30px auto 0px;
}


.titulos{
  text-align: center;
  font-size: 4vmin;
  color: #0a0a0a;
}

.row{
  display: flex;
  align-items: center;
  width: auto;
  justify-content: space-between;
}

.row .col{
  width: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0px 10px;
  overflow: hidden;
}

.row .col .imagen{
  width: 100%;
  display: flex;
  flex-direction: column;
  margin: 0px 8px;
  position: relative;
  cursor: pointer;
  border-radius: 20px;
}

.row .col .imagen img{
  position: relative;
  width: 90%;
  height: 35vh;
  box-shadow: 0px 20px 30px -10px rgba(0, 0, 0, 1);
  object-fit: fill;
  border-radius: 20px;
}

.row .col .imagen .capa{
  width: 90%;
  height: 100%;
  top: 0%;
  color: white;
  position: absolute;
  background-color: rgba(	2,	21,	43, 0.8);
  transition: all 700ms ease-in;
  opacity: 0;
  visibility: hidden;
  text-align: center;
}

.row .col .imagen .capa h3{
  position: absolute;
  left: 50%; /* centro */
  top: 35%;
  transform: translateX(-50%) translateY(-50%);
  padding: 50% 40%;
}

.row .col .imagen:hover > .capa{
  opacity: 1;
  visibility: visible;
  border-radius: 20px;
}

/* muestra la capa cuando se da click en un boton con enlace pendiente */
.row .col .imagen .capa-active{
  width: 90%;
  height: 100%;
  top: 0%;
  color: white;
  position: absolute;
  background-color: rgba(	2,	21,	43, 0.8);
  transition: all 700ms ease-in;
  opacity: 1;
  visibility: visible;
  text-align: center;
  border-radius: 20px;
}

.row .col .imagen .capa-active h3{
  position: absolute;
  left: 50%; /* centro */
  top: 35%;
  transform: translateX(-50%) translateY(-50%);

}

.events .row{
  margin-top: 20px;
  margin-bottom: 10px;
}

.container-escorp{
  display: flex;
  font-size: 4vmin;
  color: #0a0a0a;
  margin: 20px auto 0px;
}

.italicas{
  margin-left: 5px;
  transform: translateY(30%);
  font-family: 'Water Brush', cursive;
  font-size: 3vmin;
}

/* ------------------Join US-------------- */
.join{
  width: 100%;
  height: 100vh;
  background-image: url("../../img/ESCORP/headerESCORP17.jpg");
  background-position: center 65%;
  background-size: cover;
  display: block;
  position: relative;
  margin-bottom: 0%;
}

.join-content{
  width: 50%;
  height: 100vh;
  color: rgb(6, 13, 109);
  margin-left: 20px;
  padding: 0%;
  position: absolute;
  bottom: 0%;
  transform: translateY(50%);
}

.titulos-join{
  color: rgb(6, 13, 109);
  font-size: 10vmin;
  margin: 0px;
  font-weight: bold;
  text-align: center;
}

.join-content .line{
  width: 40%;
  height: 7px;
  background: #fc036b;
  margin: 0px auto 25px;
  border-radius: 5px;
}

.parrafo{
  font-size: 4vmin;
  margin: 20px;
}

/* Pie de página */
.footer{
  width: 100%;
  min-height: 20px;
  padding: 2px 0px;
  margin: 0%;
  border-top: 4px solid blue;
  background: #000;
  text-align: center;
}

.footer p{
  color: #fff;
  margin: 10px auto;
  padding: 10px auto;
  font-style: italic;
  font-size: 2vmin;
}

@media screen and (max-width: 820px) {
  
  header{
    min-width: 0;
    min-height: 500px;
    background-position: right bottom;
    background-size: cover;
    /* overflow-y: scroll; */
  }

    /* titulo y esloganposicion */
  .header-content{
    bottom: 25%;
    left: 50%; /* CENTRO */ 
    justify-content: center;
    transform: translateX(-50%) translateY(-50%);
  }

  .eslogan{
    font-size: 5vmin;
  }

  .link{
    font-size: 2.5vmin;
  }

  .row .col .imagen img{
    width: 90%;
    height: 35vh;
    box-shadow: 0px 20px 30px -10px rgba(0, 0, 0, 1);
    object-fit: cover;
  }

  .join-content{
    width: 90%;
    transform: translateY(50%);
  }

  .titulos-join{
    color: rgb(6, 13, 109);
    font-size: 8vmin;
    margin: 10px;
    text-align: center;
  }
  
  .parrafo{
    text-align: center;
    margin-bottom: 20px;
  }

}

/* Pantalla telefono ancha*/
@media screen and (max-width: 520px) {

  .affix-top {
    padding-top: 40px;
    padding-bottom:20px;
  }

  /* Imagen de fondo del header */
  header{
    background-position: 60% top;
    background-size: cover;
    overflow-y: scroll;
  }

  /* titulo y esloganposicion */
  .header-content{
    top: 40%;
    left: 50%; /* CENTRO */
    justify-content: center;
  }

  .tittle span{
    font-size: 16vmin;
  }

  .eslogan{
    font-size: 5vmin;
  }
  
  .link{
    font-size: 3.5vmin;
    margin-bottom: 35px;
  }

  .titulos_events{
    font-size: 6vmin;
  }

  .titulos{
    font-size: 7vmin;
  }

  .italicas{
    font-size: 6vmin;
    transform: translateY(25%);
  }

  .row{
    display: block;
  }

  .row .col{
    width: 100%;
  }

  /* ------------------Join US-------------- */
  .join{
    background-position: center top;
  }

  .join-content{
    width: 90%;
    transform: translateY(60%);
  }

  .titulos-join{
    font-size: 8vmin;
    margin: 0px;
  }

  .join-content .line{
    width: 40%;
    height: 7px;
    background: #fc036b;
    margin: 0px auto 25px;
    border-radius: 5px;
  }

  .parrafo{
    font-size: 4vmin;
    margin: 20px;
  }

}

/* Pantalla telefono delgada*/
@media screen and (max-width: 300px) {

  .affix-top {
    padding-top: 40px;
    padding-bottom:20px;
  }

  /* Imagen de fondo del header */
  header{
    background-position: 60% center;
    background-size: cover;
    overflow-y: scroll;
  }

  /* titulo y esloganposicion */
  .header-content{
    top: 40%;
    left: 50%; /* CENTRO */
    justify-content: center;
  }

  .link{
    font-size: 3.5vmin;
    margin-bottom: 35px;
  }

  /* ------------------Events-------------- */
  section{
    margin: 0px auto;
  }

  /* ------------------Join US-------------- */
  .join-content{
    width: 90%;
    height: 100vh;
    color: rgb(6, 13, 109);
    margin-left: 20px;
    padding: 0%;
    position: absolute;
    bottom: 0%;
    transform: translateY(60%);
  }

  .join-content .line{
    width: 40%;
    height: 7px;
    background: #fc036b;
    margin: 0px auto 25px;
    border-radius: 5px;
  }

  .parrafo{
    font-size: 4vmin;
    margin: 20px;
    margin-bottom: 20px;
  }
  
}