body {
    background: rgb(240, 240, 240);
    color: black;
    font-family: Arial, Helvetica, sans-serif;
    margin: 0;
    padding: 0;
}

* {
    margin: 0;
    padding: 0;
}

header {
    display: inline;
}

/* Navigation Menu Closed*/
nav {
    margin: 0;
    padding: 0;    
    background-color: white;
    color: rgb(20, 20, 20);
}

#logo {
    position: relative;
    background-color: white;
    width: 55px;
    height: 55px;
    margin: 5px 0 0px 10px;
}

#wideScreen {
    display: none;
}

#wideScreenList {    
    position: relative;
    float: right;
    top: 24px;
    margin: 0 10px 0 30px;
}

#wideScreenList li {
    text-align: center;
    font-size: 15px;
    font-weight: bold;
    margin: 0;
    padding: 0;
    padding: 6px;
    display: inline;
}

#wideScreenList li:hover {
    color: white;
    background-color: rgb(20, 20, 20);
    border-radius: 3px;
}

#wideScreenList a{
    text-decoration: none;
    color: black;
}

#menuIcon {
    position: relative;
    float: right;
    width: 50px;
    height: 50px;
    margin: 8px 0 5px 5px;
    background-color: white;
}

#login {
    position: relative;
    float: right;
    top: 18px;
    text-align: center;
    font-size: 15px;
    font-weight: bold;
    margin: 0;
    padding: 0;
    padding: 6px;
}

#login:hover {
    color: white;
    background-color: rgb(20, 20, 20);
    border-radius: 3px;
}

#profile {
    position: relative;
    float: right;
    top: 18px;
    text-align: center;
    font-size: 15px;
    font-weight: bold;
    margin: 0;
    padding: 0;
    padding: 6px;
}

#profile:hover {
    color: white;
    background-color: rgb(20, 20, 20);
    border-radius: 3px;
}

/* Navigation Menu Open */

#menuListContainer {
    position: relative;
    height: 100vh;
}

#closeIcon {
    width: 40px;
    height: auto;
    position: relative;
    float: right;
    margin: 20px 20px 0 0;
}

#pictureCloseIcon {
    width: 40px;
    height: auto;
    position: relative;
    float: right;
    margin: 20px 20px 0 0;
}

.menuList {
    list-style: none;
    margin: 0;
    padding: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.menuList a {
    text-decoration: none;
    color: black;
}

.menuList li {
    margin: 20px 0 20px 0;
    font-size: 25px;
}

/* Login Display */
#loginDisplay {
    display: inline;
    background-color: rgb(240, 240, 240);
    color: black;
    width: 80%;
    margin: 0 10% 0 10%;
    padding: 0;
    border-style: solid;
    border-color: black;
    border-radius: 5px;
    border-width: 2px;
    position: absolute;
    top: 70px;
    z-index: 999;
    box-shadow: 1px 1px 2px rgb(40, 40, 40);
}

#loginDisplay div {
    margin: 15px 0 0 0;
    font-weight: bold;
    font-size: 20px;
    position: relative;
}

#loginDisplay input {
    padding: 6px;
    width: 75%;
    text-align: center;
    background-color: white;
    color: rgb(20, 20, 20);
    border-radius: 5px;
}

#loginDisplay button {
    padding: 6px 12px 6px 12px;
    margin-top: 5px;
    font-size: 15px;
    border-radius: 5px;
    background-color: rgb(40, 40, 40);
    color: white;
}

#linkLeft {
    text-decoration: none;
    color: black;
    position: relative;
    float: left;
    margin: 5px 0 10px 5%;
    padding: 5px;
}
#linkLeft:hover {
    text-decoration: none;
    background-color: rgb(40, 40, 40);
    color: white;
    border-radius: 5px;
    position: relative;
    float: left;
    margin: 5px 0 10px 5%;
    padding: 5px;
}

#linkRight {
    text-decoration: none;
    color: black;
    position: relative;
    float: right;
    margin: 5px 5% 10px 0;
    padding: 5px;
}
#linkRight:hover {
    text-decoration: none;
    background-color: rgb(40, 40, 40);
    color: white;
    border-radius: 5px;
    position: relative;
    float: right;
    margin: 5px 5% 10px 0;
    padding: 5px;
}

