/* Document Structural CSS */
:root{
    --red: #b30738;
    --transparent-white: rgba(255, 255, 255, 0.8);
    --gray: #2d2d31;
    --light-gray: #e7e7fa;
    --transition-length: .2s;
}
body{
    margin:0;
}
section{
    display:flex;
    align-items:center;
    justify-content:center;
    overflow:auto;
}
.section-innerdiv{
    max-width:1140px;
    width:100%;
    display:flex;
    justify-content:space-evenly;
    flex-direction: column;
    align-items:center;
    padding:40px 0;
    margin:0 40px;
}
.innerdiv-inner{
    display:flex;
    justify-content:center;
    align-items:center;
}
h1{
    font-weight: 600;
    font-size:72px;
    color:white;
}
h2{
    font-weight: 600;
    font-size:48px;
    color:var(--red);
}
h3{
    font-weight: 300;
    font-size:24px;
}
h1, h2, h3, h4, h5, h6{
    font-family:"Open Sans", sans-serif;
    text-align:center;
    margin:0;
}
p{
    font-family: 'Open Sans', sans-serif;
    font-size: 18px;
    margin:0;
}
.bg-img{
    background-position: center center;
    background-size: cover;
    box-shadow:inset 0 0 0 2000px rgba(0, 0, 40, 0.45);
}
.hidden{
    top:-99999px !important;
    opacity:0 !important;
    transition: top 0s var(--transition-length), opacity var(--transition-length) !important;
    display: none;
}
button{
    font-family:"Open Sans", sans-serif;
    background-color: var(--red);
    border:none;
    padding:0 15px;
    color:white;
    border-radius:10px;
    transition: all .2s;
}
button:hover{
    background-color: var(--light-gray);
    border:none;
    color:var(--gray);
    box-shadow: 0px 2px 9px 0px rgba(0,0,0,0.5);
}
button, a{
    cursor:pointer;
}
input:focus, select:focus, textarea:focus, button:focus {
    outline: none;
}
/* Login Overlay CSS */
.login-section{
    font-family: "Open Sans", sans-serif;
    position:fixed;
    width:100vw;
    height:100vh;
    box-shadow:inset 0 0 0 2000px rgba(0, 0, 40, 0.45);
    top:0px;
    opacity:1;
    transition: opacity var(--transition-length);
}
.login-section .section-innerdiv{
    height:100%;
}
.login-splash{
    width:30%;
    height:70%;
    max-height:500px;
    padding:20px;
    background-color: white;
    border-radius:20px;
    flex-direction: column;
}
.login-content{
    height:100%;
    padding:10px 20px;
    display:flex;
    flex-direction:column;
    justify-content:space-between;
}
.login-content-text{
    padding:20px;
}
.exit-overlay{
    width:100%;
    display:block;
}
.exit-button{
    display: flex;
    justify-items:center;
    align-items: center;
    background-color: transparent;
    border:none;
    width: 40px;
    height:40px;
    float:right;
    padding:0;
    border-radius: 5px;
    transition: all .2s;
}
.exit-button:hover{
    background-color: transparent;
    box-shadow:none;
}
.exit-button img{
    width:100%;
}
.login-title{
    margin:0;
    text-transform: uppercase;
    color:var(--red);
    font-weight:700;
    text-align:left;
}
.login-container{
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
}
.login-container p{
    color: var(--red);
    margin:0;
    font-size:14px;
}
.login-container label{
    color:var(--gray);
    padding:2px;
}
.login-container input{
    font:inherit;
    width:70%;
    border:none;
    border-bottom:1px solid var(--light-gray);
}
.login-button{
    height: 45px;
    font: inherit;
    margin:0 auto;
    width:80%;
    padding:0 15px;
}
.forgot-password{
    color: var(--gray);
    margin:0;
    font-size:12px;
}
.sign-up{
    color: var(--gray);
    margin:0 auto;
    font-size:12px;
}
.forgot-password a,.sign-up a{
    color:var(--red);
}

