@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;500;700&display=swap');

*{
    margin: 0;
    padding: 0;
}

.js-loading *,
.js-loading *:before,
.js-loading *:after {
animation-play-state: paused !important;
}

body{
    margin: 0;
    padding: 0;
    color: #312782;
    font-family: 'Montserrat', sans-serif;
    max-width: 100vw;
    max-height: 100vh;
}

.main{
    margin: 0 auto;
    width: 100%;
    max-width: 600px;
    position: relative;
    background-color: #f5f5f7;
    z-index: 1;
    background-image: url(../img/back-general.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.back-1{
    background-image: url(../img/top-back.png);
    background-position: center top;
    background-repeat: no-repeat;
    background-size: 200px;
    width: 100%;
    height: 100%;
    z-index: -3;
    animation: topAnim 0.5s linear 1;
    top: 0;
    left: 0;
    position: absolute;
}

.back-2{
    background-image: url(../img/back-mid.png);
    background-position: 0px 40%;
    background-repeat: no-repeat;
    background-size: contain;
    width: 100%;
    height: 100%;
    z-index: -2;
    animation: midAnim 2s linear 1;
    top: 0;
    left: 0;
    position: absolute;
    animation-delay: -1s;
}

.back-3{
    background-image: url(../img/back-general.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
    height: 100vh;
    z-index: -10;
    animation: botAnim 4s linear 1;
    top: 0;
    left: 0;
    position: absolute;
    animation-delay: -2s;
}

.contenido{
    z-index: 10;
    width: 100%;

    top: 0;
    left: 0;
    padding-bottom: 20px;
}

h1{
    font-size: 2.8em;
    font-family: 'Montserrat', sans-serif;
    text-align: center;
    font-weight: normal;
    margin: 0px;
    line-height: 1em;
}

h2{
    font-size: 1.2em;
    font-family: 'Montserrat', sans-serif;
    text-align: center;
    margin: 0px;
    font-weight: 400;
}

.logo{
    text-align: center;
    display: block;
    padding-top: 150px;
    margin: 0px 12% 60px;
    opacity: 0;
    animation-delay: 1s;
    animation-duration: 0.5s;
    animation-fill-mode: forwards;
    animation-name: opacity;
}

.asesor{
    margin-bottom: 60px;
    text-align: center;
    opacity: 0;
    animation-delay: 1s;
    animation-duration: 0.5s;
    animation-fill-mode: forwards;
    animation-name: opacity;
}

.asesor img{
    max-width: 280px;
}

.logo > img{
    height: 110px;
}

.nombre{
    opacity: 0;
    animation-delay: 2s;
    animation-duration: 0.5s;
    animation-fill-mode: forwards;

    animation-name: fade-left;
}

.cargo{
    border-top: 1px solid #312782;
    padding: 5px 0px 5px;
    opacity: 0;
    animation-delay: 2.5s;
    animation-duration: 0.5s;
    animation-fill-mode: forwards;
    animation-name: fade-up;
}
.qr{
    text-align: center;
    padding: 30px;
    opacity: 0;
    animation-delay: 3s;
    animation-duration: 0.5s;
    animation-fill-mode: forwards;
    animation-name: fade-up;
}

.qr img{
    max-width: 100px;
}

@keyframes opacity{
    0% {
      opacity: 0;
    }
    100% {
      opacity: 1;
    }
}

@keyframes zoom-in{
    0% {
      opacity: .2;
      transform: scale(0);
    }
    100% {
      opacity: 1;
      transform: scale(1);
    }
}

@keyframes fade-left {
    0% {
      opacity: .2;
      transform: translateX(20px);
    }
    100% {
      opacity: 1;
      transform: translateX(0);
    }
}

@keyframes fade-right {
    0% {
      opacity: .2;
      transform: translateX(-20px);
    }
    100% {
      opacity: 1;
      transform: translateX(0);
    }
}

@keyframes fade-up {
    0% {
      opacity: .1;
      transform: translateY(40px);
    }
    100% {
      opacity: 1;
      transform: translateY(0);
    }
}

@keyframes topAnim {
	0% { background-position: 0px -60px; opacity: 0; }
    100% { background-position: 0px 0px; opacity: 1;}
}

@keyframes midAnim {
	0% { 
        transform: translateX(80px); 
        opacity: 0; 
    }
    75% { 
        transform: translateX(80px); 
        opacity: 0; 
    }
    100% { 
        transform: translateX(0px);
        opacity: 1;
    }
}

@keyframes botAnim {
	0% { opacity: 0; }
    75% { opacity: 0; }
    100% { opacity: 1;}
}

.botones{
    display: grid;
    grid-template-columns: 20% 25% 10% 25% 20%;
    max-width: 800px;
    margin: auto;
    opacity: 0;
    animation-delay: 3s;
    animation-duration: 0.5s;
    animation-fill-mode: forwards;
    animation-name: zoom-in;
    margin-bottom: 40px;
}

.boton{
    font-size: 0.8em;
    text-align: center;
    padding: 10%;
    background: #fff;
    margin: 0px;
    border-radius: 20px;
    box-shadow: 5px 5px 15px #00000054;
}

.boton a{
    font-size: 1.3em;
    text-decoration: none;
    color: #000;
    font-style: italic;
    font-weight: 500;
}

.boton img{
    width: 80%;
}

.espaciador{
    display: block;
    height: 40px;
}

.boton-red{
    padding: 10px;
    background: #fff;
    width: 80%;
    margin: 20px auto;
    border-radius: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 5px 5px 2px #5c5c5cdd;
}
.boton-red img{
    height: 60px;
    margin-right: 20px;
}

a{
    color: #302782;
    text-decoration: none;
}
a:visited{
    color: #302782;
}



.redes{
    opacity: 0;
    text-align: center; 
    margin: 40px 30px 20px;
    animation-delay: 3.5s;
    animation-duration: 0.5s;
    animation-fill-mode: forwards;
    animation-name: fade-up;
    display: flex;
    flex-direction: row;
    justify-content: center
}
.redes a{
    margin: 0px 25px;
}

.texto{
    width: fit-content;
    margin: auto;
    background: #ffffffbd;
    padding: 20px;
    margin-bottom: 40px;
}
.siguenos{
    padding: 10px;
    background: #302782;
    color: #fff;
    font-weight: 400;
    text-align: center;
}
.siguenos p{
    margin: 0 0 10px;
}
.siguenos img{
    margin: 0 10px 0;
}
@media  (orientation: landscape) {

    .back-2{
        background-position: 0px 50%;
    }
    
}
@media (max-width: 600px){
    .boton a {
        font-size: 0.9em;
    }
}