/* Global Resets */
* {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

/* Block level elements */
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
    display: block;
}

/* List style reset */
ol, ul {
    list-style: none;
}

/* Quotation marks reset */
blockquote, q {
    quotes: none;
}

blockquote:before, blockquote:after, q:before, q:after {
    content: '';
    content: none;
}

/* Table border reset */
table {
    border-collapse: collapse;
    border-spacing: 0;
}

/* Utility Classes */
.clearfix { clear: both; }
.txt-rt { text-align: right; }
.txt-lt { text-align: left; }
.txt-center { text-align: center; }
.float-rt { float: right; }
.float-lt { float: left; }
.pos-relative { position: relative; }
.pos-absolute { position: absolute; }
.vertical-base { vertical-align: baseline; }
.vertical-top { vertical-align: top; }

nav.vertical ul li { display: block; }
nav.horizontal ul li { display: inline-block; }

/* Base Styles */
body {
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    background: url("../../assets/img/login-background.png") no-repeat center fixed;
    background-size: cover;
    text-align: center;
    display: flex;
    align-items: center;    
    justify-content: center;
    height: 100vh;
}

/* Link Styles */
a { text-decoration: none; }

/* Image Styles */
img { max-width: 100%; }

/* Login Positioning */
.login {
    background-color: rgba(256, 256, 256, 0.95);
    width: 500px;
    border-radius: 3px;
    height: 400px;
}

/* Login Box Styles */
.w3ls-login {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    width: 400px;
    margin: 0 auto;
    padding: 10px;
    box-sizing: border-box;
}

/* Form Field Styles */
.agile-field-txt, .w3ls-bot { width: 100%; margin: 20px 0;}
.w3ls-login input[type="email"], .w3ls-login input[type="password"] {
    width: 100%;
    color: #f9a826;
    outline: none;
    font-size: 17px;
    padding: 15px;
    background: rgba(0, 0, 0, 0.53);
    border: none;
}

.w3ls-login input::placeholder{
    color: white;
}

/* Button Styles */
.w3ls-login input[type="submit"] {
    color: #fff;
    font-weight: 600;
    width: 100%;
    padding: 0.4em 0;
    background: rgba(104, 0, 135, 0.8);
    cursor: pointer;
    border: none;
    border-radius: 3px;
    transition: 0.5s all ease;
}

.w3ls-login input[type="submit"]:hover {
    color: #fff;
    box-shadow: 0 20px 5px -10px rgba(0, 0, 0, 0.4);
    transform: translateY(3px);
    background: rgba(104, 0, 135, 1);
}

/* Heading Styles */
h1 {
    font-weight:900;
    font-size: 3em;
    color: #f9a826;
    margin: 1em 0;
    text-shadow: 1px 1px 1px #000;
    letter-spacing: 2px;
}

/* Responsive Adjustments */

@media (max-width: 480px) {
    h1 { font-size: 7vw; }
    .w3ls-login form { padding: 7.5vw; }
}

@media (max-width: 320px) {
    h1 { font-size: 1.8em; }
    .w3ls-login form { padding: 25px 8px; }
    .w3ls-login input[type="email"], .w3ls-login input[type="password"] { padding: 10px 15px; }
    .w3ls-login input[type="submit"] { padding: 0.3em 0; }
}

/* Hide scrollbar for Chrome, Safari, and Opera */
::-webkit-scrollbar { display: none; }
