/*FONT START////////////////////////////////////*/

@font-face {
    font-family: "Fira Sans";
    font-weight: 300;
    src: url("./fonts/FiraSans-Light.ttf") format('truetype');
}

@font-face {
    font-family: "Fira Sans";
    font-weight: 400;
    src: url("./fonts/FiraSans-Regular.ttf") format('truetype');
}


@font-face {
    font-family: "Playfair Display";
    font-weight: 400;
    src: url("./fonts/PlayfairDisplay-Regular.ttf") format('truetype');
}

@font-face {
    font-family: "Playfair Display";
    font-weight: 700;
    src: url("./fonts/PlayfairDisplay-Bold.ttf") format('truetype');
}


@font-face {
    font-family: 'Typewriter_Condensed_Demi';
    font-style: normal;
    font-weight: normal;
    src: local('Typewriter_Condensed_Demi'), url('fonts/typewcond_demi.woff') format('woff');
}

@font-face {
    font-family: 'Typewriter_Condensed';
    font-style: normal;
    font-weight: normal;
    src: local('Typewriter_Condensed'), url('fonts/typewcond_regular.woff') format('woff');
}

@font-face {
    font-family: 'Typewriter_Condensed Bold';
    font-style: normal;
    font-weight: normal;
    src: local('Typewriter_Condensed Bold'), url('fonts/typewcond_bold.woff') format('woff');
}

/*FONT END/////////////////////////////////////*/


/*VAR START////////////////////////////////////*/

:root {
    --light-rosy: #f5e8e9;
    --mid-rosy: #ee8b92;
    --dark-rosy: #e37c84;
    --mid-purple: #6f4099;
    --light-blue: #f5efed;
    --mid-blue: #c94723; /*1e8cdb*/
    --dark-blue: #d8451d;
}

/*VAR END/////////////////////////////////////*/


/*MAIN START////////////////////////////////////*/

* {
    margin: 0px;
    padding: 0px;
    font-family: 'Fira Sans', serif;
    font-weight: 300;
}

a {
    color: black;
}

body {
    background-color: white;
    position: relative;
}

h1 {
    font-family: 'Playfair Display';
    font-weight: 400;
    font-size: 4em;
    text-align: center;
    margin-bottom: 0.4em;
}

h2 {
    font-family: 'Playfair Display';
    font-weight: 400;
    font-size: 2.8em;
    text-align: left;
    margin-bottom: 1.4em;
}

h3 {
    font-family: 'Fira Sans';
    font-weight: 300;
    font-size: 1.3em;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    text-align: center;
    margin-top: 0.7em;
    line-height: 1.3;
    margin-bottom: -0.1em;
}

h4 {
    font-family: 'Fira Sans';
    font-weight: 300;
    font-size: 1.4em;
    line-height: 1.4;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-align: left;
    margin-bottom: 1.0em;
}

h5 {
    font-size: 2em;
    font-family: 'Playfair Display';
    font-weight: 400;
    border: none;
    text-decoration: none;
    color: black;
}

h5:hover {
    text-decoration: underline;
}

.footer h5 {
    font-size: 1.25em;
}

h6 {
    font-family: 'Fira Sans';
    font-weight: 300;
    font-size: 1.3em;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    text-align: left;
    margin-top: -2.4em;
    line-height: 1.3;
    margin-bottom: 6em;
    -webkit-column-span: all; /* Chrome, Safari, Opera */
    column-span: all;
}

h7 {
    font-family: 'Fira Sans';
    font-weight: 300;
    font-size: 1.2em;
    line-height: 1.4;
    margin-bottom: 1em;
    text-align: center;
    -webkit-column-span: all; /* Chrome, Safari, Opera */
    column-span: all;
}

p {
    font-family: 'Fira Sans';
    font-weight: 300;
    font-size: 1em;
    line-height: 1.4;
    text-align: left;
    margin-bottom: 1.4em;
}

p:last-child {
    margin-bottom: 0em;
}

ul {
    list-style-position: outside;
}

