/* Components CSS */

/*Intro*/
.intro {
  margin-top: 30px;
  text-align: center;
  margin-left: 3vw;
  margin-right: 3vw;
  color: var(--main-dark-grey);
}

.intro-timeline {
  margin-top: 90px;
  text-align: center;
  margin-left: 3vw;
  margin-right: 3vw;
  color: var(--main-dark-grey);
}
.intro-timeline2 {
  margin-top: 130px;
  text-align: center;
  margin-left: 3vw;
  margin-right: 3vw;
  color: var(--main-dark-grey);
}
.intro-praxis {
  margin-top: 30px;
  text-align: center;
  margin-left: 3vw;
  margin-right: 3vw;
  color: var(--main-dark-grey);
}

.intro>h1 {
  font-size: 30px !important;
}

.line {
  width: 70px;
  border-top: 2px solid var(--main-dark-grey);
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 50px;
}

/*Teaser Box - Startseite*/
.intro-text {
  margin-top: -15px;
  margin-bottom: 50px;
}


.content {
  display: block;
}

.card-deck {
  margin-top: 20vw;
  margin-left: 3vw;
  margin-right: 3vw;
}

.icon {
  display: flex;
  justify-content: center;
  padding-top: 2.5vw;
  color: white;
  font-size: 5vw;
}

.card-title {
  text-align: center;
}

.btn-teaser {
  display: flex;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 3vw !important;
}

.card-text {
  text-align: center;
}

.circle {
  height: 10vw;
  min-height: 30px;
  max-height: 60px;
  width: 10vw;
  min-width: 30px;
  max-width: 60px;
  margin: auto auto;
  border-radius: 50%;
  background: var(--main-dark-grey);
}

.teaser {
  max-height:  110vw;
  min-width: 250px;
  min-height: 200px;
  border: 3px;
  border-style: solid;
  border-color: grey;
}

.btn-teaser {
  margin-bottom: 0;
  background-color: var(--main-dark-grey) !important;
}


/* Kurse Teaser*/

.kurse-teaser::after {
  content: "";
  position: absolute;
  background-image: url('../img/header/Kurse-new-tablet.jpg');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  z-index:-1;
  top:0px;
  left: 0px;
  width:100%;
  height:100%;
  opacity: 20%;
}

.kurse-teaser {
  position: relative;
  width: 100%;
  height: 230px;
  margin-top: 20vw;
}

#teaser-text {
  text-align: center;
    margin-left: 3vw;
  margin-right: 3vw;
}


.kurse-headline {
  padding-top: 30px;
  text-align: center;
}

/*Contact Field*/
.contact{
  position: relative;
  width: 100%;
  height: 180px;
  margin-top: 20vw;
}

.contact::after {
  content: "";
  position: absolute;
  background-image: url('../img/praxis/kontakt_quer.jpeg');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  z-index:-1;
  top:0px;
  left: 0px;
  width:100%;
  height:100%;
  opacity: 20%;
}

.contact-text{
  margin-left: 3vw;
  margin-right: 3vw;
  padding-top: 15px;
  text-align: center;
}

.contact-headline{
  padding-top: 30px;
  text-align: center;
}

.contact-button-div{
  display: flex;
  justify-content:center;
  align-items: center;
  margin-top: 30px;
}

.contact-button{
  background: transparent;
  border:  2px solid var(--main-dark-grey);
  display:  inline-block;
  float:  none;
  text-align:  center;
  color:  var(--main-dark-grey);
  padding:8px;
  }

.contact-button:hover{
  color:  #fff;
  background-color: var(--main-dark-grey);
  }

/*About Me*/
.about-me {
  margin-top: 10vw;
}

.about-me>h1 {
  text-align: center;
  font-size: 30px !important;
}

.about-me>div.line{
  width: 70px !important;
}

.about-me>div>p {
  text-align: center;
  margin-top: 5vw;
  margin-left: 3vw;
  margin-right: 3vw;
}

.about-me-image {
  background-image: url('../img/therapeut/therapeut_new.jpg');
  background-size: cover;
  width: 40vw;
  height: 65vw;
  max-height: 300px;
  max-width: 200px;
  border-radius: 3vw;
  margin: auto;
}

.about-me-btn {
  margin-top: 30px;
}

