:root { 
    color-scheme: light dark;
    --color: #ccc;
}
@media screen and (prefers-color-scheme: light) {
	:root {
        --background-color: #006199;
        --bg-color-transparent: rgba(0, 97, 153, 0.81);
    }
}
@media screen and (prefers-color-scheme: dark) {
	:root {
        --background-color: #002D62;
        --bg-color-transparent: rgba(0, 45, 98, 0.87);
    }
}
@media (max-width: 999px) {
	:root {
        --width: 100%;
        --font-size: 2.7rem;
    }
}
@media only screen and (min-width: 999px) and (max-width: 1400px) {
	:root {
        --width: 69%;
        --font-size: 1.8rem;
    }
}
@media  (min-width: 1400px) {
	:root {
        --width: 42%;
        --font-size: 1.5rem;
    }
}

* {
    box-sizing: border-box;
    -moz-box-sizing: content-box;
    -webkit-box-sizing: content-box;
    border-radius: 0.6rem;
}

body {
    padding: 0;
    background-color: var(--background-color);
    color: var(--color);
    font-size: var(--font-size);
    font-family: verdana;
}

header, section {
    -webkit-user-select: none;
    -webkit-touch-callout: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    width: var(--width);
    margin: 0 auto;
    padding: 0.9rem;
}

header {overflow: auto;}

h1, h3, th {display: none;}
h2, #next, #forecast_img, #marquee ul, table { margin: 0 auto; }   
.center_align, h2, footer, #marquee ul {text-align: center;}
.right_align { text-align: right; }
footer { padding: 0.9rem; }
#def, #lat { font-size: 0.9rem; }
#def li, #def table { margin-top: 0.9rem; }

h2 {
    font-size: 1.8rem;
    position: absolute;
    left: 0;
    right: 0;
    top: 1.8rem;
}


a {
    color: #BAD7FF;
    text-decoration: none;
}

#keys { border: 0.09rem dashed var(--color); }   
#forecast_img {
    width: 99%;
    display: block;
}

svg {
    width: 2.7rem;
    height: 2.7rem;
    fill: var(--color);
    vertical-align: middle;
}

#marquee {
    width:96%;
    margin: -5.4rem auto 0.9rem auto;
    position: relative;
    overflow-x: scroll;
    overflow-y: hidden;
    white-space: nowrap;
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;
}

#marquee::-webkit-scrollbar { display: none }

#marquee ul {
    list-style-type: none;
    padding-left: 0;
}

#marquee li {
    background-color: var(--bg-color-transparent);
    cursor: pointer;
    display: inline-block;
    *display: inline;
    *zoom: 1;
    padding: 0.3rem;
}   

#next_days table { width: 100%; }
