* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  /*font-size: 16px;*/
  font-family: "Poppins", sans-serif;
}
:root {
  --hero-height: 100vh;
  /* --page-width: 97vw; */
  --body-shadow-clr: rgba(0, 0, 0, 0.2);
  --side-margin: 4em;
  --menu-height: 1em;
  --carousel-width: 90vw;
  --carousel-height: calc(var(--carousel-width) * var(--golden));

  /*colors*/
  --clr-primary: hsl(196, 88%, 66%);
  --clr-secondary: hsl(217, 60%, 47%);
  --clr-tertiary: #e5e2ee;
  --clr-dark: rgb(27, 29, 27);
  --clr-accent: #e7209e;
  --glass-background: rgb(153, 202, 235);
  /*background opacity*/
  --clr-dark-background: rgba(27, 29, 27, 0.2);
  /*image ration*/
  --golden: 1.6180339887498948482;
}
html {
  scroll-behavior: smooth;
  max-width: 100%;
}
/* html.has-scroll-smooth {
  overflow: hidden;
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
} */
body {
  position: relative;
  max-width: 100%;
  /* background-color: var(--clr-tertiary); */
}
/*extra small screens*/
@media screen and (max-width: 300px) {
  nav li:nth-child(4) {
    display: none;
  }
}
/*mobile first*/
header {
  position: fixed;
  inset: auto 0 0 0;
  width: 100%;
  max-width: 100vw;
  height: max-content;
  /* background-color: rgba(var(--glass-background), 0.1); */
  background-color: rgba(255, 255, 255, 1);
  backdrop-filter: blur(6px);
  z-index: 10000;
  box-shadow: 0px 3px 11px -8px black;
}
@media screen and (min-width: 1025px) {
  header {
    inset: 0 0 auto 0;
    max-width: 100%;
  }
}
/* header::after {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  backdrop-filter: blur(1em);
  z-index: 9;
  -webkit-backdrop-filter: blur(1em);
} */

