/* BASIC */
html {
    background-color: #fa9542;
}

body {
    font-family: "Poppins", sans-serif;
    height: 100vh;
    margin: 0;
    padding: 0;
}

/* Solución global para inputs que se salgan */
*, *:before, *:after {
    box-sizing: border-box;
}

a {
    color: #92badd;
    display: inline-block;
    text-decoration: none;
    font-weight: 400;
}

h2 {
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    display: inline-block;
    margin: 40px 8px 10px 8px;
    color: #cccccc;
}

/* STRUCTURE */
.wrapper {
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    min-height: 100vh;
    padding: 20px;
}

#formContent {
    border-radius: 10px;
    background: #fff;
    padding: 30px 20px;
    width: 100%;
    max-width: 450px;
    position: relative;
    box-shadow: 0 30px 60px 0 rgba(0, 0, 0, 0.3);
    text-align: center;
}

#formFooter {
    background-color: #f6f6f6;
    border-top: 1px solid #dce8f1;
    padding: 25px;
    text-align: center;
    border-radius: 0 0 10px 10px;
}

/* TABS */
h2.inactive {
    color: #cccccc;
}

h2.active {
    color: #0d0d0d;
    border-bottom: 2px solid #5fbae9;
}

/* FORM TYPOGRAPHY */
input[type=button],
input[type=submit],
input[type=reset] {
    background-color: #f8750a;
    border: none;
    color: white;
    padding: 15px 40px;
    text-align: center;
    text-transform: uppercase;
    font-size: 13px;
    box-shadow: 0 10px 30px 0 rgba(95, 186, 233, 0.4);
    border-radius: 5px;
    margin: 5px 0 30px 0;
    transition: all 0.3s ease-in-out;
    width: 100%;
    max-width: 300px;
}

input[type=button]:hover,
input[type=submit]:hover,
input[type=reset]:hover {
    background-color: #fa9542;
}

input[type=button]:active,
input[type=submit]:active,
input[type=reset]:active {
    transform: scale(0.95);
}

input[type=text],
input[type=password] {
    background-color: #f6f6f6;
    border: 2px solid #f6f6f6;
    color: #0d0d0d;
    padding: 15px;
    text-align: center;
    font-size: 16px;
    margin: 10px auto;
    width: 100%;
    max-width: 100%;
    border-radius: 5px;
    transition: all 0.5s ease-in-out;
    display: block;
}

input[type=text]:focus,
input[type=password]:focus {
    background-color: #fff;
    border-bottom: 2px solid #5fbae9;
}

input::placeholder {
    color: #cccccc;
}

#password {
    -webkit-text-security: disc;
    input-security: disc;
}

/* ANIMATIONS */
.fadeInDown {
    animation-name: fadeInDown;
    animation-duration: 1s;
    animation-fill-mode: both;
}

@keyframes fadeInDown {
    0% {
        opacity: 0;
        transform: translate3d(0, -100%, 0);
    }
    100% {
        opacity: 1;
        transform: none;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.fadeIn {
    opacity: 0;
    animation: fadeIn ease-in 1;
    animation-fill-mode: forwards;
    animation-duration: 1s;
}

.fadeIn.first {
    animation-delay: 0.4s;
}

.fadeIn.second {
    animation-delay: 0.6s;
}

.fadeIn.third {
    animation-delay: 0.8s;
}

.fadeIn.fourth {
    animation-delay: 1s;
}

/* UNDERLINE */
.underlineHover:after {
    display: block;
    left: 0;
    bottom: -10px;
    width: 0;
    height: 2px;
    background-color: #56baed;
    content: "";
    transition: width 0.2s;
}

.underlineHover:hover {
    color: #0d0d0d;
}

.underlineHover:hover:after {
    width: 100%;
}

h1 {
    color: #60a0ff;
}

/* OTHERS */
*:focus {
    outline: none;
}

#icon {
    width: 380px;
    margin: 20px auto;
    display: block;
}
