@import url('https://fonts.googleapis.com/css?family=Montserrat:400,800');

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    background-image: url("/ClubConfianca/javax.faces.resource/login/aviao-moderno-2.jpg.xhtml?ln=imagem");
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #0d4989;
    opacity: 0.6;
    z-index: -1;
}

.logo-container {
    text-align: center;
    /*margin-top: -50px;*/
    margin-bottom: 50px;
    width: 100%;
}

.logo-container img {
    max-height: 100px;
}

@media (max-width: 768px) {
    .logo-container {
        margin-top: 30px;
        margin: 30px;
    }

    .logo-container img {
        max-height: 50px;
    }
}

@media (max-width: 480px) {
    .logo-container {
        justify-content: center;
        margin: 30px;
    }

    .logo-container img {
        /*max-height: 20px;*/
    }
}

.overlay-container {
    overflow: hidden;
    width: 100%;
}

.overlay {
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
}

.overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #0A67A9;
    opacity: 0.9;
    z-index: 1;
}

.overlay-panel {
    position: relative;
    z-index: 2;
    color: white;
    text-align: center;
    padding: 20px;
}

h1, h2 {
    font-weight: bold;
    margin: 0;
}

p {
    font-size: 14px;
    font-weight: 100;
    line-height: 20px;
    letter-spacing: 0.5px;
    margin: 20px 0 30px;
}

a {
    color: #0A67A9;
    font-size: 14px;
    text-decoration: none;
    margin: 15px 0;
}


button {
    border-radius: 20px;
    border: 1px solid #007bff;
    background-color: #0A67A9;
    color: #FFFFFF;
    font-size: 14px;
    font-weight: bold;
    padding: 12px 45px;
    letter-spacing: 1px;
    transition: transform 80ms ease-in;
    cursor: pointer;
}

button:active {
    transform: scale(0.95);
}

button:focus {
    outline: none;
}

button.ghost {
    background-color: transparent;
    border-color: #FFFFFF;
}

form {
    background-color: #FFFFFF;
    display: flex;
    justify-content: center;
    flex-direction: column;
    height: 100%;
    text-align: center;
    width: 100%;
}

input {
    background-color: #eee;
    border: none;
    padding: 12px 15px;
    margin: 8px 0;
    width: 100%;
    border-radius: 5px;
}

.input-group {
    margin-bottom: 0.5rem;
}

.container {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 14px 28px rgba(0,0,0,0.25),
        0 10px 10px rgba(0,0,0,0.22);
    position: relative;
    overflow: hidden;
    width: 90%;
    max-width: 900px;
    min-height: 500px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
}

.form-container {
    position: relative;
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.sign-in-container {
    z-index: 2;
    width: 100%;
}

.overlay-container {
    position: relative;
    height: 100%;
    overflow: hidden;
    z-index: 100;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.overlay {
    min-height: 20vh;
    background-image: url("/ClubConfianca/javax.faces.resource/login/image4.png.xhtml?ln=imagem");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    color: #FFFFFF;
    position: relative;
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.overlay-panel {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
}

.overlay-panel h1 {
    font-size: 24px;
    margin-bottom: 20px;
}

.overlay-panel p {
    font-size: 14px;
    max-width: 300px;
}

.checkbox-group {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 20px;
}

.checkbox-group .remember-me {
    display: flex;
    align-items: center;
    font-size: 12px;
    width: 40%;
}

.checkbox-group .remember-me label {
    margin-left: 5px;
}

.forgot-password-link {
    color: #0A67A9;
    font-size: 12px;
    text-decoration: none;
    margin-left: auto;
}

.forgot-password-link:hover {
    text-decoration: underline;
}

@media (min-width: 768px) {
    .container {
        flex-direction: row;
    }

    .form-container {
        width: 50%;
    }

    .overlay-container {
        flex-direction: column;
        left: 50%;
        width: 50%;
        height: 500px;
    }

    .sign-in-container {
        position: absolute;
        top: 0;
        left: 0;
    }

    .overlay {
        padding: 0;
    }

    .overlay-panel {
        padding: 0 40px;
    }

    .checkbox-group {
        justify-content: space-between;
    }
}

.footer-container {
    width: 100%;
    text-align: right;
    margin-top: 20px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding-right: 20px;
}

.footer-container img {
    max-height: 50px;
    width: auto;
}

@media (max-width: 768px) {
    .footer-container {
        padding-right: 10px;
    }

    .footer-container img {
        max-height: 30px;
    }
}

@media (max-width: 480px) {
    .footer-container {
        justify-content: center;
    }

    .footer-container img {
        max-height: 20px;
        margin-top: -5px;
        margin-bottom: 20px;
    }
}