*{
  margin: 0;
  padding: 0;
}

body{
  width: 100%;
}

/*Fonts*/

p{
  font-family: objektiv-mk1, sans-serif;
  font-weight: 500;
  font-style: normal;
  color: #9d541b;
  font-size: 12pt;
}

h1{
  font-family: bely-display, serif;
  font-weight: 400;
  font-style: normal;
  color: #fff;
  font-size: 48pt;
}

h2{
  font-family: serif;
  font-weight: 400;
  font-style: normal;
  color: #9d541b;
  font-size: 48pt;
}

h3{
  font-family: objektiv-mk1, sans-serif;
  font-weight: 300;
  font-style: normal;
  color: #9d541b;
  font-size: 24pt;
}

h4{
  font-family: objektiv-mk1, sans-serif;
  font-weight: 300;
  font-style: normal;
  color: #9d541b;
  font-size: 20pt;
}

h5{
  font-family: objektiv-mk1, sans-serif;
  font-weight: 300;
  font-style: normal;
  color: #fff;
  font-size: 20pt;
}

h6{
  font-family: objektiv-mk1, sans-serif;
  font-weight: 300;
  font-style: normal;
  color: #fff;
  font-size: 11pt;
}

a{
  text-decoration: none;
  font-family: objektiv-mk1, sans-serif;
  color: #9d541b;
}

/*Navigation*/

#default-nav{
  display: flex;
  position: absolute;
  right: 0;
  top: 0;
}

#smartphone-nav{
  display: none;
}

nav a {
  text-decoration: none;
  border: 1px solid transparent;
  margin: 10px;
  padding: 5px;
  font-family: objektiv-mk1, sans-serif;
  font-size: 10pt;
  color: #fff;
}

.active{
  border-color: #fff;
}

/*GENERAL*/

#on-mobile{
  display: none;
}

.head-image{
  width: 100%;
  height: 550px;
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-header{
  top: 40%;
}

/*Index*/

#fullscreen-start{
  width: 100%;
  height: 100vh;
  background: url("../img/start.jpg") no-repeat bottom right;
  background-size: cover;

}

#welcome-container{
  position: absolute;
  bottom: 20%;
  left: 5%;
}

#logo{
  position: absolute;
  width: 150px;
  margin-left: 10px;
}

/*About*/

#about-image{
  background-image: url("../img/about.jpg");
}

.message-container{
  margin: 50px 20%;
}

.message-container p{
  margin: 30px 10%;
}

.message-container img{
  width: 10%;
}

#right{
  float: right;
}

#cv-container{
  display: flex;
  width: 100%;
  justify-content: center;
  margin: 150px 0;
}

#line{
  width: 1px;
  border-left: 1px solid #9d541b;
}

.circle{
  width: 16px;
  height: 16px;
  border-radius: 30px;
  border: 1px solid #9d541b;
  position: relative;
  top: 10px;
  left: -10px;
  background-color: white;
}

.circle-left{
  width: 16px;
  height: 16px;
  border-radius: 30px;
  border: 1px solid #9d541b;
  position: relative;
  top: 10px;
  left: 10px;
  background-color: white;
}

.cv-left{
  margin-top: 7%;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  width: 50%;
}

.cv-right{
  display: flex;
  flex-direction: column;
  padding-bottom: 5%;
  width: 50%;
}

.cv-element{
  display: flex;
  margin-top: 20%;
}

.cv-element div{
  margin: 0 20px;
}

#left{
  top: 10px;
  left: -10px;
}

#extra-margin{
  margin-top: 25%;
}

#about-footer{
  background-image: url("../img/about_divider.jpg");
}

#zertificate-headline{
  display: flex;
  width: 90%;
  justify-content: center;
  margin: 5%;
}

#zertificate-headline img{
  width: 80px;
  height: 80px;
}

#zertificates{
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

#zertificates img{
  width: 30%;
  box-shadow: 10px 10px 20px #ccc;
  margin: 5% 10%;
}

#cv-smartphone{
  display: none;
}

/*Behandlung*/

#behandlung-image{
  background-image: url("../img/behandlung.jpg");
}

#action-points{
  display: flex;
  flex-direction: column;
  margin: 50px 15%;
  align-items: center;
}

.divider{
  height: 40px;
  border-left: 1px solid #9d541b;
  position: relative;
}

.action-point{
  border: 1px solid #9d541b;
  padding: 10px;
  text-align: center;
}

.action-point h4{
  padding-bottom: 10px;
}

.top-circle{
  width: 20px;
  height: 20px;
  border-radius: 30px;
  border: 1px solid #9d541b;
  background-color: white;
  position: relative;
  top: -20px;
  left: 47%;
  margin: 0;
}


#behandlung-footer{
  background-image: url("../img/behandlung_footer.jpg");
}

/*Indiaktionen*/

#indikationen-image{
  background-image: url("../img/indikationen.jpg");
}

.small-headline{
  text-align: center;
  margin: 80px 0;
}

.quarters{
  display: flex;
  width: 100%;
}

.quarters div{
  width: 50%;
}

.quarters img{
  width: 50%;
  height: 50%;
}

.centered{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.points{
  text-align: center;
  font-weight: 200;
  padding: 10px;
}


.button{
  border: 1px solid #9d541b;
  padding: 10px;
  text-decoration: none;
  margin-top: 15px;
}



/*Preise*/

#preise-image{
  background-image: url("../img/preise.jpg");
}

