
.instrument-serif-regular {
  font-family: "Instrument Serif", serif;
  font-weight: 400;
  font-style: normal;
}

.instrument-serif-regular-italic {
  font-family: "Instrument Serif", serif;
  font-weight: 400;
  font-style: italic;
}
html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
}


body.dark-mode{
    background-color: #121212;
    color: #e0e0e0;
}

body.dark-mode .navbar,
body.dark-mode .footer,
body.dark-mode .box,
body.dark-mode .content p{
    background-color: #1e1e1e;
    border-color: #333;
}

body.dark-mode a{
    color: #e0e0e0;
}
body.dark-mode button{
    background-color: #1e1e1e;
    color: #e0e0e0;
    border: 1px solid #333;
    border-radius: 4px;
}

body.dark-mode button:hover{
    background-color: #2a2a2a;
}


body{
    font-family: "Instrument Serif", sans-serif;
    font-size: large;
    overflow-x: hidden;

}
body.open-sans {
    font-family: "Open Sans", sans-serif;
    font-size: 16px;
    font-weight: 300;
}
a{
    text-decoration: none;
    color: black;
}

.navbar {
    width: 100%;
    height: 50px;

    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 20px;

    padding: 0 30px;

    box-sizing: border-box;
    background-color: #f6f6f6;
    border-bottom: 1px solid #dee2e6;
}

/* Einheitliche Buttons */
.navbar button,
.navbar a {
    font: inherit;
    font-size: 16px;

    padding: 6px 14px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 6px;
    border: 1px solid transparent;

    transition: 0.2s ease;
}

/* Hover einheitlich */
.navbar a:hover {
    text-decoration: underline;
    transform: scale(1.08);
}

.navbar button:hover {
    background-color: rgba(0,0,0,0.05);
}
h1{
    width: 100%;
    margin: 0;
    text-align: center;
    margin-top: 30px;

}
h3{
    width: 100%;
    margin: 0;
    text-align: center;
    margin-bottom: 30px;
}
.container{
    display: flex;
    justify-content: center;
    gap: 40px;
    width: 100%;
    margin-bottom: 40px;
}
.box{
    width: 25%;
    max-width: 500px;
    height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    border-radius: 12px;
    border: 1px solid #dee2e6;
    background-color: #f6f6f6;
}
.box h2{
    margin-bottom: 10px;
}
.box p {
    width: 80%;
    margin: 0 auto;
}
.link-box{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;

    text-decoration: none;
    color: black;

    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.link-box:hover{
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}
.footer{
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 50px;
    width: 100%;
    height: 50px;
    background-color: #f6f6f6;
    border-top: 1px solid #dee2e6 ;
    gap: 40px;
}
.footer a:hover{
    text-decoration: underline;
}
@media (max-width: 1000px){
    .container{
        flex-direction: column;
        align-items: center;
        margin-top: 50px;
    } 
    .box{
        width: 80%;
    }
}
