/*----------------------------------

Made by Schwizer Design GmbH
Say hello @ schwizerdesign.ch

Titel: Funk International
Autor: Schwizer Design GmbH
Version 1.0

-----------------------------------*/

:root {
  --funk-blau: #003366;
  --funk-blau-light: #77b9fb;
  --funk-black: #000000;
  --funk-green: #51c519;

  --font-h1: 70px;
  --font-h2: 32px;
  --font-h3: 26px;
  --font-base: 18px;
  --font-caption: 18px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
}

/*----------------------------------
  Font
-----------------------------------*/

h1, h2, h3 {
  font-family: "Noto Serif", serif;
  font-optical-sizing: auto;
  font-size: var(--font-h2);
  letter-spacing: 0.5px;
  font-weight: 300;
  font-style: normal;
  font-variation-settings:
    "wdth" 300;
    color: var(--funk-blau);
}
h3 {
  font-size: var(--font-h3);
}

p, a, li, input, button, .map-legend {
  font-family: "Noto Sans", sans-serif;
  font-optical-sizing: auto;
  font-size: var(--font-base);
  font-weight: 300;
  letter-spacing: 0.025em;
  font-style: normal;
  font-variation-settings:
    "wdth" 300;
    color: var(--funk-black);
}

a {
  font-size: var(--font-caption);
  text-decoration: none;
}

button, .contact-button {
    background: var(--funk-blau);
    color: white;
    border: none;
    padding: 12px 26px 14px;
    border-radius: 50px;
    cursor: pointer;
    font-size: var(--font-caption);
    transition: background-color 0.3s ease-in-out;
}

button:hover,
.contact-button:hover {
  background-color: #004d99;
}




.material-symbols-outlined {
  font-variation-settings: "slnt" 0, "wght" 200;
}

/*----------------------------------
  header
-----------------------------------*/
  header {
    width: 100%;
    height: 100vh;
    position: relative;
    display: flex;
    justify-content: center;
  }

  /* hero */
  .hero {
    position: absolute;
    z-index: 1;
    text-align: center;
    margin: 30px;
    margin-top: 100px;
    max-width: 1200px;
    
  }
  .hero p {
    margin-top: 30px;
    color: var(--funk-blau-light);
    text-transform: uppercase;
    letter-spacing: 1.5px;
  }
  .hero h1 {
    margin-top: 30px;
    color: white;
    font-size: var(--font-h1);
    line-height: 110%;
  }

  .hero-logo {
    width: 100px;
  }

/*----------------------------------
  world
-----------------------------------*/
  .world {
    position: fixed;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    z-index: 2;
  }
  .world picture {
    position: absolute;
    bottom: -40%;
    z-index: 10;
  }
  .world picture img{
    height: 85vh;
  }
  .world-back {
    position: fixed;
    height: 100vh;
    width: 100%;
    background: #003366;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: flex-end;
  }
  .world-aura {
    height: 85vh;
    width: 70%;
    max-width: 1400px;
    position: absolute;
    bottom: -45%;
    filter: blur(60px);
    border-radius: 100% 100% 0px 0px;
    background: #75e1ff;
    z-index: 9;
    animation: puls 5s linear infinite;
  }

  @keyframes puls {
    0%, 100% {transform: scale(1);}
    50% { transform: scale(1.1);}
  }
/*----------------------------------
  stars
-----------------------------------*/
  .starry-sky {
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }

  .star {
    position: absolute;
    background-color: white;
    border-radius: 50%;
    animation: twinkling 3s linear infinite;
    opacity: 0.5;
  }

  @keyframes twinkling {
    0%, 100% { opacity: 0; }
    50% { opacity: 0.5; }
  }

  .star:nth-child(odd) {
    width: 3px;
    height: 3px;
  }

  .star:nth-child(even) {
    width: 4px;
    height: 4px;
  }