li {
    font-family: 'Fira Sans';
    font-weight: 300;
    font-size: 1em;
    text-align: left;
    margin-bottom: 0.8em;
    margin-left: 1.3em;
}

td {
    padding-right: 1em;
    padding-left: 1em;
}

.bold {
    font-weight: 400;
}

/*MAIN END/////////////////////////////////////*/


/*NAV START/////////////////////////////////////*/

header {
    position: fixed;
    top: 0;
    transition: top 0.2s ease-in-out;
    z-index: 120;
}

.nav {
    position: inherit;
    top: inherit;
    /*height: 3.3em;*/
    width: 100%;
    background-color: white;
    z-index: 120;
}

.nav-up {
    top: -3.3em;
}

.nav ul {
    list-style: none;
    margin-top: 0.7em;
    text-align: center;
    background-color: white;
}

.nav li {
    display: inline-block;
    margin-left: 1em;
    margin-right: 1em;
}

.nav li a {
    font-size: 1.25em;
    font-family: 'Playfair Display';
    font-weight: 400;
    border: none;
    text-decoration: none;
    color: black;
}

.nav li a:hover {
    text-decoration: underline;
}

/*NAV END/////////////////////////////////////*/


/*INFO START/////////////////////////////////////*/

.info {
    position: inherit;
    top: inherit;
    height: 3.3em;
    width: 100%;
    z-index: 120;
}

.info ul {
    list-style: none;
    margin-top: 1em;
    text-align: center;
}

.info li {
    display: inline-block;
    padding: 0.5em 1em;
    margin-left: 0.3em;
    margin-right: 0.3em;
    /* orange //
    color: #ffebe7;
    background-color: #ec7154;
    border: 1px solid #c53a19;
    */
    color: #deead2;
    background-color: #86bb72;
    border: 1px solid #4f9e43;
    box-shadow: none;
    border-radius: 3em;
    font-size: 1em;
    font-family: 'Fira Sans', serif;
    font-weight: 300;
    text-decoration: none;
    transition: color 0.3s, background-color 0.3s, border 0.3s, box-shadow 0.3s;
}

.info li:hover {
    /* orange //
    color: #ffebe7;
    background-color: #f5937c;
    border: 1px solid #de7a62;
    */
    color: #deead2;
    background-color: #8ec379;
    border: 1px solid #5daf51;
    /* if link //
    box-shadow: 0px 6px 15px #00000012;
    */
    cursor: default;
}

#info {
    margin-top: 3em;
}

/*INFO END/////////////////////////////////////*/


/*CONTENT START/////////////////////////////////////*/

.content {
    width: 100%;
    background-color: whitesmoke;
    padding-top: 5em;
    padding-bottom: 7em;
}

.contentVideo {
    width: 100%;
    background-color: whitesmoke;
    margin-top: -9em;
    padding-bottom: 5em;
}

.content-home {
    width: 100%;
    background-color: whitesmoke;
    padding-top: 6.5em;
    padding-bottom: 6.2em;
    /*
    padding-top: 5.8em;
    padding-bottom: 7em;
    */
}

.contentOuter {
    position: relative;
    margin: 0 auto;
    max-width: 60em;
}

.contentOuterVideo {
    position: relative;
    padding: 2em;
    margin: 0 auto;
    max-width: 56em;
}

#video {
    position: relative;
    width: 100%;
    height: 32em;
}

.contentOuterSmall {
    position: relative;
    margin: 0 auto;
    max-width: 32em;
}

.contentTitle {
    margin: 2em;
}

.contentTitle h4 {
    margin-top: -2.4em;
    margin-bottom: 6em;
    color: #67818a;
}

.contentInner {
    margin: 2em;
    -webkit-column-count: 2; /* Chrome, Safari, Opera */
    -moz-column-count: 2; /* Firefox */
    column-count: 2;
    -webkit-column-gap: 2.5em; /* Chrome, Safari, Opera */
    -moz-column-gap: 2.5em; /* Firefox */
    column-gap: 2.5em;
}

