* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    color: #232323;
    background: #f3f5fb;
    min-height: 100vh;
    line-height: 1.6;
    background: url("pictures/landschaft.jpg") center center / cover no-repeat fixed;
}

.page {
    display: flex;
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

main {
    flex: 1;
}

section {
    margin-bottom: 40px;
    padding: 24px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.05);
    opacity: 0.9;
}

h1,
h2 {
    margin-top: 0;
    color: #193b80;
    border-bottom: 3px solid #193b80;
}

.side-nav {
    width: 240px;
    position: sticky;
    top: 20px;
    align-self: flex-start;
    background: white;
    border-radius: 18px;
    padding: 14px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.05);
}

.nav-title {
    margin: 0 0 18px;
    font-weight: 700;
    font-size: 1.5rem;
    color: #444;
}

.side-nav a {
    display: block;
    margin-bottom: 12px;
    padding: 12px 14px;
    text-decoration: none;
    color: #2a3f7d;
    border-radius: 12px;
    transition: background 0.2s, color 0.2s;
    text-align: center;
}

.side-nav a:hover {
    background: #e8f0ff;
    color: #13326f;
}

@media (max-width: 980px) {
    .page {
        flex-direction: column;
    }
    .side-nav {
        position: relative;
        top: auto;
        width: 100%;
    }
}

.back-button-fixed {
    position: fixed;
    bottom: 250px;
    right: 200px;
    background: #2a3f7d;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 8px;
    transition: background 0.2s, color 0.2s;
}

/* Style the word blocks */
.word {
  display: inline-block;
  opacity: 0; /* Hide the words at start */
  transform: translateY(10px); /* Move them down slightly */
  animation: showWord 0.5s forwards;
  font-size: 20px /* Trigger the animation */
}

@keyframes showWord {
  to {
    opacity: 1;
    transform: translateY(0); 
  }
}
.word:nth-child(1) { animation-delay: 0.1s; }
.word:nth-child(2) { animation-delay: 0.4s; }
.word:nth-child(3) { animation-delay: 0.7s; }
.word:nth-child(4) { animation-delay: 1.0s; }
.word:nth-child(5) { animation-delay: 1.3s; }
.word:nth-child(6) { animation-delay: 1.6s; }
.word:nth-child(7) { animation-delay: 1.9s; }
.word:nth-child(8) { animation-delay: 2.2s; }
.word:nth-child(9) { animation-delay: 2.5s; }
.word:nth-child(10) { animation-delay: 2.8s; }
.word:nth-child(11) { animation-delay: 3.1s; }
.word:nth-child(12) { animation-delay: 3.4s; }
.word:nth-child(13) { animation-delay: 3.7s; }
.word:nth-child(14) { animation-delay: 4.0s; }
.word:nth-child(15) { animation-delay: 4.3s; }
.word:nth-child(16) { animation-delay: 4.6s; }
.word:nth-child(17) { animation-delay: 4.9s; }
.word:nth-child(18) { animation-delay: 5.2s; }
.word:nth-child(19) { animation-delay: 5.5s; }
.word:nth-child(20) { animation-delay: 5.8s; }
.word:nth-child(21) { animation-delay: 6.1s; }
.word:nth-child(22) { animation-delay: 6.4s; }
.word:nth-child(23) { animation-delay: 6.7s; }
.word:nth-child(24) { animation-delay: 7.0s; }
.word:nth-child(25) { animation-delay: 7.3s; }
.word:nth-child(26) { animation-delay: 7.6s; }
.word:nth-child(27) { animation-delay: 7.9s; }
.word:nth-child(28) { animation-delay: 8.2s; }
.word:nth-child(29) { animation-delay: 8.5s; }
.word:nth-child(30) { animation-delay: 8.8s; }
.word:nth-child(31) { animation-delay: 9.1s; }
.word:nth-child(32) { animation-delay: 9.4s; }
.word:nth-child(33) { animation-delay: 9.7s; }
.word:nth-child(34) { animation-delay: 10.0s; }
.word:nth-child(35) { animation-delay: 10.3s; }
.word:nth-child(36) { animation-delay: 10.6s; }
.word:nth-child(37) { animation-delay: 10.9s; }
.word:nth-child(38) { animation-delay: 11.2s; }
.word:nth-child(39) { animation-delay: 11.5s; }
.word:nth-child(40) { animation-delay: 11.8s; }
.word:nth-child(41) { animation-delay: 12.1s; }
.word:nth-child(42) { animation-delay: 12.4s; }
.word:nth-child(43) { animation-delay: 12.7s; }
.word:nth-child(44) { animation-delay: 13.0s; }
.word:nth-child(45) { animation-delay: 13.3s; }
.word:nth-child(46) { animation-delay: 13.6s; }
.word:nth-child(47) { animation-delay: 13.9s; }
.word:nth-child(48) { animation-delay: 14.2s; }
.word:nth-child(49) { animation-delay: 14.5s; }
.word:nth-child(50) { animation-delay: 14.8s; }
.word:nth-child(51) { animation-delay: 15.1s; }
.word:nth-child(52) { animation-delay: 15.4s; }
.word:nth-child(53) { animation-delay: 15.7s; }
.word:nth-child(54) { animation-delay: 16.0s; }
.word:nth-child(55) { animation-delay: 16.3s; }
.word:nth-child(56) { animation-delay: 16.6s; }
.word:nth-child(57) { animation-delay: 16.9s; }
.word:nth-child(58) { animation-delay: 17.2s; }
.word:nth-child(59) { animation-delay: 17.5s; }
.word:nth-child(60) { animation-delay: 17.8s; }
.word:nth-child(61) { animation-delay: 18.1s; }
.word:nth-child(62) { animation-delay: 18.4s; }
.word:nth-child(63) { animation-delay: 18.7s; }
.word:nth-child(64) { animation-delay: 19.0s; }
.word:nth-child(65) { animation-delay: 19.3s; }
.word:nth-child(66) { animation-delay: 19.6s; }
.word:nth-child(67) { animation-delay: 19.9s; }

p {
    font-size: 20px;
}