/*defining colors*/
:root {
  --green: #3977c0;
  --mediumgreen: #3977c0;
  --darkgreen: #3e39c0;
  --mediumblue: #39bbc0;
  --lightblue: #3977c0;
/*  --blue: #3e39c0;*/
  --blue: #3977c0;
  --white: #ffffff;
  --black: #000B29;
  --grey: rgba(244, 244, 244, 1);
  --lightgrey: rgba(244,244,244, 1);
  --lightwhite: rgba(255,255,255,.8);
}

::-webkit-scrollbar {
  width: 0.75em;
}
::-webkit-scrollbar-thumb {
  background: var(--blue);
  border-radius: 4px;
}
/*styling main css*/
html {
  background-color: white;
  font-size: 120%;
  display: flex;
  align-items: center;
  justify-content: center;
  align-content: center;
  text-decoration: none;
  font-family: 'Source Sans Pro', sans-serif;
  color: var(--black);
  overflow-x: hidden;
  scroll-behavior: smooth;
  max-width: 2000px;
  margin: auto;
  hyphens: none;
  margin-left: 2%;
  margin-right: 2%;
}

body {
  padding: 0;
  margin: 0;
  overflow-x: auto;
}

/*font headlines*/
h1, h2, h3{
  font-family: 'Open Sans', sans-serif;
  color: var(--blue);
}

/*h1 used for xxx*/
h1 {
  margin-top: 20px;
  margin-bottom: 15px;
  font-size: 44px;
  line-height: 62px;
  font-weight: 400;
}
/*h2 used for xxx*/
h2 {
  margin-top: 10px;
  margin-bottom: 10px;
  font-size: 36px;
  line-height: 50px;
  font-weight: 400;
  align-self: center;
}

/*h3 used for xxx*/
h3 {
  margin: 10px;
  font-size: 28px;
  line-height: 50px;
  font-weight: 400;
}

/*h4 used for xxx*/
h4 {
  margin-bottom: 10px;
  font-size: 16px;
  line-height: 20px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  opacity: .6;
  color: black;
}

/*used for text*/
p{
  color: var(--black);
  hyphens: none;
}

/*styling links*/
a{
  text-decoration: none;
  color: var(--black);
  scroll-behavior: smooth;
}
a:hover {
  opacity: .9;
}
.roman {
  list-style: upper-roman;
}
/*styling lists*/
ul {
  list-style: square inside url("img/logo-raeume.gif");

}

/*styling buttons for links and call-to-action elements*/
.button {
  display: inline-block;
  left: auto;
  padding-top: 12px;
  padding-bottom: 12px;
  padding-left: 25px;
  padding-right: 25px;
  margin: 1em 1em 1em 1em;
  justify-content: flex-start;
  align-self: center;
  letter-spacing: 2px;
  text-transform: uppercase;
  background-color: var(--blue);
  color: white;
  font-size: 14px;
  line-height: 26px;
}

.button:hover {
  opacity: .9;
}

/*styling main content*/
main {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 30px 0 30px;
}

/*sections are used for one topic each*/
section {
  width: 100%;
  margin: 15px 15px 0 15px;
  padding: 50px 15px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/*text should be used for text*/
.text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: left;
  text-align: left;
  width: 50%;
  padding: 0 20% 0 20%;
}

.mittig {
  justify-content: center;
  align-self: center;
  text-align: center;
  align-items: center;
}

/*in the header will be a picture and the headline of the tab*/
.header {
  margin-top: 0;
  padding-top: 0;
  padding-bottom: 0;
  align-items: center;
  border-bottom-style: none;
}

  div.section-heading-wrap {
    text-align: center;
    margin-top: 0;
    margin-bottom: 40px;
    width: 100%;
  }

  /*heading-big is the heading on the top of the page*/
  .heading-big {
    color: var(--green);
    margin: 2em 0 10px 0;
    line-height: 80px;
    font-size: 64px;
  }

  /*.pic is the picture in the heading, it shall be uploaded in different formats*/
  .pic {
    width: 100%;
    height: 40vh;
    background-size: cover;
    object-fit: cover;
  }

/*dont know what this is*/
.konzept {
  height: 50vh;
}

/*navigation bar*/
.site-nav {
  margin-top: 0;
  margin-left: 0;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-self: stretch;
  border-bottom: 0;
  position: -webkit-sticky; /* Safari */
  position: sticky;
  top: 0;
  right: 0;
  width: 100%;
  background-color: rgba(255,255,255,0.8);
  padding: 0 1em 0 1em;
  margin: 0;
  justify-content: center;
 /*border-bottom: solid 1px var(--blue);*/
}

/*Logo*/
.logo-link {
  display: flex;
  flex-direction: column;
}

/*größe Logo Navbar*/
.logo-praxis {
    height: 1em;
    width: 1em;
}