@media only screen and (max-width: 768px) {
    .contentInner {
        -webkit-column-count: 1; /* Chrome, Safari, Opera */
        -moz-column-count: 1; /* Firefox */
        column-count: 1;
        -webkit-column-gap: 0em; /* Chrome, Safari, Opera */
        -moz-column-gap: 0em; /* Firefox */
        column-gap: 0em;
    }
}

.contentInnerOne {
    margin: 2em;
}

.contentInner h2 {
    -webkit-column-span: all; /* Chrome, Safari, Opera */
    column-span: all;
}

.oneColumn {
    margin: 8em 2em;
    -webkit-column-count: 1; /* Chrome, Safari, Opera */
    -moz-column-count: 1; /* Firefox */
    column-count: 1;
    -webkit-column-gap: 0; /* Chrome, Safari, Opera */
    -moz-column-gap: 0; /* Firefox */
    column-gap: 0;
}

.kurs > *:first-child {
    padding-top: 1.35em;
    padding-bottom: 0.5em;
}

.kurs > *:first-child::after {
    display: block;
    content: "_";
    color: #67818a;
    width: 3em;
    height: 1em;
    border-bottom: solid 3px #67818a;
}

.kurs > h4 {
    color: var(--mid-blue);
    font-size: 1.2em;
    margin-bottom: 1em;
    text-transform: inherit;
    letter-spacing: 0;
    font-weight: 300;
}

.contentGridOuter {
    position: relative;
    margin: 0 auto;
    max-width: 60em;
    display: grid;
    grid-template-columns: 1fr 5.5fr;
    grid-template-rows: 1fr;
}

.contentGridInnerTitle {
    grid-column: 1/2;
    text-align: right;
    justify-self: end;
    padding-top: 3em;
    border-right: solid 3px #c7d4d8;
    margin: 0.2em 0;
}

.contentGridInnerContent {
    grid-column: 2/3;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 1em;
    padding: 1em;
    /*border: solid 3px #eaf2f5;
    background-color: #eaf2f5;*/
}

.gridElem {
    min-width: 23.4em;
}

.contentLink {
    font-size: 0.4em;
    letter-spacing: 0.05em;
    text-align: right;
    margin-right: 1em;
}

.contentLink a {
    font-family: 'Playfair Display';
    font-weight: 400;
}

.backgroundImg {
    position: relative;
    width: 100%;
    height: 45em;
    background-position: center;
    background-size: cover;
    overflow: hidden;
}

#backgroundImgTopAlign {
    background-position: top;
}

/*CONTENT END/////////////////////////////////////*/

.home {
    margin-top: 3.2em;
}

#logo_wrapper {
    width: 100%;
    height: 8em;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}

#pop {
    position: absolute;
    top: 120px;
    left: 50px;
    background-color: var(--light-blue);
    color: var(--mid-blue);
    border: 1px solid var(--light-blue);
    text-align: center;
    padding: 20px; 
    border-radius: 140px;
    width: 140px;
    height: 140px; 
    cursor: pointer;
    padding: 0px 40px;
    padding-top: 60px;
    padding-bottom: 20px;
    font-family: 'Playfair Display', serif;
    font-weight: 400;
    font-size: 24px;
    transform: rotate(-7deg) scale(1);
    transition: transform 0.3s;
    -webkit-animation: popBreathe 2s infinite;
    animation: popBreathe 2s infinite;
    transition: background-color 0.2s, border 0.2s;
}

@keyframes popBreathe {
    0%      {transform: rotate(-7deg) scale(1.0);}
    50%     {transform: rotate(-7deg) scale(1.05);}
    100%    {transform: rotate(-7deg) scale(1.0);}
}

#pop:hover {
    background-color: #f5f5f5;
    border: 1px solid var(--mid-blue);
}

#exit {
    display: none;
    opacity: 0;
    position: fixed;
    top: 40px;
    right: 40px;
    cursor: pointer;
}

#impressum h1 {
    margin-top: 2em;
    margin-bottom: 2em;
}

#impressum p {
    padding-bottom: 1em;
}