nav {
  position: relative;
  list-style: none;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  height: max-content;
  width: 100%;
  max-width: 1920px;
  margin-inline: auto;
  padding-block: 1rem;
  /* margin-bottom: 2rem; */
  /* top: 0.5em; */
  gap: 0.5em;
  font-size: clamp(0.8rem, calc(12px + 0.1vw), 1.125rem);
  /* color: var(--clr-tertiary); */
  color: black;
  font-weight: 600;
  padding-inline: calc((100vw - var(--page-width)) / 2) 1rem;
  /* padding-block: 0 0.4em; */
  overflow-y: visible;
  z-index: 11;
}
@media screen and (min-width: 1025px) {
  nav {
    margin-bottom: 0;
    align-items: center;
    font-size: clamp(1.1rem, 12px + 0.7vw, 4rem);
  }
}
@media screen and (min-width: 1920px) {
  nav {
    padding-inline: 2rem;
  }
}
nav li {
  flex-grow: 1;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  /* padding: 0.15em; */
  line-height: 4rem;
}
@media screen and (max-width: 1024px) {
  nav li {
    line-height: 1rem;
  }
}
nav li:first-child {
  min-width: 2em;
}
nav li:first-child a:not(.mobile-menu a) {
  display: flex;
}
nav a {
  text-decoration: none;
  /* padding: 0.5em; */
  border-radius: 0.75em;
  /* color: var(--clr-tertiary); */
  color: black;
  height: 100%;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.main-logo {
  position: relative;
  display: inline;
  height: 100%;
  max-height: 4vw;
  z-index: 1000 !important;
}
@media screen and (max-width: 1024px) {
  .main-logo {
    height: 2rem;
    width: 2rem;
  }
}
@media screen and (min-width: 1920px) {
  .main-logo {
    max-height: 77px !important;
  }
}
.main-logo:focus-visible {
  outline: none;
}
.menu-svg img {
  height: 2em;
  display: inline-flex;
}
.menu-text {
  font-size: 0.6em;
  text-align: center;
}
/*menu for mobile devices*/
.mobile-menu {
  position: absolute;
  top: auto;
  /*hodnota pro pokus rozbalovátek*/
  /* top:-20rem; */
  /**/
  width: 100%;
  left: 0;
  bottom: var(--menu-height);
  backdrop-filter: blur(1em);
  background-color: white;
  font-size: 1.125em;
  padding-block: 1em;
  padding-inline: 0.5em;
  overflow: scroll;
  display: none;
  grid-template-columns: 1fr 5fr 1fr;
  grid-template-rows: repeat(13, 1fr);
  transition: display 500ms ease-in-out;
  -webkit-backdrop-filter: blur(1em);
}
.mobile-menu p:nth-child(1) {
  grid-column: 1/3;
  grid-row: 1/2;
}
.mobile-menu p:nth-child(2) {
  grid-column: 1/3;
  grid-row: 2/3;
}
.mobile-menu p:nth-child(3) {
  grid-column: 1/3;
  grid-row: 3/4;
}
.mobile-menu p:nth-child(4) {
  grid-column: 2/4;
  grid-row: 4/5;
}
.mobile-menu p:nth-child(5) {
  grid-column: 2/4;
  grid-row: 5/6;
}
.mobile-menu p:nth-child(6) {
  grid-column: 2/4;
  grid-row: 6/7;
}
.mobile-menu p:nth-child(7) {
  grid-column: 2/4;
  grid-row: 7/8;
}
.mobile-menu p:nth-child(8) {
  grid-column: 2/4;
  grid-row: 8/9;
}
.mobile-menu p:nth-child(9) {
  grid-column: 2/4;
  grid-row: 9/10;
}
.mobile-menu p:nth-child(10) {
  grid-column: 2/4;
  grid-row: 10/11;
}
.mobile-menu p:nth-child(11) {
  grid-column: 2/4;
  grid-row: 11/12;
}
.mobile-menu p:nth-child(12) {
  grid-column: 2/4;
  grid-row: 12/13;
}
.mobile-menu p:nth-child(13) {
  grid-column: 2/4;
  grid-row: 13/14;
}
.mobile-menu p:nth-child(14) {
  grid-column: 1/3;
  grid-row: 14/15;
}
.mobile-menu .lang-choice-mobile {
  flex-direction: row;
  width: 100%;
  margin-top: 2rem;
  gap: 2rem;
  height: max-content;
}
.mobile-menu a {
  padding-inline-start: 0;
  display: block;
}
.mobile-menu .social-links {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60vw;
  gap: 3rem;
  margin: auto;
  padding-top: 0;
}
.mobile-menu .social-links > * i {
  scale: 2;
}

.social-links path {
  fill: var(--clr-tertiary);
}
.social-links a:nth-child(3):hover .fa-instagram {
  background: radial-gradient(
    circle at 30% 107%,
    #fdf497 0%,
    #fdf497 5%,
    #fd5949 45%,
    #d6249f 60%,
    #285aeb 90%
  ) !important;
  -webkit-background-clip: text !important;
  /* Also define standard property for compatibility */
  background-clip: text;
  -webkit-text-fill-color: transparent !important;
}
.social-links a:nth-child(2):hover .fa-facebook {
  background: #4267b2 !important;
  -webkit-background-clip: text !important;
  /* Also define standard property for compatibility */
  background-clip: text;
  -webkit-text-fill-color: transparent !important;
}
.social-links a:nth-child(1):hover .fa-youtube {
  background: #ff0000 !important;
  -webkit-background-clip: text !important;
  /* Also define standard property for compatibility */
  background-clip: text;
  -webkit-text-fill-color: transparent !important;
}
.appear-menu {
  /* display: grid !important; */
  display: block !important;
  box-shadow: 0px -3px 10px -8px black;
}

.apply-btn,
.click-btn {
  font-size: clamp(1rem, 12px + 0.6vw, 1.5rem);
  padding: 0.5em 1em;
  border: none;
  background-color: #1d8e88;
  color: #b6ede5;
  border-radius: 2em;
}
/* .apply-btn {
  display: none;
} */
.click-btn {
  display: block;
}

.apply-btn:hover,
.apply-btn:focus-visible,
.click-btn:hover,
.click-btn:focus-visible {
  cursor: pointer;
  /* color: var(--clr-tertiary); */
  /* background-color: var(--clr-secondary); */
  background-color: var(--clr-accent);
}
.apply-btn a,
.click-btn a {
  text-decoration: none;
  color: inherit;
}
/* ////////////////////////////// */
.lang-choice {
  /* position: absolute; */
  /* top: 0;
  right: 0; */
  height: var(--menu-height);
  width: 3em;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex-basis: 0%;
  justify-content: center;
  align-items: center;
}
.lang-choice img {
  height: 1em;
  aspect-ratio: 3/2;
  object-fit: cover;
  box-shadow: 0px 0px 10px -5px black;
}
.lang-choice-desktop {
  display: none;
}
.menu-roll {
  display: none;
}

@media screen and (max-height: 480px) and (orientation: landscape) {
  nav {
    max-width: 98vw;
  }
  nav li:nth-child(5) {
    flex-grow: 0;
    /* display: flex;
    justify-content: flex-end; */
  }
  nav li:nth-child(6) {
    display: none;
  }
  .mobile-menu {
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: repeat(6, 1fr);
    top: 0;
  }
  .mobile-menu p {
    justify-self: center;
    align-self: center;
  }
  .mobile-menu p:nth-child(1) {
    grid-column: 1/2;
    grid-row: 1/2;
  }
  .mobile-menu p:nth-child(2) {
    grid-column: 1/2;
    grid-row: 2/3;
  }
  .mobile-menu p:nth-child(3) {
    grid-column: 2/3;
    grid-row: 1/2;
  }
  .mobile-menu p:nth-child(4) {
    grid-column: 2/3;
    grid-row: 2/3;
  }
  .mobile-menu p:nth-child(5) {
    grid-column: 3/4;
    grid-row: 2/3;
  }
  .mobile-menu p:nth-child(6) {
    grid-column: 2/3;
    grid-row: 3/4;
  }
  .mobile-menu p:nth-child(7) {
    grid-column: 3/4;
    grid-row: 3/4;
  }
  .mobile-menu p:nth-child(8) {
    grid-column: 2/3;
    grid-row: 4/5;
  }
  .mobile-menu p:nth-child(9) {
    grid-column: 3/4;
    grid-row: 4/5;
  }
  .mobile-menu p:nth-child(10) {
    grid-column: 2/3;
    grid-row: 5/6;
  }
  .mobile-menu p:nth-child(11) {
    grid-column: 3/4;
    grid-row: 5/6;
  }
  .mobile-menu p:nth-child(12) {
    grid-column: 2/3;
    grid-row: 6/7;
  }
  .mobile-menu p:nth-child(13) {
    grid-column: 3/4;
    grid-row: 6/7;
  }
  .mobile-menu p:nth-child(14) {
    grid-column: 3/4;
    grid-row: 1/2;
  }
  .mobile-menu .lang-choice-mobile {
    grid-column: 1/2;
    grid-row: 4/7;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
  }
  .lang-choice-mobile img {
    height: 2em;
  }
  nav {
    margin-inline: calc((100vw - var(--page-width)) / 2);
  }
  nav a {
    flex-direction: row;
  }
  .menu-text {
    margin-inline-start: 1em;
  }
  .main-logo {
    width: 2em;
  }
}
/*tablet header - menu*/
@media screen and (min-width: 481px) and (max-width: 768px) {
  :root {
    --page-width: 98vw;
  }
  /* header {
    inset: auto 0 0 0;
    padding-bottom: 0.5em;
  } */
  nav {
    align-items: center;
    top: 0.5em;
  }
  nav a {
    padding-top: 1em;
  }
  nav li {
    flex-direction: column;
    gap: 1em;
    display: block;
  }
  nav li:first-child {
    top: 0;
  }
  nav li:nth-child(5) {
    flex-grow: 10;
    display: flex;
    justify-content: flex-end;
  }
  .main-logo {
    height: max-content;
    max-height: clamp(2em, 12px + 1.35vw, 6em);
    width: 3em;
  }
  .menu-svg img {
    height: 2em;
    display: inline-flex;
  }
  .menu-text {
    display: inline-flex;
  }
  .mobile-menu {
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: repeat(6, 1fr);
    top: 0;
  }
  .mobile-menu p {
    justify-self: center;
    align-self: center;
  }
  .mobile-menu p:nth-child(1) {
    grid-column: 1/2;
    grid-row: 1/2;
  }
  .mobile-menu p:nth-child(2) {
    grid-column: 1/2;
    grid-row: 2/3;
  }
  .mobile-menu p:nth-child(3) {
    grid-column: 2/3;
    grid-row: 1/2;
  }
  .mobile-menu p:nth-child(4) {
    grid-column: 2/3;
    grid-row: 2/3;
  }
  .mobile-menu p:nth-child(5) {
    grid-column: 3/4;
    grid-row: 2/3;
  }
  .mobile-menu p:nth-child(6) {
    grid-column: 2/3;
    grid-row: 3/4;
  }
  .mobile-menu p:nth-child(7) {
    grid-column: 3/4;
    grid-row: 3/4;
  }
  .mobile-menu p:nth-child(8) {
    grid-column: 2/3;
    grid-row: 4/5;
  }
  .mobile-menu p:nth-child(9) {
    grid-column: 3/4;
    grid-row: 4/5;
  }
  .mobile-menu p:nth-child(10) {
    grid-column: 2/3;
    grid-row: 5/6;
  }
  .mobile-menu p:nth-child(11) {
    grid-column: 3/4;
    grid-row: 5/6;
  }
  .mobile-menu p:nth-child(12) {
    grid-column: 2/3;
    grid-row: 6/7;
  }
  .mobile-menu p:nth-child(13) {
    grid-column: 3/4;
    grid-row: 6/7;
  }
  .mobile-menu p:nth-child(14) {
    grid-column: 3/4;
    grid-row: 1/2;
  }
  .mobile-menu .lang-choice-mobile {
    grid-column: 1/2;
    grid-row: 4/7;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
  }
}

/*desktop header - menu*/
@media screen and (min-width: 1025px) {
  /* :root {
    --page-width: 90vw;
  } */
  /* header {
    inset: 0 0 auto 0;
  } */

  nav li {
    display: block;
  }
  nav li:first-child {
    min-width: none;
    position: relative;
    /* top: 1em; */
  }
  nav li:nth-child(5) {
    flex-grow: 10;
    text-align: right;
    display: flex;
    justify-content: flex-end;
  }
  /* nav li:nth-child(6) {
    flex-grow: 15;
    display: flex;
    justify-content: flex-end;
  } */
  nav a {
    /* padding-top: 0.5em; */
    flex-direction: row;
    height: 100%;
  }
  nav a:hover :not(:first-child),
  nav a:focus-visible :not(:first-child) {
    color: #1d8f88;
  }
  .main-logo {
    max-height: 4vw;
  }

  .menu-svg {
    display: none;
  }
  .menu-text {
    display: inline;
  }

  .main-logo:hover,
  .main-logo:focus-visible {
    border: var(--clr-secondary);
  }
  .menu-item-about {
    position: relative;
  }
  .mobile-menu {
    display: none;
  }
  .menu-roll {
    position: absolute;
    height: 9em;
    width: min-content;
    font-size: clamp(1.1rem, 12px + 0.5vw, 3rem);
    font-weight: 400;
    /* top: calc(-1 * var(--menu-height)); */
    top: -2em;
    left: 1.5em;
    width: 30em;
    padding: 0.5em;
    border-radius: 0.4em;
    display: none;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(auto-fit, 1fr);
    /* background-color: rgba(155, 203, 235, 0.1); */
    background-color: white;
    backdrop-filter: blur(1em);
    transition: transform 126ms cubic-bezier(1, -0.01, 1, 0),
      display 126ms 63ms cubic-bezier(0, 1, 0.01, 1);
    -webkit-backdrop-filter: blur(1em);
  }

  .menu-roll-short {
    grid-template-columns: 1fr !important;
    width: 15em !important;
    height: 5em !important;
    top: 0 !important;
  }
  nav > li:not(:nth-child(5)):hover {
    transform: scale(1.05);
  }
  nav > li:nth-child(6):hover {
    transform: scale(1);
  }

  .menu-item-about:hover .menu-roll,
  .menu-item-about:focus-visible .menu-roll {
    transform: translateY(50%);
    display: grid;
    transition: opacity 126ms cubic-bezier(1, -0.01, 1, 0),
      transform 126ms 63ms cubic-bezier(0, 1, 0.01, 1);
  }
  .menu-roll > * {
    line-height: 2rem;
  }
  .menu-roll a {
    padding: 0;
    display: block;
  }
  .menu-roll a:hover {
    color: #1d8f88;
  }
  .social-links {
    display: flex;
    /* height: 1em; */
    max-width: 50%;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    /*justify-content: center;*/
    /* overflow: hidden; */
  }
  .social-links a {
    /* margin-inline: 1em; */
    display: flex;
    align-items: center;
  }
  .social-links i {
    transform: translateY(-3.5px);
  }
  .apply-btn,
  .click-btn {
    display: block;
  }

  .lang-choice-desktop {
    display: flex;
  }
  .lang-choice-desktop > * {
    cursor: pointer;
  }
}
section {
  max-width: 1920px;
  margin: auto;
}
@media screen and (max-width: 1700px) {
  section {
    padding-inline: 2rem;
  }
}
div.container {
  max-width: 1650px;
  margin: auto;
}
@media screen and (max-width: 1024px) {
  div.container {
    max-width: 90vw;
  }
}
.hero {
  position: relative;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100%;
}
.hero-home {
  background-image: url("./img/kolem_mobil.jpg");
}
.bcg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  max-width: 1920px;
  height: 100vh;
  object-fit: cover;
  mask-image: url("./src/Music_Staff.svg#staff");
  mask-repeat: no-repeat;
  mask-size: cover;
  -webkit-mask-image: url("./src/Music_Staff.svg#staff");
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: cover;
  overflow: hidden;
  display: none;
}
.hero-markup {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-rows: repeat(6, calc(var(--hero-height) * 0.16857142857));
  gap: calc(var(--hero-height) * 0.00285714285);
  padding-inline: calc((100vw - var(--page-width)) / 2);
  align-items: center;
  color: var(--clr-tertiary);
  background-color: var(--clr-dark-background);
  overflow: hidden;
}
@media screen and (min-width: 1920px) {
  .hero-markup {
    padding-inline: 2rem;
  }
}
.hero-markup img:not(.featured-news-image) {
  display: inline;
  grid-row: 2/3;
  max-height: clamp(4rem, 5vw, var(--hero-height) * 0.3);
  padding-inline-start: 1rem;
  filter: invert(1);
}
.arrow-down-svg {
  display: none;
}

.hero-markup h1 {
  grid-row: 3/4;
  font-size: clamp(1.8rem, 5vw, var(--hero-height) * 0.1);
  font-weight: 900;
  padding-inline-start: 1rem;
  line-height: 1.78em;
  transform: translateY(-10%);
}
/* .hero-markup h1:nth-of-type(2) {
  grid-row: 5/6;
} */
.hero-markup h3 {
  grid-row: 4/5;
  font-size: clamp(1rem, 2vw, var(--hero-height) * 0.03);
  font-weight: 600;
  padding-inline-start: 1rem;
}
.arrow-down-svg {
  grid-row: 6/7;
  grid-column: span 2;
  justify-self: center;
  height: clamp(2rem, 2vw, var(--hero-height) * 0.08);
  width: clamp(2rem, 2vw, var(--hero-height) * 0.08);
  stroke: var(--clr-tertiary);
  animation: up-down 2000ms ease-in-out infinite;
}
@keyframes up-down {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(10px);
  }
  100% {
    transform: translateY(0);
  }
}

