/* Global */
*, *::before, *::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  text-align: center;
  background: #ffffff;
  color: #1b2020;
  font-family: "Open Sans", sans-serif;
  font-size: 16px;
  line-height: 1.7;
}

h2 {
  text-transform: uppercase;
  margin-bottom: 50px;
  position: relative;
  color: white;
  font-size: 32px;
  letter-spacing: 2px;
}

a, a:hover, a:visited, a:active {
  color: inherit;
  text-decoration: none;
 }

.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 20px;
}

section {
  padding: 50px 0;
  background-color: rgba(12, 132, 132, .5);
}

section:nth-of-type(2n) {
  /* background-color: #92d3d3; */
  background-color: rgba(146, 211, 211, .5);
}

.section-title {
  position: relative;
  font-size: 36px;
  margin: 0 0 60px 0;
  font-family: "Raleway", sans-serif;
}

.section-title::after {
  position: absolute;
  content: '';
  bottom: -12px;
  left: 50%;
  width: 50px;
  height: 10px;
  transform: translateX(-50%);
  background: #0c8484;
}

/* Splash */
.splash {
  height: 100vh;
  position: relative;
  /* background-image: url("./drzewa/IMG_0559.JPG"); */
  background-image: url("drzewa/IMG_0763.JPG");
  background-position: center center;
  background-size: cover;
  background-attachment: fixed;
}

.splash-inner {
  position: absolute;
  width: 100%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(24, 66, 42, 0.5);
  padding-top: 20px;
  padding-bottom: 20px;
}

.splash i {
  font-size: 50px;
  background: #82ccdd;
  width: 80px;
  height: 80px;
  line-height: 80px;
  color: #fff;
  border-radius: 50%;
}

.page-title {
  color: #fff;
  font-family: "Raleway", sans-serif;
  font-size: 80px;
  margin: 48px 0 0 0;
  position: relative;
  font-variant: small-caps;
  letter-spacing: 10px;
}

.page-title::after {
  position: absolute;
  content: '';
  bottom: -24px;
  left: 50%;
  width: 400px;
  height: 10px;
  transform: translateX(-50%);
  background: #82ccdd;
}

.page-subtitle {
  color: #fff;
  font-size: 25px;
  margin: 48px 0 0 0;
  font-variant: small-caps;
  letter-spacing: 10px;
}

nav {
  position: fixed;
  width: 100%;
  background: rgba(256, 256, 256, 0.8);
  display: flex;
  justify-content: space-between;
  height: 75px;
  color: white;
  z-index: 10;
}

nav img {
  height: 100%;
}

nav .menu {
  list-style-type: none;
  display: flex;
  align-items: center;
  margin-right: 50px;
}

nav li {
  display: inline;
  text-transform: uppercase;
  margin: 10px;
  padding: 10px 20px;
  background-color: #0c8484;
  border-radius: 5px;
}

nav a:visited {
  text-decoration: none;
  color: #fff;
}

/* Intro */
.intro {
  background: #fff;
}

.intro p {
  width: 70%;
  margin: 0 auto;
  padding: 48px 0;
  font-size: 24px;
  border-top: 1px solid #0c8484;
  border-bottom: 1px solid #0c8484;
}

/* Rules */
.rules {
  background-image: url("./drzewa/IMG_0559.JPG");
  background-position: center;
}

.rules-list {
  display: flex;
  justify-content: space-around;
  list-style-type: none;
}

.rule {
  background-color: #0c8484;
  color: white;
  display: flex;
  justify-content: center;
  flex-direction: column;
  padding: 40px 20px;
  flex: 1;
  margin: 10px;
}

.rule i {
  font-size: 60px;
}

.rule p {
  min-height: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
}


/* Visited */
[class^="visited-"] {
  position: relative; }

.visited-image {
  position: absolute;
  width: 50%;
  height: 100%;
  overflow: hidden;
  z-index: 2; }

.visited-image {
  display: flex;
  justify-content: center;
  background-color: #0c8484;
  color: #fff;
}

.visited-right .visited-image {
  right: 0;
}

.visited-right .visited-description {
  padding: 36px 55% 36px 0;
  text-align: right;
}

