:root {
  --font-main: 'DM Sans';
  --color-bg: #1f2021;
  --color-text: #eaeaea;
  --color-accent: #0078ff;
  --color-footer-bg: #111;
  --color-footer-text: #eee;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-main);
  background: var(--color-bg);
  color: var(--color-text);
  overflow-x: hidden;
}

header {
  width: 100%;
  background-image: url(assets/bilder/black-white-brush-stroke-textured-background.jpg);
  background-color: rgba(51, 51, 51, 0.6);
  background-blend-mode: multiply;
  background-size: cover;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  padding: 1rem 0;
}

.navbar {
  width: 95%;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  max-width: 20%;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 15px;
  padding: 5px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  background: rgba(255,255,255,0.1);
  padding: 0.5rem 1rem;
  border-radius: 8px;
}

.nav-links a {
  text-decoration: none;
  color: white;
  transition: 0.2s;
}

.nav-links a:hover {
  color: var(--color-accent);
}

.menu {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 35px;
  height: 30px;
  cursor: pointer;
  z-index: 1000;
}

.menu span {
  width: 25px;
  height: 3px;
  background: white;
  border-radius: 2px;
}

.textbox {
  position: relative;
  width: 100vw;
  height: 350px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding-top: 1rem;
}

.textbox-video {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}

.textbox h1 {
  font-size: 2rem;
  z-index: 2;
  color: white;
}

.textbox p {
  z-index: 2;
  color: #eaeaea;
}

main {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
  text-align: center;
}


.about-section, .partner-section, .contact-section {
  text-align: center;
}

.about-section h2,
.partner-section h2,
.contact-section h2 {
  color: white;
  margin-bottom: 1rem;
}

.about-section p {
  max-width: 800px;
  margin: auto;
  margin-bottom: 1.5rem;
  color: #d9d9d9;
  line-height: 1.7;
}

.partner-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  padding: 1rem;
}

.partner-box {
  background: #2a2a2a;
  padding: 1.2rem;
  border-radius: 10px;
  color: white;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.contact-box {
  background: #2a2a2a;
  padding: 1.5rem;
  border-radius: 10px;
  max-width: 450px;
  margin: auto;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  line-height: 1.7;
}

footer {
  width: 100%;
  background: var(--color-footer-bg);
  color: var(--color-footer-text);
  text-align: center;
  padding: 1rem 0;
  font-size: 0.7rem;
}

@media (max-width: 768px) {
  .menu {
    display: flex;
    position: absolute;
    right: 1.2rem;
  }

  .navbar {
    justify-content: flex-start;
    position: relative;
  }

  .partner-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .nav-links {
    position: fixed;
    top: 0;
    right: -250px;
    height: 100%;
    width: 250px;
    background: #303030;
    flex-direction: column;
    align-items: flex-start;
    padding: 4rem 1rem;
    gap: 1.5rem;
    box-shadow: -2px 0 6px rgba(0,0,0,0.1);
    transition: right 0.3s ease;
    z-index: 999;
  }

  .nav-links.active {
    right: 0;
  }

  .textbox h1 {
    font-size: 1.5rem;
  }

  .logo {
    margin-left: 0.5rem;
  }
}
