/*******************************************

    INDEX.HERO

********************************************/

#hero {
    position: relative;
    width: 100%;

    background-image: url(../img/index/hero.png);
    background-position: center;
    background-size: cover;
    background-clip: content-box;
    /* filter: brightness(50%); */
}

#hero-text {
    max-width: 600px;
    color: white;
    text-align: center;
    margin: auto;
    padding-top: 150px;
    padding-bottom: 150px;
}

#hero-text h1 {
    font-weight: 500;
    font-size: 2em;
    color: white;
}

#hero-text h3 {
    font-weight: 300;
    font-size: 1.25em;
    color: white;
}

@media only screen and (max-width: 800px) {
    #hero-text {
        max-width: 600px;
        color: white;
        text-align: center;
        margin: auto;
        padding-top: 50px;
        padding-bottom: 50px;
    }
}

/*******************************************

    INDEX.PRELOADER

********************************************/

html {
    box-sizing: border-box;
    font-size: 100%;
  }
  *, *:before, *:after {
    box-sizing: inherit;
  }
  
  /* ====  Preloader styles ==== */
  #hola{
      width: 100vw;
      height: 100vh;
      background-color: #252328;
      position: fixed;
      z-index: 999;
  }
  #preloader {
      position:relative;
      width: 80px;
      height: 80px;
      top: 45%;
      margin: 0 auto;
  }
  #preloader span {
      position:absolute;
      border: 8px solid rgb(39, 101, 143);
      border-top: 4px solid transparent;
      border-radius:999px;
  }
  
  #preloader span:nth-child(1){
      width:80px;
      height:80px;
      animation: spin-1 2s infinite linear;
  }
  #preloader span:nth-child(2){
      top: 20px;
      left: 20px;
      width:40px;
      height:40px;
      animation: spin-2 1s infinite linear;
  }
  @keyframes spin-1 {
      0% {transform: rotate(360deg); opacity: 1;}
      50% {transform: rotate(180deg); opacity: 0.5;}
      100% {transform: rotate(0deg); opacity: 1;}
  }
  @keyframes spin-2 {
      0% {transform: rotate(0deg); opacity: 0.5;}
      50% {transform: rotate(180deg); opacity: 1;}
      100% {transform: rotate(360deg); opacity: 0.5;}
  }

/* ====  Page layout ==== */
.page-wrap{
    overflow-x: hidden;
    height: 100vh;
}

.indexEverything{
  height: 100vh;
  position: relative;
  background-color: #F2F6F2;
  display: flex;
  justify-content: center;
  align-items: center;
}
.indexEverything:before{
  position: absolute;
  width: 50%;
  height: 100%;
  z-index: 10;
  top: 0;
  left: 0;
  content: '';
  background-color: #F2F6F2;
}
.indexEverything:after{
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 10;
  top: 0;
  right: 0;
  content: '';
  background-color: #F2F6F2;
}
.animate-border{
  border: 20px solid #EDEBE6;
  transition: border .5s .2s ease;
}
.indexEverything.divide:before{
  transition: all .6s 1.2s cubic-bezier(0.645, 0.045, 0.355, 1.000);
  width: 0;
}
.indexEverything.divide:after{
  transition: all .6s 1.2s cubic-bezier(0.645, 0.045, 0.355, 1.000);
  width: 0;
}
.text-wrap{
    width: 100%;
    max-width: 44rem;
    text-align: center;
}
h1{
    font-size: 4rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    margin-bottom: 3rem;
}
p{
    font-size: 1rem;
    line-height: 1.4;
}

@media screen and (max-width:1024px){
  html{
    font-size: 92.5%;
  }
}
@media screen and (max-width:640px){
  html{
    font-size: 86%;
  }
  p{
    font-size: 1.1rem;
  }
}