html {
    box-sizing: border-box;
    overflow-x: hidden;
    font-size: 2.4vmin;
    font-family: 'Source Serif Pro', serif;
}

body {
    max-width: 100vw;
}

*,
*::before,
*::after {
    box-sizing: inherit;
    color: #555;
    font-size: inherit;
    font-family: inherit;
}

@media only screen and (min-device-width: 767px) {
    html {
        font-size: 2.5vmin;
    }
}

@media only screen and (min-device-width: 912px) {
    html {
        font-size: 20px;
    }
}

@media only screen and (min-device-width: 1920px) {
    html {
        font-size: .9vw;
    }
}


/* Lists
–––––––––––––––––––––––––––––––––––––––––––––––––– */

ul {
    list-style: disc;
}

ol {
    list-style: none;
}

ol,
ul {
    padding-left: 0;
    margin-top: 0;
}

ul ul,
ul ol,
ol ol,
ol ul {
    margin: 1.5rem 0 1.5rem 3rem;
    font-size: 90%;
}


/* li {
    margin-bottom: 1rem;
} */

details {
    text-align: center;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    letter-spacing: .04rem;
    color: hsla(200, 75%, 40%, 1);
}

h1,
h2 {
    line-height: 1;
}

nav h2 {
    white-space: nowrap;
}


/* FONTS */

h1,
h2,
h3,
h4,
h5,
h6,
footer p {
    font-family: 'Impact', 'Pragati', Haettenschweiler, "Franklin Gothic Bold, Charcoal", "Helvetica Inserat", "Bitstream Vera Sans Bold", "Arial Black", sans-serif;
}


/* Typography */

h1 {
    font-size: 4rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.6rem;
}

h4 {
    font-size: 1.3rem;
}

h5 {
    font-size: 1.1rem;
}

p,
li,
td,
h6 {
    font-size: 1;
    line-height: 1.4;
    color: #666;
}


/* Rythm */

h4:not(:first-child),
h5:not(:first-child),
h6:not(:first-child) {
    padding-top: 1rem;
}

p {
    padding-bottom: 1rem;
}

object#thin-lines,
.professional-icon,
#other-courses,
#super-learning,
h2 {
    margin-bottom: 1rem;
}

.professional-course-element {
    min-width: 33%;
    margin-bottom: 4rem;
    padding: 0 1.5rem;
}

.mint-background h4::after {
    border-color: #a2dba2;
}

h5 {
    text-transform: uppercase;
    color: #666
}

strong {
    font-weight: 300;
    color: #1EAEDB;
}

em {
    font-weight: 700;
}

.benefit-list {
    display: flex;
    justify-content: center;
}


/* LAYOUT */

#logo {
    position: absolute;
    padding: 1rem;
    min-width: 5rem;
    top: 0;
    left: 10%;
}

.white-box {
    box-shadow: 0 .2rem 10px 0px #ccc;
    background-color: white;
    border-left: 3px solid hsla(200, 75%, 40%, 1);
    border-bottom: 3px solid hsla(200, 75%, 40%, 1);
}

#wait-wrapper {
    min-width: 100vw;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: none;
}

#wait-wrapper::before {
    content: "";
    background-image: url(https://source.unsplash.com/random/?teacher);
    background-size: cover;
    opacity: .1;
    filter: blur(12px);
    width: 100vw;
    height: 100vh;
    position: absolute;
    z-index: -3;
}

#hold-message {
    width: 80%;
    padding: 3rem;
}

#overlay {
    position: fixed;
    /* Sit on top of the page content */
    display: none;
    /* Hidden by default */
    width: 100vw;
    /* Full width (cover the whole page) */
    height: 100vh;
    /* Full height (cover the whole page) */
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    /* Black background with opacity */
    z-index: 2;
    /* Specify a stack order in case you're using a different order for other elements */
    cursor: pointer;
    /* Add a pointer on hover */
}

#call-back-form,
#impressum {
    display: none;
    position: absolute;
    left: 50%;
    top: 150%;
    transform: translate(-50%, -50%);
    background-color: white;
    max-height: 100vh;
    z-index: 10;
    padding: 1.5rem;
    overflow-y: scroll;
    overflow-wrap: break-word;
    max-width: 100vw;
}

#impressum p {
    padding-bottom: unset;
}

.wide {
    width: 100%;
}

