﻿@font-face {
    font-family: 'Upbolters';
    src: url('../fonts/upbolters-webfont.woff') format('woff'),
    url('../fonts/upbolters-webfont.woff2') format('woff2')
}

/* Move down content because we have a fixed navbar that is 50px tall */
body {
    background-image: url(../bkg.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    min-height: 100vh;
    background-position-y: bottom;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Wrapping element */
/* Set some basic padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.background-overlay{
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

/* Set widths on the form inputs since otherwise they're 100% wide */
/*
input,
select,
textarea {
    max-width: 280px;
}
*/

.navbar {
    padding: 15px 60px;
    width: 100%;
    top: 0;
    background: #fff;
    box-shadow: 5px 10px 15px rgba(0, 0, 0, 0.2);
    border-radius: 0;
    margin-bottom: 0;
}

.navbar-container {
    display: flex;
    justify-content: space-between;
}

.navbar-brand {
    font-family: 'Upbolters', Arial;
    font-size: 34px;
    color: #000;
    cursor: default;
}

.navbar-brand:hover {
    color: #000;
}

.navbar-nav li a {
    color: #000;
    font-size: 20px;
    font-family: "League Spartan", Arial;
    transition: all .15s ease;
    font-weight: 400;
}

.navbar-nav li a:hover {
    background: none;
    color: #005da8;
}

.navbar-nav li:not(:last-child){
    margin-right: 20px;
}

form {
    flex: 1;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.container-test {
    box-shadow: 5px 10px 15px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 40%;
    background: #ffffff;
    overflow: hidden;
    position: relative;
    border-radius: 2.5px;
}

.title {
    width: 100%;
    text-align: center;
    border-bottom: 1px solid #e7e7e7;
    margin-bottom: 15px;
    padding: 15px 0;
}

.title p {
    font-size: 34px;
    font-family: 'Upbolters', Arial;
    margin: 0;
}

.logo {
    width: 40%;
    z-index: 2;
}

.ama-logo {
    width: 100%;
}

.inputs-container {
    width: 85%;
    margin-top: 40px;
    z-index: 3;
}

.input {
    display: flex;
    flex-direction: column;
    width: 100%;
    font-size: 16px;
    margin-bottom: 15px;
}

.input:last-child {
    margin-bottom: 25px;
}

.text-box {
    width: 100%;
    padding: 10px 0;
    border: none;
    border-bottom: 1px solid #e7e7e7;
    outline: none;
    transition: all .25s ease;
    background: transparent;
}

.text-box:focus {
    border-bottom: 1px solid #005da8;
}
.text-box::placeholder {
    color: #e7e7e7;
}

.button-container {
    width: 85%;
}

.submit-button {
    width: 100%;
    padding: 15px 0;
    text-align: center;
    font-weight: bold;
    font-size: 18px;
    background-color: #005da8;
    color: #ffffff;
    border: none;
    transition: all .25s ease;
}

.submit-button:hover {
    transform: scale(1.01);
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.35);
}
.error-container {
    margin-top: 20px;
    width: 85%;
    font-size: 16px;
    color: red;
    text-align: center;
}

.member-assistance {
    margin-top: 30px;
    text-align: center;
    font-size: 14px;
    line-height: 1;
}

.member-link{
    text-decoration: underline;
}

.watermark-bkg{
    position: absolute;
    z-index: 1;
    top: 25%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    opacity: .5;
}

footer {
    margin-bottom: 15px;
}

/* Responsive: Portrait tablets and up */
@media screen and (max-width: 768px) {
    .jumbotron {
        margin-top: 20px;
    }

    .logo {
        width: 50%;
    }

    .title {
        padding-top: 0;
    }

    .navbar {
        z-index: 11;
        box-shadow: none;
        padding: 0 0;
        background-color: white;
    }

    .navbar-collapse {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        box-shadow: 5px 10px 15px rgba(0, 0, 0, 0.2);
        background: #fff;
    }

    .nav li a {
        font-size: 24px;
    }

    .navbar-brand {
        display: none;
    }

    .navbar-toggle {
        background-color: #000;
        position: absolute;
        top: 5px;
        right: 15px;
        z-index: 10;
    }

    .icon-bar {
        background-color: #fff;
    }

    .body-content {
        padding: 0;
        background: #ffffff;
        justify-content: center;
    }

    form {
        align-items: stretch;
    }

    .container-test {
        width: 100%;
        height: 100%;
        box-shadow: none;
        justify-content: space-evenly;
    }

    .container {
        width: 100%;
    }
}