/*menu-icon is hidden when big format*/
 .menu-icon {
   display: none;
 }

  /*one element in the navigation bar is a linkblock*/
  .linkblock {
    opacity: .8;
    width: 100%;
    border-right: 1px groove var(--green);
    border-left: 1px groove var(--green);
    flex-grow: 1;
    flex-shrink: 1;
    flex-basis: 0%;
    text-align: center;
    padding-top: 1em;
    padding-bottom: 1em;
    margin-top: 0em;
    margin-bottom: 0em;
  }

  /*dropdown is for the dropdown elements, for a second list of elements in the navbar*/
  .dropdown {
    display: flex;
    flex-direction: column;
    position: relative;
    cursor: pointer;
    align-items: center;
  }

    /*dropdown-content ist the content in the dropdown*/
    .dropdown-content {
      display: none;
      position: absolute;
      flex-direction: column;
      min-width: 160px;
      box-shadow: 0px 8px 16px 0px var(--orange);
      margin-top: 2.5em;
      padding: 0em 1em 1em 1em;
      z-index: 1;
      text-align: left;
      align-items: center;
    }

    /*for dropdown elements to be shown a pointer*/
    .expanding-item {
      cursor: pointer;
    }

  .dropdown:hover .dropdown-content {
    display: flex;
  }

    .expanding-item:checked ~ .dropdown-content {
      display: flex;
    }

    .expanding-item:checked ~ label{
      width: 100%;
      }

    .navigation-dropdown {
      width: 100%;
      padding: 7.5px 15px 15px 7.5px ;
      text-align: center;
      display: block;
    }

    .navigation-dropdown:hover {
      color: var(--blue);
    }

    .linkblock:hover{
     background-color: var(--lightgrey);
    }


/*also not in the index???*/
.symbol {
 font-size: 300%;
 color: var(--green);
 margin-right: 1em;
}

  /*first item in navbar*/
  .linkblock1{
    border-left: 0;
  }
  /*last item in navbar*/
  .linkblock2{
    border-right: 0;
  }

/*special design for a presentation grid*/
section.presentation {
  padding: 50px 0;
  text-align: center;
  background-color:  var(--grey);
}

  div.presentation-grid {
    display: grid;
    padding: 50px;
    justify-content: center;
    justify-items: stretch;
    grid-template-columns: 1fr 2fr;
    grid-column-gap: 25px;
  }

    div.presentation-text-background {
      margin: 0;
      background-color:  var(--green);
      display: flex;
      flex-direction: column;
      object-fit: fill;
      align-items: center;
      justify-content: center;
    }

    .presentation-heading{
      color: var(--white);
    }

      div.presentation-text {
        width: 70%;
      }

        h3.presentation-description {
          margin: 10px;
          padding-left: 10px;
          padding-right: 10px;
        }

        p.paragraph-bigger {
          color: var(--white);
          font-size: 20px;
          line-height: 34px;
          margin-bottom: 10px;
          padding-left: 10px;
          padding-right: 10px;
          opacity: .8;
        }

        img.Christa {
          height: 100%;
          margin-right: auto;
          margin-left: auto;
        }

        a.button.contact {
          position: relative;
          z-index: 5;
          color: white;
          text-align: center;
        }

        @media (max-width: 1500px) {
          a.last-item {
            display: none;
          }
        }

/*media width for tablets etc.*/
@media (max-width: 1200px) {

  section {
    margin: 60px 30px 0 30px;
    margin-left: 30px;
    margin-right: 30px;
    padding: 0;
    width: 100%;
  }

  .text {
    padding: 0 10% 0 10%;
    width: 75%;
  }

  .header {
    margin-top: 0;
    padding-top: 0;
    padding-bottom: 0;
    margin-bottom: 15px;
    padding-bottom: 0;
  }

  div.section-heading-wrap {
    text-align: center;
    margin-top: 0;
    margin-bottom: 20px;
    width: 100%;
  }

  .heading-big {
    margin-bottom: 0;
    font-size: 40px;
    line-height: 70px;
  }
  .pic {
    height: 40vh;
  }
  .site-nav{
    flex-wrap: wrap;
    flex-flow: row wrap;
    align-content: flex-end;
  }




    div.presentation-grid {
      grid-template-columns: 1fr;
      grid-row-gap: 50px;
    }

      div.presentation-text {
        width: auto;
      }

        p.paragraph-bigger {
          font-size: 16px;
          line-height: 28px;
        }

      img.Christa {
        height: auto;
      }
}