@keyframes opacity-full {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes opacity-none {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

@keyframes zoom-in {
    0% {
        top: 150%;
    }
    80% {
        top: 49%;
    }
    91% {
        top: 51%;
    }
    100% {
        top: 50%;
    }
}

@keyframes zoom-out {
    0% {
        top: 50%;
    }
    9% {
        top: 51%;
    }
    20% {
        top: 49%;
    }
    100% {
        top: 150%;
    }
}

.benefit-list-item::before {
    content: "✔";
    color: #1EAEDB;
    margin-right: .8rem;
}

object#thin-lines,
object.divider {
    height: 3rem;
    width: 100vw;
    margin-bottom: 2.5rem !important;
}

object.divider {
    height: 4rem;
    margin-bottom: 0 !important;
    margin-bottom: -1rem !important;
}

#translations>object.divider,
#calendar>object.divider {
    height: 2rem;
    margin-bottom: 1rem !important;
}

#self-presentation>object.divider {
    height: 2rem;
    margin: 0 !important;
}


/* */


/* @media only screen and (min-width: 768px) {
    #call-to-action {
        position: fixed !important;
        filter: drop-shadow(0 0 .5rem #1EAEDB);
        right: 2rem;
        bottom: 2rem;
        width: 5rem;
        z-index: 99;
    }
}
 */

#call-to-action {
    position: fixed !important;
    filter: drop-shadow(0 0 .5rem #1EAEDB);
    right: 1.1rem;
    bottom: 1.1rem;
    width: 4.2rem;
    z-index: 99;
}

.big-call-to-action {
    margin: 2rem 0;
    padding: 1rem 1.5rem;
    max-width: 30rem;
    background-color: #1EAEDB;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 0 .5rem #1EAEDB);
    font-weight: 700;
    font-size: 1rem;
}

@media only screen and (min-width: 768px) {
    #professional-courses {
        margin: 0 auto;
        max-width: 1300px;
        display: flex;
    }
    #professional-courses h3 {
        flex: none;
        display: block
    }
}

#navigation {
    height: 5rem;
    background-color: #ebf2eb;
    position: fixed;
    width: 100vw;
    padding: 1.1rem 0 0 2rem;
    box-shadow: 0 4px 10px 0px #ddd;
    z-index: 1;
    ;
}

.scale-wrapper {
    resize: both;
    transform: scale(.3, .3);
    transform-origin: top left;
}


/* 
HERO
################################
*/

#hero {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding-top: 5rem;
    min-height: 100vh;
    position: relative;
    top: 0;
    left: 0;
    text-align: center;
}

#hero::after {
    content: "";
    position: absolute;
    background-image: /* linear-gradient(0deg, rgba(162, 219, 162, 1) 0%, rgba(255, 255, 255, .8) 10%),  */
    url(/images/high-five.jpg);
    opacity: 0.2;
    background-size: cover;
    background-position: 50% 20%;
    -webkit-filter: blur(8px) contrast(120%);
    filter: blur(8px) contrast(120%);
    z-index: -1;
    min-height: 35rem;
    height: 100vh;
    width: 100vw;
}

#hero h2 {
    text-align: center;
    font-weight: 100;
}

#hero-wrapper {
    width: 60%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#hero>object.divider {
    margin-left: 0 !important;
    margin-right: 0 !important;
    height: 2rem;
    position: absolute;
    bottom: -.1rem;
}


/* 
#######################################
*/


/* 
SUPER-LEARNING
#######################################
*/

#super-learning {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    padding-top: 3rem;
    z-index: 99;
    background: white;
}

@media only screen and (min-width: 768px) {
    #super-learning {}
}

@media only screen and (min-width: 1100px) {
    #super-learning>div {
        display: flex;
        max-width: 1300px;
        margin: 0 auto;
        /* flex-direction: column; */
    }
    #super-learning>div>div {
        min-width: 23%;
        padding: 0 1.5rem;
    }
}


/* 
#######################################
*/

.hide {
    display: none;
}

.show {
    display: block;
}

.professional-icon {
    display: block;
    height: 8rem;
    margin: 0 auto;
}

.mint-background {
    background-color: #ebf2eb;
    padding: 1rem;
    display: flex;
    justify-content: center;
}

.white-frame {
    background-color: white;
    border-radius: 2rem;
    padding: 1rem;
    margin-bottom: 2.5rem;
    display: flex;
    flex-wrap: nowrap;
    flex-direction: column;
    align-items: center;
    max-width: 40rem;
}

.white-frame .language-levels-explanation div {
    max-width: 100%;
    min-width: 100%;
    margin: 0 1rem;
}

.language-levels-explanation {
    flex-direction: column;
}

#language-level-buttons {
    font-size: 1.7rem;
    font-weight: 100;
    color: #006800;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 1rem 0;
    cursor: pointer;
    width: 100%;
}