/*hero tablet view*/
@media screen and (max-height: 480px) and (orientation: landscape) {
  .hero-home {
    background-image: url("./img/kolem_tablet.jpg");
    background-size: cover;
  }
}
@media screen and (min-width: 481px) and (max-width: 768px) {
  .hero {
    height: 100vh;
  }
  .hero-home {
    background-image: url("./img/kolem_tablet.jpg");
    background-size: cover;
  }

  .hero-logo {
    display: inline;
    grid-row: 2/3;
    max-height: 6em;
  }
  .arrow-down-svg {
    display: none;
  }
}
@media screen and (min-width: 768px) and (max-width: 1024px) {
  .hero-home {
    background-image: url("./img/kolem_tablet.jpg");
    background-size: cover;
  }
}
/*hero desktop view*/
@media screen and (min-width: 1025px) {
  .hero {
    height: var(--hero-height);
  }
  .hero-home {
    background-image: unset;
  }

  .bcg-video {
    height: var(--hero-height);
    display: block;
  }
  .hero-logo,
  .hero-markup img:not(.featured-news-image) {
    display: none;
  }
  .arrow-down-svg {
    display: block;
  }
}
@media screen and (min-width: 1921px) {
  :root {
    --page-width: clamp(1900px, 70vw, 2500px);
  }
  .hero {
    height: 1080px;
  }
}

.news-section {
  height: max-content;
  padding-inline: calc((100vw - var(--page-width)) / 2);
  padding-block: 2em;
  /* background-color: var(--clr-secondary); */
  background-color: white;
}
.news-section .container {
  padding-inline: 1rem;
  /* height: 100%;
  width: 100%;
  /* background-color: rgba(155, 203, 235, 0.1); */
  /* backdrop-filter: blur(1em); */
  /* border-radius: 0.25em;
  -webkit-backdrop-filter: blur(1em);  */
}
.section-title {
  /* color: var(--clr-tertiary); */
  color: black;
  padding-top: 2rem;
  padding-bottom: 1rem;
  padding-left: 1rem;
  text-align: left;
  font-size: clamp(1.25rem, 2vw, var(--hero-height) * 0.03);
}
@media screen and (max-width: 1024px) {
  .section-title {
    text-align: center;
  }
}
.article-container {
  display: flex;
  flex-direction: column;
  gap: 1em;
}
.article-container > * {
  width: 100%;
  align-items: stretch;
}
.news-article {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5em;
  border-radius: 1rem;
  box-shadow: 0px 0px 10px -5px black;
}
/* .news-article:not(:last-child)::after {
  content: "";
  height: 2px;
  right: 0;
  top: 110%;
  left: 0;
  background-color: var(--clr-secondary);
  grid-column: span 2;
} */

.news-article img {
  width: 100%;
  border-radius: 1rem 1rem 0rem 0rem;
  object-fit: cover;
  object-position: 0% 50%;
  aspect-ratio: 1 /* / var(--golden)*/;
}
@media screen and (max-width: 1024px) {
  .news-article img {
    max-height: 25rem;
    height: 100%;
  }
}
.news-article > div {
  padding-inline: 1rem;
  padding-bottom: 1rem;
}
.news-article time {
  color: var(--clr-accent);
  grid-column: span 2;
}
.news-article a:link {
  background-color: transparent;
  color: var(--clr-accent);
  text-decoration: none;
}
@media screen and (max-width: 768px) {
  .news-article a:link {
    word-break: break-word;
  }
}
.news-article a:visited {
  color: var(--clr-tertiary);
  background-color: transparent;
  text-decoration: none;
}

.news-article a:hover {
  color: var(--clr-accent);
  background-color: transparent;
  text-decoration: underline;
}

.news-article a:active {
  color: var(--clr-accent);
  background-color: transparent;
  text-decoration: underline;
}
.news-article h3 {
  margin-block: 1em;
  color: var(--clr-accent);
}
.news-article h3:hover {
  transform: scale(1.05);
  transform-origin: left;
  transition: transform 125ms ease-in;
}
.news-article p {
  color: var(--clr-tertiary);
  grid-column: span 2;
  display: -webkit-box;
  -webkit-line-clamp: 6;
  text-overflow: ellipsis;
  -o-text-overflow: ellipsis;
  -webkit-box-orient: vertical;
}
.news-article time,
.news-article h3,
.news-article p {
  padding-inline: 0.5em;
}
@media screen and (max-height: 480px) and (orientation: landscape) {
  .article-container {
    flex-direction: column !important;
  }
}
@media screen and (min-width: 481px) and (max-width: 768px) {
  .article-container {
    flex-direction: column;
  }
}
@media screen and (min-width: 1025px) {
  .article-container {
    flex-direction: row;
  }
  .news-article {
    /* display: block; */
    /* padding: 0; */
  }
  /* .news-article:not(:last-child) {
    box-shadow: 0.4em 0px 0px 0px hsl(216, 54%, 50%),
      0.6em 0px 0px 0px var(--clr-secondary);
  } */
  .news-article h3 {
    opacity: 1;
  }
  .news-article img {
    width: 100%;
    max-height: 20em;
    aspect-ratio: var(--golden);
  }
  .news-article:not(:last-child)::after {
    content: unset;
  }
}
/* slider section */
.gallery-carousel {
  height: max-content;
  padding-inline: calc((100vw - var(--page-width)) / 2);
  padding-block: 2em;
  /* background-color: var(--clr-secondary); */
  background-color: white;
  overflow: hidden;
}
.gallery-carousel .container {
  padding-block: 0.5em;
}
.carousel-container {
  position: relative;
  max-width: 90%;
  height: calc(var(--carousel-width) * var(--golden));
  width: var(--carousel-width);
  padding-block: 1em;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow-x: visible;
}

.carousel-container::before,
.carousel-container::after {
  content: "";
  position: absolute;
  backdrop-filter: blur(0.5em);
  z-index: 150;
  -webkit-backdrop-filter: blur(1em);
}
.carousel-container::before {
  left: calc(-1.2 * (100vw - var(--carousel-width)) / 2);
  right: 100%;
  top: -2px;
  bottom: -2px;
}
.carousel-container::after {
  left: 100%;
  right: calc(-1.2 * (100vw - var(--carousel-width)) / 2);
  top: -2px;
  bottom: -2px;
}
.slider {
  position: absolute;
  top: 3em;
  bottom: 3em;
  width: calc(5 * var(--carousel-width));
  display: flex;
  align-items: center;
  justify-content: center;

  /* THIS creates the animation! */
  animation: carousel 15000ms ease-in-out infinite;
}
@keyframes carousel {
  0% {
    left: 0;
  }
  19% {
    left: calc(-1 * var(--carousel-width));
  }
  38% {
    left: calc(-2 * var(--carousel-width));
  }
  57% {
    left: calc(-3 * var(--carousel-width));
  }
  76% {
    left: calc(-4 * var(--carousel-width));
  }
  95% {
    left: 0;
  }
  100% {
    left: 0;
  }
}
.slide {
  width: var(--carousel-width);
  height: calc(var(--carousel-width) * var(--golden));
  object-fit: cover;
  margin: 0;
}

@media screen and (min-width: 481px) and (max-width: 768px) {
  /* :root {
    --carousel-width: ;
  } */
}
@media screen and (min-width: 1025px) {
  :root {
    --carousel-width: 60vw;
  }
  .gallery-carousel {
    padding-block: 2em;
  }
  .carousel-container {
    height: calc(var(--carousel-width) / var(--golden));
  }
  .slider {
    width: calc(5 * var(--carousel-width));
    top: 3em;
    bottom: 3em;
  }
  .slide {
    width: calc(var(--carousel-width));
    height: calc(var(--carousel-width) / var(--golden));
  }
  @keyframes carousel {
    0% {
      left: 0;
    }
    19% {
      left: calc(-1 * var(--carousel-width));
    }
    38% {
      left: calc(-2 * var(--carousel-width));
    }
    57% {
      left: calc(-3 * var(--carousel-width));
    }
    76% {
      left: calc(-4 * var(--carousel-width));
    }
    95% {
      left: 0;
    }
    100% {
      left: 0;
    }
  }
}
@media screen and (max-height: 480px) and (orientation: landscape) {
  :root {
    --carousel-height: 100vh;
    --carousel-width: calc(var(--carousel-height) * var(--golden));
  }
  .gallery-carousel,
  .carousel-container {
    padding-block-start: 0.25em;
    padding-block-end: 2em;
  }
  .gallery-carousel .container {
    padding-block: 0.1em;
  }
  .carousel-container,
  .slider,
  .slide {
    height: var(--carousel-height);
  }
  .carousel-container,
  .slide {
    width: calc(var(--carousel-height) * var(--golden));
  }
  .slider {
    width: calc(5 * var(--carousel-height) * var(--golden));
    height: calc(var(--carousel-height) - 2em);
    top: 1em;
    bottom: 1em;
  }
}

/* end of slider*/
/*about section*/
.about-section {
  height: max-content;
  /* padding-inline: calc((100vw - var(--page-width)) / 2); */
  padding-block: 2em;
  /* background-color: var(--clr-secondary); */
  background-color: white;
}
/* .about-section .container {
  padding: 1em;
} */
.about-section .container p {
  margin-block: 1em;
}
/*form*/
.contact-section {
  height: max-content;
  /* padding-inline: calc((100vw - var(--page-width)) / 2); */
  padding-block: 2em;
  /* background-color: var(--clr-secondary); */
  /* background-color: white; */
}
.form-container {
  display: flex;
  justify-content: space-around;
  gap: 2rem;
  padding: 1rem;
  border-radius: 1rem;
  border: 2px solid #1d8e88;
}
@media screen and (min-width: 1025px) {
  .form-container {
    padding: 2rem;
  }
}
.contact-form {
  flex-basis: 49%;
  margin-block-start: 1em;
  display: flex;
  justify-content: center;
  margin-inline: 0.5em;
  /* width: min(var(--page-width), 53%); */
  max-width: 600px;
  width: 100%;
  /* grid-column: 1/2;
  grid-row: 1/2; */
}
fieldset {
  position: relative;
  /* display: inline-block; */
  display: flex;
  flex-direction: column;
  align-items: stretch;
  border: none;
  min-inline-size: 23%;
  max-inline-size: 100%;
  /* max-width: var(--page-width); */
  /* transform: translateX(-0.8rem); */
}

.spinner {
  display: none;
  position: absolute;
  inset: 0 0 0 0;
  margin: auto auto;
}

fieldset label {
  /* color: var(--clr-tertiary); */
  /* padding-left: 2rem; */
  font-size: 1.2rem;
  text-align: center;
}

