@charset "UTF-8";
@import "fonts.css";

* { box-sizing: border-box }

:root {
    font-family: 'Quicksand', sans-serif;
    --orange: #240700;
    --bright-red: #B64530;
    --deep-red: #B64530;
    --background: #e9c0a5;
    background-color: #e9c0a5;
    color: var(--orange);
}

html {
    min-height: 100vh;
}

body {
    font-size: 18px;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
}

main {
    flex-grow: 1;
}

body a {
    color: white;
    text-decoration: none;
}

/*region HEADER*/
h1 {
    color: var(--deep-red);
    font-size: 3rem;
    text-align: center;
    font-weight: lighter;
    margin: 0;
    padding: 0;
    line-height: 1em;

    img {
        position: relative;
        display: inline-block;
        height: 1.35em;
        top: .25em;
        padding-right: .15em;
    }
}

header a {
    text-decoration: none;
}

/* region NAVIGATION*/
input[type=checkbox] {
    position: absolute;
    top: -9999px;
    left: -9999px;
    background: none;
}

/* TODO: Wozu ist das focus gut? Brauch ich das?*/
input[type=checkbox]:focus {
    background: none;
}

#menu-label {
    display: flex;
    background-color: transparent;
    align-items: center;
}

nav {
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: padding-top 400ms 0ms, max-height 400ms 0ms, opacity 400ms 0ms;
}

nav ul {
    padding: 0;
    margin: 0;
    background-color: transparent;
}

nav ul li {
    list-style: none;
    padding: 0;
    text-align: center;
}

nav ul li a {
    color: var(--deep-red);
    font-family: 'Merienda', cursive;
    font-size: 150%;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
    display: block;
    padding: 0.7em;
    border-top: 2px solid transparent;
}

#menu-toggle-box:checked~nav {
    max-height: 50em;
    opacity: 1;
    transition: max-height 1800ms 0ms, opacity 400ms 0ms;
}

/*region HAMBURGER*/
#hamburger-wrapper {
    width: 30px;
    height: 30px;
    margin: 1em;
}

#hamburger,
#hamburger:before,
#hamburger:after {
    width: 30px;
    height: 6px;
    border-radius: 6px;
    background-color: var(--deep-red);
    display: block;
}

#hamburger:before,
#hamburger:after {
    position: absolute;
    content: '';
}

#hamburger {
    margin: 0 auto;
    position: relative;
    top: 12px;
    -webkit-transition-duration: 0s;
    transition-duration: 0s;
    -webkit-transition-delay: 0.2s;
    transition-delay: 0.2s;
}

#hamburger:before {
    margin-top: -12px;
    -webkit-transition-property: margin, -webkit-transform;
    transition-property: margin, transform;
    -webkit-transition-duration: 0.2s;
    transition-duration: 0.2s;
    -webkit-transition-delay: 0.2s, 0s;
    transition-delay: 0.2s, 0s;
}

#hamburger:after {
    margin-top: 12px;
    -webkit-transition-property: margin, -webkit-transform;
    transition-property: margin, transform;
    -webkit-transition-duration: 0.2s;
    transition-duration: 0.2s;
    -webkit-transition-delay: 0.2s, 0s;
    transition-delay: 0.2s, 0s;
}

#menu-toggle-box:checked~#menu-label #hamburger {
    background-color: transparent;
    -webkit-transition-delay: 0.2s;
    transition-delay: 0.2s;
}

#menu-toggle-box:checked~#menu-label #hamburger:before {
    margin-top: 0;
    transform: rotate(45deg);
    -webkit-transition-delay: 0s, 0.2s;
    transition-delay: 0s, 0.2s;
}

#menu-toggle-box:checked~#menu-label #hamburger:after {
    margin-top: 0;
    transform: rotate(-45deg);
    -webkit-transition-delay: 0s, 0.2s;
    transition-delay: 0s, 0.2s;
}

#menu-text {
    font-family: Merienda, sans-serif;
    font-size: 150%;
    color: var(--deep-red)
}

/*endregion HAMBURGER*/
/*endregion NAVIGATION*/
/*endregion HEADER*/

/*region MAIN*/
.hero-image {
  display: flex;
  padding: 3rem 0;
  div {
    margin: auto;
    max-width: 640px;
    border-radius: 2rem;
    overflow: hidden;
    object-fit: contain;
    position: relative;
    box-shadow: 0 0 2rem 2.15rem var(--background) inset;
    border: 3px solid var(--background);

    img {
      display: block;
      z-index: -1;
      position: relative;
    }
  }
}

main {
    padding: 1em;
    margin: auto;
}

