body {
    font-size: 1.5em;
    background-color:
        /*#404040*/
        #511272;
    background-image: url("bgpattern.png");
    color: white;
    font-family: "Roboto", sans-serif;
    margin: 0px;
}

a:link,
a:visited {
    color: #fff;
    text-decoration: none;
}

#oldlink {
    color: #000;
}

.specified_game,
.filtered_game,
.filtered_stream,
.favourite_stream,
.favourite_game {
    border-radius: 5px;
    background-color: black;
    color: white;
    padding: 2px;
    margin: 2px;
}

.favourite_stream,
.favourite_game {
    color: black;
    background-color: lightblue;
}

.highlight {
    background-color: lightblue;
}

tr {
    border-bottom: 1px solid gray;
}

td {
    padding: 2px;
}

.hidden {
    display: none;
}

.streamerinfo {
    margin: 10px;
    background-color: #000;
    border-radius: 12px;
    border: 2px solid
        /*#000*/
        #20072E;
    position: relative;
    width: 320px;
    padding: 0px;
    display: inline-block;
    transition: transform .2s;
    z-index: 1;
}

.streamerinfo:hover {
    z-index: 2;
    transform: scale(1.2);
}

.streamer,
.viewers,
.uptime,
.game {
    position: absolute;
    text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
    font-size: 16px;
}

.streamer {
    left: .2vh;
    bottom: .2vh;
    color: white;
    background-color:
        /*black*/
        #20072E;
    padding: 3px;
    border-radius: 10px;
}

.viewers {
    bottom: .2vh;
    right: .2vh;
    color: #FF7979;
}

.uptime {
    top: .2vh;
    right: .2vh;
    color: #FF7979;
}

.game {
    left: .2vh;
    top: .2vh;
    text-align: left;
    width: auto;
    max-width: 230px;
    color: white;
    background-color:
        /*black*/
        #20072E;
    padding: 3px;
    border-radius: 10px;
}

.gamedel,
.gamefav,
.streamerdel,
.streamerfav {
    cursor: pointer;
    color: green;
}

.gamedel,
.streamerdel {
    color: red;
}

.preview {
    vertical-align: middle;
    border-radius: 12px;
    transform: scale(1.0, );
    height: 180px;
    max-width: 320px;
    object-fit: cover;
}

#showinfo,
.specified_game,
.filtered_game,
.filtered_stream {
    padding: 3px;
    border-radius: 6px;
    background-color: black;
    color: white;
    cursor: pointer;
}

#settings_overlay,
#stats_overlay,
#settings_overlay_close,
#settings_overlay_open,
#footer {
    z-index: 2;
}

#settings_overlay,
#stats_overlay {
    text-align: center;
    display: none;
    background-color: #370D4F;
    width: 100vw;
    height: 200vh;
    position: fixed;
    top: 0px;
    bottom: 0px;
}

#info {
    display: none;
}

#reset {
    text-decoration: underline;
    cursor: pointer;
}

#taulu {
    padding-top: 25px;
    padding-bottom: 100px;
}

#taulu,
#suosikit {
    text-align: center;
}

#suosikit img {
    border: 4px solid #00639D;
}

#footer,
#footer_extra {
    text-align: center;
    background-color:
        /*#404040*/
        #511273;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50px;
    line-height: 50px;
    border-top: 1px solid
        /*#323232*/
        #370D4F;
}

#footer_extra {
    bottom: 50px;
}

#footerdata {
    text-align: left;
    display: inline-block;
    vertical-align: middle;
    line-height: normal;
}

.footerimg {
    vertical-align: middle;
    height: 30px;
}

.overlay_header {
    padding-left: 10px;
    font-size: 1em;
}

#settings_overlay_close,
#settings_overlay_open {
    z-index: 1000;
    display: block;
    background-color: lightslategrey;
    padding: 4px;
    position: fixed;
    top: 0px;
    right: 0px;
    cursor: pointer;
    font-size: 1em;
    border-left: 1px solid black;
    border-bottom: 1px solid black;
}

#stats_overlay_close,
#stats_overlay_open {
    z-index: 1000;
    display: block;
    background-color: lightslategrey;
    padding: 4px;
    position: fixed;
    top: 0px;
    left: 0px;
    cursor: pointer;
    font-size: 1em;
    border-right: 1px solid black;
    border-bottom: 1px solid black;
}

#change_to_twitch,
#change_to_mixer {
    background-color: lightslategrey;
    cursor: pointer;
    top: 0px;
    width: 100px;
    display: inline-block;
    border: 1px solid black;
    border-top: 0px;
}

#stats_body {
    overflow: auto;
    width: auto;
    height: 75vh;
    display: inline-block;
    text-align: left;
    font-size: .8em;
}

.dropdown {
    border-radius: 12px;
    margin: 5px;
    background-color: #511273;
    color: #fff;
    border: 0px;
    width: 90%;
    height: 4vh;
    font-size: 16px;
}

.dropdown option {
    text-align: center;
}

#startup {
    display: block;
    background-color: black;
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0px;
    bottom: 0px;
    z-index: 2;
}

#startup_text {
    padding: 20vh 0;
    text-align: center;
}

.ad_style {
    margin: 10px;
    background-color: #000;
    border-radius: 12px;
    border: 2px solid
        /*#000*/
        #20072E;
    position: relative;
    width: 320px;
    height: 180px;
    padding: 0px;
    display: inline-block;
}

.body_mobile {
    font-size: 1.5em;
}

.streamerinfo_mobile {
    width: 95vw;
    padding: 2px 0px 2px 0px;
}

.preview_mobile {
    width: 95vw;
    max-height: 60vh;
}

.streamer_mobile,
.game_mobile {
    font-size: .8em;
}

.footer_mobile {
    font-size: .8em;
}

.hide {
    display: none;
}