* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
  list-style: none;
  scroll-behavior: smooth;
  scroll-padding-top: 3rem;
  text-decoration: none;
}

:root {
  --main-color: #0d7eff;
  --text-color: #fff;
  --other-color: #212121;
  --second-color: #9e9e9e;
  --bg-color: #111;
  --big-font: 2.5rem;
  --h2-font: 1.9rem;
  --p-font: 1.1rem;
}

body {
  background: var(--bg-color);
  color: var(--text-color);
}

.all {
  width: 100%;
  margin: auto;
  background-color: #fdfdfd;
}

header {
  position: fixed;
  width: 100%;
  top: 0;
  right: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-around;
  background: transparent;
  padding: 30px 14%;
  transition: all 0.5s ease;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  width: 200px;
  height: auto;
}

.navlist {
  display: flex;
  padding: 0;
  margin-bottom: 0;
  list-style-type: none;
}

.navlist a {
  color: var(--text-color);
  font-size: var(--p-font);
  font-weight: 600;
  margin: 0 10px;
  transition: all 0.5s ease;
  text-decoration: none;
}

.navlist a:hover {
  color: var(--main-color);
}

.navlist a.active {
  color: var(--main-color);
}

.nav-icons {
  display: flex;
  align-items: center;
  padding: 8px 15px;
  background: var(--main-color);
  border-radius: 3rem;
  box-shadow: #0d7eff 0px 0px 15px;
}

.nav-icons i {
  vertical-align: middle;
  font-size: 25px;
  color: var(--bg-color);
  margin-right: 8px;
  margin-left: 5px;
  transition: all 0.5s ease;
}

.nav-icons a {
  vertical-align: middle;
  margin-left: 8px;
  color: var(--bg-color);
  transition: all 0.5s ease;
  text-decoration: none;
}

#menu-icon {
  font-size: 32px;
  color: var(--bg-color);
  z-index: 2;
  cursor: pointer;
  display: none;
}

.nav-icons i:hover,
.nav-icons a:hover,
.nav-icons a:hover i {
  transform: scale(1.1);
  color: var(--text-color);
}

section {
  padding: 70px 14% 60px;
}

.home {
  position: relative;
  height: 100vh;
  width: 100%;
  display: flex;
  align-items: end;
  justify-content: center;
  background-image: url(home/home.jpg);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.home-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin-bottom: 30px;
}

.home-text h1 {
  font-size: var(--big-font);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 0.5rem;
}

.obsah .btn,
.home .btn {
  padding: 15px 35px;
  background: var(--main-color);
  color: var(--bg-color);
  box-shadow: #0d7eff 0px 0px 15px;
  font-size: var(--p-font);
  font-weight: 500;
  letter-spacing: 1px;
  border-radius: 3rem;
  transition: all 0.5s ease;
}

.obsah .btn:hover,
.home .btn:hover {
  background: var(--other-color);
  color: var(--text-color);
  box-shadow: none;
}

header.sticky {
  box-shadow: 0px 1px 10px black;
  padding: 12px 14%;
  background: var(--other-color);
}

.Onas {
  width: 80%;
  clear: both;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: center;
  margin: 0px auto;
  padding: 80px 0;
  font-size: var(--p-font);
}

.imgOnas,
.KdeHrajem {
  float: left;
  width: 600px;
  margin-top: 20px;
}

.obsImg {
  width: 600px;
  border-radius: 10px;
}

.obsOnas,
.imgKdeHrajem {
  float: right;
  width: 600px;
  margin-top: 20px;
}

.jedna,
.dva,
.tri {
  margin: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  color: var(--other-color);
  width: 100%;
}

.jedna p,
.dva p {
  margin: 0;
}

.tri a {
  font-size: 20px;
}

.parallax {
  background-image: url(home/parallax.jpg);
  height: 300px;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  clear: both;
}

.parallax .ptext {
  height: 300px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  padding: 0 4%;
}

.parallax h3 {
  text-align: center;
  color: white;
  font-size: 55px;
  text-shadow: 2px 2px 2px #333;
  margin: 0 10px;
}

.slozeni {
  width: 100%;
  padding: 80px 0;
  margin: 0px auto;
}

.nadpis {
  color: var(--bg-color);
  display: flex;
  justify-content: center;
  align-content: center;
  padding-bottom: 20px;
}

