/* RESET */
*{
    margin: 0;
    padding: 0;
    font-family: Helvetica;
}

/* BODY */
body{
    background-image: url(background.png);
}

/* HEADER */
header{
    height: 100px;
    background: #e0e3ff;
    padding: 0 50px;
    color: #313556;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo{
    height: 90px;
    width: auto;
}

.menu a{
    color: #313556;
    text-transform: uppercase;
    text-decoration: none;
    font-size: 20px;
    font-weight: bold;
    padding: 0 10px;
    transition: 0.4s
}

.mostrar-menu,
.esconder-menu{
    font-size: 30px;
    cursor: pointer;
    display: none;
    transition: 0.4s;
}

.mostrar-menu{
    order: 1;
}

.menu a:hover,
.mostrar-menu:hover,
.esconder-menu:hover{
    color: #0e1b8a;
}

#check{
    display: none;
}

/* REPATRIACION VENTA */
#repatriacion-venta{
    display: flex;
    padding: 10px 10px 0 10px;
    justify-content: center;
    text-align: center;
}

.contenido-venta{
    margin: 0 auto;
}

.boton-atras,
.boton-comprar{
    display: inline-block;
    text-decoration: none;
    color: #313556;
    padding: 10px 30px;
    border: 3px solid #313556;
    border-radius: 30px;
    margin-top: 15px;
    transition: all 0.4s;
}

#plan-botones{
    display: flex;
    justify-content: center;
    text-align: center;
}

.boton{
    padding: 0 20px 10px 20px;
}

.boton-atras:hover,
.boton-comprar:hover{
    background: #505791;
    color: #f5f5f5;
}

/* POP UP */
.overlay{
    background: rgba(0, 0, 0, .3);
    position: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    visibility: hidden;
}

.overlay.active{
    visibility: visible;
}

.pop-up{
    margin-top: 100px;
    margin-left: 1200px;
    margin-bottom: 400px;
    background: #e0e3ff;
    box-shadow: 0px 0px 5px 5px rgba(49, 53, 86, 0.3);
    border: 3px solid rgba(255, 238, 48, 1);
    border-radius: 5px;
    padding: 20px;
    text-align: center;
    width: 500px;
    opacity: 0;
    transition: .4s ease all;
    transform: scale(.7);
}

.pop-up .cerrar-pop-up{
    font-size: 16px;
    line-height: 16px;
    display: block;
    text-align: right;
    color: #bac2ff;
    transition: .4s ease all;
}

.pop-up .cerrar-pop-up:hover{
    color: #313556;
}

.pop-up .pop-up-titulo{
    font-size: 40px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #313556;
    opacity: 0;
}

.pop-up .pop-up-subtitulo{
    font-size: 40px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #313556;
    opacity: 0;
}

.pop-up .pop-up-subtitulo2{
    font-size: 40px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #313556;
    opacity: 0;
}

.pop-up form input{
    width: 100%;
    height: 40px;
    line-height: 40px;
    font-size: 20px;
    text-align: center;
    border: 1px solid rgba(49, 53, 86, .3);
    opacity: 0;
}

.pop-up .pop-up-comprar{
    display: inline-block;
    text-decoration: none;
    color: #313556;
    border-radius: 30px;
    margin-top: 15px;
    transition: all 0.4s;
    background: #e0e3ff;
    cursor: pointer;
}

.pop-up .pop-up-comprar:hover{
    background: #505791;
    color: #f5f5f5;
}

#pop-up-comprar{
    display: inline-block;
    text-decoration: none;
    color: #313556;
    padding: 10px 30px;
    border: 3px solid #313556;
    border-radius: 30px;
    transition: all 0.4s;
    background: #e0e3ff;
    cursor: pointer;
}

#pop-up-comprar:hover{
    background: #505791;
    color: #f5f5f5;
}

/* ANIMACIONES POP UP */
.pop-up.active{
    opacity: 1;
    transform: scale(1);
}

.pop-up.active .pop-up-titulo{
    animation: EntradaTitulo 1s ease .4s forwards;
}

.pop-up.active .pop-up-subtitulo{
    animation: EntradaSubtitulo 1s ease .4s forwards;
}

.pop-up.active .pop-up-subtitulo2{
    animation: EntradaSubtitulo2 2s ease 2.4s forwards;
}

.pop-up.active form input{
    animation: EntradaForm 2s ease 2.4s forwards;
}