.second-part-am {
  display: none;
}

/*Contact Info Field*/
.contact-info-1 {
  margin-top: 10px;
}

.contact-info-field>p {
  text-align: center;
  margin-bottom: 15px;
}

.contact-info-1>i {
  margin-right: 30px;
  padding-top: 25px;
}

.contact-info-1>p {
  width: 250px;
}

.contact-info-2>i {
  margin-right: 30px;
}

.contact-info-2>a {
  width: 250px;
}

.contact-termin {
  padding-top: 10px;
  text-decoration: underline;
}

.contact-info-1, .contact-info-2{
  display: flex;
  justify-content: center;
  margin-left: 20px;
}

/*Contact Warning*/
.contact-warning {
  margin-top: 10vw;
  display: block;
  background-color: var(--main-light-grey);
}

.contact-warning>p {
  margin-top: 15px;
  margin-left: 10px;
  margin-right: 10px;
  padding-bottom: 15px;
  display: flex;
  justify-content: center;
  text-align: center;
}

.contact-warning>i {
  padding-top: 15px;
  display: flex;
  justify-content: center;
}

/*Maps Embedded*/
.maps {
  margin-top: 10vw;
  width: 100%;
  height: 30vw;
  min-height: 200px;
  max-height: 500px;
}

/*Contact Allgemeines*/
.contact-image {
  background-image: url('../img/logo/logo.svg');
  background-size: cover;
}

.contact-allgemeines {
  text-align: center;
  background-color: var(--main-light-grey);
  margin-top: 10vw;
  padding-top: 15px;
  padding-bottom: 15px;
}

.contact-allgemeines>p {
  margin-left: 10px;
  margin-right: 10px;
}

.line-allgemeines {
  width: 50px;
  border-top: 2px solid #616161;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 20px;
}

/*Osteopathie Info*/

.osteopathie-text {
  margin-top: 3vw;
  margin-left: 3vw;
  margin-right: 3vw;
}


/*Kurse*/
.center-button{
    display: flex;
    justify-content: center
}

/*Über mich*/

.quote {
display: block;
  margin-left: auto;
  margin-right: auto;
width: 350px;
 text-align: center;
}

.timeline{
position: relative;
margin: 0px auto;
padding: 10px 0;
width: 1000px;
}

.timeline:before{
content:'';
position: absolute;
left:50%;
width: 2px;
height: 100%;
background: #c5c5c5;
}

.timeline ul li{
list-style: none;
position: relative;
width: 50%;
padding:20px 60px;
text-align: center;
}

.timeline ul li:nth-child(odd){
float:left;
clear: both;
}

.timeline ul li:nth-child(even){
float:right;
clear:both;
padding-left:20px;
}

.timeline-content{
padding-bottom: 20px;
}

/*Impressum*/
.impressum-text {
  margin-left: 3vw;
  margin-right: 3vw;
  color: var(--main-dark-grey);
}


.timeline ul li h6{
display: block;
  margin-left: auto;
  margin-right: auto;
text-align: center;
width: 100px;
 background: #616161;
 color: #fff;
}

.timeline ul li p{
    margin:10px 0 0;
    padding: 0;
}



.timeline-circle{
    position: absolute;
    left: -1.7rem;
    width: 1rem;
    height: 1rem;
    background-color: var(--main-dark-grey);
    border-radius: 50%;

}
.timeline-circle-left{
    position: absolute;
    right: 0.7rem;
    width: 1rem;
    height: 1rem;
    background-color: var(--main-dark-grey);
    border-radius: 50%;

}

.navi-info {
  display: flex;
  justify-content: center;
  margin-left: 3vw;
  margin-right: 3vw;
}

.nav-button {
  border-radius: 0px !important;
  background-color: white !important;
  color: var(--main-dark-grey) !important;
  padding: 10px 10px 5px 10px;
}

a.active {
  border-bottom: 2px solid var(--main-dark-grey);
  transition: none;
  font-weight: 600;
}


  /*Galerie*/

.gallery-row{
    margin-top: 3rem;
}
.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-gap: 10px;
  margin-bottom: 20px;
}

.column-gallery{
    overflow: hidden;
    border-radius: .5em;
    border: 5px solid rgba(255, 255, 255, .05);
}
.column-gallery:hover img{
     transform: scale(1.5);
}

