@font-face {
    font-family: "kirsty";
    src: url("../fonts/kirsty.otf");
}

@font-face {
    font-family: "opensanslight";
    src: url("../fonts/oslight.ttf");
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    height: 100%;
    font-family: opensanslight;
    background: url("../images/background2.jpg") center/cover no-repeat fixed;
    justify-content: center;
    background-color: #333;
    color: #ffffff;

}

a {
    text-decoration: none;
    color: inherit;
}

a:hover {
    color: #8a2be2;
    filter: drop-shadow(0 0 0.50rem #8a2be2);
}

header {
    width: 100%;
    background-color: #333;
    border-top: 2px solid #8a2be2;
    border-bottom: 2px solid #8a2be2;
    margin-bottom: 50px;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 0 20px;
    background: url("../images/background3.jpg") center/cover no-repeat fixed;
}

.headerLogo img {
    height: 100px;
    width: 100px;
    filter: drop-shadow(0 0 0.50rem #8a2be2);
}

nav {
    flex-grow: 1;
    text-align: right;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    height: 40px;
    padding: 0 20px;
}

nav li {
    margin: 0 20px;
}

.navLink {
    padding: 5px 0;
}

main {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    padding-bottom: 100px; /* Room for fixed footer */
}

.heroSection, .contactUs {
    background-color: #222;
    border: 2px solid #8a2be2;
    width: 90%;
    max-width: 400px;
    text-align: center;
    padding: 15px 20px;
    background: url("../images/background3.jpg") center/cover no-repeat fixed;
}

.contactUs form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: left;
}

.contactUs input, .contactUs textarea {
    width: 100%;
    padding: 8px;
    background-color: #111;
    color: white;
    border: 1px solid #555;
}

.bgMusic {
    autoplay: true;
    loop: true;
}

.contactUs input[type="submit"] {
    background-color: #6e22b1;
    color: black;
    font-weight: bold;
    border: none;
    cursor: pointer;
    filter: drop-shadow(0 0 0.50rem #8a2be2);
}

.contactUs input[type="submit"]:hover {
    background-color: #8a2be2;
    filter: drop-shadow(0 0 0.50rem #8a2be2);
}



footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #222;
    color: white;
    text-align: center;
    border-top: 2px solid #8a2be2;
    padding: 10px 0;
    background: url("../images/background3.jpg") center/cover no-repeat fixed;
}

/* Game Related CSS will be placed here -- Tyler */

canvas {
    display: block;
    margin: 0 auto;
    background-color: #000;
}

.loginSection,
.registerSection {
    background-color: #222;
    border: 2px solid #8a2be2;
    width: 90%;
    max-width: 400px;
    text-align: center;
    padding: 25px 30px;
    margin-top: 30px;
    background: url("../images/background3.jpg") center/cover no-repeat fixed;
    box-shadow: 0 0 20px rgba(138, 43, 226, 0.3);
}

.loginForm,
.registerForm {
    display: flex;
    flex-direction: column;
    gap: 15px;
    text-align: left;
}

.loginForm input,
.registerForm input {
    padding: 10px;
    border: 1px solid #8a2be2;
    background-color: #111;
    color: #fff;
    font-family: inherit;
    font-size: 16px;
    border-radius: 4px;
    transition: border-color 0.3s ease;
}

.loginForm input:focus,
.registerForm input:focus {
    outline: none;
    border-color: #a855f7;
    box-shadow: 0 0 10px #8a2be2;
}

.loginForm button,
.registerForm button {
    background-color: #8a2be2;
    color: black;
    font-weight: bold;
    border: none;
    padding: 10px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease, transform 0.2s;
    filter: drop-shadow(0 0 0.5rem #8a2be2);
}

.loginForm button:hover,
.registerForm button:hover {
    background-color: #a855f7;
    transform: scale(1.03);
    filter: drop-shadow(0 0 1rem #8a2be2);
}

.loginSection h2,
.registerSection h2 {
    margin-bottom: 15px;
    color: #ffffff;
    text-shadow: 0 0 5px #8a2be2;
}

p.error,
p.success {
    text-align: center;
    padding: 10px;
    margin-top: 10px;
    border-radius: 4px;
    font-weight: bold;
}

p.error {
    background-color: #4b0000;
    color: #ff6666;
    border: 1px solid #ff0000;
}

p.success {
    background-color: #003b00;
    color: #66ff66;
    border: 1px solid #00ff00;
}

/* Roadmap related CSS */

.roadmapSection {
    background-color: #222;
    border: 2px solid #8a2be2;
    padding: 30px 40px;
    margin: 30px auto;
    width: 90%;
    max-width: 800px;
    color: #fff;
    text-align: left;
    background: url("../images/background3.jpg") center/cover no-repeat fixed;
    box-shadow: 0 0 20px rgba(138, 43, 226, 0.2);
}

.roadmapSection h3 {
    text-align: center;
    margin-bottom: 20px;
    text-shadow: 0 0 5px #8a2be2;
}

.roadmapList {
    list-style-type: none;
    padding-left: 0;
}

.roadmapList li {
    margin: 10px 0;
    padding-left: 20px;
    position: relative;
}

.roadmapList li::before {
    content: "<>";
    color: #8a2be2;
    position: absolute;
    left: 0;
}