.language-level-buttons-highlight {
    color: #a2dba2;
    font-weight: 900 !important;
    filter: drop-shadow(0 0 .5rem #a2dba2) !important;
}

@media only screen and (min-width: 768px) {
    .white-frame {
        Padding: 2rem 3rem;
    }
}

@media only screen and (min-width: 1024px) {
    .white-frame {
        max-width: 1100px;
    }
    #language-level-buttons {
        max-width: 40rem;
    }
    .white-frame {
        Padding: 2rem 3rem;
        max-width: 1100px;
    }
    .white-frame .language-levels-explanation {
        display: flex;
        flex-direction: row;
    }
    .white-frame .language-levels-explanation div {
        max-width: 25%;
        min-width: 15%;
        margin: 0 1rem;
    }
    .language-levels-explanation * {
        text-align: left;
    }
}


/* 
TRANSLATIONS
##################################### 
*/

#translations {
    width: 100vw;
    text-align: center;
    background-color: #006800;
}

#translations *,
#self-presentation>*,
#calendar *,
#call-to-action-section * {
    color: white;
}

#translations>p {
    margin-bottom: 1.5rem;
}

#translations .divider:first-child {
    background-color: #ebf2eb;
}

#translations .divider:last-child {
    background-color: #363636;
}

.single-icon {
    height: 8rem;
    display: block;
    margin: 0 auto;
    margin-bottom: 1.5rem;
    margin-top: .5rem;
}

@media only screen and (min-width: 768px) {
    #translations>.wrapper {
        display: flex;
        align-items: center;
        max-width: 700px;
        margin: 0 auto;
        flex-basis: inherit;
    }
    #translations * {
        /* white-space: nowrap; */
        text-align: left;
    }
    #translations>.wrapper>* {
        padding: 0 1.5rem;
    }
}

@media only screen and (min-width: 1024px) {
    #translations>.wrapper {
        max-width: 1100px;
        padding: 1rem 0;
    }
}


/*
Kalender Einstellungen
##########################################################
*/

#calendar {
    background-color: #363636;
    margin: -3rem 0 0;
    padding: 3rem 0;
}

#calendar .single-icon {
    margin-top: 2rem;
}

#upcoming-table {
    margin: 2rem 0;
}

.calendar-table {
    width: 90%;
    margin: 0 auto;
    display: grid;
    /* height: 100%; */
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
    grid-template-areas: ". . .", ". . .", ". . .", ". . .", ". . .", ". . .";
}


/* .calendar-table-date, */

.calendar-table-course
/* ,
.calendar-table-type */

{
    padding-bottom: .45rem;
    padding-top: .7rem;
    border-bottom: 2px solid #a2dba2;
}

.calendar-table * {
    text-align: center;
    font-weight: 900;
}

.calendar-table-date {
    text-align: right;
}

.calendar-table-type {
    /* text-align: left; */
}

.calendar-table-course {
    color: #1EAEDB !important;
    display: block;
}

.calendar-table-describtion {
    padding-top: .7rem;
    color: white!important;
}

@media only screen and (min-width: 768px) {
    .calendar-table {
        max-width: 700px !important;
    }
    /*     #calendar {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
    #calendar .group>* {
        float: left;
    } */
}

@media only screen and (min-width: 1024px) {
    .calendar-table {
        max-width: 1100px;
    }
}


/* ########################################## */


/* 
SELF PRESENTATION
############################## */

#self-presentation {
    background-color: #ebf2eb;
    color: white;
}

#self-presentation .divider:first-child {
    margin-bottom: 2rem !important;
}

#self-presentation>.center {
    margin: 0 auto;
    padding: 0 1rem;
}

#self-presentation>* {
    color: white;
}

#self-presentation img {
    width: 50vw;
}

#self-presentation p {
    text-align: left;
}

@media only screen and (min-width: 768px) {
    #self-presentation> {
        display: flex;
    }
}

@media only screen and (min-width: 1024px) {}


/* 
CALL-TO-ACTION-SECTION
#############################################
*/

#call-to-action-section {
    width: 100vw;
    background-image: linear-gradient(180deg, rgba(242, 196, 124, .97), rgba(0, 104, 0, .92)), url(/images/hands-down.jpg);
    background-size: cover;
    background-position: 30% 70%;
}

#call-to-action-section-wrapper {
    min-height: 30rem;
    margin: 0 auto;
    padding: 3rem 2rem 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding-left: 1rem;
    padding-right: 1rem;
}


/* 
#############################################
*/


/* Selection Functions
###################### */

.noselect,
.big-call-to-action {
    -webkit-touch-callout: none;
    /* iOS Safari */
    -webkit-user-select: none;
    /* Safari */
    -khtml-user-select: none;
    /* Konqueror HTML */
    -moz-user-select: none;
    /* Firefox */
    -ms-user-select: none;
    /* Internet Explorer/Edge */
    user-select: none;
    /* Non-prefixed version, currently supported by Chrome and Opera */
}