.slozeni input {
  display: none;
}

.cards {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  height: 500px;
  perspective: 1000px;
  overflow: hidden;
}

.cards .item {
  width: 350px;
  height: 500px;
  border-radius: 10px;
  background-size: cover;
  color: #fff;
  position: absolute;
  top: 0;
  text-align: center;
  box-sizing: border-box;
  cursor: pointer;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.5s;
  overflow: hidden;
}

#vesy {
  background-image: url(kapela/vesy_zm.jpg);
}

#hori {
  background-image: url(kapela/hori_zm.jpg);
}

#lukas {
  background-image: url(kapela/lukas_zm.jpg);
}

#milan {
  background-image: url(kapela/milan_zm.jpg);
}

#zuzkab {
  background-image: url(kapela/zuzka_zm.jpg);
}

#vitek {
  background-image: url(kapela/vitek_zm.jpg);
}

.cards .item .main-content {
  width: 100%;
}

.cards .item .main-content .content {
  display: none;
  padding: 0 10px;
}

.cards .item .main-content .content h1 {
  font-size: 30px;
  color: #fff;
}

.cards .item .main-content .content h4,
.cards .item .main-content .content p {
  margin-top: 0px;
}

.cards .item .main-content .content p {
  font-size: 13px;
  font-weight: 300;
}

.cards .item .main-content .content .social {
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.content .social .icon {
  width: 40px;
  height: 40px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.content .social .icon i {
  color: #000;
  font-size: 30px;
  transition: 0.5s;
  padding: 10px 0;
}

.content .social .icon:hover i {
  color: var(--color);
}

.dots {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
}

.dots label {
  height: 7px;
  width: 7px;
  border-radius: 50%;
  background-color: #21262d;
  cursor: pointer;
  margin: 10px;
  transition-duration: 0.2s;
}

#c-1:checked ~ .dots label[for="c-1"],
#c-2:checked ~ .dots label[for="c-2"],
#c-3:checked ~ .dots label[for="c-3"],
#c-4:checked ~ .dots label[for="c-4"],
#c-5:checked ~ .dots label[for="c-5"],
#c-6:checked ~ .dots label[for="c-6"] {
  transform: scale(2);
  background-color: #0045a7;
  box-shadow: 0px 0px 0px 1px #006aff;
}

#c-1:checked ~ .dots label[for="c-2"],
#c-2:checked ~ .dots label[for="c-1"],
#c-2:checked ~ .dots label[for="c-3"],
#c-3:checked ~ .dots label[for="c-2"],
#c-3:checked ~ .dots label[for="c-4"],
#c-4:checked ~ .dots label[for="c-3"],
#c-4:checked ~ .dots label[for="c-5"],
#c-5:checked ~ .dots label[for="c-4"],
#c-5:checked ~ .dots label[for="c-6"],
#c-6:checked ~ .dots label[for="c-5"] {
  transform: scale(1.5);
}

#c-1:checked ~ .cards label[for="c-4"],
#c-2:checked ~ .cards label[for="c-5"],
#c-3:checked ~ .cards label[for="c-6"],
#c-4:checked ~ .cards label[for="c-1"],
#c-5:checked ~ .cards label[for="c-2"],
#c-6:checked ~ .cards label[for="c-3"] {
  transform: translate3d(0, 0, -360px) rotateY(0deg);
  z-index: 2;
}

#c-1:checked ~ .cards label[for="c-3"],
#c-2:checked ~ .cards label[for="c-4"],
#c-3:checked ~ .cards label[for="c-5"],
#c-4:checked ~ .cards label[for="c-6"],
#c-5:checked ~ .cards label[for="c-1"],
#c-6:checked ~ .cards label[for="c-2"] {
  transform: translate3d(700px, 0, -270px) rotateY(-25deg);
  z-index: 3;
}

#c-1:checked ~ .cards label[for="c-2"],
#c-2:checked ~ .cards label[for="c-3"],
#c-3:checked ~ .cards label[for="c-4"],
#c-4:checked ~ .cards label[for="c-5"],
#c-5:checked ~ .cards label[for="c-6"],
#c-6:checked ~ .cards label[for="c-1"] {
  transform: translate3d(350px, 0, -180px) rotateY(-15deg);
  z-index: 4;
}