/*----------------------------------
  nav
-----------------------------------*/
  .nav {
    padding: 40px;
    width: 100%;
    position: absolute;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 30;
  }

  .back {
    text-decoration: none;
    display: flex;
    align-items: center;
    background-color: transparent;
    border: white 1px solid;
    padding: 10px 25px 10px 20px;
    border-radius: 50px;
    color: white;
    gap: 5px;
    transition: gap 0.3s ease-in-out;
  }

  .back:hover {
    gap: 10px;
  }
  
  .lang {
    position: relative;
    display: inline-block;
  }

  .lang-icon {
      background: transparent;
      width: 50px;
      height: 50px;
      border: 1px solid white;
      border-radius: 50%;
      display: flex;
      justify-content: center;
      align-items: center;
      cursor: pointer;
  }

  .nav span {
      color: white;
      font-size: 30px;
  }

  .lang-options {
      position: absolute;
      top: 0;
      right: 60px;
      display: flex;
      gap: 10px;
  }
  .lang-button:nth-child(1) {
      transition: opacity 0.2s ease, transform 0.3s ease;
  }
  .lang-button:nth-child(2) {
      transition: opacity 0.2s ease 0.1s, transform 0.3s ease 0.1s;
  }
  .lang-button:nth-child(3) {
      transition: opacity 0.2s ease 0.2s, transform 0.3s ease 0.2s;
  }
  
  .lang-button.hidden {
      opacity: 0;
      pointer-events: none;
      transform: translateX(20px);
  }

  .lang-button {
      background: white;
      color: var(--funk-blau);
      text-decoration: none;
      padding: 15px 20px;
      border-radius: 50%;
      text-align: center;
      width: 50px;
      height: 50px;
      display: flex;
      justify-content: center;
      align-items: center;
  }

  .lang-button.active {
      background: var(--funk-blau);
      border: white solid 1px;
      color: white;
  }

  .sd {
    display: inline-block;
    opacity: 0.75;
  }



/*----------------------------------
  basic
-----------------------------------*/
  section {
    position: relative;
    background-color: white;
    width: 100%;
    z-index: 10;
  }

  article {
    max-width: 1000px;
    padding: 60px 40px 120px;
    margin: 0 auto;
  }

  article.intro {
    padding: 60px 40px 40px;
  }

  .intro h2 {
    color: var(--funk-blau);
  }

  .colum {
    display: flex;
    gap: 50px;
    margin-top: 30px;
  }
  .colum-item {
    flex: 1;
  }


/*----------------------------------
  country cta
-----------------------------------*/
article.report-container {
    position: relative;
    text-align: center;
    padding: 40px;
    max-width: 1200px;
}

/* map area */

.report-container .map {
    position: relative;
}

.map-point {
    position: absolute;
    width: 15px;
    height: 15px;
    border: red solid 1.5px;
    border-radius: 50%;
    animation: puls-map 2s infinite;
}

@keyframes puls-map {
    0%, 100% {
        transform: scale(0.5);
        
    }
    50% {
        transform: scale(1);
        
    }
}

.map-legend {
  display: flex;
  gap: 20px;
  margin-top: 10px;
  font-size: 14px;
  align-items: center;
  flex-wrap: wrap;
  position: absolute;
  width: 100%;
  justify-content: flex-end;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.legend-color {
  width: 16px;
  height: 16px;
  display: inline-block;
  border-radius: 3px;
}

.report-download {
    position: absolute;
    display: flex;
    width: calc(100% - 60px);
    top: 80px;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.report-download h2{
    font-size: var(--font-h1);
    line-height: 115%;
    margin: 10px 0 40px;
}

.report-search {
    margin-top: 20px;
}

.report-search-function {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.search-input {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 50px;
    padding: 5px 5px 5px 25px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    justify-content: space-between;
    width: 600px;
}

.search-input div {
    display: flex;
    align-items: center;
}

.search-input input {
    border: none;
    outline: none;
    margin-left: 5px;
}

#locationIcon, .red {
  color: red;
}

#downloadButton {
    display: flex;
    align-items: center;
    gap: 8px;
    transition: padding 0.3s ease-in-out, background-color 0.3s ease-in-out;
}

#downloadButton:hover {
    padding-right: 40px;

}

#countryList {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 600px;
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    border-radius: 20px;
    gap: 10px;
    background-color: rgba(255, 255, 255, 0.5);
    padding: 10px;
    justify-content: center;
}

#countryList li {
    padding: 10px 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    background: #fff;
    border-radius: 50px;
    cursor: pointer;
    text-align: left;
    border: white 1px solid;
    transition: border 0.3s, opacity 0.3s;
    font-size: 16px;
}

#countryList li:hover {
    border: red 1px solid;
}

#countryList:hover li {
    opacity: 0.5;
}

#countryList li:hover {
    opacity: 1; 
}

.hidden-land {
    display: none !important;
}

.error-message {
  color: red;
  font-size: 0.9em;
  margin-bottom: 5px;
}

.modal {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999;
}

.hidden-modal {
    display: none;
}

.modal-content {
    position: relative;
    background: white;
    padding: 30px;
    border-radius: 10px;
    max-width: 400px;
    width: 90%;
    text-align: center;
}

.modal-content input {
    width: 100%;
    padding: 10px;
    margin: 5px 0;
}

#contactForm  {
  margin-top: 40px;
}

#contactForm button {
  margin-top: 20px;
}

.close-modal-btn {
  position: absolute;
  padding: 0;
  top: -20px;
  right: -20px;
  width: 50px;
  height: 50px;
  background: var(--funk-blau);
}

.modal-content-pdf {
    position: relative;
    background: white;
    padding: 0px;
    border-radius: 10px;
    max-width: 1440px;
    width: 100%;
    display: flex;
    flex-direction: column;
    margin: 40px;
    text-align: center;
}