@keyframes EntradaTitulo{
    from{
        transform: translateY(-25px);
        opacity: 0;
    }
    to{
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes EntradaSubtitulo{
    from{
        transform: translateY(25px);
        opacity: 0;
    }
    to{
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes EntradaSubtitulo2{
    from{
        opacity: 0;
    }
    to{
        opacity: 1;
    }
}

@keyframes EntradaForm{
    from{
        opacity: 0;
    }
    to{
        opacity: 1;
    }
}

/* CONTACTANOS */
#contactanos{
    background: #d1d6ff;
    padding: 30px 0 50px 0;
    color: #313556;
    }
    
    #contactanos h4{
        text-align: center;
        font-size: 24px;
        margin-bottom: 20px;
    }
    
    #contactanos form{
        max-width: 80%;
        margin: 0 auto;
    }
    
    .datos-contactanos{
        display: flex;
    }
    
    .datos-contactanos div{
        padding: 10px;
        flex: 1;
    }
    
    form label{
        display: block;
        margin-bottom: 10px;
    }
    
    form input,
    form textarea{
        background: #d1d6ff;
        border-radius: 10px;
        border: 2px solid #f5f5f5;
        padding: 10px 5px;
        outline: 0;
        width: 100%;
    }
    
    form input:focus,
    form textarea:focus{
        border-color: #0e1b8a;
        box-shadow: 0 0 0 1px #0e1b8a;
    }
    
    form input::placeholder,
    form textarea::placeholder{
        color: #313556;
    }
    
    .mensaje{
        display: flex;
        flex-direction: column;
        padding: 10px;
        height: 160px;
    }
    
    .boton-contactanos .boton-enviar-mensaje{
        display: block;
        text-decoration: none;
        color: #313556;
        padding: 10px 30px;
        border: 3px solid #fff;
        border-radius: 30px;
        margin-top: 15px;
        transition: all 0.4s;
    }
    
    .boton-contactanos .boton-enviar-mensaje:hover{
        color: #e0e3ff;
        background: #919cff;
        border: 1px solid #0e1b8a;
    }
    
/* FOOTER */
footer{
    padding: 0 50px;
    background: #e0e3ff;
}

.contenido-telefonos{
    padding: 0 50px;
    display: flex;
    justify-content: center;
    text-align: center;
}

.contenido-telefonos div{
    flex: 1;
    margin: 20px 0;
    border-right: 2px solid rgba(191, 157, 255, 0.4);
}

.contenido-telefonos p{
    font-size: 32px;
    color: #313556;
}

#primer-icono{
    display: flex;
    flex-wrap: wrap;
}

#hrs{
    font-size: 24px;
    color: #313556;
    margin-top: 6px;
}

.contenido-telefonos div i{
    color: #313556;
    font-size: 48px;
}

.contenido-iconos{
    padding: 0 50px;
    display: flex;
    justify-content: center;
    text-align: center;
}

.contenido-iconos div{
    flex: 1;
    margin: 20px 0;
    border-right: 2px solid rgba(191, 157, 255, 0.4);
}

.contenido-iconos div i{
    color: #313556;
    font-size: 48px;
}

.contenido-iconos div i:hover{
    color: #0e1b8a;
}

#ultimo-icono{
    border: none;
}

/* RESPONSIVE */
@media(max-width: 768px){
    /* HEADER */
    .logo{
        height: 70px;
        width: auto;
    }
    
    .mostrar-menu,
    .esconder-menu{
        display: block;
    }

    .menu{
        position: fixed;
        width: 100%;
        height: 100vh;
        background: #e0e3ff;
        right: -100%;
        top: 0;
        text-align: center;
        padding: 100px 0;
        z-index: 100;
        transition: 0.8s;
    }

    .menu a{
        display: block;
        padding: 20px;
    }

    .esconder-menu{
        position: absolute;
        top: 40px;
        right: 40px;
    }

    #check:checked ~ .menu{
        right: 0;
    }

    /* REPATRIACION VENTA */
    .contenido-venta img{
        width: 100%;
        height: auto;
    }

    /* POP UP */
    .pop-up{
        margin-top: 300px;
        margin-bottom: 0px;
        margin-left: 0px;
    }

    .pop-up .pop-up-titulo{
        font-size: 32px;
        font-weight: bold;
        margin-bottom: 10px;
        color: #313556;
        opacity: 0;
    }
    
    .pop-up .pop-up-subtitulo{
        font-size: 32px;
        font-weight: bold;
        margin-bottom: 10px;
        color: #313556;
        opacity: 0;
    }
    
    .pop-up .pop-up-subtitulo2{
        font-size: 32px;
        font-weight: bold;
        margin-bottom: 10px;
        color: #313556;
        opacity: 0;
    }
    
    /* CONTACTANOS */
    .datos-contactanos{
        flex-direction: column;
        width: 90%;
    }

    /* FOOTER */
    footer{
        padding: 0;
        background: #e0e3ff;
    }

    .contenido-telefonos{
        display: flex;
        flex-direction: column;
        justify-content: center;
        text-align: center;
    }
    
    .contenido-telefonos div{
        flex: 1;
        border-right: none;
    }

    .contenido-telefonos p{
        font-size: 24px;
        color: #313556;
    }

    #hrs{
        font-size: 16px;
        color: #313556;
        margin-top: 6px;
    }

    .contenido-telefonos div i{
        color: #313556;
        font-size: 32px;
        padding: 0 10px;
    }

    .contenido-iconos div i{
        color: #313556;
        font-size: 32px;
        padding: 0 10px;
    }
}