:root {
  --primary: #956dfe;
  --secondary: #ffffff;
  --alternative: #e6007e;
  --dark: #1e1e1e;
  --darker: #0e0d0d;
  --lighter: #3d3f40;
  --bright: #ccc;
  --darker-text: #5c5a5a;
}

html {
  scroll-behavior: smooth;
}

body,
.strip {
  background-color: var(--dark);
  color: var(--darker-text);
  font-size: 22px;
  line-height: 28px;
}

.header {
  background-color: var(--dark);
  border-color: var(--lighter);
}

.strip-grey {
  background-color: var(--darker);
}

.page-home .call-wrapper {
  background-color: var(--darker);
  padding-top: 3em;
}

.call {
  background-color: var(--darker);
  color: var(--bright);
  box-shadow: var(--secondary) 0 0 6px 2px;
}

.feature {
  background-color: var(--dark);
  color: var(--primary);
  border-color: var(--secondary);
  box-shadow: var(--secondary) 0 0 6px 2px;
}

.intro h1,
.title {
  color: var(--bright);
}

.home-wrapper {
  background-image: url("/images/logo/home-banner-bg-wide-2024.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  margin-bottom: 2em;
}

.home .intro {
  padding-top: 40px;
  padding-bottom: 40px;
  display: block;
}

.home .intro-image {
  margin: auto;
}

.team-summary-large {
  background-color: var(--darker);
  color: var(--bright);
}

.team {
  color: var(--bright);
}

.team-summary .team-meta p {
  color: var(--secondary);
}

.content table thead th,
.content table th,
.content table td {
  border-color: var(--lighter);
  color: var(--darker-text);
}

.intro h1 {
  width: 100%;
}

@media (min-width: 768px) {
  .intro {
    padding-bottom: 60px;
  }
}

.page-program h2 {
  padding-top: 1em;
  padding-bottom: 0.5em;
  font-weight: bold;
}

h1,
.content h2 {
  color: #fff;
  margin-bottom: 1em;
}

.content p {
  color: #e6e6e6;
  max-width: 60ch;
}

.page-home .content {
  color: var(--darker-text);
}

.content iframe {
  max-width: 100%;
  margin-top: 20px;
  margin-bottom: 20px;
}

.row .myGrid img {
  width: 200px;
  height: 100px;
}
.row .myGrid {
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.row .myGrid-Organizatorzy img {
  width: 300px;
  height: 150px;
}

.row .myGrid-Sponsorzy img {
  width: 300px;
  height: 150px;
}

.myGrid {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  justify-content: space-evenly;
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.myGrid > div {
  height: 120px;
  margin: 0 1rem 1rem 0;
  -webkit-flex: 0 0 auto;
  -ms-flex: 0 0 auto;
  flex: 0 0 auto;
}

.myGrid-Organizatorzy > div {
  height: 170px;
  margin: 0 1rem 1rem 0;
  -webkit-flex: 0 0 auto;
  -ms-flex: 0 0 auto;
  flex: 0 0 auto;
}
.myGrid-Sponsorzy {
  gap: 1rem;
}

.myGrid-Sponsorzy > div {
  height: 170px;
  margin: 0 1rem 1rem 0;
  -webkit-flex: 0 0 auto;
  -ms-flex: 0 0 auto;
  flex: 0 0 auto;
}

.myGrid .group {
  font-size: 0.8em;
  background: transparent;
  color: var(--lighter);
}

.myGrid a {
  color: black;
}

.partner {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 120%;
  font-weight: 900;
  color: #000;
  text-align: center;
}

.header-wrapper {
  background-color: var(--darker);
}

.partners .header {
  font-size: 200%;
  font-weight: 900;
  color: var(--alternative);
  width: 100%;
  text-align: center;
  color: #fff;
}

.strip-partners {
  background-color: #000;
}

.feature-image img {
  /* Thanks to https://codepen.io/sosuke/pen/Pjoqqp */
  filter: invert(50%) sepia(74%) saturate(3751%) hue-rotate(230deg)
    brightness(104%) contrast(99%);
}

img.image {
  max-width: 600px;
  max-height: 400px;
}

.gallery-wrapper {
  height: 100%;
  width: 100%;
}

/* Countdown */
#countdown {
  color: var(--primary);
  font-size: 16px;
  line-height: 1.2;
}

#countdown li {
  display: inline-block;
  font-size: 1.5em;
  list-style-type: none;
  padding: 1em;
  text-transform: uppercase;
  color: #ccc;
}

#countdown li span {
  display: block;
  font-size: 4.5rem;
}

.emoji {
  display: none;
  padding: 1rem;
}

.emoji span {
  font-size: 4rem;
  padding: 0 0.5rem;
}
/* Countdown end */

img[src="/images/google-translate.png"] {
  height: 1.2em;
  width: 1.2em !important;
}

.go-top-btn {
  display: none;
  position: fixed;
  width: 50px;
  height: 50px;
  right: 20px;
  bottom: 20px;
  text-decoration: none;
  justify-content: center;
  align-items: center;
  font-size: 14px;
}
.go-top-btn:hover {
  text-decoration: none;
}


.main-menu-mobile ul li a {
  display: inline !important;
}

.summary p a {
   overflow-wrap: break-word;
   word-wrap: break-word; 
   -ms-word-break: break-all;
   word-break: break-all;
   word-break: break-word;
   -ms-hyphens: auto;
   -moz-hyphens: auto;
   -webkit-hyphens: auto;
   hyphens: auto;
}

.container.program-container {
  padding-bottom: 5rem;
}

summary.program-list-title  {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
summary::after {
  content: '';
  width: 0; 
  height: 0; 
  border-top: 10px solid white;
  border-inline: 7px solid transparent;
  transition: 0.2s;
}
details[open] > summary::after {
  transform: rotate(-180deg);
}

summary.program-list-title::-webkit-details-marker {
  display: none;
}

summary.program-list-title {
  color: white;
}

details.program-list-details {
  margin-top: 2rem;
  margin-bottom: 2rem;
  text-align: left;
}

details > *:not(summary) {
  margin-top: 1.5rem;  
}
