* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

@font-face {
    font-family: SpaceGrotesk;
    src: url("fonts/SpaceGrotesk-Regular.ttf");
}

body {
    font-family: SpaceGrotesk;
    display: flex;
    flex-direction: column; /* Anordnung von oben nach unten */
    justify-content: flex-start; /* Beginne oben */
    align-items: center;
    height: 100vh;
    margin: 0;
    background-color: #fff;
}

a {
    text-decoration: none;
    color: #000;
}

.menu {
    width: 100%;
    margin-top:30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

h2 {
    font-size: 24px;
    font-family: SpaceGrotesk;
    margin-top: 10px;
    margin-left: -50px;
    font-weight: 500;
}

h3 {
    font-size: 24px;
    font-family: SpaceGrotesk;
    margin-top: 10px;
    font-weight: 500;
}

.main-container {
    width: 80%;
    max-width: 1200px;
    height: 600px;
    display: flex;
    box-shadow: 0px 1px 4px rgba(0, 0, 0, 0.25); /* Neuer Schatteneffekt */
    border-radius: 8px;
    background-color: #fff;
    margin-top: 100px; /* Abstand von der Menüleiste */
}

.button-container {
    width: 20%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 20px;
    box-sizing: border-box;
}

.button-container button {
    font-family: SpaceGrotesk;
    height: 50px;
    padding: 10px;
    margin-bottom: 15px;
    font-size: 16px;
    cursor: pointer;
    border: none;
    border-radius: 30px;
    background-color: #fff;
    color: #0d0d0d;
    box-shadow: 0px 1px 4px rgba(0, 0, 0, 0.25);
}

.button-container button:hover {
    background-color: #0d0d0d;
    transition: none;
    color: #fff;
}

.button-container button.active {
    background-color: #0d0d0d;
    color: #fff;
}


.content-container {
    width: 90%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
}

.content {
    display: none;
    width: 100%;
    height: 100%;
    background-color: #f4f4f4;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    font-weight: bold;
    color: #0d0d0d;
    border-radius: 8px;
}

.content.hidden {
    display: none;
}

.content:not(.hidden) {
    display: flex;
}


.menu svg {
    position: absolute;
    padding-top: 3px;
    margin-left: 6px;
    height: 30px;
    width: auto; 
  }


/* Media Query für mobile Geräte */
@media (max-width: 750px) {
    .main-container {
        flex-direction: column;
        height: auto; /* Automatische Höhe für den Inhalt */
    }
    .button-container {
        width: 100%;
        border-right: none; /* Kein rechter Rand in mobiler Ansicht */
        border-bottom: 2px solid #ccc; /* Unterer Rand statt rechter Rand */
    }
    .content-container {
        width: 100%;
    }
}