@media (max-width: 767px) {


  h3 {
    padding-left: 10px;
    padding-right: 10px;
    font-size: 30px;
    line-height: 50px;
  }

  .heading-big {
    margin-top: 0;
    font-size: 50px;
    line-height: 64px;
  }

  .pic {
    height: 200px;
    object-position: 50% 45%;
  }

  a.button {
    align-self: center;
    justify-content: center;
  }

  main.main {
    margin-right: 2%;
    margin-left: 2%;
    z-index: 0;
  }
  .site-nav {
    position: relative;
  }

  section {
    padding-top: 15px;
    padding-bottom: 15px;
    border-bottom: .2px solid  var(--green);
  }

  .text {
    padding: 0;
    width: 100%;
  }

  section.header {
    margin-top: 0;
    padding-top: 0;
  }

  section.presentation {
    padding: 25px 0;
  }

    div.presentation-grid {
      padding: 30px;
      grid-row-gap: 30px;
    }

      img.Christa {
        height: auto;
      }

}

@media (max-width: 479px) {

  main {
    margin: 15px;
    padding: 0;

  }

  h1 {
    font-size: 30px;
    font-weight: bold;
  }

  h2 {
    font-size: 30px;
  }

  h3 {
    padding-left: 5px;
    padding-right: 5px;
    font-size: 25px;
  }

  section {
    padding: 15px 0 15px 0;
    margin: 0;
  }

  section.header {
    margin-top: 0;
    padding-top: 0;
  }

  .header {
    width: 100%;
  }

  .heading-big {
    padding: 0 15px 0 15px;
    font-size: 36px;
    line-height: 48px;
  }

  .pic {
    height: 160px;
    object-position: 50% 65%;
    margin: 0 -15px 0 -15px;
  }

  .site-nav {
    flex-direction: column;
    z-index: 0;
  }

  .linkblock {
    border-bottom: .2px groove var(--green);
    padding: 5px;
    border-right: 0;
    border-left: 0;
  }

}

div.navigation {
  display: flex;
  padding: 15px 30px 30px 30px;
  align-items: center;
  background-color: transparent;
}

  div.navigation-wrap {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-grow: 1;
    flex-shrink: 1;
    flex-basis: 0%;
    z-index: 5;
  }

    .logo-link {
      display: block;
      z-index: 5;
    /*  border: 2px solid var(--blue); */
      padding: 10px 30px;
      background-color: var(--grey);
    }

      .logo-praxis {
        margin: 0;
        padding: 0;
      }

      .logo-christa{
        margin: 0;
        padding: 0;
        font-family: 'Open Sans', sans-serif;
      }

    div.menu {
      position: absolute;
      left: 0%;
      top: 0%;
      right: 0%;
      bottom: 0%;
      display: flex;
      justify-content: center;
      align-items: center;
      flex-grow: 0;
      flex-shrink: 1;
      flex-basis: auto;
    }

      div.menu-button {
        display: none;
      }

      a.logo-link{
      }
      a.logo-link:hover{
        opacity: .8;
      }

      nav.navigation-items {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-grow: 0;
        flex-shrink: 0;
        flex-basis: auto;
      }

      .navigation-item {
        padding: 9px 20px 9px 20px;
        color: hsla(223.9, 100%, 8.04%, 1.00);
        opacity: .6;
        font-size: 12px;
        line-height: 20px;
        font-weight: 500;
        letter-spacing: 1px;
        text-transform: uppercase;
      }

      .active {
        opacity: 1;
        color: black;
        background-color: var(--green);
      }

      .navigation-item:hover{
        text-align: center;
        opacity: .9;
      }


      input {
        display: none;
      }

      label.close {
        visibility: hidden;
      }

/* Akkordeoneinstellungen */
      label.akkordeonlabel {
        display: flex;
        flex-direction: row;
        transition: all 150ms;
        z-index: 1;
        align-items: center;
      }

      /* Pfeilsettings */
        .akkordeon-pfeil {
          color: var(--blue);
          align-items: right;
          width: 1.5rem;
          position: absolute;
          top 50%;
          right: 2rem;
          transform: translate(0, -10%);
          transition: 350ms all;
        }

        .akkordeon-ueberschrift {
          width: 100%;
          color: black;
          padding-right: 2em;
        }

        .akkordeon-text {
          width: 100%;
          position: relative;
          transform: translate(0, -20%);
          z-index: 1;
          height: 0;
          opacity: 0;
          transition: 350ms all;
          overflow: hidden;
        }

        .akkordeon-expand:checked ~ label > div{
          transform: translate(0, -10%) rotate(90deg);
        }

        .akkordeon-expand:checked ~ .akkordeon-text {
          height: 100%;
          opacity: 100%;
          transform: translate(0,0);
        }


footer {

}

  div.footercontainer {
    display: flex;
    padding-top: 70px;
    padding-bottom: 70px;
    justify-content: center;
    align-items: center;
    width: 100%;
    flex-wrap: nowrap;
  }

    a.footerlink {
      width: 130px;
      margin: 20px 10px;
      border-style: groove;
      border-width: .2px;
      border-color: var(--green);
      color: var(--green);
      text-align: center;
      padding: 10px;
    }

    a.footerlink:hover {
      background-color: var(--green);
      color: var(--black);
}

