* {
    margin: 0;
    padding: 0;   
}
html, body {
    height: 100%;
    
}
html {
    /*font-size: calc(10px + 1vw);*/
}
body {
    background: url(bg.jpg) no-repeat center center fixed;
    background-size: cover;
    font-family: 'Noto Sans', Arial, sans-serif;
    hyphens: auto; 
}

sup, sub {
    vertical-align: baseline;
    position: relative;
    top: -0.4em;
}
sub { 
    top: 0.4em; 
}
.frame {
    margin: 3vh 3vh;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 6px;
    padding: 1rem 2rem;
    box-sizing: border-box;
    /*backdrop-filter: blur(10px);*/
    box-shadow: 0 0 40px 0 rgba(0, 0, 0, 0.8);
}
h1, h2, h3 {
    text-align: center;
}
h1 {
    font-size: 2.5rem;
}
h2 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}
h3 {
    margin-top: .75rem;
    font-size: 1.5rem;
}
p {
    font-size: .9rem;
    padding-bottom: .9rem;
}
a {
    color: black;
}
input.code, button.btn  {
    display: block;
    float: left;
    height: 80px;
    width: 80%;
    font-size: 2.5rem;
    text-align: center;
    border-width: 1px;
    border-style: solid;
    border-color: #202020;
    border-radius: 4px;
    outline: none;
    margin-right: 3%;
    -webkit-transition: width .35s ease-in-out, border-color .35s ease-in-out;
    transition: width .35s ease-in-out, border-color .35s ease-in-out;
}
button.btn {
    font-size: 2.2rem;
    width: 17%;
    margin-right: 0;
}
button.btn span {
}
input.code:focus {
    border-color: #d10031;
}
.cl {
    clear: left;
}
.small {
    font-size: .7rem;
}
.micro {
    font-size: .5rem;
}
.center {
    text-align: center;
}
.bold {
    font-weight: 700;
}
.margin_top {
    margin-top: 1rem;
}
.margin_bottom {
    margin-bottom: 1rem;
}
.margin_bottom_small {
    margin-bottom: .5rem;
}
.col_red {
    color: #d10031;
}
.col_dark {
    color: #505050;
}
.col_black {
    color: black;
}

.hr {
    height: 2px;
    width: 80%;
    margin: .75rem auto 0;
    background: rgb(255,255,255);
    background: linear-gradient(90deg, rgba(255,255,255,1) 0%, rgba(209,0,49,0) 0%, rgba(209,0,49,1) 50%, rgba(209,0,49,0) 100%);
}
.course_current:hover > span {
    background: linear-gradient(180deg, rgba(209,0,49,0.1) 0%, rgba(255,255,255,1) 100%);
}
.course_current.live:hover > span  { /*:nth-child(2)*/
    background: linear-gradient(180deg, rgba(74,129,0,0.1) 0%, rgba(255,255,255,1) 100%); 
}
.course_current.soon:hover > span { /*:nth-child(2)*/
    background: linear-gradient(180deg, rgba(0,88,136,0.1) 0%, rgba(255,255,255,1) 100%); 
}

.course_current {
    display: table;
    width: 100%;
    height: 3rem;
    border-collapse: separate;
    border-spacing: 2px;
    text-decoration: none;
    margin-bottom: .1rem;
}
.course_current > span { /* label und status spans */
    display: table-cell;
    border: 1px solid #d10031;
    border-radius: 4px;
    vertical-align: middle;
    background: rgb(209,0,49);
    background: linear-gradient(0deg, rgba(209,0,49,0.1) 0%, rgba(255,255,255,1) 100%);
    padding: .3rem;
}
.course_current > span:first-child { /* linke tablecell */
    width: 70%;
}
.course_current > span:nth-child(2) { /* rechte tablecell */
    width: 30%;
}

.course_current > span > span { /* alle inneren spans wie label und status headlines */
    display: block;
}
.course_current > span:first-child > span:first-child { /*course_current label headline*/
    font-size: 1.3rem;
}
.course_current > span:first-child > span:nth-child(2) { /*course_current label subheadline*/
    font-size: .6rem;
    font-weight: 700;
    color: black;
}
.course_current > span:nth-child(2) > span:first-child { /*course_current status headline*/
    font-size: .6em;
}
.course_current > span:nth-child(2) > span:nth-child(2) { /*course_current status subheadline*/
    font-size: 1rem;
}

.course_current.live > span {  /* :nth-child(2) */
    color: #4a8100;
    border-color: #4a8100;
    background: #4a8100;
    background: linear-gradient(0deg, rgba(74,129,0,0.1) 0%, rgba(255,255,255,1) 100%); 
}

.course_current.soon > span { /* :nth-child(2) */
    color: #005888;
    border-color: #005888;
    background: rgb(0,88,136);
    background: linear-gradient(0deg, rgba(0,88,136,0.1) 0%, rgba(255,255,255,1) 100%); 
}

.course_upcoming {
    display: block;
    width: 100%;
    vertical-align: middle;
    border-radius: 4px;
    border: 1px solid #005888;
    background: rgb(0,88,136);
    background: linear-gradient(0deg, rgba(0,88,136,0.1) 0%, rgba(255,255,255,1) 100%); 
    padding: .3rem;
    margin-bottom: .5em;
}
.course_upcoming > span { /* label und status spans */
    display: block;
}
.course_upcoming span:first-child {
    font-size: .8rem;
    font-weight: 700;
    color: #005888;
}
.course_upcoming span:nth-child(2) {
    font-size: .5rem;
    font-weight: 700;
}
.course_upcoming.prev {
    border: 1px solid #505050;
    background: rgb(80,80,80);
    color: #505050;
    background: linear-gradient(0deg, rgba(80,80,80,0.1) 0%, rgba(255,255,255,1) 100%);
}
.course_upcoming.prev span:first-child {
    font-size: .75rem;
    color: #202020;
}
.course_upcoming.prev span:nth-child(2) {
    display: none; /* verstecke zeit bis beginn */
}

.code_status {
    display: none;
}
.code_status.show {
    display: block;
}
.imprint > span {
    text-transform: uppercase;
    
}
.imprint > a {
    color: #505050;
}

/* media queries */

/*
@media only screen and (max-width: 400px) {
   html { 
        font-size: calc(10px + 1vw);
   }
}
@media screen and (min-width: 680px) {
    html {
        font-size: calc(7px + 1vw);
    }
}
*/
@media (min-width:320px)  { /* smartphones, portrait iPhone, portrait 480x320 phones (Android) */
    html {
        font-size: calc(10px + 1vw);
    }
}
@media (min-width:400px)  { /* smartphones, portrait iPhone, portrait 480x320 phones (Android) */
    html {
        font-size: calc(13px + 1vw);
    }
}
@media (min-width:480px)  { /* smartphones, Android phones, landscape iPhone */
    html {
        font-size: calc(14px + 1vw);
    }
}
@media (min-width:600px)  { /* portrait tablets, portrait iPad, e-readers (Nook/Kindle), landscape 800x480 phones (Android) */
    html {
        font-size: calc(9px + 1vw);
    }
}
@media screen and (min-width: 780px) {
    .frame {
        margin: 3vh auto;
        width: 760px;
    }
}
@media (min-width:801px)  { /* tablet, landscape iPad, lo-res laptops ands desktops */ }
@media (min-width:1025px) { /* big landscape tablets, laptops, and desktops */ }
@media (min-width:1281px) { /* hi-res laptops and desktops */ }