fieldset input,
fieldset textarea {
  border-radius: 0.25em;
  margin-block-end: 1em;
  padding-left: 2rem;
  /* background-color: var(--clr-tertiary); */
  border: 2px solid #1d8e88;
  color: #1d8e88;
  resize: vertical;
  line-height: 2.2rem;
  font-size: 1.2rem;
  border-radius: 1rem;
}
fieldset button {
  /* margin-block-end: 3.78em; */
  text-align: left;
  border: none;
  max-width: max-content;
  display: block !important;
}

.form-image-wrapper {
  display: none;
  flex-basis: 49%;
  min-width: 250px;
  width: 50%;
}
@media screen and (min-width: 1025px) {
  .form-image-wrapper {
    display: block;
  }
}
.form-image {
  display: none;
}
@media screen and (max-height: 480px) and (orientation: landscape) {
  .form-container {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr;
  }
  .form-image {
    max-width: 775px;
    width: 100%;
    height: 100%;
    display: inline-block;
    aspect-ratio: var(--golden);
    grid-column: 2/3;
    object-fit: cover;
  }
}
@media screen and (min-width: 1025px) {
  fieldset {
    min-inline-size: 100%;
  }
  .contact-form {
    width: 45%;
    grid-column: 1/2;
    margin-inline-end: 0;
  }
  .form-image {
    width: 50%;
    max-width: 775px;
    height: 100%;
    display: inline-block;
    aspect-ratio: var(--golden);
    grid-column: 2/3;
    object-fit: cover;
  }
}
footer {
  height: max-content;
  padding-block: 2em;
  /* background-color: var(--clr-accent); */
  background-color: #b6ede5;
}
@media screen and (max-width: 768px) {
  footer {
    min-height: 100vh;
  }
}
@media screen and (max-width: 768px) {
  footer .container {
    height: 100%;
  }
}
.footer-container {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

@media screen and (max-width: 768px) {
  .footer-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: space-around;
    height: 100%;
  }
}
.footer-title {
  margin-top: 1em;
  font-size: 1.25em;
}
.footer-column {
  display: flex;
  flex-direction: column;
}
.footer-column > * {
  text-align: center;
}
footer a {
  text-decoration: none;
  color: black;
}
footer p {
  position: relative;
}
/* footer p[title]:hover::after {
  content: attr(title);
  position: absolute;
  top: -100%;
  left: 0;
} */
/* .footer-column:not(:last-of-type) {
  box-shadow: 0.4em 0px 0px 0px #b6ede5, 0.6em 0px 0px 0px #b6ede5;
} */
.column-1 {
  grid-column: 1/2;
}
.column-2 {
  grid-column: 2/3;
}
.column-3 {
  grid-column: 3/4;
}
.footer-language {
  position: relative;
  top: 1em;
  right: 0;
  width: 100%;
  display: flex;
  gap: 0.5em;
  justify-content: center;
  align-items: center;
}
.footer-language img {
  height: 2em;
  aspect-ratio: 3/2;
  object-fit: cover;
}
.footer-social-links {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 60%;
  gap: 3rem;
  margin-inline: auto;
}
.footer-social-links path {
  fill: var(--clr-dark);
}
.footer-social-links i {
  width: 110%;
  gap: 0.5em;
}
.footer-social-links a:nth-child(3) .fa-instagram,
.footer-social-links a:nth-child(2) .fa-facebook,
.footer-social-links a:nth-child(1) .fa-youtube {
  background: var(--clr-dark) !important;
  -webkit-background-clip: text !important;
  /* Also define standard property for compatibility */
  background-clip: text;
  -webkit-text-fill-color: transparent !important;
}

.copyright {
  grid-column: span 3;
  grid-row: 2/3;
  text-align: center;
  margin-top: 4em;
}
@media screen and (max-height: 480px) and (orientation: landscape) {
  footer {
    height: 100vh;
  }
  .copyright {
    margin-top: 2em;
  }
}
/*utility class*/
.hide {
  display: none !important;
}
.bold-text {
  font-weight: bold;
}
.clearfix:after {
  content: "";
  display: table;
  clear: both;
}
/*COMPETITION PAGE*/
.hero-competition {
  position: relative;
  color: var(--clr-dark);
  background: url("./img/university_economics_katowice_mobil.jpg");
  /*background-image: url(http://unsplash.it/1920/1080);*/
}

.hero-button-container {
  display: flex;
  justify-content: flex-start;
  align-content: center;
  gap: 2em;
  padding-inline: calc((100vw - var(--page-width)) / 2);
  grid-row: 4/5;
  padding-inline-start: 1rem;
}
.hero-competition .hero-button-container {
  grid-row: 5/6;
  align-self: flex-start;
}
.hero-main-button,
.hero-secondary-button {
  height: 3em;
  padding: 0.5em;
  border-radius: 1em;
  border: none;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-main-button {
  background-color: var(--clr-accent);
}
.hero-main-button a,
.hero-secondary-button a {
  display: inline-block;
  padding: 0.5em;
  text-decoration: none;
  color: var(--clr-dark);
}
.hero-secondary-button {
  background-color: var(--clr-tertiary);
}
.rules-section {
  height: max-content;
  padding-inline: calc((100vw - var(--page-width)) / 2);
  padding-block: 2em;
  /* background-color: var(--clr-secondary); */
  background-color: white;
}
.rules-section .container {
  padding: 0.5em;
  display: flex;
  flex-direction: column;
  position: relative;
  /* color: var(--clr-tertiary); */
}
.competition-wrapper {
  padding: 0.5em;
  display: grid;
  gap: 0.5em;
}
.competition-title {
  height: 100%;
  font-size: clamp(1.3rem, 12px + 0.7vw, 5rem);
  padding: 0.5em;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--clr-accent);
}
.competition-rules {
  padding: 0.5em;
  line-height: 1.75;
  letter-spacing: 1px;
}
#first-round {
  grid-template-columns: 2fr 5fr;
}
#second-round {
  grid-template-columns: 5fr 2fr;
}
#first-round .competition-title,
#second-round .competition-title {
  grid-column: 1/-1;
  grid-row: 1/2;
}
#first-round .competition-rules,
#second-round .competition-rules {
  grid-column: 1/-1;
  grid-row: 2/3;
}

.rules-divider {
  position: relative;
  /* display: block; */
  overflow: hidden;
  height: 200px;

  padding: 0;
  z-index: 8;
}
.rules-divider img {
  width: 100%;
  height: 400px;
  margin: 0;
  object-fit: cover;
  display: inline-block;
}
.categories-wrapper {
  display: grid;
  grid-template-columns: 9fr 1fr;
  grid-template-rows: repeat(2, auto);
}
.categories-overview {
  grid-column: 1/2;
  grid-row: 1/2;
  display: grid;
  grid-template-columns: 1fr, 1fr;
  row-gap: 1em;
  column-gap: 2em;
  padding: 1em;
}
.categories-overview p:not(.technical-details p) {
  padding-left: 2.8em;
  text-indent: -2.8em;
}
.categories-overview > div {
  padding-left: 2.3em;
  text-indent: -2.3em;
}
.categories-overview p:nth-child(1) {
  grid-column: span 2;
  grid-row: 1/2;
}
@media screen and (max-width: 639px) {
  .categories-overview {
    display: block;
  }
}
.categories-details {
  padding: 1em;
  grid-column: 1/2;
  grid-row: 2/3;
  line-height: 1.75rem;
  letter-spacing: 1px;
}
.categories-details h3 {
  margin-block: 1em;
}
.technical-details {
  margin-top: 0.5em;
  max-width: 25ch;
  padding-left: 0em !important;
  text-indent: 0em !important;
}
.technical-details p {
  position: relative;
  color: var(--clr-accent);
}
.technical-details p::before {
  content: "#";
  position: absolute;
  left: -2em;
  top: 0;
  bottom: 0;
  right: 0;
}
.categories-wrapper img {
  object-fit: cover;
  width: 20vw;
  height: 50%;
  grid-column: 2/3;
  grid-row: 1/-1;
  display: none;
}
.capital {
  font-size: 2em;
  font-weight: bold;
}
.subcapital {
  font-size: 1.25em;
  font-weight: bold;
}
.conditions {
  height: max-content;
  padding-inline: calc((100vw - var(--page-width)) / 2);
  padding-block: 2em;
  /* background-color: var(--clr-secondary);
  color: var(--clr-tertiary); */
  background-color: white;
}
.conditions .container {
  padding: 0.5em;
}
@media screen and (min-width: 639px) {
  .conditions .container {
    padding-inline-start: 2rem;
  }
}
.conditions .container h3 {
  margin-block-start: 40px;
  text-align: center;
}

.conditions .container p {
  margin-block-start: 10px;
  margin-block-end: 10px;
}

@media screen and (max-height: 480px) and (orientation: landscape) {
  .hero-competition {
    background-image: url("./img/university_economics_katowice_tablet.jpg");
    background-size: cover;
  }
}
@media screen and (min-width: 481px) and (max-width: 768px) {
  .hero-competition {
    background-image: url("./img/university_economics_katowice_tablet.jpg");
  }
}
@media screen and (min-width: 768px) and (max-width: 1024px) {
  .hero-competition {
    background-image: url("./img/university_economics_katowice_tablet.jpg");
    background-size: cover;
  }
}

@media screen and (min-width: 1025px) {
  .hero-competition {
    background-image: url("./img/university_economics_katowice.jpg");
  }
  .rules-section .container {
    padding: 1em;
  }
  .competition-wrapper {
    padding: 1em;
  }
  #first-round .competition-title {
    grid-column: 1/2;
    grid-row: 1/-1;
  }
  #first-round .competition-rules {
    grid-column: 2/3;
    grid-row: 1/-1;
  }
  #second-round .competition-title {
    grid-column: 2/3;
    grid-row: 1/-1;
  }
  #second-round .competition-rules {
    grid-column: 1/2;
    grid-row: 1/-1;
  }
  .categories-wrapper img {
    display: inline-block;
  }
  .technical-details {
    width: 80%;
  }
}

