/* poppins-200 - latin_latin-ext */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 200;
  src: url('../fonts/poppins-v21-latin_latin-ext-200.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* poppins-300 - latin_latin-ext */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 300;
  src: url('../fonts/poppins-v21-latin_latin-ext-300.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* poppins-regular - latin_latin-ext */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/poppins-v21-latin_latin-ext-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* poppins-500 - latin_latin-ext */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  src: url('../fonts/poppins-v21-latin_latin-ext-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* poppins-600 - latin_latin-ext */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  src: url('../fonts/poppins-v21-latin_latin-ext-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* poppins-700 - latin_latin-ext */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/poppins-v21-latin_latin-ext-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* poppins-800 - latin_latin-ext */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 800;
  src: url('../fonts/poppins-v21-latin_latin-ext-800.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* poppins-900 - latin_latin-ext */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 900;
  src: url('../fonts/poppins-v21-latin_latin-ext-900.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  /*font-size: 16px;*/
  font-family: "Poppins", system-ui, --apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, 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: hsl(35, 100%, 55%);
  --glass-background: rgb(153, 202, 235);
  /*background opacity*/
  --clr-dark-background: rgba(27, 29, 27, 0.2);
  /*image ration*/
  --golden: 1.6180339887498948482;

  --s: clamp(113px, 65px + 10vw, 280px); /* size  */
  --m: 4px; /* margin */
  --f: calc(1.732 * var(--s) + 4 * var(--m) - 1px);
}
@media screen and (min-width: 1921px) {
  :root{
    --hero-height: 1080px;
  }  
}
html {
  scroll-padding-top: var(--menu-height);
  max-width: 100%;
}
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}
/* html.has-scroll-smooth {
  overflow: hidden;
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
} */
body {
  position: relative;
  overflow-x: hidden;
  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;
  padding-bottom: 0.5em;
  width: 100%;
  max-height: max-content;
  background-color: rgba(var(--glass-background), 0.1);
  z-index: 10;
}
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: auto;
  top: 0.5em;
  gap: 0.5em;
  font-size: clamp(0.8rem, calc(12px + 0.1vw), 1.125rem);
  color: var(--clr-tertiary);
  font-weight: 600;
  padding-inline: calc((100vw - var(--page-width)) / 2);
  padding-block: 0 0.4em;
  overflow-y: visible;
  z-index: 11;
}
nav li {
  flex-grow: 1;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  padding: 0.15em;
}
nav li:first-child {
  min-width: 2em;
}
nav li:first-child a {
  display: inline-block;
}
nav a {
  text-decoration: none;
  padding: 0.5em;
  border-radius: 0.75em;
  color: var(--clr-tertiary);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.main-logo {
  position: relative;
  display: inline;
  height: 2em;
  max-height: 4vw;
  z-index: 1000 !important;
}
.menu-svg img {
  height: 2em;
  display: inline-flex;
}
.menu-text {
  font-size: 0.6em;
  text-align: center;
} */
/*menu for mobile devices*/
/* .mobile-menu {
  position: fixed;
  top: auto;
  width: 100vw;
  left: 0;
  bottom: var(--menu-height);
  backdrop-filter: blur(1em);
  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 {
  grid-column: 3/4;
  grid-row: 1/3;
}
.mobile-menu a {
  padding-inline-start: 0;
  display: block;
}
.mobile-menu .social-links {
  height: auto;
  display: flex;
}
.mobile-menu .social-links > * {
  width: 33%;
  height: 1.5em;
  object-fit: contain;
  
} */

.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;
}
.apply-btn,
.click-btn {
  font-size: clamp(0.8rem, 0.75vw + 0.6rem, 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;
  justify-content: center;
  align-items: center;
}
.lang-choice img {
  height: 1em;
  aspect-ratio: 3/2;
  object-fit: cover;
}
.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(7) {
    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;
  }
  .social-links {
    display: flex;
    /* height: 1em; */
    /* max-width: 14em;
    align-items: center;
    justify-content: center;*/
    overflow: hidden;
  }
  /* .social-links a {
    margin-inline: 1em;
  }
  .social-links i {
    transform: translateY(-3.5px);
  } */
  .apply-btn,
  .click-btn {
    display: block;
  }

  .lang-choice-desktop {
    display: block;
  }
  .lang-choice-desktop > * {
    cursor: pointer;
  }
}

div.container {
  max-width: 1650px;
  margin: auto;
}
@media screen and (max-width: 1834px) {
  div.container {
    max-width: 90vw;
  }
}
/* @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%;
  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;
}
.hero-markup img {
  display: inline;
  grid-row: 2/3;
  max-height: clamp(4rem, 5vw, var(--hero-height) * 0.3);
  padding-inline-start: 1rem;
}
.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);
}
.container {
  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);
}
.article-container {
  padding: 1em;
  display: flex;
  flex-direction: column;
  gap: 1em;
}
.article-container > * {
  width: 100%;
  align-items: stretch;
}
.news-article {
  display: grid;
  grid-template-columns: 5em auto;
  gap: 0.5em;
}
.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 {
  max-width: 100%;
  max-height: 5em;
  object-fit: cover;
  object-position: 0% 50%;
  aspect-ratio: 1 /* / var(--golden)*/;
}
.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;
}
.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;
}
.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);
  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;
  }
  .gallery-carousel .carousel-container {
    min-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);
  color: var(--clr-tertiary);
}
.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;
}
.spinner.open{
  display: block;
}

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); */
  background-color: transparent;
  border: 2px solid #1d8e88;
  color: #1d8e88;
  resize: vertical;
  line-height: 2.2rem;
  font-size: 1.2rem;
  border-radius: 1rem;
}
@media screen and (max-width: 499px){
  fieldset textarea{
    max-height: 10rem;
  }
}
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: 0.75rem;
  margin-inline: auto;
  margin-top: 2rem;
}
.footer-social-links path {
  fill: var(--clr-dark);
}
/* .footer-social-links i {
  font-s
} */
.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);
}
.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;
}
#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;
  gap: 1em;
  padding: 1em;
}
.categories-overview p:nth-child(1) {
  grid-column: span 2;
  grid-row: 1/2;
}
.categories-details {
  padding: 1em;
  grid-column: 1/2;
  grid-row: 2/3;
}
.categories-details h3 {
  margin-block: 1em;
}
.technical-details {
  margin-top: 0.5em;
  max-width: 25ch;
  transform: translateX(2em);
}
.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: 100%;
  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);
}
.conditions .container {
  padding: 0.5em;
  padding-inline-start: 2em;
}

