/* styles.css */
@font-face {
    font-family: 'Schoolbell';
    src: 
         url('Schoolbell-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}


/* General Styling */
html {
    min-height: 100vh;
}
body {
    max-width: 1024px;
    margin: auto; /* Center the content horizontally */
    padding: 2rem; /* Add padding around the content */
    font-family: Arial, Helvetica, sans-serif;
    font-size: 2rem;
    position: relative;
}

/* Header Styling */
h1 {
    font-family: "Schoolbell", cursive; /* Apply the Schoolbell font */
    font-weight: 500;
    font-style: normal; 
}

main {
    margin:auto;
    max-width: 1024px;
}

.container-logo {
    display: flex;
    flex-direction: row;
    justify-content: center;
}

/* Basic styling for the navigation menu */
nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 4rem;
}

nav div a img {
    width: 200px
}

nav ul {
    font-family: "Schoolbell", cursive;
    font-weight: 500;
    font-style: normal;  
    font-size: 1.5rem;   
    list-style-type: none; /* Remove bullets */
    padding: 0;
}

nav ul li {
    display: inline; /* Display list items horizontally */
    margin-right: 20px;
    position: relative; /* Needed for positioning the circles */
}

nav ul li a {
    color: #0549AE;
    text-decoration: none; /* Remove underline from links */
    padding: 14px 12px;
    display: inline-block;
    padding-left: 60px; /* Add padding to make space for the circle */
}

nav ul li a:hover {
    text-decoration: underline;
}

nav ul li::before {
    content: '';
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: #9053ff;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

/* Assign different colors to each circle */
nav ul li:nth-child(1)::before { background-color: #8B53FF; }
nav ul li:nth-child(2)::before { background-color: #FB3638; }
nav ul li:nth-child(3)::before { background-color: #FFD963; }
nav ul li:nth-child(4)::before { background-color: rgb(18, 160, 56); }
nav ul li:nth-child(5)::before { background-color: #0549AE; }

/* Zufällige Farben für strong-Tags */
p:nth-of-type(1) strong {
    color: #8B53FF; /* Lila */
}
/* Weitere Farben können hinzugefügt werden, wenn mehr p-Tags vorhanden sind */
p:nth-of-type(2) strong {
    color: #FFD963; /* Gelb */
}
p:nth-of-type(3) strong {
    color: rgb(18, 160, 56); /* Grün */
}
p:nth-of-type(4) strong {
    color: #0549AE; /* Blau */
}

/* Style the menu icon */
.menu-icon {
    display: none; /* Hidden by default */
    font-size: 2rem;
    color: #0549AE;
    cursor: pointer;
    padding: 10px;
}

a#impressum {
    position: absolute;
    right: 2rem;
    bottom: 2rem;
}

/* Responsive design */
@media (max-width: 768px) {
    body {
        font-size: 1.5rem;
    }

    nav {
        margin-bottom: 3rem;
    }

    nav div a img {
        width: 100px
    }
    
    nav ul {
        display: none; /* Hide the menu by default on small screens */
        flex-direction: column;
        align-items: center;
    }

    nav ul.show-menu {
        display: flex; /* Show the menu when the class is added */
    }

    nav ul li {
        display: block;
        margin: 10px 0;
    }

    nav ul li a {
        padding-left: 30px;
        text-align: center;
        width: 100%;
    }

    .menu-icon {
        display: flex;
        align-items: center;
        justify-content: space-between;    
    }
}