.form-message {
    text-align: center;
    margin-bottom: 1rem;
}

.form-message-success {
    color: var(--gray);
}

.form-message-error {
    color: var(--red);
}

/* Profile Overlay */
.profile .menu {
    position: absolute;
    margin-top: 10px;
    margin-left: -115px;
    padding: 10px 20px;
    background: linear-gradient(to bottom, var(--red) 0%, var(--red) 20%, white 20%, white 100%);
    width: 200px;
    border-radius: 10px;
}

.profile .menu .inner {
    position: absolute;
    background: green;
    width: 200px;
}

.menu h5 {
    font-weight: 500;
    margin: 5px 0px;
}

#profile-pic {
    position: relative;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    display: block;
    margin: auto;
    justify-self: center;
    object-fit: fill;
}

.menu button {
    width: 100%;
    height: 30px;
    margin: 5px 0 0 0;
    color: black;
    background-color: #C4C4C4;
}

/* Navbar CSS */
header{
    position: fixed;
    width:100%;
    font-family: "Open Sans";
    font-weight:400;
    display: flex;
    background-color: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    justify-content: center;
    transition:all .2s;
}
header .section-innerdiv{
    padding:10px 0;
    transition: all .2s;
}
.main-nav{
    width:100%;
    font: inherit;
    flex-grow:1;
    display: flex;
    flex-direction: row;
    justify-content:space-between;
}
.nav-left{
    display:flex;
    flex-direction:row;
    align-items:center;
}
.nav-right{
    display:flex;
    justify-content:center;
    align-items:center;
}
.nav-logo{
    height:50px;
    width:50px;
    transition:all .2s;
    cursor:pointer;
}
.nav-options{
    display:flex;
    flex-direction:row;
    list-style:none;
    margin:0;
    height:100%;
    justify-content: stretch;
}
.nav-options a{
    font: inherit;
    color:white;
    text-decoration:none;
    transition: all .2s;
    cursor:pointer;
    display: flex;
    align-items:center;
    padding:0 15px;
    transition: all .2s;
    border-radius:8px;
}
.nav-options a:hover{
    background-color: var(--light-gray);
    border-radius:10px;
    padding:0 10px;
    margin:0 5px;
    color: var(--gray);
}
.open-login-button{
    height: 50px;
    font: inherit;
    padding:0 15px;
}
.nav-right p{
    font: inherit;
    color:white;
    text-decoration:none;
    transition: all .2s;
    display: flex;
    align-items:center;
    padding:0 15px;
    transition: all .2s;
    border-radius:8px;
}
/* Sticky Navbar CSS */
.sticky{
    background-color: var(--red);
    border-bottom:none;
    box-shadow: 0px 2px 9px 0px rgba(0,0,0,0.4);
}
.sticky .section-innerdiv{
    padding:0;
}
.sticky .nav-logo{
    height:30px;
    width:30px;
}
.sticky .nav-options a{
    border-radius:0px;
}
.sticky .nav-options a:hover{
    box-shadow: 0px 1px 4px 0px rgba(0,0,0,0.5);
    background-color:var(--light-gray);
    color:var(--gray);
    padding:0 15px;
    margin:0;
}
.sticky .open-login-button{
    border-radius:0px;
    box-shadow: none;
}
.sticky .open-login-button:hover{
    box-shadow: 0px 1px 4px 0px rgba(0,0,0,0.5);
}
/* Footer CSS */
footer{
    height:100px;
    background-color: var(--gray);
}

.site-footer {
    background-color: var(--gray);
    text-align: left;
    padding: 10px;
    color: white;
    position: relative;
    bottom: 0;
    width: 100%;
}

.site-footer a {
    color: white;
    font-size: 14px;
}

.site-footer a:hover {
    color: var(--light-gray);
}