/* application */
.application {
  position: fixed;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  /* color: var(--clr-tertiary); */
  /* background-color: rgba(var(--glass-background), 0.2); */
  background-color: white;
  backdrop-filter: blur(5em);
  overflow-y: auto;
  overflow-x: hidden;
  display: none;
  z-index: 10001;
  -webkit-backdrop-filter: blur(1em);
}
.application .container {
  position: relative;
  padding: 0.5em;
}
@media screen and (max-width: 1024px) {
  .application .container {
    margin-bottom: 1rem;
  }
  .application .section-title {
    padding-top: 3rem;
  }
}
.close-x {
  position: absolute;
  top: 1em;
  right: 1em;
  left: auto;
  bottom: auto;
  height: 2em;
  cursor: pointer;
}
@media screen and (max-width: 1024px) {
  .close-x {
    top: 3em;
    right: 3em;
  }
}

.application-form {
  position: relative;
  width: 100%;
  padding-block-start: 2em;
  padding-inline: 1rem;
  display: grid;
  grid-auto-columns: 1fr 1fr;
  z-index: 1;
}
.form-message {
  position: absolute;
  inset: 0 0 0 0;
  color: var(--clr-tertiary);
  font-weight: bold;
  font-size: clamp(1.1rem, 12px + 0.7vw, 4rem);
  display: none;
  justify-content: center;
  align-items: center;
  margin: auto auto;
  text-align: center;
  z-index: 3;
}
.form-message::before {
  content: "";
  inset: 0 0 0 0;
  position: absolute;
  background-color: var(--clr-secondary);
  opacity: 1;
  z-index: -1;
}
.fieldset-categories {
  margin-block-start: 0.5em;
  display: flex;
  /*grid-auto-columns: 1fr 1fr 1fr 1fr;*/
  flex-wrap: wrap;
  flex-direction: row;
  align-items: baseline;
  justify-content: flex-start;
  gap: 0.5em;
  transform: none;
}
.fieldset-days {
  margin-block-start: 0.5em;
  display: flex;
  flex-direction: row;
  align-items: baseline;
  justify-content: flex-start;
  gap: 0.5em;
  transform: none;
}
.fieldset-days > *:nth-child(3) {
  margin-inline-end: 1em;
}
.fieldset-categories > *:nth-child(1n + 1) {
  flex-basis: 20%;
}

.fieldset-categories > *:nth-child(2n) {
  flex-basis: 8%;
}
.fieldset-categories > *:nth-child(8n) {
  break-after: always;
}
.application-form label {
  padding-top: 0.5em;
}
.application-form button {
  margin-top: 0.5em;
}
@media screen and (max-height: 480px) and (orientation: landscape) {
  .fieldset-categories > *:nth-child(1n + 1) {
    flex-basis: 15%;
  }
  .fieldset-categories > *:nth-child(2n) {
    flex-basis: 8%;
  }
}
@media screen and (min-width: 1025px) {
  .application {
    width: max-content;
    max-width: 520px;
    left: auto;
    right: -100%;
    /* transform: translateX(100%); */
    transition: right 500ms ease-in;
  }
  .application .container h2 {
    padding-top: 0.5em;
  }
  .application-form button {
    margin-bottom: 0.5em;
  }
}
.hero-about {
  background-image: url("./img/chor_april_mobil.jpg");
}
.about-festival {
  height: max-content;
  padding-inline: calc((100vw - var(--page-width)) / 2);
  padding-block: 2em;
  /* background-color: var(--clr-secondary);
  color: var(--clr-tertiary); */
  background-color: white;
}
.about-festival .container {
  padding: 1em;
}
.about-festival p {
  margin-block-end: 2em;
}
@media screen and (max-height: 480px) and (orientation: landscape) {
  .hero-about {
    background-image: url("./img/chor_april_tablet.jpg");
    background-size: cover;
  }
}
@media screen and (min-width: 481px) and (max-width: 768px) {
  .hero-about {
    background-image: url("./img/chor_april_tablet.jpg");
    background-position-x: center;
  }
}
@media screen and (min-width: 768px) and (max-width: 1024px) {
  .hero-about {
    background-image: url("./img/chor_april_tablet.jpg");
    background-size: cover;
    background-position-x: center;
  }
}
@media screen and (min-width: 1025px) {
  .hero-about {
    background-image: url("./img/chor_april.jpg");
    background-position-x: center;
  }
}
/*festival city*/
.hero-olomouc {
  background-image: url("./img/trojice_mobil.jpg");
}
.hero-olomouc .hero-markup {
  color: var(--clr-accent);
}
.city-section {
  height: max-content;
  padding-inline: calc((100vw - var(--page-width)) / 2);
  padding-block: 2em;
  /* background-color: var(--clr-secondary); */
  background-color: white;
}
.city-section .container {
  padding: 0.5em;
  /* color: var(--clr-tertiary); */
  clear: both;
}
.city-section .container p {
  margin-bottom: 3em;
}
.city-section .container img,
.about-festival img {
  height: max(5vw, 15em);
  margin: 0.75em;
}
.city-section .container p:nth-of-type(1n + 1) img,
.about-festival img {
  float: left;
  clear: left;
}
.city-section .container p:nth-of-type(2n) img,
.about-festival img {
  float: right;
  clear: right;
}
@media screen and (max-width: 1024px) {
  .city-section img,
  .about-festival img {
    width: 100%;
    margin: 0;
  }
  .city-section img,
  .about-festival img {
    float: unset;
    clear: unset;
  }
  .city-section img,
  .about-festival img {
    float: unset;
    clear: unset;
  }
}
@media screen and (max-height: 480px) and (orientation: landscape) {
  .hero-olomouc {
    background-image: url("./img/trojice_tablet.jpg");
    background-size: cover;
  }
}
@media screen and (min-width: 481px) and (max-width: 768px) {
  .hero-olomouc {
    background-image: url("./img/trojice_tablet.jpg");
  }
}
@media screen and (min-width: 768px) and (max-width: 1024px) {
  .hero-olomouc {
    background-image: url("./img/trojice_tablet.jpg");
    background-size: cover;
    background-position-x: center;
  }
}
@media screen and (min-width: 1025px) {
  .hero-olomouc {
    background-image: url("./img/trojice.jpg");
    background-position-x: center;
  }
}
/*news page*/
.news-markup {
  grid-template-columns: 1fr 1fr;
}
.hero-competition .news-markup h1 {
  grid-row: 1/2;
}
.featured-news {
  position: relative;
  grid-column: 1/-1;
  grid-row: 2/6;
  justify-self: stretch;
  align-self: stretch;
  width: min-content !important;
  height: max-content;
  background-color: white;
  border-radius: 1rem;
  z-index: 1;
}
@media screen and (max-width: 768px) {
  .featured-news {
    width: 80vw !important;
    justify-self: center;
  }
}
.featured-news::after,
.featured-downloads::after {
  content: "";
  position: absolute;
  inset: 0 0 0 0;
  /* background-color: var(--glass-background); */
  /* background-color: white; */
  /* opacity: 0.8; */
  opacity: 1;
  z-index: -1;
}
.featured-news-image {
  /* height: clamp(5rem, calc(12px + 0.3vw), 10rem); */
  width: unset !important;
  max-height: 15em !important;
  padding-inline-start: 0rem !important;
  grid-row: 1/2 !important;
  grid-column: span 2;
  object-fit: cover;
  object-position: center;
}
@media screen and (max-width: 768px) {
  .featured-news-image {
    width: 100% !important;
  }
}
.featured-news h3 {
  grid-row: 2/3 !important;
}
.featured-news .news-article time {
  align-self: flex-start;
}
.featured-news .news-article p {
  -webkit-line-clamp: 4;
}
.hero-competition .featured-news p,
.news-section .news-article p {
  color: var(--clr-dark);
  overflow: hidden;
  max-height: 10ch;
  text-overflow: ellipsis;
  overflow-wrap: break-word;
  white-space: pre-wrap;
}
.news-section .news-article p {
  max-height: 15ch;
}
.more-btn {
  color: var(--clr-accent);
  align-self: center;
  padding: 1rem 4rem;
  border-radius: 1rem;
  box-shadow: 0px 0px 10px 0px var(--clr-accent);
  margin-top: auto;
  margin-bottom: 1rem;
}
.more-btn:hover {
  text-decoration: none !important;
  scale: 1.02;
}
.festival-news {
  height: max-content;
  padding-inline: calc((100vw - var(--page-width)) / 2);
  padding-block: 2em;
  /* background-color: var(--clr-secondary); */
  background-color: white;
  border-radius: 0.5em;
}

.festival-news .news-article {
  display: grid;
  grid-template-columns: 1fr 3fr;
  grid-template-rows: auto auto 2fr;
  padding: 0.5em;
  margin-block: 1.5rem;
}
@media screen and (max-width: 768px) {
  .festival-news .news-article {
    display: flex;
    flex-direction: column;
  }
}
.festival-news .news-article img {
  grid-column: 1/2;
  grid-row: 1/4;
  align-self: flex-start;
}

.festival-news .news-article h3 {
  grid-column: 2/3;
  grid-row: 1/2;
}
.festival-news .news-article time {
  grid-column: 2/3;
  grid-row: 2/3;
}
@media screen and (max-width: 768px) {
  .festival-news .news-article time {
    align-self: flex-start;
  }
}
.festival-news .news-article > p {
  display: unset;
  -webkit-line-clamp: unset;
  text-overflow: unset;
  -o-text-overflow: unset;
  -webkit-box-orient: unset;
  grid-column: 2/3;
  grid-row: 3/4;
  overflow-wrap: break-word;
  white-space: break-spaces;
  color: var(--clr-dark);
  max-width: 70vw;
  /* overflow: hidden; */
}
@media screen and (max-width: 768px) {
  .festival-news .news-article > p {
    max-width: unset;
    letter-spacing: 1.2px;
    line-height: 1.5rem;
  }
}
@media screen and (min-width: 768px) {
  .festival-news .news-article p {
    max-width: auto;
  }
}
.hero-impressum {
  background: url("./img/mapo_ob_choir.jpg");
}
.hero-impressum .news-markup h1 {
  grid-row: 1/2;
}
.hero-impressum .featured-news {
  grid-column: 1/-1;
  grid-row: 2/7;
  color: var(--clr-dark);
  width: fit-content !important;
  opacity: 1;
}

