:root {
  --gap: 5px;
  --max-width: 1200px;
}

body {
  opacity: 0;
  animation: fadeIn 0.5s ease-in forwards;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

html, body {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  font-size: 16px;  
  line-height: 1.6;
}



header {
  position: sticky;
  top: 0;
  background: #ffffff;
  border-bottom: 2px solid #ddd;
  z-index: 1000;
  width: 100%;
}

.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 20px 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.nav-container img {
  height: 80px;
  width: auto;
  display: block;
  margin-bottom: 40px;
}


#nav-toggle {
  display: none;
}

.nav-label {
  display: block;
  width: 45px;
  height: 35px;
  position: relative;
  cursor: pointer;
  user-select: none;
  margin: 10px 0;
}

.nav-label span,
.nav-label span::before,
.nav-label span::after {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #81162b;
  border-radius: 2px;
  will-change: transform;
}


.nav-label span {
  top: 50%;
  transform: translateY(-50%);
}

.nav-label span::before {
  top: 50%;
  transform: translateY(-12px);
  animation: pulse-top 6s infinite alternate ease-in-out;
}

.nav-label span::after {
  top: 50%;
  transform: translateY(12px);
  animation: pulse-bottom 6s infinite alternate ease-in-out;
}

@keyframes pulse-top {
  0% { transform: translateY(-12px); }
  50% { transform: translateY(-16px); }
  100% { transform: translateY(-12px); }
}

@keyframes pulse-bottom {
  0% { transform: translateY(12px); }
  50% { transform: translateY(16px); }
  100% { transform: translateY(12px); }
}

#nav-toggle:checked + .nav-label span::before,
#nav-toggle:checked + .nav-label span::after {
  animation-play-state: paused;
}


nav {
  max-height: 0;
  overflow: hidden;
  width: 100%;
  text-align: center;
  margin-top: 4px;

  display: flex;
  flex-direction: column;
  align-items: center;

  transition: max-height 0.5s ease;
}

nav a {
  text-decoration: none;
  color: #999999;
  padding: 4px 0;
  border-radius: 4px;
  font-size: 1.05em;
line-height: 1.1;
  opacity: 0;
  transform: translateY(-10px);

  transition: opacity 0.3s ease, transform 0.3s ease;
}

nav a:nth-child(1) { transition-delay: 0.05s; }
nav a:nth-child(2) { transition-delay: 0.10s; }
nav a:nth-child(3) { transition-delay: 0.15s; }
nav a:nth-child(4) { transition-delay: 0.20s; }
nav a:nth-child(5) { transition-delay: 0.25s; }
nav a:nth-child(6) { transition-delay: 0.30s; }
nav a:nth-child(7) { transition-delay: 0.35s; }

#nav-toggle:checked ~ nav {
  max-height: 1000px;
}

#nav-toggle:checked ~ nav a {
  opacity: 1;
  transform: translateY(0);
}

#nav-toggle:not(:checked) ~ nav a:nth-child(1) { transition-delay: 0.35s; }
#nav-toggle:not(:checked) ~ nav a:nth-child(2) { transition-delay: 0.30s; }
#nav-toggle:not(:checked) ~ nav a:nth-child(3) { transition-delay: 0.25s; }
#nav-toggle:not(:checked) ~ nav a:nth-child(4) { transition-delay: 0.20s; }
#nav-toggle:not(:checked) ~ nav a:nth-child(5) { transition-delay: 0.15s; }
#nav-toggle:not(:checked) ~ nav a:nth-child(6) { transition-delay: 0.10s; }
#nav-toggle:not(:checked) ~ nav a:nth-child(7) { transition-delay: 0.05s; }

nav a:hover {
  color: #81162b;
  
  transition: color 0.2s ease; 
}


nav a.active {
  font-weight: 500;
  color: #81162b;
}

.container {
  width: 85%;         
  max-width: 650px;   
  margin: 20px auto;
  padding: 20px;
  background-color: #ffffff;
  border-radius: 8px;
  color: #616161;
}

.container h1, .container p {
    margin-bottom: 15px;
}

.footer {
  background-color: #f9f9f9;
  border-top: 1px solid #ffffff;
  padding: 20px 10px;
  margin-top: 90px;
  text-align: center;
  font-size: 12px;
  line-height: 3px;
  color: #999999;
}

.footer a {
  color: #81162b;
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

.copyright {
  text-align: center;
  font-size: 10px;
  color: #bbbbbb;
  margin: 20px 0;
}


a[href^="tel"] {
  color: inherit;        
  text-decoration: none;  
}

.fett {
  font-weight: bold;
  color: #81162b;
}

