@font-face {
  font-family: 'Raleway';
  src: url('../fonts/Raleway-VariableFont_wght.ttf') format('truetype');
  font-weight: 1 999;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  list-style: none;
  list-style-type: none;
  text-decoration: none;
  outline: none;
  border: none;
  font-family: 'Raleway', sans-serif;
}

:root {
  --primary: #fbbf24;
  --primary-dark: #f59e0b;
  --primary-light: #fcd34d;
  --primary-gradient: linear-gradient(90deg, #fbbf24 0%, #f59e0b 100%);
  --secondary: #1f2937;
  --tertiary: #4b5563;
  --quaternary: #9ca3af;

  --block1: linear-gradient(135deg, #f4583a 0%,#cd1e38 100%);
  --block2: #1f2937;
  --block3: #1f2937;
  --block4: #1f2937;
  --block5: #1f2937;
}

@font-face {
  font-family: 'fontello';
  font-display: swap;
  src: url('../fonts/fontello.woff2') format('woff2');
}

html {
  scroll-behavior: smooth;
  background-color: #970838;
}

body {
  font-family: fontello, sans-serif;
  box-sizing: content-box;
  padding: 0;
  margin: 0;
  color: white;
  scroll-behavior: smooth;
  letter-spacing: 1px;
  line-height: 1.2;
  position: relative;
}

h1 {
  border-bottom: 0.75rem solid white;
  margin: 1.5rem 0;
  font-family: 'Raleway', sans-serif;
}

h2 {
  font-weight: 600;
}

section {
  height: 100vh;
  width: 100vw;
  scroll-snap-align: center;
}

#home {
  background: radial-gradient(#5c5c5c 0%,rgb(38 38 38) 100%);
}
#what {
  background: linear-gradient(135deg, #f4583a 0%,#cd1e38 100%);
}
#what h1 {
  color: #ff6d50;
  border: 0.75rem solid #ff6d50;
  padding: 0 1rem;
  text-shadow: 0 20px 40px rgba(0,0,0,.4);
}
#what h2, #what p {
  color: #ffc4b9;
}
#who {
  background: linear-gradient(235deg, #843af4 0%,#3a14b7 100%);
}
#who h1 {
  color: #9d5cff;
  border: 0.75rem solid #9d5cff;
  padding: 0 1rem;
  text-shadow: 0 20px 40px rgba(0,0,0,.4);
}
#who h2, #who p {
  color: #c4b9ff;
}
#where {
  display: flex;
  background: linear-gradient(135deg, #ef337e 0%,#970838 100%);
}
#where h1 {
  color: #fc5799;
  border: 0.75rem solid #fc5799;
  padding: 0 1rem;
  text-shadow: 0 20px 40px rgba(0,0,0,.4);
}
#where h2, #where p {
  color: #ffc4b9;
}

.block {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  padding: 0 1rem;
  align-items: center;
  height: 100vh;
  max-width: 700px;
  min-width: 300px;
  margin: 2rem auto;
  cursor: default;
  z-index: 1000;
}
.block h1 {
  line-height: 1;
  margin: 0;
  font-size: 2.25rem/* 36px */;
  line-height: 2.5rem/* 40px */;
}
.block p {
  max-width: 500px;
}
@media (max-width: 768px) {
  .block {
    padding: 0 2rem;
  }
  .block h1 {
    font-size: 3rem/* 48px */;
    line-height: 3.5rem/* 56px */;
  }
  .block p {
    max-width: 300px;
  }
}
.card-wrapper {
  display: flex; 
  flex-direction: column; 
  gap: 1.5rem; 
  justify-content: center; 
  align-items: center; 
  margin: 2rem 0;
}

@media (min-width: 768px) {
  .block h1 {
    font-size: 4.5rem/* 72px */;
    line-height: 1;
  }
  .card-wrapper {
    display: flex; 
    flex-direction: row; 
    gap: 1.5rem; 
    justify-content: center; 
    align-items: center; 
  }
}

p {
  font-weight: 300;
  font-size: 1rem/* 16px */;
  line-height: 1.5rem/* 24px */;
  margin: 1rem 0;
}

a {
  border-bottom: 0.25rem solid var(--primary)00;
  transition: all 0.2s ease-in-out;
}

a:hover {
  border-bottom: 0.25rem solid var(--primary);
}

.flex-row {
  display: flex;
  flex-direction: row;
  justify-content: start;
  align-items: center;
  gap: 0.7rem;
}
.flex-col {
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: start;
  gap: 0.3rem;
}

.icon {
  width: 1.5rem;
  height: 1.5rem;
}

.tools {
  display: flex; 
  flex-direction: row;
  padding-top: 2.5rem;
  padding-bottom: 2.5rem; 
  flex-wrap: wrap; 
  gap: 1rem; 
  justify-content: center; 
  align-items: center;
}
@media (max-width: 768px) {
  .tools {
    margin: 0 3rem;
  }
}

.badge {
  width: 3.5rem;
  height: 3.5rem;
  fill: white;
  transition: all 0.2s ease-in-out;
}

.badge:hover {
  fill: var(--primary);
  transform: scale3d(1.2);
  transition: all 0.2s ease-in-out;
}

.main-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  overflow: hidden;
  scroll-snap-type: y mandatory;
}

#particles-js {
  position: absolute;
  width: 100%;
  height: 100%;
  margin: 0;
  left: 0;
  top: 0;
}

