/* Generales */

body {
    /* background-color: #1A2D52; */
    background-image: url(../img/GECEfondo.jpg);
}

.centrar {
    position: absolute;
    left: 50%;
    transform: translate( -50%);
    /* (izq a derecha, arriba abajo */
}

/* Diseño */

.box {
    /* background-color: #1A2D52; */
    height: 530px;
}

.base {
    background: #fff;
    height: 100%;
    width: 330px;
    margin-bottom: 80px;
    position: relative;
    padding: 0;
    box-shadow: 0px -1px 10px 10px rgba(0, 0, 0, 0.3);
}

.base:before {
    border-top: 80px solid #fff;
    border-left: 165px solid transparent;
    border-right: 165px solid transparent;
    content: "";
    height: 0;
    width: 0;
    left: 0;
    position: absolute;
    bottom: -80px;
}

.shad {
    filter: drop-shadow(0 15px 5px rgba(0, 0, 0, 0.3));
}

/* Logo */

.imagen {
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.imagen img {
    max-width: 120px;
}

/* Inputs */

.input-wrap {
    display: inline-block;
    position: relative;
    border-bottom: 2px solid transparent;
    border-left: 2px solid transparent;
    height: 40px;
    width: 85%;
    left: 50%;
    transform: translate(-50%);
}

.user::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    height: 100%;
    width: 14%;
    border: 2px solid #1A2D52;
    border-top: none;
    border-right: none;
    background-image: url(../img/user.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 65%;
}

.input-wrap::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    height: 100%;
    width: 12.5%;
    border: 2px solid #1A2D52;
    border-bottom: none;
    border-left: none;
}

.input-wrap input {
    background-color: rgba(26, 45, 82, 0.2);
    height: 100%;
    width: 100%;
    border: none;
    padding: 15px 25px 15px 25px;
    color: #1A2D52 !important;
    font-size: 20px;
    text-align: center;
    display: flex;
    justify-content: center;
}

.input-wrap input::-webkit-input-placeholder {
    color: #1A2D52;
}

.input-wrap input:-ms-input-placeholder {
    color: #1A2D52;
}

.input-wrap input::-moz-placeholder {
    /* Firefox 19+ */
    color: #1A2D52;
}

.input-wrap input:focus {
    outline: none;
    box-shadow: 0px 3px 5px 0px rgba(0, 0, 0, 0.3);
}

.pass::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    height: 100%;
    width: 14%;
    border: 2px solid #1A2D52;
    border-top: none;
    border-right: none;
    background-image: url(../img/pass.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 65%;
}

/* Mensaje */

.caja-aviso {
    height: 30px;
    width: 100%;
    color: tomato;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

/* Boton */

.montana {
    position: absolute;
    bottom: 18%;
    background-image: url(../img/boton.svg);
    background-repeat: no-repeat;
    background-position: center;
    /* border: 1px solid #1A2D52; */
    width: 50%;
    height: 15.2%;
    z-index: 3;
    cursor: pointer !important;
    padding: 0px !important;
}

.montana:hover {
    filter: drop-shadow(0 0px 5px rgba(0, 0, 0, 0.2));
}

.montana:focus {
    box-shadow: none;
}

/* Chevron */

.chevron {
    position: relative;
    text-align: center;
    margin-bottom: 6px;
    height: 105px;
    width: 100%;
    top: 17%;
    z-index: 1;
}

.chevron:before {
    content: '';
    position: absolute;
    top: 0;
    left: -1px;
    height: 100%;
    width: 50.5%;
    background: #1A2D52;
    transform: skew(0deg, 25.9deg);
}

.chevron:after {
    content: '';
    position: absolute;
    top: 0;
    right: -1px;
    height: 100%;
    width: 50.5%;
    background: #1A2D52;
    transform: skew(0deg, -26deg);
}

.chevron-text {
    position: absolute;
    z-index: 2;
    font-size: 2.9rem;
    font-weight: 700;
    letter-spacing: 4px;
    color: #fff;
    top: 43%;
    left: 50%;
    transform: translate(-50%);
}

/* Efectos con JS*/

.error2 {
    filter: drop-shadow(0 15px 15px rgba(255, 54, 54, 1));
}

.error1 {
    -webkit-box-shadow: 0px -1px 15px 5px rgba(255, 54, 54, 1);
    box-shadow: 0px -1px 15px 5px rgba(255, 54, 54, 1);
    /* box-shadow: 0px -1px 10px 10px rgba(0, 0, 0, 0.3); */
    -moz-animation: alert 2s linear 0s 1 normal;
    -ms-animation: alert 2s linear 0s 1 normal;
    animation: alert 2s linear 0s 1 normal;
}

@-webkit-keyframes alert {
    0% {
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }
    5% {
        -webkit-transform: translateX(-7px);
        transform: translateX(-7px);
    }
    10% {
        -webkit-transform: translateX(7px);
        transform: translateX(7px);
    }
    15% {
        -webkit-transform: translateX(-7px);
        transform: translateX(-7px);
    }
    20% {
        -webkit-transform: translateX(7px);
        transform: translateX(7px);
    }
    25% {
        -webkit-transform: translateX(-7px);
        transform: translateX(-7px);
    }
    30% {
        -webkit-transform: translateX(7px);
        transform: translateX(7px);
    }
    35% {
        -webkit-transform: translateX(-7px);
        transform: translateX(-7px);
    }
    40% {
        -webkit-transform: translateX(7px);
        transform: translateX(7px);
    }
    45% {
        -webkit-transform: translateX(-7px);
        transform: translateX(-7px);
    }
    50% {
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }
}

@keyframes alert {
    0% {
        -ms-transform: translateX(0);
        transform: translateX(0);
    }
    5% {
        -ms-transform: translateX(-7px);
        transform: translateX(-7px);
    }
    10% {
        -ms-transform: translateX(7px);
        transform: translateX(7px);
    }
    15% {
        -ms-transform: translateX(-7px);
        transform: translateX(-7px);
    }
    20% {
        -ms-transform: translateX(7px);
        transform: translateX(7px);
    }
    25% {
        -ms-transform: translateX(-7px);
        transform: translateX(-7px);
    }
    30% {
        -ms-transform: translateX(7px);
        transform: translateX(7px);
    }
    35% {
        -ms-transform: translateX(-7px);
        transform: translateX(-7px);
    }
    40% {
        -ms-transform: translateX(7px);
        transform: translateX(7px);
    }
    45% {
        -ms-transform: translateX(-10px);
        transform: translateX(-10px);
    }
    50% {
        -ms-transform: translateX(0);
        transform: translateX(0);
    }
}