/* Global box-sizing and resets */
*, *::before, *::after { box-sizing: border-box; }

/* HEADER */
html, body {
  height: 100%;
  margin: 0;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
}

body {
  background: #282A35;
  display: flex;
  flex-direction: column;
  font-family: "TTNormsProRegular", roboto, freesans, arial, "system-ui", sans-serif;
}

header {
  position:fixed;
  top:0;
  left:0;
  right:0;
  background:rgba(255,255,255,0);
  backdrop-filter: blur(6px);
  z-index:100;
}


.header-content {
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  align-items:center;
  padding:16px 32px;
  width: 100%;
}

.brand {
  font-weight:800;
  font-size:24px;
  color:#ffffff;
  line-height:1;
}
.slogen {
  color:#ffffff;
  font-weight:300;
  font-size:16px;
}
.brand-slo {
  display:flex;
  justify-content: left;
  align-items:  baseline;
  gap:8px;
}

nav {
  display:flex;
  gap:24px;
  position: relative;
}
nav a {
  text-decoration:none;
  color:#ffffff;
  font-weight:600;
  font-size:16px;
}
nav a.small {font-weight:400; font-size:14px; color:#ffffff;}

/* Dropdown Styles */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-toggle {
  cursor: pointer;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 8px;
  padding: 8px 0;
  min-width: 180px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 1000;
}

.dropdown-menu a {
  display: block;
  padding: 8px 16px;
  color: #333;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  transition: background-color 0.2s ease;
}

.dropdown-menu a:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

.dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown:hover .dropdown-toggle {
  color: #f0f0f0;
}

.lang {
  display: flex;
  gap: 8px;
  justify-content: right;
  align-items: center;
  margin-right: 80px;
}
.lang a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
}
.lang a.active {
  text-decoration: underline;
}

main {
  flex:1;
  padding-top:60px; /* space for header */
  width:100%;
}

.hero-text {
  color:#fff;
  text-shadow:0 2px 8px rgba(0,0,0,0.6);
  font-size:28px;
  font-weight:600;
  max-width:700px;
  text-align:center;
}

.slideshow {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
}
.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.slide.active {
  opacity: 1;
}



/* GENERAL */
input {
  width: 100%;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
  background: #fff;
  font-size: 20px;
}
label{
  color: #fff;
}

@media (max-width:880px){
  nav {gap:12px;}
  .brand {font-size:20px;}
  .role {font-size:14px;}
  .hero-text {font-size:20px;}
  .MidiProgramEditor {
    flex-direction: column;
  }
}