.hero-impressum p {
  margin-bottom: 1.5em;
}
.impressum-text {
  padding: 2em;
  clear: both;
}
.impressum-text .fa-file-pdf {
  color: var(--clr-accent);
}
@media screen and (max-height: 480px) and (orientation: landscape) {
  .hero-impressum .featured-news,
  .hero-competition .festival-news {
    columns: 2;
  }
  .hero-impressum .featured-news,
  .hero-competition .festival-news {
    grid-row: 2/5;
  }
}
/* @media screen and (min-width: 481px) and (max-width: 768px) {
} */
@media screen and (min-width: 768px) and (max-width: 1024px) {
  .hero-impressum .featured-news {
    grid-row: 3/5;
  }
}
@media screen and (min-width: 1025px) {
  .hero-impressum .news-markup h1,
  .hero-competition .featured-news h1,
  .hero-competition .news-markup h1 {
    grid-row: 3/4;
    grid-column: 1/2;
  }
  .hero-impressum .featured-news {
    grid-row: 3/6;
    grid-column: 2/3;
    width: unset;
  }
  .hero-competition .featured-news {
    grid-row: 2/7;
    grid-column: 2/3;
    width: unset;
  }
}
.partners-section {
  padding-block: 5em;
  padding-inline: 0.75em;
  text-align: center;
}
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;

  align-items: center;
}
.grid-2 h2:nth-of-type(1) {
  grid-row-start: 1;
  grid-column: 1/-1;
}
.grid-2 div:nth-of-type(1) {
  grid-row-start: 2;
  grid-column: 1/-1;
}
.grid-2 h2:nth-of-type(2) {
  grid-row-start: 3;
  grid-column-start: 1;
}
.grid-2 h2:nth-of-type(3) {
  grid-row-start: 3;
  grid-column-start: 2;
}
.partners-wrapper {
  margin-block-start: 1em;
  display: flex;
  gap: 1em;
  justify-content: center;
  align-items: baseline;
  /* overflow-x: scroll; */
  flex-wrap: wrap;
  margin-block-end: 1em;
}
.partners-2 {
  gap: 3em;
}
.partners-wrapper img {
  max-height: 3em;
  max-width: 30vw;
}
@media screen and (min-width: 1025px) {
  .grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: center;
  }
  .grid-2 h2:nth-of-type(1) {
    grid-row-start: 1;
    grid-column: 1/2;
  }
  .grid-2 div:nth-of-type(1) {
    grid-row-start: 2;
    grid-column: 1/2;
  }
  .grid-2 h2:nth-of-type(2) {
    grid-row-start: 1;
    grid-column-start: 2;
  }
  .grid-2 h2:nth-of-type(3) {
    grid-row-start: 1;
    grid-column-start: 3;
  }
  .partners-wrapper img {
    max-height: 5em;
  }
}

/* download page*/

.download-markup h1 {
  grid-row: 1/2;
}
.featured-downloads {
  position: relative;
  grid-column: 1/-1;
  grid-row: 2/6;
  justify-self: stretch;
  align-self: stretch;
  width: max-content !important;
  height: max-content;
  background-color: white;
  border-radius: 1rem;
  z-index: 1;
}
@media screen and (max-width: 768px) {
  .featured-downloads {
    width: 80vw !important;
    justify-self: center;
  }
}
.featured-downloads h2 {
  margin-bottom: 20px;
}

@media screen and (max-height: 480px) and (orientation: landscape) {
  .featured-downloads {
    grid-row: 2/5;
  }
}
@media screen and (min-width: 768px) and (max-width: 1024px) {
  .featured-downloads {
    grid-row: 3/5;
  }
}
@media screen and (min-width: 1025px) {
  .download-markup h1,
  .featured-downloads h2 {
    grid-row: 3/4;
    grid-column: 1/2;
  }
  .featured-downloads {
    grid-row: 3/6;
    grid-column: 2/3;
    width: unset;
  }
  /* .featured-downloads {
    grid-row: 2/7;
    grid-column: 2/3;
    width: unset;
  } */
}
.downloads-section {
  max-width: 1920px;
  margin-inline: auto;
  height: max-content;
  /* padding-inline: calc((100vw - var(--page-width)) / 2); */
  padding-block: 2em;
  /* background-color: var(--clr-secondary);
  color: var(--clr-tertiary); */
  background-color: white;
}
.downloads-section .container div {
  margin-bottom: 20px;
  padding: 2em;
}
.downloads-section .fa-file-pdf {
  color: var(--clr-accent);
}

.table-wrapper {
  overflow-x: auto;
}
@media screen and (max-width: 639px) {
  .table-wrapper {
    transform: translateX(calc(-1 * 5vw));
  }
}

.tg {
  border-collapse: collapse;
  border-spacing: 0;
}
.tg td {
  border-color: black;
  border-style: solid;
  border-width: 1px;
  font-size: 14px;
  overflow: hidden;
  padding: 10px 5px;
  word-break: normal;
}
.tg th {
  border-color: black;
  border-style: solid;
  border-width: 1px;
  font-size: 14px;
  font-weight: normal;
  overflow: hidden;
  padding: 10px 5px;
  word-break: normal;
}
.tg .tg-1wig {
  font-weight: bold;
  text-align: left;
  vertical-align: top;
  position: sticky;
  background-color: #b6ede5;
  border: 1px solid var(--clr-dark);
  z-index: 1;
  left: 0;
}
.tg .tg-0lax {
  text-align: left;
  vertical-align: top;
}
.tg .tg-amwm {
  font-weight: bold;
  text-align: center;
  vertical-align: top;
}
.hero-2022 {
  background-image: url("./img/Foto_podklad_plakatu_mobil.jpg");
  background-position-x: 10%;
  background-position-y: 0%;
}
.hero-2022 h2 {
  grid-row: 1/2;
  text-align: center;
  grid-column: 1/3;
  font-size: clamp(1.4rem, 3.5vw, var(--hero-height) * 0.06);
}
.hero-2022 p {
  grid-row: 2/3;
  grid-column: 1/3;
  margin-left: 12.5%;
}
.hero-2022 iframe {
  grid-row: 3/4;
  grid-column: 1/3;
  width: 300px;
  height: 169px;
  margin: 0 auto;
}
.hero-2022 h3 {
  grid-row: 4;
  grid-column: 1/3;
  margin-left: 9%;
  cursor: pointer;
  transform: translateY(150%);
  font-size: clamp(1.4rem, 3.5vw, var(--hero-height) * 0.06);
}
/* .hero-2022 h3:hover {
  transform: scale(1.2);
} */
.hero-2022 .arrow-right img {
  transform: translateY(30%);
  max-height: 1.5em;
  fill: var(--clr-tertiary);
  color: var(--clr-tertiary);
}
.hero-2022 .arrow-right:hover img,
.hero-2022 .arrow-right:focus-visible img {
  transform: scale(1.05);
}

.hero-2022 .program {
  display: none;
  grid-row: 5;
  grid-column: 1/3;
  padding-inline-start: 2em;
  max-height: 60vh;
  min-width: 30vw;
  overflow-y: scroll;
  border: 2px solid var(--clr-tertiary);
  padding: 1em;
  position: relative;
  z-index: 9;
}
.hero-2022 .program::after {
  content: "";
  position: absolute;
  inset: 0;
  bottom: -46vh;
  background-color: var(--clr-secondary);
  opacity: 0.8;
  z-index: -1;
}

.modal {
  border: none !important;
  width: 80vw;
  height: 100vh;
  margin: 0 auto;
  overflow-y: scroll;
  padding: 1em;
  display: flex;
  flex-direction: column;
  gap: 2em;
  align-items: center;
  z-index: 100;
}
.modal-title {
  margin: unset !important;
  margin-block-start: 0;
  padding-block-start: 0;
  margin-block-end: 1em;
  text-align: center;
  transform: translateY(0) !important;
}
.modal div {
  margin-block-start: 1em;
  margin-block-end: 2em;
}
.close-modal {
  padding: 0.5em 1em;
  border: none;
  background-color: var(--clr-accent);
  border-radius: 2em;
}
@media screen and (max-height: 480px) and (orientation: landscape) {
  .hero-2022 {
    background-image: url("./img/Foto_podklad_plakatu_tablet_landscape.jpg");
    background-position-x: 65%;
    background-position-y: 0%;
  }
  .hero-2022 h2 {
    grid-row: 1/2;
    grid-column: 1/3;
    transform: translateY(50%);
  }
  .hero-2022 p {
    grid-row: 2/3;
    grid-column: 1/2;
    margin-left: 9%;
    transform: translateY(100%);
  }
  .hero-2022 iframe {
    grid-row: 4/5;
    grid-column: 1/2;
  }
  .hero-2022 h3 {
    grid-row: 4;
    grid-column: 2/3;
    margin-left: none;
    transform: translateY(0%);
  }
}
@media screen and (min-width: 769px) and (max-width: 1024px) {
  .hero-2022 {
    background-image: url("./img/Foto_podklad_plakatu_tablet_landscape.jpg");
    background-position-x: 65%;
    background-position-y: 0%;
  }
}
@media screen and (min-width: 1025px) {
  .hero-2022 {
    background-image: url("./img/Foto_podklad_plakatu_1.jpg");
    background-position-x: center;
    background-position-y: unset;
  }
  .hero-2022 h2 {
    grid-row: 2/3;
    grid-column: 1/2;
    font-size: clamp(1.4rem, 3.5vw, var(--hero-height) * 0.06);
  }
  .hero-2022 p {
    grid-row: 3/4;
    grid-column: 1/2;
    margin-left: none;
    transform: translateY(-200%);
  }
  .hero-2022 iframe {
    grid-row: 4/5;
    grid-column: 1/2;
    width: 640px;
    height: 360px;
    transform: translateY(15%);
  }
  .hero-2022 h3 {
    font-size: unset;
    grid-row: 3;
    grid-column: 2/3;
    margin-left: none;
    cursor: unset;
    transform: scale(1) translateY(-200%);
  }
  .hero-2022 h3:hover {
    transform: translateY(-200%);
  }
  .hero-2022 .arrow-right {
    display: none;
  }
  .hero-2022 .program {
    display: unset;
    grid-row: 4;
    grid-column: 2/3;
    padding-inline-start: 2em;
    height: 500px;
    overflow-y: scroll;
    border: 2px solid var(--clr-tertiary);
    padding: 1em;
    position: relative;
    z-index: 9;
    transform: translateY(15%);
  }
  .modal {
    display: none;
  }
}