.header {
  max-width: 500px;
  transform: translate3d(0, -3rem, 0);
  transition: all 0.2s ease-in-out;
}
@media (max-width: 768px) {
  .header {
    transform: translate3d(0, 0rem, 0)
  }
}
.header:hover {
  transform: translate3d(0, 4.5rem, 0);
  transition: all 0.2s ease-in-out;
}
.title {
  transition: all 0.18s ease-in-out;
  overflow: show;
  cursor: default;
  padding: 1rem;
  border: 0.5rem solid transparent;
  border-bottom: 0.5rem solid var(--primary);
  display: flex;
  justify-content: center;
  text-align: center;
  align-items: center;
  color: white;

  font-size: 3.75rem;
  line-height: 1;
  font-family: 'fontello', sans-serif;
  font-weight: 600;
}
@media (max-width: 768px) {
  .title {
    font-size: 3.25rem !important;
  }
}
.logo {
  transition: all 0.21s ease-in-out;
  filter: saturate(1) brightness(1);
  transform: translate3d(0, 0.5rem, 0);
  width: 50%;
  margin: 0 auto;
}
.leitmotiv {
  transition: all 0.2s ease-in-out;
  filter: drop-shadow(0 0 0rem white);
  transform: translate3d(0, 3rem, 0);
  opacity: 0;
}
.header:hover .title {
  border-bottom: 320px solid var(--primary);
  border-color: var(--primary);
  background-color: var(--primary);
  color: #262626;
  transition: all 0.18s ease-in-out;
}
.header:hover .logo {
  transform: scale3d(1.3, 1.3, 1.3) translate3d(0, -13.5rem, 0);
  transition: all 0.21s ease-in-out;
  filter: saturate(0) brightness(0.1);
  max-width: 500px;
}
.header:hover .leitmotiv {
  transform: translate3d(0, -13rem, 0);
  transition: all 0.2s ease-in-out;
  opacity: 1;
}
@media (max-width: 768px) {
  .header:hover .title {
    border-bottom: 240px solid var(--primary);
  }
  .header:hover .logo {
    transform: scale3d(1.2, 1.2, 1.2) translate3d(0, -11rem, 0);
  }
  .header:hover .leitmotiv {
    transform: translate3d(0, -10rem, 0);
  }
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #1f2937dd;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem 2rem;
  height: 3rem;
  z-index: 1002;
}

.navbar ul {
  display: flex; 
gap: 0.75rem; 
justify-content: center; 
align-items: center; 
height: 100%; 
color: #ffffff; 
z-index:999;
}

.navbar a {
  color: white;
  text-decoration: none;
  padding: 0.4rem 1rem;
  font-size: 1rem;
  font-weight: 300;
  transition: all 0.2s ease-in-out;
  outline: none;
  -webkit-tap-highlight-color: transparent;
  -firefox-tap-highlight-color: transparent;
  -ms-tap-highlight-color: transparent;
  -o-tap-highlight-color: transparent;
}

.navbar a:hover {
  color: var(--primary);
  border-bottom: 0.5rem solid var(--primary)
}

.flag {
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.flag div {
  display: flex;
  flex-direction: column;
}
.flag div h2 {
  font-weight: 500;
}

.card {
  width: 16rem;
  height: 14rem;
  padding: 2rem;
  font-size: 0.8rem;
  background: #1f293755;
  transition: all 0.2s ease-in-out;
  gap: 0.5rem;
  cursor: default;
  display: flex;
  flex-direction: column;
  text-align: start;
}

.card:hover {
  box-shadow: inset 0 0 0 0.5rem var(--primary);
}

.card strong {
  font-weight: 900;
  font-size: 1.2rem;
  padding-bottom: 0.3rem;
}

.card>* {
  margin-bottom: 0.2rem;
}

.card a {
  border-bottom: 0.25rem solid transparent;
  transition: all 0.2s ease-in-out;
  color: white;
}

.card a:hover {
  border-bottom: 0.25rem solid var(--primary);
}

.scroll-container {
  position: absolute;
  top: 0;
  right: 3rem;
  height: 100%;
  font-weight: 900;
  z-index: 1001;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
@media (max-width: 768px) {
  .scroll-container {
    right: 1rem;
  }
}

.scroll-container:before {
  content: '';
  display: block;
  height: 100vh;
  pointer-events: none;
}

.scroll-container a {
  position: sticky;
  top: 80vh;
  cursor: pointer;
  font-size: 5rem;
  border: 0;
}

.scroll-container a img {
  width: 4rem;
  height: 4rem;
  transition: all 0.3s ease-in-out;
}

.scroll-container a:hover img {
  transform: scale3d(1.2, 1.2, 1.2);
  transition: all 0.1s ease-in-out;
}

.toggle-particles {
  position: absolute;
  top: 0;
  left: 3rem;
  height: 100%;
  font-weight: 900;
  z-index: 1001;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
@media (max-width: 768px) {
  .toggle-particles {
    left: 2rem;
  }
}

.toggle-particles:before {
  content: '';
  display: block;
  height: 100vh;
  pointer-events: none;
}

.toggle-particles a {
  position: fixed;
  top: 80vh;
  cursor: pointer;
  font-size: 5rem;
  border: 0;
}

.toggle-particles a img {
  width: 2rem;
  height: 2rem;
  transition: all 0.3s ease-in-out;
}

.toggle-particles a:hover img {
  transform: scale3d(1.2, 1.2, 1.2);
  transition: all 0.1s ease-in-out;
}