.price-headline{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 50px 15%;
  text-align: center;
}

.row{
  display: flex;
  justify-content: space-around;
  width: 90%;
  padding: 40px 5%;
}

.price-elem{
  width: 15%;
  border: 1px solid #9d541b;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 10px;
}
.price-elem p{
  text-align: center;
}

.price-elem img{
  width: 80px;
  position: relative;
  top: -40px;
}

.price-elem h4{
  position: relative;
  top: -20px;
}

/*Kontakt*/

#kontakt-image{
  background-image: url("../img/kontakt.jpg");
}

footer{
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

footer a{
  padding: 10px;
  font-size: 10pt;
}

.alignright{
  color: white;
  font-weight: 200;
}

.adress{
  margin-bottom: 15px;
}


/***********************************/



@media only screen and (max-width:768px)
{

  #on-mobile{
    display: block;
  }

  h1
  {
    font-size: 2em;
  }

  .message-container
  {
    margin: 50px 5%;
  }

  .message-container p{
    margin: 0;
  }

  #action-points
  {
    margin: 50px 5%;
  }

  .quarters
  {
    flex-direction: column;
    padding-top:    0;
  }

  .quarters div
  {
    width:   100%;
    padding: 20px 5px;
  }

  .quarters img
  {
    width: 100%;
  }

  .quarters h4
  {
    text-align: center;
  }

  .quarters h5
  {
    text-align: center;
  }

  #reverse
  {
    flex-direction: column-reverse;
  }

  .row
  {
    flex-direction: column;
  }

  .price-elem
  {
    width:         90%;
    margin-bottom: 50px;
  }

  .price-headline
  {
    margin: 50px 5%;
  }


    #default-nav{
      display: none;
    }

    #smartphone-nav{
      display: block;
      position: absolute;
    }

    #menuToggle
    {
      display:             block;
      position:            relative;
      top:                 15px;
      left:                15px;
      z-index:             1;
      -webkit-user-select: none;
      user-select:         none;
      width: 100%;
    }

    #menuToggle a
    {
      text-decoration: none;
      color: #9d541b;
      transition:      color 0.3s ease;
    }

    #menuToggle a:hover
    {
      color: tomato;
    }

    #menuToggle input
    {
      display:               block;
      width:                 40px;
      height:                32px;
      position:              absolute;
      top:                   -7px;
      left:                  -5px;
      cursor:                pointer;
      opacity:               0; /* hide this */
      z-index:               2; /* and place it over the hamburger */
      -webkit-touch-callout: none;
    }

    /*
     * Just a quick hamburger
     */
    #menuToggle span
    {
      display:          block;
      width:            33px;
      height:           4px;
      margin-bottom:    5px;
      position:         relative;
      background:       #fff;
      border-radius:    3px;
      z-index:          1;
      transform-origin: 4px 0px;
      transition:       transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0),
                        background 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0),
                        opacity 0.55s ease;
    }

    #menuToggle span:first-child
    {
      transform-origin: 0% 0%;
    }

    #menuToggle span:nth-last-child(2)
    {
      transform-origin: 0% 100%;
    }

    /*
     * Transform all the slices of hamburger
     * into a crossmark.
     */
    #menuToggle input:checked ~ span
    {
      opacity:    1;
      transform:  rotate(45deg) translate(-2px, -1px);
      background: #232323;
    }

    /*
     * But let's hide the middle one.
     */
    #menuToggle input:checked ~ span:nth-last-child(3)
    {
      opacity:   0;
      transform: rotate(0deg) scale(0.2, 0.2);
    }

    /*
     * Ohyeah and the last one should go the other direction
     */
    #menuToggle input:checked ~ span:nth-last-child(2)
    {
      transform: rotate(-45deg) translate(0, -1px);
    }

    /*
     * Make this absolute positioned
     * at the top left of the screen
     */
    #menu
    {
      position:               absolute;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      padding: 50px;
      padding-top: 150px;
      width:                  200px;
      margin:                 -100px 0 0 -15px;
      background:             #fff;
      list-style-type:        none;
      -webkit-font-smoothing: antialiased;
      /* to stop flickering of text in safari */
      transform-origin:       0% 0%;
      transform:              translate(-100%, 0);
      transition:             transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0);
    }

    #menu li
    {
      padding:   10px 0;
      font-size: 22px;
    }

    /*
     * And let's slide it in from the left
     */
    #menuToggle input:checked ~ ul
    {
      transform: none;
    }

    #logo{
      top: 40px;
      margin: 0 20%;
      width: 60%;
    }

    #welcome-container{
      margin: 0;
      top: 50%;
    }

    #zertificates{
      flex-direction: column;
    }

    h4{
      font-size: 1em;
    }

    h5{
      font-size: 1em
    }

    p{
      font-weight: 300;
    }

    .points{
      font-size: 0.8em;
    }

    .head-image{
      height: 30vh;
    }

    #fullscreen-start{
      background-image: url("../img/start_portrait.jpg");
    }

  .top-circle{
    left: 44%;
  }

    .circle{
      display: none;
    }

    .circle-left{
      display: none;
    }

    #line{
      display: none;
    }

    #cv-container{
      display: none;
    }

  #cv-smartphone{
    display: flex;
    flex-direction: column;
    padding-bottom: 50px;
  }

  .cv-element{
    width: 90%;
  }

  #zertificates img{
    width: 80%;
  }
}