#impressum a {
    font-size: 1em;
    font-family: 'Fira Sans';
    font-weight: 300;
    color: black;
}

#kontakt div div h4 {
    margin-bottom: 0.4em;
    margin-top: 0;
}


.footer {
    width: auto;
    height: 4em;
    background-color: white;
}

.footer a {
    display: inline;
    padding: 1em;
}

.back {
    position: absolute;
    top: 0;
    left: 0;
    height: 1.45em;
    width: 4em;
    padding: 0.55em;
    font-size: 1.25em;
    font-family: 'Playfair Display';
    font-weight: 400;
    border: 1px solid black;
    background-color: black;
    color: white;
}

#back {
    float: left;
    text-decoration: none;
}

#forth {
    float: right;
    text-decoration: none;
}

.smallImage {
    position: absolute;
    top: -5em;
    right: 2.8em;
    width: 8em;
}

#tulkuImg {
    width: 14em;
}

#ueberMichTitle {
    padding-top: 1.4em;
}

#schnecke1 {
    position: absolute;
    left: 45%;
    top: 24em;
    width: 10%;
    z-index: 0;
    overflow: hidden;
}

#schnecke2 {
    position: absolute;
    right: 0;
    top: 71.18em;
    width: 6em;
    z-index: 90;
    overflow: hidden;
}

#schnecke3 {
    position: relative;
    float: left;
    margin-right: 1em;
    top: 10em;
    width: 7em;
    z-index: 90;
    overflow: hidden;
}

#schnecke4 {
    position: relative;
    float: right;
    width: 8em;
    z-index: 90;
    overflow: hidden;
}

#schnecke5 {
    position: relative;
    float: left;
    top: -8em;
    width: 8em;
    z-index: 90;
    overflow: hidden;
}

#schnecke6 {
    position: relative;
    float: left;
    top: 21em;
    width: 8em;
    z-index: 90;
    overflow: hidden;
}

#schnecke7 {
    position: relative;
    float: left;
    margin-right: 1em;
    top: 20em;
    width: 7em;
    z-index: 90;
    overflow: hidden;
}


.responsiveContainer {
  position: relative;
  padding-bottom: 30em;
  height: 0;
  overflow: hidden;
}

.responsiveContainer iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 30em;
}

.contentInner a:after {
    content: "";
    display: inline-block;
    background: url(img/link.svg) no-repeat;
    width: 12px;
    height: 12px;
    margin: 0 0 0 5px;
}

.infoButton a:after {
    content: none;
    display: inherit;
    background: none;
    width: 0;
    height: 0;
    margin: 0;
}

@media only screen and (min-width: 769px) {
    #breakBefore {
        break-before: column;
    }
    
    .oneColumn {
        margin: 8em 15em;
    }
}

#tulkuContainer {
    margin-top: 6em;
}

.infoButton {
    color: var(--light-blue);
    background-color: var(--mid-blue);
    border: 1px solid var(--mid-blue);
    margin-bottom: 1em;
    transition: background-color 0.2s, border 0.2s;
}

.infoButton:hover {
    background-color: var(--dark-blue);
    border: 1px solid var(--dark-blue);
}

.infoButton:last-child {
    margin-top: 2em;
}

.infoButton a {
    color: inherit;
    text-decoration: none;
}

#infoButtonText {
    margin-bottom: 0;
    padding: 1.4em;
}

.infoBox {
    color: var(--mid-blue);
    padding: 1.5em 1.5em;
    background-color: var(--light-blue);
    
    /*padding: 1.8em;
    background-color: var(--light-blue);
    border: 1px solid var(--mid-blue);*/
}

.infoBox h4 {
    font-size: 1em;
    font-weight: 300;
    letter-spacing: 0.02em;
    margin-bottom: 0em;
}

.infoBox p {
    margin-bottom: 1em;
}

.infoBox p:last-child {
    margin-bottom: 0em;
}

.centered {
    text-align: center;
}

.spanAll {
    -webkit-column-span: all; /* Chrome, Safari, Opera */
    column-span: all;
}