h1,
h2,
h3,
h4 {
    font-family: 'Merienda', cursive;
}

p,
li,
td {
    font-size: 1.25em;
}

.section-header h2 {
    font-size: 2em;
    margin: 0.5em;
    text-align: center;
}

.section-header .subtitle {
    display: block;
    font-size: 0.5em;
    font-weight: 200;
}

section img {
    width: 100%;
    display: inline-block;
    margin: 0;
    padding: 0;
}

.feedback {
    margin: 5em auto;
}

.feedback hr {
    color: var(--bright-red)
}

blockquote {


    font-family: 'Quicksand', sans-serif;
    font-style: italic;
    font-size: 1.25em;
    margin: 0;

}
.left_half { max-width: 100%; }

blockquote {
    quotes: "“""”""‘""’";
    display: block;
    margin: 2em 2em 1em 2em;
    font-size: 1.25em;
    text-align: justify;
    position: relative;
}

blockquote:before,
blockquote:after {
    font-size: 6em;
    position: absolute;
}

blockquote:before {
    content: open-quote;
    left: -0.5em;
    top: -0.3em;
}

blockquote:after {
    content: close-quote;
    right: -0.3em;
}

.feedback cite:last-of-type {
    display: block;
    padding-bottom: 1em;
}

.violine-blockquote {
    font-family: 'Merienda', cursive;
    font-style: italic;
    font-size: 2em;
    margin: 2em;
}

.violine-blockquote::before,
.violine-blockquote::after {
    font-size: 3em;
}

.block-link {
    display: block;
    font-size: 1.5em;
}

.grid-container {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-areas:
        "picture"
        "text"
        "list";
}

.picture {
    grid-area: picture;
    max-width: 100%;
}


.text {
    grid-area: text;
}

.list {
    grid-area: list;
    text-align: left
}

#liedersammlung {
    list-style: none;
}

#liedersammlung li {
    margin: 1em;
}



/* region CONCERTS*/

.list-dates {
    margin: 18px 16px;
    list-style-type: none;
    padding: 0;
}

.list-dates li:first-child {
    border-top-width: thin;
    border-top-style: solid;
}

.list-dates li {
    border-bottom-width: thin;
    border-bottom-style: solid;
    padding: 5px;
    margin: 0;
    position: relative;
    text-align: left;
    font-size: 1.25em;
}

.list-dates p {
    font-size: 1em;
}

.list-dates li:after {
    clear: both;
    content: ' ';
    display: block;
}

.list-dates li span,
.list-dates li .button-location-information {
    display: block;
    background-color: transparent;
}

.list-dates .date {
    float: none;
    border: none;
    width: 240px;
}

.list-dates .canceled strong {
    padding-left: 10px;
}

.list-dates .location {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    font-weight: 600;
}

.list-dates li .button-location-information {
    position: absolute;
    top: 5px;
    right: 5px;
    text-align: center;
    border: none;
    color: white;
    font-size: 1em;
}

.list-dates li .button-location-information:active {
    border: none
}

.list-dates p {
    margin: 0;
}

.list-dates .box-location-information {
    width: 100%;
    margin-left: 0;
    display: none;
}

.list-dates .box-location-information.show {
    display: block !important;
    max-width: 60%;
}

.list-dates .concert-actions {
    border-left-width: thin;
    border-left-style: solid;
}

.list-dates .concert-actions a {
    display: inline-block;
    width: 24px;
    text-align: right;
}

.list-dates .concert-canceled {
    text-decoration: line-through;
    padding: 10px;
}

.divider-color {
    border-color: var(--bright-red);
}

/* endregion CONCERTS*/
/* region KONTAKTFORMULAR */
#kontaktformular {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-areas:
        "anrede"
        "vorname"
        "nachname"
        "email"
        "betreff"
        "nachricht"
        "mail-status"
        "submit";
}

#kontaktformular>* {
    /* Alle Kindelemente des Kontaktformulars */
    font-family: 'Quicksand', sans-serif;
    font-size: 1em;
    padding: 1em;
    margin: 0.5em;
    border-radius: 10px;
    border: 1px solid var(--orange);
    background-color: black;
    color: white;
}

#anrede {
    grid-area: anrede;
    justify-self: left;
    border: none;
}

#vorname {
    grid-area: vorname;
}

#nachname {
    grid-area: nachname;
}

#email {
    grid-area: email;
}

#email-wdh {
    tab-index: -1;
}

#betreff {
    grid-area: betreff;
}

#nachricht {
    grid-area: nachricht;
}

#mail-status {
    grid-area: mail-status;
}

#submit {
    grid-area: submit;

}