#loginClose {
    width: 30px;
    float: right;
    position: relative;
    top: -20px;
    margin: 0 15px 0 0;
}

.error {
    color: rgb(214, 47, 47);
    font-weight: bold;
    font-size: 14px;
    margin: 5px 5% 0 5%;
}

.error1 {
    color: rgb(255, 80, 80);
    font-weight: bold;
    font-size: 14px;
    margin: 5px 5% 0 5%;
}

.noError {
    color: rgb(15, 153, 22);
    font-weight: bold;
    font-size: 14px;
    margin: 5px 5% 0 5%;
}

/* Profile Display */
#profileDisplay {
    display: inline;
    background-color: rgb(240, 240, 240);
    color: black;
    width: 80%;
    margin: 0 10% 0 10%;
    padding: 0;
    border-style: solid;
    border-color: black;
    border-radius: 5px;
    border-width: 2px;
    position: absolute;
    top: 70px;
    z-index: 999;
    box-shadow: 1px 1px 2px black;
}

#profileDisplay div {
    margin: 15px 0 15px 0;
    font-weight: bold;
    font-size: 20px;
    position: relative;
}

#profileDisplay a {
    text-decoration: none;
    color: black;
    background-color: white;
    border-radius: 5px;
    padding: 5px;
    box-shadow: 2px 2px 3px black;
}

#profileDisplay a:hover {
    background-color: rgb(40, 40, 40);
    color: white;
}

#profileClose {
    width: 30px;
    float: right;
    position: relative;
    margin: 15px 15px 0 0;
}


/* Footer */
footer * {
    margin: 0;
    padding: 0;
}

footer {
    display: inline;
    width: 100%;
    height: 75px;
    background-color: rgb(40, 40, 40);
    position: absolute;
    bottom: 0;
    left: 0;
}

footer div {
    text-align: center;
    font-size: 10px;
    color: white;
    width: 100%;
}

#navigation {
    padding: 3px 0 1px 0;
    font-weight: bold;
    font-size: 12px;
}

footer ul li {
    display: inline;
    padding: 1%;
}

footer a {
    text-decoration: underline;
    color: white;
}

#contact {
    margin-top: 5px;
    margin-bottom: 5px;
}

.textshadow1 {
    text-shadow: -1px 0 white, 0 1px white, 1px 0 white, 0 -1px white;
}

.textshadowBlack {
    text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
}

.textshadow2 {
    text-shadow: -2px 0 white, 0 2px white, 2px 0 white, 0 -2px white;
}

.listContainer {
    margin: 10px 8% 20px 8%;
    background-color: rgb(224, 223, 223);
    color: rgb(20, 20, 20);
    padding: 8px;
    border-radius: 5px;
    box-shadow: 2px 2px 3px rgb(150, 150, 150);
}

.listContainer ul {
    text-align: left;
    position: relative;
    list-style-type: none;
}

.listContainer ul a{
    color: black;
}

.listContainer ul li:not(:last-child) {
    margin-bottom: 20px;
}

.header1 {
    font-size: 32px;
    color: rgb(0, 82, 125);
    font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

.header2 {
    font-size: 25px;
    color: rgb(0, 82, 125);
    font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

.ImageContainer {
    position: relative;
    width: 100%;
    margin: 0;
    padding: 0;
}

.backgroundPicture {
    width: 100%;
}

#pageContainer {
    position: relative;
    min-height: 100vh;
    padding-bottom: 75px;
}

@media screen and (min-width: 805px) {
    #wideScreen {
        display: flex;
        float: right;
    }

    #menuIcon {
        display: none;
    }

    #loginDisplay {
        max-width: 600px;
        left: 40%;
        transform: translateX(-50%);
    }

    #profileDisplay {
        max-width: 600px;
        left: 40%;
        transform: translateX(-50%);
    }

    .listContainer {
        width: 600px;
    }
}

@media screen and (min-width: 1100px) {
    body {
        background-color: rgb(40, 40, 40);
    }
    
    #pageContainer {
        width: 1100px;
        background-color: rgb(240, 240, 240);
        border-radius: 5px;
    }

    footer {
        background-color: black;
    }

    #PayReferralBonus {
        padding-top: 20px;
    }
}