.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%;
  }
}

.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;
}
.form-message.open{
  display: -webkit-box;display: -ms-flexbox;display: flex;
}
.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);
}
.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);
}
.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 .container img {
  height: max(5vw, 15em);
  margin: 0.75em;
}
.city-section .container p:nth-of-type(1n + 1) img,
.about-festival .container p:nth-of-type(1n + 1) img {
  float: left;
  clear: left;
}
.city-section .container p:nth-of-type(2n) img,
.about-festival .container p:nth-of-type(2n) img {
  float: right;
  clear: right;
}
@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: var(--page-width);
  z-index: 1;
}
.featured-news::after,
.featured-downloads::after {
  content: "";
  position: absolute;
  inset: 0 0 0 0;
  background-color: var(--glass-background);
  opacity: 0.8;
  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;
}
.featured-news h3 {
  grid-row: 2/3 !important;
}
.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;
  /* margin-left: 80%; */
}
.festival-news {
  height: max-content;
  padding-inline: calc((100vw - var(--page-width)) / 2);
  padding-block: 2em;
  background-color: var(--clr-secondary);
  border-radius: 0.5em;
}

.festival-news .news-article {
  display: grid;
  grid-template-columns: 1fr 3fr;
  grid-template-rows: auto auto 2fr;
  padding: 0.5em;
}
.festival-news .news-article img {
  grid-column: 1/2;
  grid-row: 1/4;
}

.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;
}
.festival-news .news-article p {
  grid-column: 2/3;
  grid-row: 3/4;
  overflow-wrap: break-word;
  white-space: break-spaces;
  max-width: 70vw;
}
@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);
  opacity: 1;
}

.hero-impressum p {
  margin-bottom: 1.5em;
}
.impressum-text {
  padding: 2em;
  clear: both;
}
@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;
  }
}

/* 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: var(--page-width);
  z-index: 1;
}
.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 {
  height: max-content;
  padding-inline: calc((100vw - var(--page-width)) / 2);
  padding-block: 2em;
  background-color: var(--clr-secondary);
  color: var(--clr-tertiary);
}
.downloads-section .container div {
  margin-bottom: 20px;
  padding: 2em;
}

.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;
}
.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%);
  }
}

/*// old ////*/
/*/////////////////////*/
/*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;
  }
  .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 {
    max-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;
  }
} */