*::selection {
    background: #a2dba2;
    color: white;
    border-radius: 50%;
    /* WebKit/Blink Browsers */
}

*::-moz-selection {
    background: #a2dba2;
    color: white;
    /* Gecko Browsers */
}


/* ANIMATIONS
####################### */

.white-frame,
.white-frame * {
    transition: all .4s ease-in-out;
}

#language-level-buttons,
a #call-to-action {
    /* -webkit-user-select: none; */
    /* Chrome all / Safari all */
    /* -moz-user-select: none; */
    /* Firefox all */
    /* -ms-user-select: none; */
    /* IE 10+ */
    /* user-select: none; */
    /* Likely future */
    -webkit-tap-highlight-color: rgba(162, 219, 162, 0);
    -moz-tap-highlight-color: rgba(162, 219, 162, 0);
    -ms-tap-highlight-color: rgba(162, 219, 162, 0);
}

footer {
    background-color: hsla(200, 75%, 40%, 1);
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0 10%;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
}

footer p {
    padding: .5rem 0;
    color: white;
    display: inline-block;
    letter-spacing: .04rem;
}

@media only screen and (min-device-width: 767px) {
    footer {
        flex-direction: row;
    }
    footer p {
        padding: 1rem 0;
    }
}


/* FORM*/


/* Buttons
–––––––––––––––––––––––––––––––––––––––––––––––––– */

.button,
button,
input[type="submit"],
input[type="reset"],
input[type="button"] {
    display: inline-block;
    height: 38px;
    padding: 0 30px;
    color: #555;
    text-align: center;
    font-size: 11px;
    font-weight: 600;
    line-height: 38px;
    letter-spacing: .1rem;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
    background-color: transparent;
    border-radius: 200rem;
    border: 1px solid #bbb;
    cursor: pointer;
    box-sizing: border-box;
}

.button:hover,
button:hover,
input[type="submit"]:hover,
input[type="reset"]:hover,
input[type="button"]:hover,
.button:focus,
button:focus,
input[type="submit"]:focus,
input[type="reset"]:focus,
input[type="button"]:focus {
    color: #333;
    border-color: #888;
    outline: 0;
}

.button.button-primary,
button.button-primary,
input[type="submit"].button-primary,
input[type="reset"].button-primary,
input[type="button"].button-primary {
    color: #FFF;
    background-color: #33C3F0;
    border-color: #33C3F0;
}

.button.button-primary:hover,
button.button-primary:hover,
input[type="submit"].button-primary:hover,
input[type="reset"].button-primary:hover,
input[type="button"].button-primary:hover,
.button.button-primary:focus,
button.button-primary:focus,
input[type="submit"].button-primary:focus,
input[type="reset"].button-primary:focus,
input[type="button"].button-primary:focus {
    color: #FFF;
    background-color: #1EAEDB;
    border-color: #1EAEDB;
}


/* Forms
–––––––––––––––––––––––––––––––––––––––––––––––––– */

input[type="email"],
input[type="number"],
input[type="search"],
input[type="text"],
input[type="tel"],
input[type="url"],
input[type="password"],
textarea,
select {
    height: 38px;
    padding: 6px 10px;
    /* The 6px vertically centers text on FF, ignored by Webkit */
    background-color: #fff;
    border: 1px solid #D1D1D1;
    border-radius: 200rem;
    box-shadow: none;
    box-sizing: border-box;
}


/* Removes awkward default styles on some inputs for iOS */

input[type="email"],
input[type="number"],
input[type="search"],
input[type="text"],
input[type="tel"],
input[type="url"],
input[type="password"],
textarea {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

textarea {
    min-height: 65px;
    padding-top: 6px;
    padding-bottom: 6px;
}

input[type="email"]:focus,
input[type="number"]:focus,
input[type="search"]:focus,
input[type="text"]:focus,
input[type="tel"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
textarea:focus,
select:focus {
    border: 1px solid #33C3F0;
    outline: 0;
}

label,
legend {
    display: block;
    margin-bottom: .5rem;
    margin-left: .5rem;
    font-weight: 600;
}

fieldset {
    padding: 0;
    border-width: 0;
}

input[type="checkbox"],
input[type="radio"] {
    display: inline;
}

label>.label-body {
    display: inline-block;
    margin-left: 1rem;
    font-weight: normal;
}


/* Code
–––––––––––––––––––––––––––––––––––––––––––––––––– */

code {
    padding: .2rem .5rem;
    margin: 0 .2rem;
    font-size: 90%;
    white-space: nowrap;
    background: #F1F1F1;
    border: 1px solid #E1E1E1;
    border-radius: 4px;
}

pre>code {
    display: block;
    padding: 1rem 1.5rem;
    white-space: pre;
}