/**************************************
 *
 * STYLESHEET AUTH.php
 * Author : TeamDev
 * Ollandini 2018
 *
 **************************************/

@import url('http://fonts.googleapis.com/css?family=Open+Sans:400,300');
@import url('http://fonts.googleapis.com/css?family=Lato:400,700,300');


/* Animations */
@keyframes slideInFromBottom {
    0% {
        transform: translateY(-20%);
        opacity: 0;
    }
    100% {
        transform: translateY(-40%);
        opacity: 1;
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes zoomInBlur {
    0% {
        transform: scale(1);
    }
    60% {
        -webkit-filter: blur(0);
        -moz-filter: blur(0);
        -o-filter: blur(0);
        -ms-filter: blur(0);
        filter: blur(0);
    }
    100% {
        transform: scale(1.2);
        -webkit-filter: blur(8px);
        -moz-filter: blur(8px);
        -o-filter: blur(8px);
        -ms-filter: blur(8px);
        filter: blur(8px);
    }
}


/* Elements */
html, body {
    height: 100%;
    font-family: 'Open Sans';
    font-weight: 300;
}

body > .container {
    padding: 0 15px;
}

h1 {
    font-family: 'Lato', sans-serif;
    font-weight: 300;
    color: #333;
    margin-bottom: 0;
    margin-top: 10px;
}

h2 {
    font-family: 'Lato', sans-serif;
    font-weight: 300;
    color: #666;
    font-size: 18px;
    margin-top: 5px;
}

input.form-control , input[type="submit"] , .btn {
    border-radius: 0px;
}


/* Objets */
.jumbotron {
    animation: 0.3s ease-out 0s 1 slideInFromBottom;
    position: absolute;
    top: 40%;
    transform: translateY(-40%);
    padding-right: 300px;
    background: rgba(255,255,255,0.6) url("../images/logo_corsica_events.png") right top no-repeat;
    background-size: contain;
    padding: 2rem 1rem;
    padding-right: 350px;
    margin: 0;
}

.overlay {
    animation: 2s ease-out 0s 1 fadeIn;
    position: fixed; /* Sit on top of the page content */
    width: 100%; /* Full width (cover the whole page) */
    height: 100%; /* Full height (cover the whole page) */
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.5); /* Black background with opacity */
    z-index: 0; /* Specify a stack order in case you're using a different order for other elements */
    cursor: pointer; /* Add a pointer on hover */
}

.background {
    /* animation: 2s ease-out 0s 1 zoomInBlur; */
    transform: scale(1.2);
    position: fixed;
    height: 100%;
    left: 0;
    right: 0;
    z-index: -2;
    display: block;
    background: #333 url('../images/bg-auth.jpg') center center no-repeat;
    background-size: cover;
}

.credits {
    margin-top: 100px;
    color: #999;
    font-size: 12px;
}

.credits a {
    color: inherit;
}


/* Design */
.bg-blur {
    -webkit-filter: blur(8px);
    -moz-filter: blur(8px);
    -o-filter: blur(8px);
    -ms-filter: blur(8px);
    filter: blur(8px);
    min-height: 110%;
    height: auto;
    display: block;
    top: 0;
    max-height: none;
    left: -20%;
    width: 130%;
}

.fade {
    opacity: 0;
    transition: opacity .25s ease-in-out;
    -moz-transition: opacity .25s ease-in-out;
    -webkit-transition: opacity .25s ease-in-out;
}

.fade.in {
    animation: 2s ease-out 0s 1 fadeIn;
    opacity: 1;
}

.shadow {
    -moz-box-shadow: 8px 8px 12px #222;
    -webkit-box-shadow: 8px 8px 12px #222;
    box-shadow: 8px 8px 12px #222;
    /* filter:progid:DXImageTransform.Microsoft.Shadow(color='#222222', Direction=135, Strength=12);
    zoom: 1; */
}

.btn {
    transition: all ease-in-out 0.2s;
}


/* Media Queries */
@media only screen and (max-width : 768px) {
    .jumbotron {
        background: rgba(255,255,255,0.6);
        padding-right: 1rem;
        left: 30px;
        right: 30px;
    }
}

@media only screen and (max-width : 479px) {
    .jumbotron {
        left: 10px;
        right: 10px;
    }
}