/*/////////////////////*/
/*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,
.selectEnsemble {
  border: 3px solid black;
  width: 90%;
  text-align: center;
  padding: 0.5em 1.5em;
  border-radius: 1em;
}

.choir,
.ensemble {
  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,
.ensemble: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;
  }
  .ensemble {
    display: block;
  }
  .selectChoir,
  .selectEnsemble{
    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); */
  background-color: #b6ede5;
}
.porota-slider-section .container {
  position: relative;
  z-index: 0;
}
.porota-slider-section .section-title{
  text-align: center;
}
.porota-slider-section .carousel-container {
  /* height: 100vh; */
  height: 100%;
  position: relative;
  overflow: clip;
  /* 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; */
  position: relative;
  left: 0;
  /* top: 3em;
  bottom: 3em; */
  display: flex;
  /* align-items: center; */
  /* justify-content: center; */
  transition: left 325ms ease-out;
}
.porota-5{
  width: calc(5 * var(--carousel-width));
}
.porota-11{
  width: calc(11 * var(--carousel-width));
}

.porota-slide {
  width: calc(0.9 * 1650px);
  /* max-width: calc(90vw * 0.9 - 2rem); */
  /* padding-inline: 1em; */
  height: 100%;
}
@media screen and (max-width: 1834px){
  .porota-slide {
    width: calc(0.9 * 90vw);
  }
}
.porotce-foto{
  float: left;
  margin: 0 2rem 0 0;
}
@media screen and (max-width: 749px) {
  .porotce-foto{
    float: unset;
    margin: 0;
    text-align: center;
  }
}
.porotce-foto > img {
  max-width: 100%;
  max-height: 300px;
  object-fit: contain;
}
@media screen and (min-width: 1921px){
  .porotce-foto > img {
    max-height: 300px;
  }
}
@media screen and (max-width: 749px){
  .porotce-foto > img {
    height: 200px;
  }
}

.porotce-bio {
  display: inline;
  overflow-y: scroll;
  /* max-width: calc(90vw * 0.9 - 2rem); */
  
}
@media screen and (max-width: 749px){
  .porotce-bio {
    display: -webkit-box;
    -webkit-line-clamp: 15;
    -webkit-box-orient: vertical;
    overflow: hidden;
    /* -o-text-overflow: auto;
       text-overflow: auto; */
  }
}
.porotce-bio::-webkit-scrollbar-track{
  -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
  background-color: #F5F5F5;
}
.porotce-bio::-webkit-scrollbar{
  width: 5px;
  background-color: #F5F5F5;
}
.porotce-bio::-webkit-scrollbar-thumb{
  background-image: -webkit-gradient(linear,
                     left bottom,
                     left top,
                     color-stop(0.44, var(--clr-accent)),
                     color-stop(0.86, var(--clr-accent)));
  border-radius: 30px;
}
@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-5{
    width: calc(5 * var(--carousel-width));
  }
  .porota-11{
    width: calc(11 * var(--carousel-width));
  }
  /* .porota-slide {
    width: calc(0.9 * 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;
  width: 100%;
  object-fit: contain;
}

@media screen and (max-width: 549px) {
  .slide-controls > div > img {
    width: 2em;
    height: 2em;
  }
}

.slide-controls-left {
  left: 0%;
  top: 50%;
  bottom: 0;
  /* right: 50%; */
  transform: translateX(0%);
  translate: 0 -50%;
  z-index: 10;
}
.slide-controls-left > div {
  display: flex;
}

.slide-controls-right {
  /* left: 50%; */
  top: 50%;
  bottom: 0;
  right: 0%;
  transform: translateX(0%);
  translate: 0 -50%;
}
.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%);
  }
}

