html {
    height: 100%;
}

body {
    background-image: url('../images/conference-room_orange35.jpg'), linear-gradient(40deg, #143996 0%, #2d61e3 100%);
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    min-height: 100%;
    height: auto;
    color: #fff;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

header {
    text-align: center;
    color: white;
}

header .logo {
    display: inline-block;
    background-color: #fff;
    margin-left: auto;
    margin-right: auto;
    border-radius: .5rem;
    margin-top: 10vh;
}

header .intro-text {
    margin-top: 5vh;
    font-size: 3rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,.7);
}


main {
    margin-top: 10vh;
}

.login-box-container {
    display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: space-around;
	align-items: stretch;
	align-content: stretch;
}

.login-box {
    background-color: rgb(245, 248, 253);
    border-radius: .3rem;
}

.login-box .alert {
    width: 350px;
}

.form-signin {
    width: 350px;
    padding: 20px;
}

footer {
    margin-top: auto;
    height: 92px;
    text-align: center;
    font-size: .85rem;
}

footer a {
    color: rgba(255, 255, 255, .8)
}

footer a:hover {
    color: rgba(255, 255, 255, .6);
    text-decoration: none;
}


header.masthead .intro-text .intro-heading {
    font-size: 3.2rem;
    font-weight: 300;
    line-height: 3.2rem;
    margin-bottom: 25px;
}
  
@media (min-width: 768px) {
    header.masthead .intro-text {
        padding-top: 300px;
        padding-bottom: 200px;
    }

    header.masthead .intro-text .intro-lead-in {
        font-size: 40px;
        font-style: italic;
        line-height: 40px;
        margin-bottom: 25px;
    }
}

@media (min-width: 1200px) {
    header.masthead .intro-text .intro-heading {
        font-size: 3.8rem;
        font-weight: 300;
        line-height: 3.8rem;
        margin-bottom: 50px;
    }
}



@media (min-width: 1px) and (max-width: 991px) {
    header.masthead .container {
        flex-direction: column;
    }
    .login-box {
        padding-top: 0;
        margin-bottom: 40px;
    }
    .login-box .alert {
        width: 100%;
    }
    .form-signin {
        width: 100%;
    }
}