#pdfFrame {
    width: 100%;
    min-height: 90vh; 
}


/*----------------------------------
Facts & Figures
-----------------------------------*/

article.facts {
    background: var(--funk-blau);
    color: white;
    text-align: center;
    padding: 120px 20px;
    max-width: 100%;
}

.facts h2 {
    color: var(--funk-blau-light);
    font-size: var(--font-h2);
    margin-bottom: 40px;
}

.facts-container {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    max-width: 1000px;
    margin: 0 auto;
}

.fact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 180px;
}

.fact-item span.facts-icon {
  color: var(--funk-green);
  font-size: 80px;
  display: flex;
  border: var(--funk-green) solid 2px;
  padding: 20px;
  border-radius: 90px;
  margin-bottom: 30px;
}

.fact-item p {
    margin: 0px 0 5px;
    font-size: var(--font-caption);
    color: #cde3f7;
}

.fact-item h3 {
    font-size: 36px;
    color: white;
    margin: 0;
}

/*----------------------------------
    Slider
-----------------------------------*/

article.testimonials {
    background: var(--funk-blau);
    color: white;
    text-align: center;
    padding: 80px 20px;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.slider {
  max-width: 1200px;
  width: 100%;
  overflow: hidden;
  position: relative;
}

.slides {
  display: flex;
  transition: transform 1.5s ease-in-out;
  align-items: center;
}

.slide {
  min-width: 100%;
  box-sizing: border-box;
  text-align: center;
  padding: 0 40px;
}

.slide h2 {
  color: white;
  font-style: italic;
  font-size: var(--font-h3);
}
.slide p {
  color: white;
}
.slide p strong {
  display: block;
}
.slide img {
  height: 30px;
  margin-top: 30px;
  margin-bottom: 50px;
}
.slide img.logo {
  height: 80px;
}

.bullets {
  text-align: center;
  margin-top: 10px;
}

.bullet {
  display: inline-block;
  width: 15px;
  height: 15px;
  margin: 0 5px;
  border: white solid 1px;
  border-radius: 50%;
  cursor: pointer;
}

.bullet.active {
  background-color: white;
}

/*----------------------------------
  video
-----------------------------------*/


.video-gallery {
  text-align: center;
  padding: 60px 20px;
}

.video-grid {
  display: flex;
  flex-wrap: nowrap;
  gap: 20px;
  justify-content: center;
}

.video-item {
  width: 300px;
  cursor: pointer;
}

.video-thumbnail {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 200px;
}

.video-thumbnail picture {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--funk-blau);
}

.video-thumbnail img {
  width: 100%;
  opacity: 0.75;
  transition: width 0.5s ease-in-out;
}

.video-thumbnail:hover img {
  width: 110%;
}

.play-icon {
  position: absolute;
  font-size: 60px !important;
  color: white;
  opacity: 1;
  text-shadow: 0 4px 10px rgba(0,0,0,0.9);
}

.modal-content-video {
    position: relative;
    background: rgb(0, 0, 0);
    padding: 0px;
    border-radius: 10px;
    max-width: 1440px;
    width: 100%;
    display: flex;
    margin: 40px;
}

.modal-content-video iframe {
  width: 100%;
  height: 90vh;
}

/*----------------------------------
  Contact
-----------------------------------*/

article.contact {   
    height: 100vh;
    max-width: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
}

.contact-image {
    position: absolute;
    width: 100%;
    height: 90vh;
    overflow: hidden;
}

.contact-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.contact-text {
    position: absolute;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 60px;
    width: 45%;
    gap: 5px;
}

.contact-text h2 {
    margin-bottom: 0px;
}

/*----------------------------------
  Mehr Themen
-----------------------------------*/


.themen .colum {
    margin-bottom: 40px;
}

.themen .colum-item {
    background-color: #cde3f7;
    padding: 40px 30px 30px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 20px;
}

.themen p, .themen h3 {
    margin: 0px;
}


.more-button {
    color: var(--funk-blau);
    border: var(--funk-blau) solid 1px;
    padding: 12px 26px 14px;
    border-radius: 50px;
    cursor: pointer;
    transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out; 
  
}

.more-button:hover {
  color: white;
  background-color: #004d99;
}


/*----------------------------------
  Footer
-----------------------------------*/
footer  {
    display: flex;
    gap: 160px;
    z-index: 11;
    position: relative;
    flex-direction: column;
  }

footer p, footer a {
    color: white;
    display: block;
    font-size: var(--font-caption);
    transition: opacity 0.2s ease-in-out;
    margin: 0;
  }

footer img.icon {
  height: 12px;
}

footer a:hover {
  opacity: 0.5;
}