/*/////////////////////*/
/*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;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: left 325ms ease-out;
}
.porota-5{
  width: calc(5 * var(--carousel-width));
}
.porota-11{
  width: calc(11 * var(--carousel-width));
}

.porota-slide {
  width: var(--carousel-width);
  padding-inline: 1em;
  height: 100%;
}
.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(5 * var(--carousel-width));
  } */
  /* .porota-5{
    width: calc(5 * var(--carousel-width));
  }
  .porota-11{
    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;
}
.results-sheet-section .container:not(:first-child) .section-title{
  text-align: center;
}
.results-sheet-section .container .item-wrapper{
  max-width: 800px;
}
.result-choir-list {
  display: grid;
  grid-template-rows: repeat(auto-fill, minmax(2em, 1fr));
  grid-template-columns: 1fr 7ch;
  column-gap: 1ch;
}
.medal {
  grid-column: span 2;
  font-size: 1.125em;
}
.specialPrize{
  grid-column: 1 / span 2;
  translate: 0 -0.5em;
  font-style: italic;
}
.download-text {
  margin-left: 2em;
  font-size: 0.5em;
  color: var(--clr-secondary);
}

.hexagons {
  display: flex;
  --s: 300px; /* 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 */
  height: unset;
}
.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:nth-child(5n-4) {
  background: #b6ede5;
  color: #1d8e88;
}
.hexagons .container div:nth-child(5n-3) {
  background: #e7209e;
  color: white;
}
.hexagons .container div:nth-child(5n-2) {
  background: #1d8e88;
  color: #b6ede5;
}
.hexagons .container div:nth-child(5n-1) {
  background-image: url(./img/soutez2022/DSC_8051.jpg);
  background-position: center;
  color: transparent;
}
.hexagons .container div:nth-child(5n) {
  background-image: url(./img/soutez2022/DSC_8051.jpg);
  background-position: center;
  color: transparent;
}
.hexagons .container div p {
  position: absolute;
  inset: 0;
  padding-block: calc(var(--s) * 0.3);
  height: 100%;
  padding-inline: 1rem;
  font-size: 1.75rem;
  text-align: 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;
}

.program-switcher-top{
  grid-row: 5/6;
  grid-column: span 2;
  display: flex;
  gap: 2rem;
  justify-content: center;
  list-style: none;
  margin-bottom: 5rem;
}
@media screen and (max-width: 670px){
  .program-switcher-top{
    grid-row: 4/5;
    flex-wrap: wrap;
  }
}

.program-switcher-top li{
  font-size: clamp(1rem, 12px + 0.6vw, 1.5rem);
  background-color: #1d8e88;
  color: #b6ede5;
  position: relative;
  width: var(--s);
  margin: var(--m);
  height: calc(var(--s) * 1.1547);
  display: inline-block;
  font-size: initial;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  clip-path: polygon(0% 25%, 0% 75%, 50% 100%, 100% 75%, 100% 25%, 50% 0%);
  cursor: pointer;
}

.program-switcher-top li.active,
.program-switcher-top li:hover{
  background-color: var(--clr-accent); 
}

.modal-vote{
  z-index: 10000;
  max-width: 100%;
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  max-height: 100%;
  overflow-y: scroll;
}

.video-wrapper{
  margin-top: 2rem;
  margin-bottom: 2rem;
  display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-pack: center;
-ms-flex-pack: center;
        justify-content: center;
-ms-flex-wrap: wrap;
    flex-wrap: wrap;
gap: 2rem;
}

.video-wrapper iframe{
  aspect-ratio: 1.777778;
  max-width: 100%;
  height: auto;
}

.hero-2023 {
  /* background-image: url("./img/Foto_podklad_plakatu_mobil.jpg"); */
  background: white;
  background-position-x: 10%;
  background-position-y: 0%;
}
.hero-2023 .hero-markup{
  background-color: transparent;
}
.hero-2023 h2 {
  grid-row: 3/4 !important;
  width: 100%;
  text-align: center;
  color: var(--clr-dark);
  grid-column: 1/3 !important;
  font-size: clamp(1.4rem, 3.5vw, var(--hero-height) * 0.06);
}
@media screen and (max-width: 670px){
  .hero-2023 h2{
    grid-row: 2/3 !important;
  }
}
.hero-2023 p {
  grid-row: 2/3 !important;
  grid-column: span 2 !important;
  text-align: center;
  transform: none !important;
  color: var(--clr-dark) !important;
}
@media screen and (max-width: 670px){
  .hero-2023 p{
    grid-row: 1/2 !important;
  }
}
.hero-2023 iframe {
  grid-row: 3/4;
  grid-column: 1/3;
  width: 300px;
  height: 169px;
  margin: 0 auto;
}
.hero-2023 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-2023 h3:hover {
  transform: scale(1.2);
} */
.hero-2023 .arrow-right img {
  transform: translateY(30%);
  max-height: 1.5em;
  fill: var(--clr-tertiary);
  color: var(--clr-tertiary);
}
.hero-2023 .arrow-right:hover img,
.hero-2023 .arrow-right:focus-visible img {
  transform: scale(1.05);
}

