*
{
    box-sizing: border-box;
    font-family: 'Arvo', serif;
    scroll-behavior: smooth;
    cursor: url(images/ac-guitar.cur), default;
    outline: none;
}

@keyframes hovercolor {
  0%    {color: #fabd2f; top:-50px;}
  50%   {color: #8ec07c; top:50px;}
}

@keyframes buttonanimationidle {
    0%
    {
        background-color:   #504945;
    }

    50%
    {
        background-color:   #665c54;
    }
}

@keyframes buttonanimationnull
{
    0%
    {
        background-color:   #fb4934;
        color:              #282828;
    }
}

form input
{
    display: inline-block;
    height: 50px;
    width: 150px;
    font-size: 20px;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    color: #8ec07c;
    background-color: #504945;
    border-radius: 10px;
    box-shadow: 0 6px #282828;
    border: solid #1d2021 1px;
}

form input:hover
{
    color: #fabd2f;
    background-color: #7c6f64;
    border: solid #1d2021 1px;
    animation-name: hovercolor;
    animation-delay: 0.5s;
    animation-duration: 1s;
    animation-iteration-count: infinite;
}

form input:active
{
    color: #282828;
    background-color: #fb4934;
    box-shadow: 0 3px #282828;
    transform: translateY(3px);
    border: solid #1d2021 1px;
    animation-name: buttonanimationnull;
    animation-duration: 1s;
    animation-iteration-count: infinite;
}

.verbinden
{
    animation: buttonanimationidle;
    animation-duration: 3s;
    animation-iteration-count: infinite;
}

.checkbox
{
    width:30px;
    height:30px;
    background-color: #504945;
}

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

a:active,
a.current:active,
a.current:visited,
a.current:link
{
    color: #fb4934;
}

a:hover,
a.current:hover
{
    color: #fabd2f;
    animation-name: hovercolor;
    animation-delay: 0.5s;
    animation-duration: 1s;
    animation-iteration-count: infinite;
}

abbr
{
    text-decoration: none;
}

@media only screen and (max-width: 850px)
{
    article
    {
        max-width: 100%;
    }
}
@media only screen and (min-width: 851px)
{
    article
    {
        /*-webkit-flex: 3;*/
        /*-ms-flex: 3;*/
        /*flex: 1;*/
        /*top: 200px;*/
        /*float: left;*/
        overflow: auto;
        margin-right: 2px;
        max-height: calc(100vh - 180px);
        width: calc(100vw - 240px);
    }
}

h1, h2, h3, h4, h5, h6
{
    color: #83a598;
}

h3.sticky
{
    top: 0;
    position: sticky;
    position: -webkit-sticky;;
    background-color: #3c3836;
    padding: 7px;
    margin: 0px;
    z-index: 1;
}

html
{
    min-width: 100%;
}

body
{
    color: #ebdbb2;
    background-color: #1d2021;
    /*max-height: 100vh;*/
    /*max-width: 100vw;*/
    max-width: 1400px;
    margin: auto;
    overflow: auto;
    outline-style: solid;
    outline-color: #282828;
    outline-width: 5px;
}

iframe.ts3ov
{
    overflow:           auto;
    border:             none;
    min-height:         100%;
    height:             100%;
    max-height:         100%;
    border-spacing:     10px;
    min-width:          420px;
    width:              420px;
    max-width:          420px;
}

div.xplane
{
    margin: auto;
    margin-top: -60px;
    margin-bottom: 60px;
    /*display: block;*/
    /*margin-bottom: 20px;*/
    /*margin-top: 20px;*/
    width: 95%;
    /*max-height: 180px;*/
}

iframe.xplane
{
    /*display: block;*/
    /*margin: 0;*/
    /*padding: 0;*/
    width: 100%;
    /*max-height: 75px;*/
    /*overflow: hidden;*/
    border: 2px dashed #458588;
}

div.article
{
    padding-top: 1px;
    padding-bottom: 1px;
    padding-left: 10px;
    padding-right: 10px;
    background-color: #3c3836;
    text-align: justify;
    text-justify: inter-word;
    margin-right: 10px;
    margin-top: 7px;
    margin-bottom: 7px;
}

div.logo
{
    min-width: 215px;
    max-width: 215px;
    text-align: center;
}

div.html5badge
{
    text-align: center;
}

section.links
{
    width: 100%;
    margin: 5px;
    padding: 5px;
}

div.links-logo
{
    margin:         auto 15px auto 15px;
    text-align:     center;
    width:          30%;
    max-width:      250px;
    /*border:         2px dashed #ff00ff;*/
}

div.links-desc
{
    text-align: justify;
    width: 70%;
    margin: auto 15px auto 15px;
    padding-left: 25px;
    border-left: 1px solid #ebdbb2;
}

img
{
    display: block;
    margin: auto;
    max-width: 100%;
    max-height: 100%;
}

img.badge
{
    width: 70px;
    display: inline-block;
}

img.links
{
    margin: auto;
    max-width: 100%;
    max-height: 100%;
}

div.quote
{
    margin: 20px;
    margin-left: 40px;
    margin-right: 40px;
    padding-left: 15px;
    padding-right: 15px;
    padding-top: 10px;
    padding-bottom: 10px;
    background-color: #504945;
    border: 2px dashed #ebdbb2;
}

img.asciinema
{
    width:      50%;
    margin:     auto;
}

img.social
{
    display:    inline-block;
    width:      80%;
}

@media only screen and (max-width: 850px)
{
    header
    {
        text-align: center;
        background-color: #282828;
        overflow: hidden;
        width: 100%;
        height: 100%;
    }
}

@media only screen and (min-width: 851px)
{
    header
    {
        text-align: center;
        background-color: #282828;
        overflow: hidden;
        width: 100%;
        height: auto;
    }
}

hr
{
    margin: 5px;
    border-color: #458588;
}

hr.nav
{
    margin-left: 2px;
    margin-right: 2px;
    margin-top: 20px;
    margin-bottom: 20px;
    border: 2px solid #458588;
    border-radius: 2px 2px 2px 2px;
}

@media only screen and (max-width: 850px)
{
    nav
    {
        max-width: 100%;
    }
}

@media only screen and (min-width: 851px)
{
    nav
    {
        max-width:240px;
        min-width:240px;
        max-height: calc(100vh - 180px);
        /*-webkit-flex: 1;*/
        -ms-flex: 1;
        flex: 1;
        float: left;
        padding: 10px;
        margin-right: 10px;
        overflow: auto;
        overflow-x: hidden;
    }
}

p.gag
{
    font-family: Hack;
    font-size: 1px;
    text-align: center;
}

p.version
{
    font-family: Hack;
    color: #fe8019;
}

section
{
    /*display: -webkit-flex;*/
    display: flex;
    margin: auto;
    margin-top: 10px;
    /*max-width: 1400px;*/      /* mal testen ? */
}

select
{
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;       /* remove default arrow */
    color: #ebdbb2;
    background: #32302f;
    margin: 10px;
    padding: 4px;
}

table.social
{
    margin: auto;
    border: none;
    border-spacing: 5px;
}

th, td.social
{
    max-width: 65px;
    min-width: 65px;
    border: none;
}

table.aboutme
{
    margin-left: auto;
    margin-right: auto;
    text-align: justify;
    text-justify: inter-word;
    width: 90%;
    padding: 0px;
    border-spacing: 25px;
    border: none;
}

table, td, th
{
    border: 1px solid #458588;
    margin-bottom: 15px;
}

th
{
    text-align: center;
}

th.aboutme
{
    text-align: right;
    min-width: 110px;
    width: 20%;
    border: none;
}

td.aboutme
{
    min-width: 225px;
    width: 35%;
    border: none;
}

td.image
{
    text-align: center;
    min-width: 190px;
    width: 30%;
    border: none;
}

ul.nav
{
    padding-left: 20px;
    list-style-image: url('images/barzh.svg-tiny.png');
}

li.nav
{
    margin-bottom: 10px;
}


a.nav
{
    font-family: Hack;
    font-size: 14px;
}

ul.top-menu
{
    list-style-type: none;
    margin: 0px;
    padding: 0px;
    white-space: nowrap;
}

@media only screen and (max-width: 850px)
{
    li.top-menu
    {
        line-height: 1.5;
        margin: 10px;
        margin-bottom: 15px;
    }
}

@media only screen and (min-width: 851px)
{
    li.top-menu
    {
        display: inline-block;
        line-height: 1.5;
        padding: 10px;
        margin-bottom: 15px;
    }
}

li a.top-menu
{
    display: block;
    color: white;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
}

span.html5logo
{
    font-size: 12px;
}

@media (max-width: 800px)
{
    section {
      /*-webkit-flex-direction: column;*/
      flex-direction: column;
    }
}

span
{
    margin-left: 4px;
    margin-right: 4px;
}

.tt
{
    color: #fe8019;
    font-family: Hack;
}

.bf
{
    font-weight: bold;
}

.ss
{
    text-decoration: line-through;
    color: #a89984
}

::-webkit-scrollbar
{
    width: 5px;
    height: 5px;
}

::-webkit-scrollbar-track, ::-webkit-scrollbar-corner
{
    background: #32302f;
    margin-top: 7px;
    margin-bottom: 7px;
}

::-webkit-scrollbar-thumb
{
    background: #665c54;
}

::-webkit-scrollbar-thumb:hover
{
    background: #ebdbb2;
}

.tex sub, .latex sub, .latex sup
{
  text-transform: uppercase;
}

.tex sub, .latex sub
{
  vertical-align: -0.5ex;
  margin-left: -0.1667em;
  margin-right: -0.125em;
}

.tex, .latex, .tex sub, .latex sub
{
  font-size: 1em;
}

.latex sup
{
  font-size: 0.85em;
  vertical-align: 0.15em;
  margin-left: -0.36em;
  margin-right: -0.15em;
}

div.top-menu
{
    overflow-x: scroll;
    margin: 0px;
    padding: 0px;
}

div.resizable
{
    float: right;
    padding: 10px;
    text-align: center;
    overflow: hidden;
    margin: auto;
    margin-left: 1em;
    margin-bottom: 1em;
    height: 420px;
    border: 4px dashed #ebdbb2;
    width: 450px;
}
