.home .heading {
  width: 100%;
  text-align: center;
  margin-top: -10vh;
}

.bg_image {
  background-image: url(../images/bg_image.jpg);
  width: 100%;
  height: 70vh;
  padding: 0;
  position: relative;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  align-items: center;
  margin: 10px 0;
}

h1 {
  text-align: center;
  margin: 20px 0;
  font-family: "Roboto", cursive;
  font-size: 46px;
  font-weight: 300;
  line-height: 1.2;
}

@media (max-width: 480px) {
  h1 {
    font-family: "Arial";
  }
}

.subtext {
  font-size: 3vw;
  line-height: 3vw;
  text-align: center;
  padding-top: 6vw;
  margin: 0 auto 3rem;
  font-style: italic;
}

.heading h2 {
  text-align: center;
  margin: 50px 0 0 0;
  font-family: "Mr Bedfort", cursive;
  font-size: 54px;
  font-weight: 600;
  line-height: 1.2;
  color: #e8b7b2;
}

h2 {
  font-size: 26px;
  margin-bottom: 16px;
  line-height: 1.2;
}

h3,
.h3 {
  font-weight: bold;
  margin: 30px 0 10px 0;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.2;
  color: #9b9595;
}

.hero {
  width: 50%;
  margin: 0 auto;
}

.video {
  padding-top: 2rem;
  text-align: center;
  margin-bottom: 2rem;
}



.cards {
  background-image: url(../images/bg_cards.jpg);
  display: inline-flex;
  box-sizing: content-box;
  width: 100%;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  align-items: center;
  margin: 0 auto;
  padding: 2vw 5vw;
}

.card {
  display: inline-block;
  justify-content: center;
  width: 100%;
  padding: 2vw;
  /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#ffffff+0,e8b7b2+100 */
  background: rgb(255, 255, 255);
  /* Old browsers */
  background: -moz-linear-gradient(
    top,
    rgba(255, 255, 255, 1) 0%,
    rgba(232, 183, 178, 1) 100%
  );
  /* FF3.6-15 */
  background: -webkit-linear-gradient(
    top,
    rgba(255, 255, 255, 1) 0%,
    rgba(232, 183, 178, 1) 100%
  );
  /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 1) 0%,
    rgba(232, 183, 178, 1) 100%
  );
  /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#e8b7b2', GradientType=0);
  /* IE6-9 */
  border-radius: 22px;
  box-shadow: 5px 7px;
  text-align: center;
  margin: 2vw;
}

.card_in {
  padding: 5px;
  margin-bottom: 20px;
}

.card_in:hoover {
  border: 1px solid #9b9595;
  box-shadow: 2px 3px;
}

.card img {
  width: 8vw;
  height: 8vw;
  border-radius: 100px;
  border: 0.5vw solid #e8b7b2;
}

.card p {
  margin-bottom: 20px;
}

.therapist {
  border-bottom: 2px solid #9b9595;
  margin-bottom: 3vw;
}

@media only screen and (max-width: 320px) {
  .subtext {
    font-size: 4vw;
    line-height: 4vw;
  }

  .therapist {
    border: none;
  }
}

.therapist img {
  width: 13vw;
  height: 13vw;
}

.services {
  margin: 0 -20px;
  display: flex;
  -webkit-flex-flow: row wrap;
}

.services li {
  display: inline-block;
  font-size: 15px;
  line-height: 17px;
  position: relative;
  width: 33.3333%;
  margin-bottom: 40px;
  vertical-align: top;
}

.services li a {
  display: block;
  padding: 10px 20px 10px 120px;
}

.services li a:hover h3 {
  color: #26c6c6;
}

.services li a:hover img {
  -webkit-filter: contrast(180%);
  filter: contrast(180%);
  box-shadow: 3px 3px 4px grey;
  border: 5px solid #26c6c6;
}

@media only screen and (max-width: 1024px) {
  .services li {
    width: 50%;
  }
}

@media only screen and (max-width: 650px) {
  .services li {
    width: 100%;
  }
}

.services li img {
  position: absolute;
  width: 100px;
  height: auto;
  left: 0;
  border-radius: 50%;
  border: 5px solid transparent;
}

.services li h3 {
  margin: 0 0 10px 0;
}

.testimondirect {
  display: none;
}

.testimonials {
  width: 100%;
  height: 40vh;
  position: relative;
  align-items: center;
  margin: 1vw;
  padding: 0 10vw;
  text-align: center;
}

.testimonials h2 {
  font-size: 26px;
  text-align: center;
}

.testimonials p {
  text-align: center;
  font-style: italic;
}

.testimonials a {
  text-transform: uppercase;
  text-decoration: none;
  font-size: 15px;
  color: #e8b7b2;
  font-weight: bold;
}

.testimonials .test_in {
  max-width: 800px;
  margin: 0 auto;
}

.home .two_third {
  padding-left: 0;
  padding-right: 20px;
}

.two_third p {
  margin: 15px 0;
}

.home .third {
  padding-left: 30px;
}

.carousel-wrapper {
  height: 25vw;
  position: relative;
  width: 60vw;
  margin: 2vw auto;
}

.carousel-item {
  position: absolute;
  top: 2vw;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 25px 50px;
  opacity: 0;
  transition: all 0.5s ease-in-out;
}

.arrow {
  border: solid black;
  border-width: 0 3px 3px 0;
  display: inline-block;
  padding: 12px;
}

.arrow-prev {
  left: -30px;
  position: absolute;
  top: 22%;
  transform: translateY(-50%) rotate(135deg);
}