.visited-left .visited-description {
  padding: 36px 0 36px 55%;
  text-align: left;
}

.visited-description .visited-title {
  font-variant: small-caps;
  letter-spacing: 5px; }

.visited-description p {
  z-index: 1;
}

.therapy-group {
  text-transform: uppercase;
  display: flex;
  align-items: center;
}

/*About*/
.avatar {
  height: 400px;
  width: auto;
}

.about-container {
  display: flex;
}

.photo-quote, .description {
  padding: 30px 50px;
}

.shortcut {
  text-transform: uppercase;
}

.name {
  text-transform: uppercase;
  color: black;
  letter-spacing: normal;
  margin-bottom: 0;
}

/*Prices*/
.prices-section {
  color: white;
}

.prices-section h2 {
  margin-bottom: 10px;
}

.price-title {
  margin-top: -20px;
  font-size: 20px;
  padding-right: 20px;
}

/*Contact*/
.contact {
  display: flex;
  justify-content: space-around;
  background-color: #0c8484;
  color: #ffffff;
  padding: 20px 0;
}

.contact i {
  background-color: white;
  color: #0c8484;
  border-radius: 50%;
  font-size: 30px;
  height: 60px;
  width: 60px;
  line-height: 60px;
  margin-top: 10px;
}

.email a {
  text-decoration: none;
  color: inherit;
}

/* Offer */
.range, .type {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  row-gap: 10px;
}

.range li, .type li {
  display: flex;
  flex-basis: 30%;
  background-color: #0c8484;
  color: #ffffff;
  cursor: pointer;
  transition: 1s all;
}

.range li {
  height: 100px;
  justify-content: center;
  align-items: center;
}

.type li {
  height: auto;
  display: flex;
  flex-direction: column;
}

.range li:hover {
  transform: scale(1.1);
}

/* Accordion */
input {
  position: absolute;
  opacity: 0;
  z-index: -1;
}
/* // Layout
.row {
  display:flex;
}

.row .col {
    flex:1;
}

.row .col:last-child {
  margin-left: 1em;
} */

/* Accordion styles */
.tabs {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 4px -2px rgba(0,0,0,0.5);
}
.tab {
  width: 100%;
  color: white;
  overflow: hidden;
}

.tab-label {
  display: flex;
  justify-content: space-between;
  padding: 1em;
  background: red;
  font-weight: bold;
  cursor: pointer;
}
.tab-label:hover {
  background: green;
}
.tab-label::after {
  content: "\276F";
  width: 1em;
  height: 1em;
  text-align: center;
  transition: all .35s;
}

.tab-content {
  max-height: 0;
  padding: 0 1em;
  color: red;
  background: white;
  transition: all .35s;
}
.tab-close {
  display: flex;
  justify-content: flex-end;
  padding: 1em;
  font-size: 0.75em;
  background: red;
  cursor: pointer;
}
.tab-close:hover {
  background: green;
}

/* checked */
/* input:checked {
  + .tab-label {
    background: darken($midnight, 10%);
    &::after {
      transform: rotate(90deg);
    }
  }
  ~ .tab-content {
    max-height: 100vh;
    padding: 1em;
  }
} */

input:checked.tab-label {
  background: purple;
}
input:checked.tab-label::after {
  transform: rotate(90deg);
}

input:checked .tab-content {
  max-height: 100vh;
  padding: 1em;
}

#rules {
  background-image: url("./drzewa/IMG_7404.JPG");
  background-position: center;
}

footer {
  padding: 20px;
}

@media screen and (max-width: 768px) {
  .contact,
  .rules-list,
  .about-container {
    flex-direction: column;
  }

  .range, .type {
    flex-direction: column;
  }

  .range li, .type li {
    padding: 20px;
    /* transition: none; */
  }

  nav {
    height: auto;
    flex-direction: column;
  }

  nav img {
    height: 100px;
    width: auto;
  }

  nav .menu {
    margin: auto;
  }

  ul {
    padding-left: 0;
  }

  .range li:hover {
    transform: none;
  }

  .splash-inner {
    top: 60%;
  }
}