div.mobilenav {
  display: none;
}


@media (max-width: 1350px) {
  .navigation-item {
    padding-left: 10px;
    padding-right: 10px
  }

  .logo-link {
  }

    .logo-christa{
      font-size: 14px;
    }

    a.button.contact {
      padding: 12px;
    }

}


@media (max-width: 1350px) {
  div.button {
    justify-content: center;
  }

  a.button.contact {
    display: none;
  }

  div.navigation-wrap {
    background-color: var(--white);
  }

  div.menu {
    margin-left: 0;
    margin-right: 0;
    width: 100%;
    display: block;
  }

    label.menu-icon {
      display: block;
      padding: 10px;
      background-color: transparent;
      float: right;
      margin-right: 10px;
    }

    label {
      cursor: pointer;
      z-index: 10;
    }

      label:hover {
        opacity: .9;
      }

      nav.navigation-items {
        display: none;
        flex-direction: column;
        margin: 70px 0 0 0;
        flex-wrap: nowrap;
        align-self: flex-start;
        flex-grow: 1;
        flex-shrink: 1;
        flex-basis: 0%;
      }

      label.close {
        visibility: visible;
      }

    .navigation-item, label.close{
      display: none;
      border-bottom: 1px solid rgba(0, 11, 41, .2);
      padding: 15px 30px;
      text-align: center;
      display: block;
      width: 100%;
      background-color: rgba(255,255,255,1);
      opacity: .98;
    }

    label.close {
      background-color: var(--green);
    }

    .navigation-dropdown {
      border-top: 1px solid rgba(0, 11, 41, .2);
    }

    .navigation-item:hover, label.close:hover {
      background-color: var(--lightgrey);
      text-align: center;
    }

      .menu-icon:checked ~ nav {
        display: flex;
      }

      .expanding-item:checked ~ .dropdown-content {
        display: flex;
      }



      .dropdown:hover .dropdown-content{
        display: flex;
      }

      .dropdown:hover {
        padding-bottom: 0;
      }

      .dropdown-content {
        position: relative;
        flex-direction: column;
        padding: 1em 0px 0px 0px;
        margin: 0;
        text-align: center;
        opacity: .98;
      }

      .navigation-dropdown {
        padding: 15px;
      }
    }


    div.navigation {
      padding: 25px 30px;
    }
}

@media (max-width: 767px) {


  div.navigation {
    padding-left: 20px;
    padding-right: 20px;
    justify-content: flex-end;
  }

  div.menu {
    justify-content: center;
    text-align: right;
  }

  div.menu-button {
    flex-grow: 0;
    flex-shrink: 0;
    flex-basis: auto;
  }

  nav.navigation-items {
    justify-content: flex-end;
    text-align: right;
  }

  .navigation-item, label.close {
    text-align: right;
  }

  .navigation-item:hover, label.close:hover {
    text-align: right;
  }


  .navigation-item:hover {
    background-color: #f7f8f9;
    text-align: right;
  }

}

@media (max-width: 479px) {
  h4 {
    margin-bottom: 0;
  }

  div.menu-button {
    flex-grow: 0;
    flex-shrink: 0;
    flex-basis: auto;
  }

  div.navigation {
    padding: 20px 30px 20px 0;
  }

  div.menu {
    justify-content: flex-end;
  }

  label.menu-icon {
    margin-right: 0;
  }

  nav.navigation-items {
    justify-content: flex-end;
  }

  .pfeil{
    top: 80%;
  }

  .symbol {
    background-color: var(--white);
    opacity: 80% ;
    padding: 0.2em;
  }

  div.mobilenav {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    height: 50px;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    top: auto;
  }

    a.mobilenavbutton {
      width: 110px;
      padding: 10px;
      flex-grow: 1;
      flex-shrink: 1;
      flex-basis: 0;
      border-style: groove;
      border-width: 1px;
      border-color: var(--blue);
      color: white;
      text-align: center;
      background-color: var(--green);
    }

  div.footercontainer {
    flex-direction: column;
  }

    a.footerlink {
      width: auto;
      margin: 0 10px 0 10px;
      border-width: 0px;
    }
    a.footerlink:hover {
      background-color: transparent;
    }
}

/* Bilder Zentrieren */
  .pic0 {object-position: 50% 0%;}.pic15 {object-position: 50% 15%;}.pic25{object-position: 50% 25%;}.pic35{object-position: 50% 35%;}.pic50{object-position: 50% 50%;}.pic65{object-position: 50% 65%;}.pic50{object-position: 50% 50%;}.pic75{object-position: 50% 75%;}  .pic80{object-position:50% 80%;}.pic100{object-position: 50% 100%;}