#c-4:checked ~ .cards label[for="c-2"],
#c-5:checked ~ .cards label[for="c-3"],
#c-6:checked ~ .cards label[for="c-4"],
#c-1:checked ~ .cards label[for="c-5"],
#c-2:checked ~ .cards label[for="c-6"],
#c-3:checked ~ .cards label[for="c-1"] {
  transform: translate3d(-700px, 0, -270px) rotateY(25deg);
  z-index: 3;
}

#c-4:checked ~ .cards label[for="c-3"],
#c-5:checked ~ .cards label[for="c-4"],
#c-6:checked ~ .cards label[for="c-5"],
#c-1:checked ~ .cards label[for="c-6"],
#c-2:checked ~ .cards label[for="c-1"],
#c-3:checked ~ .cards label[for="c-2"] {
  transform: translate3d(-350px, 0, -180px) rotateY(15deg);
  z-index: 4;
}

#c-1:checked ~ .cards label[for="c-1"],
#c-2:checked ~ .cards label[for="c-2"],
#c-3:checked ~ .cards label[for="c-3"],
#c-4:checked ~ .cards label[for="c-4"],
#c-5:checked ~ .cards label[for="c-5"],
#c-6:checked ~ .cards label[for="c-6"] {
  z-index: 5;
}

#c-1:checked ~ .cards label[for="c-1"] .main-content .content,
#c-2:checked ~ .cards label[for="c-2"] .main-content .content,
#c-3:checked ~ .cards label[for="c-3"] .main-content .content,
#c-4:checked ~ .cards label[for="c-4"] .main-content .content,
#c-5:checked ~ .cards label[for="c-5"] .main-content .content,
#c-6:checked ~ .cards label[for="c-6"] .main-content .content {
  display: block;
  margin-top: 50%;
  background: linear-gradient(
    0deg,
    rgba(0, 0, 0, 1),
    rgba(0, 0, 0, 0.8),
    rgba(0, 0, 0, 0.6),
    rgba(255, 255, 255, 0)
  );
  padding-top: 110px;
  padding-bottom: 65px;
  width: 350px;
}

.fotogalery {
  color: var(--text-color);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 80px 0 0 0;
  background-color: var(--other-color);
}

.carousel{
  display: flex;
  padding: 100px;
  width: 90%;
  overflow-x: auto;
}

.carousel::-webkit-scrollbar{
  display: block;
}

#photos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 7em;
  animation: foto 40s infinite linear;
  padding-right: 7em;
}

.photos *, #photos * {
  transition: all 0.3s ease-in-out;
}

.photos img, #photos img {
  transition: 0.5s;
}

.fot i {
  position: absolute;
  bottom: 29%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  font-size: 3rem;
  color: var(--text-color);
  font-weight: 500;
  transition-delay: 0.2s;
}

.fot {
  border-radius: 10px;
  flex: 0 0 5em;
  overflow: hidden;
  position: relative;
  transform: scale(1.25);
}

.fot:hover {
  transform: scale(1.40);
}

.fot:hover img {
  transform: scale(1.15);
  filter: grayscale(100%) brightness(50%);
}

.fot:hover i {
  position: absolute;
  bottom: 26%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 1;
  font-size: 3.5rem;
  transition-delay: 0s;
}

.photos a {
  text-decoration: none;
}

@keyframes foto{
  from {translate: 0;}
  to {translate: -100%;}
}

.recenze {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 80px 0;
  color: var(--bg-color);
  font-size: var(--p-font);
}


.videoklip {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  width: 300px;
  padding-top: 20px;
}

.levyk,
.pravyk {
  flex: 1;
  min-width: 300px;
  padding: 20px;
  color: white;
  text-align: center;
  font-size: var(--p-font);
}