#submit {
    margin: 0.25em;
    padding: 0.25em;
    border-radius: 10px;
    text-align: center;
    font-size: 200%;
    background-color: var(--deep-red);
    color: white;
    cursor: pointer;
    border: var(--deep-red) solid 1px;
    box-shadow: 0 4px 5px 0 rgba(0, 0, 0, 0.14), 0 1px 10px 0 rgba(0, 0, 0, 0.12), 0 2px 4px -1px rgba(0, 0, 0, 0.3);
}

.disabled-button {
    background-color: #999 !important;
    cursor: not-allowed !important;
}

.mail-status-success {
    background-color: #32CD32;
    color: red;
    font-weight: 600;

}

.mail-status-error {
    background-color: red;
    color: white;
    font-weight: 600;
}

/* endregion KONTAKTFORMULAR */
/*endregion MAIN*/
/* region FOOTER */

footer ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr;
    align-content: center;
    align-items: center;
    border-top: 2px solid var(--bright-red);
    border-bottom: 2px solid var(--bright-red);
    padding-left: 0;
    margin-block-end: 0;
}

footer li {
    list-style: none;
    padding: 2em 0;
    text-align: center;
}

footer li:first-child {
    border-right: 2px solid var(--bright-red);
}

footer a {
    color: var(--orange);
    font-family: 'Merienda', cursive;

}

/* endregion FOOTER */

.wegbeschreibung {
    p {
        margin: 0 auto 1em auto;
        width: 100%;

        &:last-child {
            margin-bottom: 0;
        }
    }
}

@media only screen and (min-width: 60em) {
    /* region DESKTOP */
    /* region HEADER*/
    h1 {
        margin: .75em auto;
        font-size: 4.5em;
    }

    .section-header h2 {
        font-size: 3em;
        margin-bottom: 1em;
    }

    input[type=checkbox],
    #menu-label {
        display: none;
    }

    input[type=checkbox]:checked~nav {
        padding-top: 0;
    }

    nav {
        max-height: 5em;
        opacity: 1;
    }

    /* region NAVIGATION */
    nav ul {
        display: flex;
        flex-direction: row;
        justify-content: space-around;
    }

    nav ul li a {
        display: block;
        text-align: center;
        border-top: none;
        padding: 0.3em;
        /*Todo Optional*/
    }

    #seminare {
        order: 1;
    }

    #hooponopono {
        order: 2;
    }

    #sangita {
        order: 3;
    }

    #singkreis {
        order: 4;
    }

    #geige {
        order: 5;
    }

    #coindra {
        order: 6;
    }

    /* endregion NAVIGATION */
    /* endregion HEADER */
    .wegbeschreibung {
        columns: 2;
        max-width: 62.5vw;

        p {
            margin: 0 auto 1em auto;

            &:last-child {
                margin-bottom: 0;
            }
        }
    }
    main {
        max-width: 60%;
    }

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

    .right_half {
        width: 49%;
        margin-left: 51%;
    }

    .grid-container {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr 1fr;
        grid-template-areas:
            "picture text"
            ". list";
    }

    .text {
        margin: 0 1em;
    }

    .text p {
        margin-top: 0;
    }

    .list {
        margin-right: 1em;
    }

    /*region CONCERTS*/
    .list-dates {
        margin-left: 0;
    }

    .list-dates .date {
        float: left;
        border-right: 1px solid var(--bright-red);
    }

    .list-dates .location {
        margin-left: 215px;
        margin-right: 28px;
    }

    .list-dates .box-location-information {
        display: none;
        margin-left: 220px;
    }

    /*endregion CONCERTS*/
    /* region KONTAKTFORMULAR */
    #kontaktformular {
        grid-template-columns: 1fr 1fr;
        grid-template-areas:
            "anrede ."
            "vorname nachname"
            "email email"
            "betreff betreff"
            "nachricht nachricht"
            "mail-status submit";
    }

    /* endregion KONTAKTFORMULAR */
    /* endregion MAIN */
    /*region FOOTER */
    footer li {
        padding: 0.3em 0;
    }

    footer li:first-child {
        border-right: none;
    }

    /*endregion FOOTER*/
    /*endregion DESKTOP*/
}

/* region seminare */
.seminar-schedule {
  margin-bottom: 2rem;
  font-size: 1.25em;

  .title {}
  .date {
    margin-bottom: 1rem;
    color: var(--orange);

    .description {}
    .time {
      color: var(--bright-red);
      font-size: 1.1em;
      font-weight: bold;
    }
    .location {
      a {
        color: var(--orange);
      }
      &:hover, &:focus {
        text-decoration: underline;
      }
    }
  }
}
/* endregion seminare */