.footer-cont  {
    display: flex;
    padding: 40px 30px;
    gap: 30px;
    justify-content: space-between;
    align-items: flex-start;
  }
.footer-icon {
  display: flex;
  flex-direction: row;
  gap: 10px;
}

.footer-cont.bottom  {
    padding: 10px 30px;
    background-color: var(--funk-blau);
  }

.bottom a,
.bottom p  {
    font-size: 14px;  
    margin: 0;
  }

.footer {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 20px;
}

.footer-logo img {
  width: 100px;
}

/*----------------------------------
    Side-Content
-----------------------------------*/

.sidebar {
  position: fixed;
  top: 30%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 5px;
  z-index: 1000;
}

#sidebar {
  right: -200px;
  transition: right 0.4s ease;
}

#sidebar.sidebar-visible {
  right: -130px;
}

.sidebar-item {
  background-color: var(--funk-green);
  color: white;
  width: 180px;
  height: 50px;
  border-radius: 5px 0px 0px 5px;
  gap: 15px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-left: 10px;
  position: relative;
  right: 0;
  transition: right 0.3s ease-in-out;
  cursor: pointer;
}
.sidebar-item p {
  color: white;
  font-size: var(--font-base);
}

.sidebar-item .material-symbols-outlined {
  font-size: 30px;
}

.sidebar-item:hover {
  right: 120px;
}

/*----------------------------------
    Cookiebanner
-----------------------------------*/

#cookiebanner {
  position: fixed;
  bottom: -400px;
  border-radius: 10px;
  max-width: 420px;
  margin: 30px;
  background-color: white;
  padding: 20px 30px;
  z-index: 9999;
  transition: bottom 0.5s cubic-bezier(0.2, 0.8, 0.3, 2);
}

#cookiebanner p {
  color: var(--funk-blau);
  font-size: var(--font-base);
  margin: 0 0 25px;
  line-height: 1.4;
}

#cookiebanner.visible {
  bottom: 40px;
}

.buttonC {
  display: flex;
  gap: 10px;
}

#declineBtn, #acceptBtn {
  padding: 15px 20px;
  border-radius: 100px;
  margin: 0;
  transition: padding 0.5s, background-color 0.5s;
}

#declineBtn {
  background:none;
  border: 1px solid var(--funk-blau); 
  color: var(--funk-blau);
}

#acceptBtn {
  border: none;
  background: var(--funk-blau);
  color: white;
}

#acceptBtn:hover,
#declineBtn:hover {
  padding: 15px 40px;
}


/*----------------------------------
  Responsiv
-----------------------------------*/

@media (max-width: 1040px) {

}

@media (max-width: 850px) {
:root {
  --font-h1: 45px;
  --font-h2: 25px;
  --font-h3: 22px;
  --font-base: 16px;
  --font-caption: 16px;
}

.hero {
  margin-top: 150px;
  z-index: 2;
}
.nav {padding: 20px;}
.nav span {font-size: 25px;}
.back {padding: 5px 15px 5px 15px;}
.lang-icon, .lang-button { width: 40px; height: 40px;}
.lang-options {gap: 5px; right: 50px;}
article {padding: 40px 30px 80px;}
article.intro {padding: 40px 30px 40px;}
.colum {flex-direction: column; gap: 10px;}

/* report */
article.report-container {padding: 30px;}
.report-download {top: 20px;}
.search-input {width: 100%;}
.search-input input {width: 100%;}
.report-download h2 {margin: 10px 0px 0px;}
#downloadButton {padding: 10px 16px 12px;}
.map-point {opacity: 0.5;}
.report-download h2 {line-height: 110%;}
#countryList {
    width: auto;
    flex-direction: row;
    flex-wrap: wrap;
    border-radius: 20px;
    gap: 5px;
    background-color: rgba(255, 255, 255, 1);
    padding: 10px 10px 20px;
    justify-content: flex-start;
}
#countryList li {padding: 8px 10px; font-size: 14px;}

/* slider */
.slide h2 {font-size: 16px;}

/* video */
.video-grid {flex-direction: column; align-items: center;}
.video-gallery {padding-bottom: 0px;}
.modal-content-video iframe {height: 70vh;}

/* contect */
.contact-text {width: 100%; padding: 30px;}
.contact-text p, .contact-text h2  {color: white;text-shadow: 2px 2px 10px black;}
article.contact {align-items: flex-end; height: 70vh;}
.contact-image {height: 70vh;}
.contact-image img {object-position: left;}

/* next theme */
.themen .colum {margin-bottom: 0px; margin-top: 10px;}


/* footer */
footer {gap: 0;}
footer p {font-size: 14px;}
.footer-cont, .footer {flex-direction: column;}
.footer-cont {background-color: var(--funk-blau);}
.footer {gap: 10px; }
.footer.resp {gap: 40px;}
.footer-cont.bottom {padding: 30px;}
}