.column-gallery img {
    border-radius: 30px;
    width:100%;
    height: 100%;
    max-height: 20rem;
    opacity: 0.8;
    cursor: pointer;
    transition: transform .25s, visibility .25s ease-in;
}

.column-gallery img:hover {
  opacity: 1;
}




/*Media Queries*/
@media(max-width: 310px) {
  .hide {
    display: none;
  }

  .icon {
    padding-top: 7px;
    font-size: 15px;
  }
  .contact {
    height: 350px !important;
  }
  .quote{
    width: 200px;
    }
}

@media(min-width: 310px) and (max-width: 436px) {
  .contact {
    height: 180px !important;
  }
  .quote{
  width: 250px;
  }
}

@media(min-width: 768px) {
    
    /*Kurse Teaser*/
    .kurse-teaser{
        height: 210px;
        width: 768px;
        margin: 0 auto;
        margin-top: 80px;
    }

  .intro-text {
    margin-left: 15vw !important;
    margin-right: 15vw !important;
  }

  /*Osteopathie Info*/
  .osteopathie-text {
    margin-left: 20vw;
    margin-right: 20vw;
  }

  /*Contact Info Field*/
  .contact-full {
    margin-top: 80px;
    display: flex;
    justify-content: center;
  }

  .contact-info-field {
    margin-left: 3vw;
  }

  .contact-warning {
    margin-top: 50px;
    margin-left: 50px;
    margin-right: 3vw;
    max-width: 300px;
    height: 150px;
    padding-left: 10px;
    padding-right: 10px;
  }

  /*Maps*/
  .maps {
    margin-top: 80px;
  }


 /*Startseite About Me*/
  .first-part-am {
    display: flex;
    justify-content: center;
  }

  .about-me-image {
    background-image: url('../img/therapeut/therapeut_new.jpg');
    background-size: cover;
    width: 55vw;
    height: 55vw;
    max-height: 300px;
    max-width: 200px;
    border-radius: 25px;
    clip-path: none;
    margin: 0;
  }

  .about-me>div>p {
    margin-right: 0vw;
  }

  .first-part-am>p {
    margin-top: 110px !important;
    width: 60vw;
    max-width: 500px;
  }

  .intro>h1 {
    font-size: 40px !important;
  }

  .line {
    width: 100px;
  }

  .about-me>div.line{
    width: 100px !important;
    margin-bottom: 30px !important;
  }


  /*Contact Allgemein*/
  .contact-allgemeines {
    margin-top: 80px;
  }

  .teaser {
    margin-left: 20px !important;
    margin-right: 20px !important;
    min-height: 250px;
    max-height: 450px;
  }

  .card-deck {
    display: flex;
    justify-content: center;
    margin-left: 1vw;
    margin-right: 1vw;
    margin-top: 80px;
  }

  .icon {
    font-size: 39px;
    padding-top: 10px;
  }

  .circle {
    height: 60px;
    width: 60px;
  }

  .btn-teaser {
    display: flex;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px !important;
  }

  .contact {
     height: 210px;
        width: 768px;
        margin: 0 auto;
        margin-top: 56px;
  }
    
    .contact-headline{
        padding-top: 60px;
    }

  .about-me {
    margin-top: 80px;
  }

  /*Impressum*/
  .impressum-text {
    margin-top: 80px;
    margin-left: 20vw !important;
    margin-right: 20vw !important;
  }
}

@media(min-width: 992px) {
  .teaser {
    max-width: 350px;
  }
}

@media(min-width: 613px) {
  .icon {
    font-size: 39px;
    padding-top: 10px;
  }
}

@media(max-width: 992px) {
 .timeline{
   width: 100%;
 }
 .timeline:before{
 left:40px;
 }

 .timeline ul li:nth-child(odd),
 .timeline ul li:nth-child(even){
    width:100%;
    padding-left: 50px;
    padding-bottom: 50px;
 }

 .timeline-circle{
        left:-0.4rem;
    background-color: var(--main-dark-grey);
    border-radius: 50%;

}

.timeline-circle-left{
    left:-0.4rem;
    background-color: var(--main-dark-grey);
    border-radius: 50%;

}
.grid {
  grid-template-columns: repeat(2, 1fr);

}
}
