﻿@import url('https://fonts.googleapis.com/css?family=Poppins');

/* BASE */
html {
    background-color: #56baed;
}

body {
    font-family: "Poppins", sans-serif;
    height: 100vh;
    margin: 0;
}

a {
    color: #92badd;
    text-decoration: none;
    font-weight: 400;
    display: inline-block;
}

h2 {
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    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 {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 30px 60px 0 rgba(0,0,0,0.3);
    padding: 30px 0 0 0;
    width: 1120%;
    max-width: 400px;
    text-align: center;
    margin: auto;

}

#formFooter {
    background-color: #f6f6f6;
    border-top: 1px solid #dce8f1;
    padding: 25px;
    text-align: center;
    border-radius: 0 0 10px 10px;
}

#icon {
    width: 60%;
    margin: 30px auto 10px auto;
    display: block;
}

/* CAMPOS LOGIN */
.campo-login {
    width: 85%;
    margin: 0 auto 16px auto;
    display: block;
}

/* INPUTS E SELECT2 */
input[type=text],
input[type=password] {
    background-color: #f6f6f6 !important;
    border: 2px solid #f6f6f6 !important;
    border-radius: 5px !important;
    color: #0d0d0d !important;
    padding: 15px 32px !important;
    font-size: 16px !important;
    margin: 0 auto 16px auto !important;
    width: 85% !important;
    height: 58px !important;
    box-sizing: border-box !important;
    text-align: center !important;
    transition: all 0.5s ease-in-out;
    display: block !important;
}

input[type=password] {
    margin-bottom: 20px !important;
}

    input[type=text]:focus,
    input[type=password]:focus {
        background-color: #fff !important;
        border-bottom: 2px solid #5fbae9 !important;
        outline: none;
    }

input::placeholder {
    color: #cccccc;
    text-align: center;
}

/* SELECT2 - FORÇA VISUAL E ALINHAMENTO */
.select2-container {
    width: 100% !important; /* Preenche 100% da div/form */
    margin: 0 auto 16px auto !important;
    display: block !important;
    min-width: 0 !important;
    max-width: none !important;
}

.select2-container--default .select2-selection--single {
    background-color: #f6f6f6 !important;
    border: 2px solid #f6f6f6 !important;
    border-radius: 5px !important;
    color: #0d0d0d !important;
    height: 58px !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
}

.select2-selection__rendered {
    color: #0d0d0d !important;
    text-align: center !important;
    line-height: 58px !important;
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
    font-size: 16px !important;
    font-family: "Poppins", sans-serif !important;
}

.select2-container--default.select2-container--focus .select2-selection--single {
    background-color: #fff !important;
    border-bottom: 2px solid #5fbae9 !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    position: absolute;
    height: 100% !important;
}

/* Centraliza opções dropdown */
.select2-results__option {
    text-align: center !important;
    font-size: 16px !important;
    padding: 10px 0 !important;
    font-family: "Poppins", sans-serif !important;
}

/* BOTÃO */
input[type=submit], input[type=button], input[type=reset] {
    background-color: #56baed;
    border: none;
    color: white;
    padding: 15px 0;
    text-transform: uppercase;
    font-size: 16px;
    border-radius: 5px;
    margin: 20px auto 10px auto;
    width: 85%;
    box-shadow: 0 10px 30px 0 rgba(95,186,233,0.4);
    transition: all 0.3s ease-in-out;
    display: block;
    text-align: center;
}

    input[type=submit]:hover, input[type=button]:hover, input[type=reset]:hover {
        background-color: #39ace7;
    }

    input[type=submit]:active, input[type=button]:active, input[type=reset]:active {
        transform: scale(0.97);
    }

/* ANIMAÇÕES */
.fadeInDown {
    animation: fadeInDown 1s both;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translate3d(0, -100%, 0);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

.fadeIn {
    opacity: 0;
    animation: fadeIn 1s ease-in forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.fadeIn.first {
    animation-delay: 0.4s;
}

.fadeIn.second {
    animation-delay: 0.6s;
}

.fadeIn.third {
    animation-delay: 0.8s;
}

.fadeIn.fourth {
    animation-delay: 1s;
}

/* LINKS */
.underlineHover:after {
    content: "";
    display: block;
    height: 2px;
    width: 0;
    background-color: #56baed;
    margin: 0 auto;
    transition: width 0.2s;
}

.underlineHover:hover {
    color: #0d0d0d;
}

    .underlineHover:hover:after {
        width: 100%;
    }

/* GERAL */
*:focus {
    outline: none;
}

* {
    box-sizing: border-box;
}