@media screen and (min-width: 1368px) {
  .hero-2022 p {
    transform: translateY(-100%);
  }
  .hero-2022 iframe {
    width: 888px;
    height: 500px;
  }
  .hero-2022 h3 {
    transform: scale(1) translateY(-100%);
  }
  .hero-2022 h3:hover {
    transform: translateY(-100%);
  }
}

/*/////////////////////*/
/*zúčastněné sbory*/
.participants-section {
  /* min-height: 160vh;
  height: 180vh; */
  padding-inline: calc((100vw - var(--page-width)) / 2);
  padding-block: 2em;
  background-color: var(--clr-primary);
}
.participants-section .container {
  height: 85%;
  clear: both;
}
.choir-list {
  display: grid;
  grid-template-rows: 1fr auto;
  grid-template-columns: 1fr;
}
.col-left {
  grid-column: 1/-1;
  grid-row: 1/2;
  padding: 1em;
}
.selectChoir {
  border: 3px solid black;
  width: 90%;
  text-align: center;
  padding: 0.5em 1.5em;
  border-radius: 1em;
}

.choir {
  display: none;
  max-height: auto;
  padding-inline: 0.5em;
  padding-block: 0.25em;
  border-radius: 0.25em;
  cursor: pointer;
  margin-bottom: 0.25em;
}
.choir:first-child {
  background-color: var(--clr-accent);
}
.col-right {
  grid-column: 1/-1;
  grid-row: 2/3;
  padding: 1em;
}
.display-choir {
  position: relative;
}
.choir-detail {
  /* position: absolute; */
  inset: 0;
  opacity: 0;
}
.choir-foto > img {
  max-width: 100%;
  max-height: 20vh;
}

.choir-active {
  opacity: 1;
  display: block !important;
}
.inactive {
  display: none;
}
.bold {
  font-weight: bold;
}
@media screen and (max-height: 480px) and (orientation: landscape) {
  .participants-section {
    height: 240vh;
  }
}
@media screen and (min-width: 1025px) {
  .participants-section {
    min-height: 70vh;
    max-height: 120vh;
  }
  .choir-list {
    display: grid;
    grid-template-columns: 1fr 3fr;
    grid-template-rows: unset;
  }
  .col-left {
    grid-column: 1/2;
    grid-row: 1/2;
    padding: 1em;
    overflow-y: auto;
    max-height: 700px;
  }
  .col-right {
    grid-row: 1/2;
    grid-column: 2/3;
    padding: 1em;
  }
  .choir {
    display: block;
  }
  .selectChoir {
    display: none;
  }
}

@media screen and (min-width: 1368px) {
  .participants-section {
    min-height: 85vh;
  }
}
@media screen and (min-width: 684px) and (max-height: 900px) {
  .participants-section {
    height: unset;
    /* min-height: 900px; */
  }
}
@media screen and (min-height: 901px) {
  .participants-section {
    /* max-height: 900px; */
    /* min-height: unset; */
  }
}
/*/////////////////////*/
/*porota slider*/
.porota-slider-section {
  height: max-content;
  padding-inline: calc((100vw - var(--page-width)) / 2);
  padding-block: 2em;
  background-color: var(--clr-secondary);
}
.porota-slider-section .container {
  position: relative;
  z-index: 0;
}

.porota-slider-section .carousel-container {
  height: 100vh;
  position: relative;
  overflow-x: hidden;
  overflow-y: scroll;
}
.porota-slider-section .carousel-container::before,
.porota-slider-section .carousel-container::after {
  background-color: var(--clr-secondary);
  z-index: 1;
}

.porota-slider {
  position: absolute;
  left: 0;
  top: 3em;
  bottom: 3em;
  width: calc(11 * var(--carousel-width));
  display: flex;
  align-items: center;
  justify-content: center;
  transition: left 325ms ease-out;
}

.porota-slide {
  width: var(--carousel-width);
  padding-inline: 1em;
  height: 100%;
}
.porotce-foto{
  float: left;
  margin: 0 2rem 0 0;
}
.porotce-foto > img {
  max-width: 100%;
  max-height: 30vh;
}
.porotce-bio {
  overflow-y: scroll;
}
@media screen and (max-height: 480px) and (orientation: landscape) {
  :root {
    --carousel-width: 90vw;
  }
  .porota-slide {
    padding-inline: 4em;
  }
}
@media screen and (min-width: 1025px) {
  :root {
    --carousel-width: 80vw;
  }
  .porota-slider-section .carousel-container {
    height: 100vh;
    position: relative;
    overflow-x: hidden;
    overflow-y: hidden;
  }
  .porota-slider {
    width: calc(11 * var(--carousel-width));
  }
  .porota-slide {
    width: var(--carousel-width);
    padding: 0.5em;
  }
}
@media screen and (min-width: 1368px) {
  :root {
    --carousel-width: 60vw;
  }
  .porota-slider-section .carousel-container {
    height: 80vh;
    position: relative;
    overflow-x: hidden;
    overflow-y: hidden;
  }
  .porotce-bio {
    overflow-y: unset;
  }
}
@media screen and (min-height: 1081px) {
  .porota-slider-section .carousel-container {
    height: 1000px;
    position: relative;
    overflow-x: hidden;
    overflow-y: hidden;
  }
}
/*controls*/
.slide-controls {
  position: absolute;
  max-height: 2em;
  z-index: 10;
}
.slide-controls img {
  transition: transform 75ms ease-in-out;
}
.slide-controls img:hover {
  transform: scale(1.25);
}
.slide-controls > div > img {
  max-height: 50px;
  cursor: pointer;
}
.slide-controls-left {
  left: 10%;
  top: 48%;
  bottom: 0;
  right: 50%;
  transform: translateX(0%);
  z-index: 10;
}
.slide-controls-left > div {
  display: flex;
}

.slide-controls-right {
  left: 50%;
  top: 48%;
  bottom: 0;
  right: 10%;
  transform: translateX(0%);
}
.slide-controls-right > div {
  display: flex;
  flex-direction: row-reverse;
}

@media screen and (max-height: 480px) and (orientation: landscape) {
  .slide-controls-left {
    transform: translateX(-5%);
  }
  .slide-controls-right {
    transform: translateX(5%);
  }
}

@media screen and (min-width: 1025px) {
  .slide-controls {
    /* display: unset; */
    position: absolute;
    max-height: 2em;
    z-index: 10;
  }
  .slide-controls-left {
    transform: translateX(-20%);
  }
  .slide-controls-right {
    transform: translateX(20%);
  }
}

@media screen and (min-width: 1368px) {
  .slide-controls-left {
    transform: translateX(8%);
  }
  .slide-controls-right {
    transform: translateX(-8%);
  }
}

.mobile-menu p:last-child {
  display: none;
}
.year-2022-menu {
  font-size: clamp(1.2rem, 12px + 0.8vw, 4.5rem);
  font-weight: bold;
  text-align: center;
  color: var(--clr-accent);
  padding-inline-start: 0.25em;
}
.year-2022-menu .menu-text {
  margin-inline-start: 0;
}
/* @media screen and (max-height: 480px) and (orientation: landscape) {
  .mobile-menu p:last-child {
    display: unset;
  }
} */
.results-sheet-section {
  height: max-content;
  padding-inline: calc((100vw - var(--page-width)) / 2);
  padding-block: 2em;
  background-color: var(--clr-tertiary);
}
.results-sheet-section .section-title {
  color: var(--clr-secondary);
}
.results-sheet-section .container {
  padding: 2em;
}
.result-choir-list {
  display: grid;
  grid-template-rows: repeat(2, 1fr);
  grid-template-columns: repeat(2, 1fr);
}
.medal {
  grid-column: span 2;
  font-size: 1.125em;
}
.download-text {
  margin-left: 2em;
  font-size: 0.5em;
  color: var(--clr-secondary);
}

.hexagons {
  padding: 0;
  display: flex;
  --s: clamp(113px, 65px + 10vw, 280px); /* size  */
  --m: 4px; /* margin */
  --f: calc(1.732 * var(--s) + 4 * var(--m) - 1px);
}

.hexagons .container {
  font-size: 0; /*disable white space between inline block element */
  margin: unset;
  height: unset;
  max-width: 83%;
}
@media screen and (max-width: 1499px) {
  .hexagons .container {
    max-width: 90%;
  }
}
@media screen and (max-width: 1199px) {
  .hexagons .container {
    max-width: 97%;
  }
}
@media screen and (max-width: 999px) {
  .hexagons .container {
    max-width: 100%;
  }
}
.hexagons .container > * {
  transform: translateX(calc(-1 * (var(--s) / 2 + var(--m))));
}