.kontakt {
  width: 100%;
  background-image: url(home/kontakt_bkg.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: bottom;
  padding: 60px 80px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.tp {
  height: 89vh;
  background-image: url(home/ppp.jpg);
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.tp p,
.tp h2 {
  margin: 0;
}

.back {
  background: rgba(40, 40, 40, 0.3);
  border-radius: 10px;
  padding: 10px;
}

.pdf {
  border: 1px solid transparent;
  width: 100%;
  display: flex;
  flex-direction: row;
}

.button-57 {
  position: relative;
  overflow: hidden;
  border: 1px solid #18181a;
  color: white;
  display: inline-block;
  font-size: 25px;
  line-height: 25px;
  padding: 50px 50px 50px;
  text-decoration: none;
  cursor: pointer;
  background: var(--bg-color);
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  border-radius: 10px;
  box-shadow: 0 0 10px black;
  margin: 10px;
}

.button-57 span:first-child {
  position: relative;
  transition: color 600ms cubic-bezier(0.48, 0, 0.12, 1);
  z-index: 1;
}

.button-57 span:last-child {
  color: white;
  display: block;
  position: absolute;
  bottom: 0;
  transition: all 500ms cubic-bezier(0.48, 0, 0.12, 1);
  z-index: 3;
  opacity: 0;
  top: 50%;
  left: 50%;
  transform: translateY(225%) translateX(-50%);
  height: 14px;
  line-height: 13px;
}

.button-57:after {
  content: "";
  position: absolute;
  bottom: -50%;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--main-color);
  transform-origin: bottom center;
  transition: transform 600ms cubic-bezier(0.48, 0, 0.12, 1);
  transform: skewY(9.3deg) scaleY(0);
  z-index: 2;
}

.button-57:hover:after {
  transform-origin: bottom center;
  transform: skewY(9.3deg) scaleY(2);
}

.button-57:hover span:last-child {
  transform: translateX(-50%) translateY(-40%);
  opacity: 1;
  transition: all 900ms cubic-bezier(0.48, 0, 0.12, 1);
}

.footer {
  display: flex;
  justify-content: space-around;
  align-items: center;
  background-color: var(--other-color);
  color: #aaa;
}

.footer a {
  color: #eee;
  text-decoration: none;
}

.footer p {
  padding: 40px 0;
  margin: 0;
}

.footer img{
  height: 40px;
}

.media a{
  margin-right: 15px;
}

@media (max-width: 1600px) {
  header {
    padding: 22px 4%;
    transition: 0.2s;
  }

  header.sticky {
    padding: 14px 4%;
    transition: 0.2s;
  }

  section {
    padding: 50px 4% 40px;
    transition: 0.2s;
  }

  .Onas {
    width: 90%;
  }
}

@media (max-width: 1400px) {
  .jedna,
  .dva,
  .tri {
    flex-direction: column;
    width: 100%;
  }

  .dva {
    flex-direction: column-reverse;
  }
}

@media (max-width: 1250px) {
  :root {
    --big-font: 2rem;
    --h2-font: 1.5rem;
    --p-font: 15px;
  }
}

@media (max-width: 1130px) {
  #menu-icon {
    display: initial;
  }

  .navlist {
    position: absolute;
    top: -1000px;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    text-align: left;
    background: var(--other-color);
    transition: all 0.5s ease;
  }

  .navlist a {
    display: block;
    padding: 0.5rem;
    margin: 1rem;
    border-left: 2px solid var(--main-color);
  }

  .navlist.open {
    top: 100%;
  }

  header {
    justify-content: space-between;
  }

  .nav-icons span {
    display: none;
  }

  .nav-icons a,
  .nav-icons i {
    margin: 0 5px 0 0;
  }
}

@media (max-width: 1060px) {
  :root {
    --big-font: 1.5rem;
    --h2-font: 1rem;
  }

  .home {
    height: 70vh;
  }
}

@media (max-width: 860px) {
  .home {
    grid-template-rows: 1fr;
  }

  .pdf {
    flex-direction: column;
    min-width: 0px;
    margin: 0px;
  }

  .imgOnas,
  .KdeHrajem {
    width: 400px;
  }

  .obsImg {
    width: 400px;
  }

  .obsOnas,
  .imgKdeHrajem {
    width: 400px;
  }

  iframe {
    width: 450px;
    height: 250px;
  }

  .pdf a {
    margin: 10px;
  }

  .tp {
    height: 89vh;
  }

  .kontakt {
    flex-direction: column;
    align-items: center;
    background-image: url(home/kp.jpg);
    background-position: top;
    padding: 180px 30px 80px 30px;
  }

  .levyk,
  .pravyk {
    width: 100%;
    text-align: center;
    padding: 0;
  }

  .pravyk {
    margin-top: 30px;
  }
}