.green {
    color: #2da85a;
}

.purple {
    color: var(--mid-blue);
}

.boxed {
    padding-right: 5em;
}

.boxed h4 {
    /*color: #67818a;*/
    font-size: 1.2em;
    margin-bottom: 1em;
    text-transform: inherit;
    letter-spacing: 0;
    font-weight: 300;
}

.boxed * {
    /*color: #67818a;*/
    margin: 1em 0em;
}

.boxed *:first-child {
    margin-top: 2em;
}

.boxed *:last-child {
    margin-bottom: 2em;
}

.boxed p {
    margin-bottom: -0.5em;
}

#tagline {
    font-size: 1.1em;
    margin-bottom: 0.3em;
    color: #67818a;
}

#mailTo {
    color: inherit;
}

.terminBox {
    background-color: var(--light-blue);
    transition: margin-top 0.2s, padding-bottom 0.2s;
    padding-bottom: 1em;
}

.terminBox:hover {
    margin-top: -0.2em;
    padding-bottom: 1.2em;
}

.terminBox a {
    text-decoration: none;
}

.terminBox a:after {
    display: none;
}

#terminImg1 {
    width: 100%;
    height: 12em;
    background-image: url(img/fraueninsel.jpg);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    margin-bottom: 1em;
}

#terminImg2 {
    width: 100%;
    height: 12em;
    background-image: url(img/lujong.jpg);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    margin-bottom: 1em;
}

.terminBox a *:first-child {
    padding-top: 2em;
    padding-bottom: 0em;
}

.terminBox a *:last-child {
    padding-bottom: 1em;
}

.terminBox h5 {
    padding: 0 1em;
    text-align: center;
    font-size: 1.7em;
    margin-bottom: 0.3em;
    text-decoration: none;
}

.terminBox p {
    padding: 1em 3.2em;
    text-align: center;
    padding-bottom: 6em;
}

#terminButton {
    padding: 1em;
    text-align: center;
    background-color: var(--mid-blue);
    color: var(--light-blue);
    border: 1px solid var(--mid-blue);
    margin: 0em 1em;
    margin-top: -5.5em;
    transition: background-color 0.2s, border 0.2s;
}

#terminButton:hover {
    background-color: var(--dark-blue);
    border: 1px solid var(--dark-blue);
}

.termineImg {
    width: 100%;
    height: 40em;
    margin-top: -5em;
    margin-bottom: 0;
}

#form {
    padding: 2em;
}

input[type=text] {
    width: 100%;
    padding: 1em;
    font-size: 1em;
    display: inline-block;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

input[type=checkbox] {
    font-size: 1em;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

select {
    -webkit-appearance: none; 
    -moz-appearance: none;
    appearance: none;       /* remove default arrow */
    background-image: url(...);   /* add custom arrow */
    width: 100%;
    padding: 1em;
    font-size: 1em;
    display: inline-block;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    background-color: white;
}

button {
    width: 100%;
    background-color: #4CAF50;
    color: white;
    margin-top: 1em;
    padding: 1em;
    font-size: 1em;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

button:hover {
    background-color: #45a049;
}

.nameLeft {
    float: left;
    width: 49%;
    margin-right: 2%; 
}

.nameRight {
    float: left;
    width: 49%;
}

.zip {
    float: left;
    width: 20%;
    margin-right: 2%; 
}

.city {
    float: left;
    width: 78%;
}

#required {
    font-size: 16px;
    color: red;
    margin-left: 0.2em;
}

#directForm {
    color: black;
}

#directForm:hover {
    color: var(--mid-blue);
    /*color: var(--dark-blue);
    text-decoration: underline;*/
}

#directForm a {
    color: inherit;
}

#directForm a:hover {
    color: inherit;
}

#courseOverviewIndex {
    margin-top: -8em;
}

table {
    margin: 2em 0;
}

.insideTable {
    margin: 0;
}

td {
    vertical-align: top;
}

#noBottom {
    margin-bottom: 0;
}

#successInfo {
    margin: -1.5em;
}