.hexagons .container div {
  position: relative;
  width: var(--s);
  margin: var(--m);
  height: calc(var(--s) * 1.1547);
  display: inline-block;
  font-size: initial;
  clip-path: polygon(0% 25%, 0% 75%, 50% 100%, 100% 75%, 100% 25%, 50% 0%);
  margin-bottom: calc(var(--m) - var(--s) * 0.2885);
}
/* .hexagons .container div:nth-child(5n-4) {
  background: white;
} */
.hexagons .container div:is(.placeholder) {
  background-image: url(./img/soutez2022/DSC_8051.jpg);
  background-position: center;
  color: transparent;
}
/* .hexagons .container div:nth-child(10n-9) {
  background-image: url(./img/soutez2022/DSC_8051.jpg);
  background-position: center;
  color: transparent;
} */
/* .hexagons .container div:not(.placeholder):nth-child(10n-8) {
  background: #b6ede5;
  color: #1d8e88;
}
.hexagons .container div:not(.placeholder):nth-child(10n-7) {
  background: #e7209e;
  color: white;
}
.hexagons .container div:not(.placeholder):nth-child(10n-6) {
  background: #1d8e88;
  color: #b6ede5;
}

.hexagons .container div:not(.placeholder):nth-child(10n-5) {
  background-image: url(./img/soutez2022/DSC_8051.jpg);
  background-position: center;
  color: transparent;
}

.hexagons .container div:not(.placeholder):nth-child(10n-4) {
  background-image: url(./img/soutez2022/DSC_8051.jpg);
  background-position: center;
  color: transparent;
}
@media screen and (max-width: 379px) {
  .hexagons .container div:not(.placeholder):nth-child(10n-4) {
    background: #1d8e88;
    color: #b6ede5;
  }
}
.hexagons .container div:not(.placeholder):nth-child(10n-3) {
  background-image: url(./img/soutez2022/DSC_8051.jpg);
  background-position: center;
  color: transparent;
}
.hexagons .container div:not(.placeholder):nth-child(10n-2) {
  background: #b6ede5;
  color: #1d8e88;
}
.hexagons .container div:not(.placeholder):nth-child(10n-1) {
  background: #e7209e;
  color: white;
}
.hexagons .container div:not(.placeholder):nth-child(10n) {
  background-image: url(./img/soutez2022/DSC_8051.jpg);
  background-position: center;
  color: transparent;
} */
@media screen and (max-width: 379px) {
  .hexagons .container div:nth-child(10n-2),
  .hexagons .container div:nth-child(10n-1),
  .hexagons .container div:nth-child(10n),
  .hexagons .container div:nth-child(11) {
    display: none;
  }
}
/* @media screen and (min-width: 515px) and (max-width: 628px) {
  .hexagons .container div:not(.placeholder):nth-child(10n-4) {
    background: #b6ede5;
    color: #1d8e88;
  }
} */
@media screen and (min-width: 629px) and (max-width: 763px) {
  /* .hexagons .container div:not(.placeholder):nth-child(10n-3) {
    background: #e7209e;
    color: white;
  } */
  .hexagons .container div:nth-child(10n-2),
  .hexagons .container div:nth-child(10n-1),
  .hexagons .container div:nth-child(10n),
  .hexagons .container div:nth-child(11) {
    display: none;
  }
}
/* @media screen and (max-width: 931px) {
  .hexagons .container div:not(.placeholder):nth-child(10n) {
    display: none;
  }
} */
/*classes*/
.light-hex {
  background: #b6ede5;
  color: #1d8e88;
}
.red-hex {
  background: #e7209e;
  color: white;
}
.green-hex {
  background: #b6ede5;
  color: #1d8e88;
}
.image-hex {
  color: transparent;
  background-repeat: no-repeat;
}
.image-hex-1 {
  background-image: url("./img/soutez2022/DSC_8051.jpg");
  background-position: center;
}
.image-hex-2 {
  background-image: url("./img/soutez2022/DSC_8080tisk.jpg");
  background-position: 15% 15%;
}
.image-hex-3 {
  background-image: url("./img/soutez2022/DSC_7964.jpg");
  background-position: 57% 43%;
}
.image-hex-4 {
  background-image: url("./img/soutez2022/DSC_7932.jpg");
  background-position: 68% 35%;
}
.image-hex-5 {
  background-image: url("./img/soutez2022/DSC_7939.jpg") !important;
  background-position: 22% 56% !important;
}

.hexagons .container div p {
  position: absolute;
  inset: 0;
  padding-block: calc(var(--s) * 0.3);
  height: 100%;
  padding-inline: 1rem;
  font-size: clamp(0.7rem, 0.5rem + 0.75vw, 1.75rem);
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hexagons .container::before {
  content: "";
  width: calc(var(--s) / 2 + var(--m));
  float: left;
  height: 120%;
  shape-outside: repeating-linear-gradient(
    #0000 0 calc(var(--f) - 3px),
    #000 0 var(--f)
  );
}

.noselect {
  -webkit-touch-callout: none; /* iOS Safari */
  -webkit-user-select: none; /* Safari */
  -khtml-user-select: none; /* Konqueror HTML */
  -moz-user-select: none; /* Old versions of Firefox */
  -ms-user-select: none; /* Internet Explorer/Edge */
  user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome, Edge, Opera and Firefox */
}
#mundi-cantant {
  display: none;
}
#vocalis-bellus {
  display: none;
}
/*styly pro disclaimer*/
header {
  /* display: grid;
  grid-template-rows: 128px 0fr; */
}
nav {
  height: 100%;
}
.lang-choice-desktop {
  padding-block: 2rem;
}
.disclaimer {
  background-color: var(--clr-accent);
  color: #b6ede5;
  padding-block: 1rem;
  text-align: center;
  grid-row: 2/3;
}
@media screen and (max-width: 1024px) {
  /* header {
    grid-template-rows: 0fr 122.39px;
  }
  .disclaimer {
    grid-row: 1/2;
  } */
}
.form-wrapper {
  display: flex;
  flex-direction: column;
  margin-right: 1rem;
  gap: 1rem;
}
.form-choice {
  width: 100%;
  outline: 1px solid black;
  color: black;
  padding-block: 7rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
}
@media screen and (min-width: 1025px) {
  .form-choice {
    width: 488px;
  }
}
.form-choice p {
  width: max-content;
}
.form-choice p span {
  font-weight: 600;
}
.translate-right {
  transform: translateX(600px);
  transition: 500ms ease-in;
}
/*checkbox menu stuff*/
/* Label */
.ac-container {
  max-width: 400px;
  /* border: 1px solid #ccc; */
  border-top: none;
}
.ac-container label {
  height: 30px;
  line-height: 1.8;
  font-size: 20px;
  display: block;
  cursor: pointer;
  color: black;
  /* background: #eee; */
  /* border-top: 1px solid #ccc; */
  text-align: center;
}
.ac-container {
  width: 100%;
  margin: 10px auto;
}
.ac-container label:hover {
  background: #b6ede5;
}
.ac-container input {
  display: none;
}

/* Contents */
.ac-container article {
  overflow: hidden;
  height: 0;
  transition: 0.6s;
}
.ac-container article p {
  padding: 20px;
  font-size: 12px;
  color: black;
  line-height: 1.5;
}
.ac-container article ul {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-block: 1rem;
}
.ac-container input:checked ~ article {
  height: max-content;
  border-top: 1px solid #ccc;
}
@media screen and (max-width: 1024px) {
  .show-desktop {
    display: none;
  }
  .show-mobile {
    display: block;
  }
}
@media screen and (min-width: 1025px) {
  .show-desktop {
    display: block;
  }
  .show-mobile {
    display: none;
  }
}

section.page-top{
  margin-top: 96px;
  padding-top: 96px;
}
@media screen and (max-width: 1024px){
  section.page-top{
    margin-top: 0;
    padding-top: 0;
  }
}
section.page-top .container{
  padding-block: 6rem 4rem;
}

section.page-top .container h1{
  text-align: center;
  font-size: clamp(1.8rem, 5vw, var(--hero-height) * 0.1);
  font-weight: 900;
  line-height: 1.78em;
}

section.art-director .container .content-grid{
  display: flex;
  gap: 50px;
}
section.art-director .container .content-grid > *{
  flex: 1;
}

@media screen and (max-width: 1024px){
  section.art-director .container .content-grid{
    flex-direction: column-reverse;
  }
}

section.participantList{}

.filterForm{
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  margin-block: 0 2rem;
}
.filterForm .filterItem{
  display: flex;
}
.filterForm .filterItem label{
  flex-basis: 3.2rem;
}
@media screen and (max-width: 1199px) {
  .filterForm h2{
    flex-basis: 100%;
  }
}
@media screen and (max-width: 749px) {
  .filterForm .filterItem{
    flex-basis: 100%;
  }
}
.filterForm .button{
  flex: 1;
  text-align: right;
}
section.participantList .listHeader{
  border-bottom: 1px solid var(--clr-dark);
}
section.participantList .listHeader,
section.participantList .list .participant{
  --gap: 0.5ch;
  display: flex;
  justify-content: space-between;
  margin-block: 5px;
  gap: var(--gap);
}

@media screen and (max-width:749px) {
  section.participantList .listHeader{
    display: none;
  }
  section.participantList .list{
    display: flex;
    flex-wrap: wrap;
    gap: 2%;
  }
  section.participantList .list .participant{
    flex-direction: column;
    flex-basis: 49%;
  }
}
@media screen and (max-width:549px) {
  section.participantList .list .participant{
    flex-basis: 100%;
    max-width: 300px;
    margin-inline: auto;
  }
}
section.participantList .list .participant:nth-child(2n-1){
  background-color: rgb(29 142 136 / 0.1);
}
@media screen and (max-width:749px) {
  section.participantList .list .participant:nth-child(2n-1){
    background-color: transparent;
  }
  section.participantList .list .participant:nth-child(4n-1),
  section.participantList .list .participant:nth-child(4n-2){
    background-color: rgb(29 142 136 / 0.1);
  }
}
@media screen and (max-width:549px) {
}
section.participantList .listHeader > div:nth-child(1),
section.participantList .list .participant .choirname{
  flex-basis: calc(32% - (var(--gap) * 2));
}
section.participantList .listHeader > div:nth-child(2),
section.participantList .list .participant .choirconductor{
  flex-basis: 20%;
}
section.participantList .listHeader > div:nth-child(3),
section.participantList .list .participant .choircity{
  flex-basis: max(83px, 11%);
  text-align: right;
}
section.participantList .listHeader > div:nth-child(4),
section.participantList .list .participant .choircountry{
  flex-basis: max(83px, 5%);
}
section.participantList .listHeader > div:nth-child(5),
section.participantList .list .participant .yearsParticipated{
  flex-basis: calc(30% - (var(--gap) * 2));
}

@media screen and (max-width:749px) {
  section.participantList .list .participant .choircity{
    text-align: left;
  }
  section.participantList .list .participant > p{
    position: relative;
    font-weight: 600;
  }
  section.participantList .list .participant > p::before{
    position: relative;
    display: inline-block;
    content: attr(data-name);
    content: attr(data-name) ":";
    height: 1em;
    font-weight: 400;
    width: fit-content;
    margin-right: var(--gap);
  }
}
@media screen and (max-width:619px) {
  section.participantList .list .participant > p::before{
    display: block;
  }
}
.select2-container,
.select2-dropdown{
  /* width: 140px !important; */
  width: 175px !important;
}
.select2-results__options{
  overflow-x: clip;
}