/* ================================ color variables ================================ */
:root {
    --main-bg-color: white;
    --secondary-bg-color: #111;
    --main-text-color: #111;
    --secondary-text-color: white;
    --main-shadow-color: #aaa;
    --secondary-shadow-color: #555;
    --main-hover-color: #ffff00;
    --main-active-color: #ff0000;
}

@media (prefers-color-scheme: dark) {
    :root {
        --main-bg-color: #111;
        --secondary-bg-color: white;
        --main-text-color: white;
        --secondary-text-color: #111;
        --main-shadow-color: #555;
        --secondary-shadow-color: #aaa;
    }
}


/* ================================ generic page styles ================================ */
* {
    margin: 0;
    padding: 0;
}

body {
    font-family: monospace;
    color: var(--main-text-color);
    background-color: var(--main-bg-color);
    background-attachment: fixed;
}

nav,
.content,
footer {
    /*
    visibility: hidden;
    opacity: 0;
    transition: opacity .4s;
*/
}


/* ================================ navigation styles ================================ */
nav {
    min-height: 100px;
    width: 100%;
    position: fixed;
    z-index: 99;
    background-color: rgba(255, 64, 64, .8);
    margin: 0;
    overflow: auto;
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);

    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -o-user-select: none;
    user-select: none;
}

.nav-items {
    display: inline-block;
    vertical-align: bottom;
}

#nav-title {
    font-size: 20px;
    float: left;
    margin-left: 20px;
    margin-top: 50px;
}

#nav-btns {
    font-size: 15px;
    float: right;
    margin-right: 20px;
    margin-top: 60px;
    display: none;
}

#nav-btns ul li {
    display: inline-block;
    padding-left: 10px;
    padding-right: 10px;
}

#nav-btns-mobile {
    display: block;
}

#nav-wrapper-mobile {
    z-index: 99;
    position: fixed;
    width: 100%;
    height: 0;
    visibility: hidden;
    opacity: 0;

    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -o-user-select: none;
    user-select: none;
}

#nav-menu {
    float: right;
    margin-top: 100px;
    background-color: rgba(64, 64, 255, .8);
    padding: 20px;
    text-align: center;
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}

#nav-menu ul li {
    padding: 10px 0 10px 0;
    list-style-type: none;
}

#nav-menu-noscript {
    /*            float: right;*/
    margin-top: 100px;
    background-color: rgba(64, 64, 255, .8);
    padding: 20px;
    text-align: center;
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    height: 30px;
}

#nav-menu-noscript ul li {
    padding: 0 10px 0 10px;
    list-style-type: none;
    display: inline-block;
}

#nav-menu-btn {
    font-size: 40px;
    float: right;
    margin-right: 30px;
    margin-top: 45px;
    font-weight: bold;
    cursor: pointer;
}

@media only screen and (min-width: 600px) {
    #nav-btns-mobile {
        display: none;
    }

    #nav-wrapper-mobile {
        display: none;
    }

    #nav-btns {
        display: block;
    }
}

#current a {
    color: var(--main-hover-color);
    text-shadow: 2px 2px var(--main-shadow-color);
}


/* ================================ footer styles ================================ */
footer {
    text-align: center;
    width: 200px;
    height: 50px;
    padding: 10px;
    margin: 20px auto 20px auto;
}

.footer-lock {
    position: absolute;
    bottom: 0;
    left: 50%;
    margin-left: -110px;
}


/* ================================ hyperlink styles ================================ */
a {
    color: var(--main-text-color);
    text-decoration: none;
    transition: .8s;
    text-shadow: 2px 2px rgba(255, 255, 255, 0);
}

a:hover {
    color: var(--main-hover-color);
    transition: .4s;
    text-shadow: 2px 2px rgba(255, 255, 255, .5);
}

a:active {
    color: var(--main-active-color);
    transition: .4s;
    text-shadow: 3px 3px var(--main-hover-color);
}


/* ================================ generic input/textarea styles ================================ */
textarea,
input {
    font-family: monospace;
    color: var(--main-text-color);
    background-color: var(--main-bg-color);
    padding: 4px;
    border: 1px solid var(--main-text-color);
}


/* ================================ generic content styles ================================ */
.content-img {
    width: 90%;
    max-width: 800px;
    border: 4px dashed var(--main-text-color);
    overflow: hidden;
    margin: 0 auto 0 auto;
    background-color: var(--main-bg-color);
}

.content-img img {
    width: 100%;
    height: 100%;
    filter: blur(20px);
    transition: filter .2s;
}

.content-img img:hover {
    filter: blur(0);
    transition: filter .2s;
}

.content {
    padding: 110px 10px 0 10px;
    text-align: center;
    /*
            color: var(--main-text-color);
            -webkit-text-stroke-width: 1px; 
            -webkit-text-stroke-color: var(--secondary-text-color);
*/
}


/* ================================ about popup styles ================================ */
#about-span {
    z-index: 9998;
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: rgba(0, 0, 0, .6);
}

#about-popup {
    display: none;
    text-align: center;
    position: fixed;
    z-index: 9999;
    color: var(--secondary-text-color);
    background-color: var(--secondary-bg-color);
    opacity: .8;
    width: 300px;
    height: 5x0px;
    border: 4px dashed var(--secondary-text-color);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    top: 50%;
    left: 50%;
    margin-top: -50px;
    margin-left: -150px;
    padding: 10px;
}

#about-popup-x {
    position: absolute;
    margin: -30px 0 0 -30px;
    background-color: red;
    border: 4px dashed var(--secondary-text-color);
    height: 30px;
    width: 30px;
    text-align: center;
    font-size: 20px;
    cursor: pointer;
    transition: color .4s;

}

#about-popup-x:hover {
    background-color: blue;
    transition: color .4s;
}

#about-popup-x h1 {
    margin-top: -6px;
}


/* ================================ comments page styles ================================ */
#user-comments-fs {
    text-align: left;
    width: 90%;
    max-width: 600px;
    margin: 0 auto 0 auto;
    padding: 10px;
    background-color: var(--main-bg-color);
}

#user-comments {
    max-width: 600px;
    word-wrap: break-word;
}

#comments legend {
    text-align: center;
}

.user {
    color: blue;
}

.jack {
    color: red !important;
}

#comments-text {
    height: 100px;
    max-width: 400px;
    width: 90%;
}

#comments-name {
    width: 200px;
}

#submit-comment,
#load-comments {
    transition: .4s;
}

#submit-comment:hover,
#load-comments:hover {
    background-color: var(--main-hover-color);
    transition: .4s;
    box-shadow: 2px 2px var(--secondary-shadow-color);
    cursor: pointer;
    color: #111;
}

#submit-comment:active,
#load-comments:active {
    background-color: var(--main-active-color);
    transition: .4s;
    box-shadow: 3px 3px var(--main-hover-color);
    color: #fff;
}

#load-comments-div {
    text-align: center;
    width: 100%;
}

#val-errors {
    color: red;
}


/* ================================ you page styles ================================ */
#you-map {
    margin: 20px auto 0 auto;
    width: 90%;
    height: 600px;
}