.hero-2023 .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-2023 .program::after {
  content: "";
  position: absolute;
  inset: 0;
  bottom: -46vh;
  background-color: var(--clr-secondary);
  opacity: 0.8;
  z-index: -1;
}

.hero-2023 ~ [data-tab]{
  display: none;
}
.hero-2023 .btn-vote {
  grid-row: 6/7;
  grid-column: 1/3;
  width: max-content;
  margin-inline: auto;
  background-color: var(--clr-accent);
  color: var(--clr-dark);
}
.hero-2023 .btn-vote:hover{
  background-color: #b6ede5;
}
@media screen and (max-height: 480px) and (orientation: landscape) {
  .hero-2023 {
    /* background-image: url("./img/Foto_podklad_plakatu_tablet_landscape.jpg"); */
    background: white;
    background-position-x: 65%;
    background-position-y: 0%;
  }
  .hero-2023 h2 {
    grid-row: 1/2;
    grid-column: 1/3;
    transform: translateY(50%);
  }
  .hero-2023 p {
    grid-row: 2/3;
    grid-column: 1/2;
    margin-left: 9%;
    transform: translateY(100%);
  }
  .hero-2023 iframe {
    grid-row: 4/5;
    grid-column: 1/2;
  }
  .hero-2023 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-2023 {
    /* background-image: url("./img/Foto_podklad_plakatu_tablet_landscape.jpg"); */
    background: white;
    background-position-x: 65%;
    background-position-y: 0%;
  }
}
@media screen and (min-width: 1025px) {
  .hero-2023 {
    /* background-image: url("./img/Foto_podklad_plakatu_1.jpg"); */
    background: white;
    background-position-x: center;
    background-position-y: unset;
  }
  .hero-2023 h2 {
    grid-row: 2/3;
    grid-column: 1/2;
    font-size: clamp(1.4rem, 3.5vw, var(--hero-height) * 0.06);
  }
  .hero-2023 p {
    grid-row: 3/4;
    grid-column: 1/2;
    margin-left: none;
    transform: translateY(-200%);
  }
  .hero-2023 iframe {
    grid-row: 4/5;
    grid-column: 1/2;
    width: 640px;
    height: 360px;
    transform: translateY(15%);
  }
  .hero-2023 h3 {
    font-size: unset;
    grid-row: 3;
    grid-column: 2/3;
    margin-left: none;
    cursor: unset;
    transform: scale(1) translateY(-200%);
  }
  .hero-2023 h3:hover {
    transform: translateY(-200%);
  }
  .hero-2023 .arrow-right {
    display: none;
  }
  .hero-2023 .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-2023 p {
    transform: translateY(-100%);
  }
  .hero-2023 iframe {
    width: 888px;
    height: 500px;
  }
  .hero-2023 h3 {
    transform: scale(1) translateY(-100%);
  }
  .hero-2023 h3:hover {
    transform: translateY(-100%);
  }
}

.video-section .section-title{
  text-align: center;
}

.hero-2023 .year-switcher{
  position: absolute;
  top: 50%;
  translate: 0 -50%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: baseline;
  -ms-flex-align: baseline;
  align-items: baseline;
  gap: 10px;
  text-decoration: none;
  
}
.hero-2023 .year-switcher::before{
  position: absolute;
  content: '';
  left: 50%;
  top: 50%;
  --s: 114px; /* size  */
  --m: 4px; /* margin */
  --f: calc(1.732 * var(--s) + 4 * var(--m) - 1px);
  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%);
  background: #b6ede5;
  color: #1d8e88;
  z-index: -1;
}


.hexagons .container > * {
  transform: translateX(calc(-1 * (var(--s) / 2 + var(--m))));
}

@media screen and (max-width: 669px) {
  .hero-2023 .year-switcher{
    top: 85%;
  }
}
.hero-2023 .year-switcher:where([data-year="previous"]){
  left: 2.5vw;
}
.hero-2023 .year-switcher:where([data-year="previous"])::before{
  translate: calc(-50% + 5px) -50%;
}
.hero-2023 .year-switcher:where([data-year="next"]){
  right: 2.5vw;
}
.hero-2023 .year-switcher:where([data-year="next"])::before{
  translate: calc(-50% - 5px) -50%;
}