.arrow-next {
  right: -30px;
  position: absolute;
  top: 22%;
  transform: translateY(-50%) rotate(-45deg);
}

.light {
  color: white;
}

@media (max-width: 480px) {
  .arrow,
  .light .arrow {
    background-size: 10px;
    background-position: 10px 50%;
  }
}

/*Select every element*/
[id^="item"] {
  display: none;
}

.item-1 {
  z-index: 2;
  opacity: 1;
}

.item-2 {
}

.item-3 {
}

.item-4 {
}

.item-5 {
}

.item-6 {
}

.item-7 {
}

.item-8 {
}

.item-9 {
}

*:target ~ .item-1 {
  opacity: 0;
}

#item-1:target ~ .item-1 {
  opacity: 1;
}

#item-2:target ~ .item-2,
#item-3:target ~ .item-3,
#item-4:target ~ .item-4,
#item-5:target ~ .item-5,
#item-6:target ~ .item-6,
#item-7:target ~ .item-7,
#item-8:target ~ .item-8,
#item-9:target ~ .item-9 {
  z-index: 3;
  opacity: 1;
}

.motto {
  font-size: 3vw;
  line-height: 3vw;
  text-align: center;
  padding: 0 0 3vw 0;
  margin: 0 auto;
  font-style: italic;
}

.intro {
  padding-top: 3vw;
}

.row.intro {
  margin-bottom: 3vw;
}

.bia_bgimg {
  background-image: url(../images/img8.jpg);
  width: 100%;
  height: 130vh;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  align-items: center;
}

.intro .third {
    height: 50%;
}

.intro .two_third,
.about ul {
  border-left: 3px solid #e8b7b2;
}

.about ul {
  padding-left: 2vw;
  margin-left: 2vw;
  margin-bottom: 2vw;
}

.about ul li {
  padding-bottom: 6px;
}

.about p {
  margin-bottom: 2vw;
}

.gallery h2 {
  text-align: center;
}

.gallery .half,
.gallery .third,
.gallery .two_third,
.gallery .fourth,
.gallery .three_fourth {
  padding: 0;
}

.gallery .first img {
  padding: 5px;
  max-height: 25vw;
}

.gallery .second img {
  padding: 5px;
  max-height: 35vw;
}

.gallery .heading {
  padding: 8% 0 4% 0;
  width: 100%;
  text-align: center;
}

.blog .two_third {
  padding: 0 30px 0 0;
}

.post {
  margin-bottom: 30px;
  border-bottom: 2px solid #e8b7b2;
  padding: 1.5vw 0;
}

.clearfix {
  overflow: auto;
}

.post_in {
  padding: 20px 20px 60px 120px;
}

.post h2,
.post h3 {
  color: #e8b7b2;
}

.post h2 {
  font-size: 2vw;
}

.post h3 {
  padding-left: 30px;
  padding-bottom: 10px;
  margin-top: 20px;
  font-size: 1.8vw;
}

#talpmasszazs.post h3:first-of-type {
  margin-top: 0;
}

.blog p {
  display: inline-block;
  padding: 0 0 10px 30px;
  position: relative;
  margin-top: 0;
  vertical-align: top;
}

@media only screen and (max-width: 480px) {
  .intro .third .img {
    padding-bottom: 10px;
  }

  .motto {
    font-size: 5vw;
    line-height: 5vw;
  }

  .blog p {
    display: block;
    padding: 0 0 10px 30px;
    position: relative;
    margin-top: 0;
    margin-bottom: 40px;
    vertical-align: top;
  }

  .post h2 {
    font-size: 5vw;
  }

  .post h3 {
    font-size: 4vw;
  }
}

.blog img {
  position: absolute;
  width: 10%;
  height: auto;
  left: 50px;
}

@media (max-width: 769px) {
  .intro .two_third {
    margin-top: 20px;
  }

  .post_in {
    padding: 20px 20px 50px 0;
    display: block;
  }

  .blog p {
    display: inline-block;
    padding: 0 0 10px 0;
    position: initial;
    margin-top: 0;
    margin-bottom: 0;
    vertical-align: top;
  }

  .blog img {
    position: initial;
    width: 80%;
    margin-bottom: 30px;
  }
}

.post_in a {
  text-transform: uppercase;
  text-decoration: none;
  font-size: 15px;
  color: #26c6c6;
  font-weight: bold;
}

.contact .card {
  padding: 30px;
}

.contact .therapist {
  border-bottom: none;
}

.contact .card p {
  padding: 30px;
  border-bottom: 2px solid #9b9595;
}

.contact .card a {
  color: #de958e;
}

.ajandek {
  padding: 2vw 15vw;
}

.ajandek .card {
  padding: 6vw;
}

.ajandek img {
  width: 42vw;
  height: 33vw;
  border-radius: 0;
  border: 0.5vw solid #e8b7b2;
}

.ajandek p {
  font-size: 20px;
}

/* Video Gallery*/

.video_gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.video {
  width: 30%;
  height: 40vh;
  margin: 20px 10px;
  border: 2px solid rgb(243, 242, 242);
  border-radius: 10px 10px 0px 0px;
  overflow: hidden;
}

@media (max-width: 820px) {
  .home .video {
    width: 45%!important;
  }
}

@media (max-width: 650px) {
  .home .video {
    width: 95% !important;
  }

  iframe {
    width: 400px;
    height: 300px;
  }
}

@media (max-width: 420px) {
  .video {
    height: 30vh;
  }

  iframe {
    width: 300px;
    height: 200px;
  }
}




