* {
    font-size: 20px;
    word-break:break-word;
    margin: 0;
}

h1, h2 {
    line-height: 1;
    margin: 0;
}

h1, h2, h3, h4 {
    text-align: center;
    margin-top: 25px;
}


h1 {
    font-size: 80px;
}

h2 {
    font-size: 60px;
}

h3 {
    font-size: 30px;
}
h4 {
    font-size: 20px;
}

#container p {
    text-align: center;
    margin-top: 15px;
   
}

.heading {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero, .center {
    display:flex;
    justify-content: center;
}
.hero img {
    height: 300px;
    max-width: 400px;
}

.navigationContainer {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
    margin: 10px 0 10px 0;
}

.navigation {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 15px;
}

.navigation li:after {
    content: "|";
}
select {
    width: 100%;
}


select option {
    font-size: 15px;
}

#container {
    margin-left: 0;
    margin-right: 0;
    padding: 5px;
}

.break {
	flex-basis: 100%;
	height: 0;
}

#desktopMenu {
    display: none;
}

#mobileNav {
    position: sticky;
    top: 0px;
    left: 0;
    padding: 5px;
    z-index: 999;
    display: block;
}

#mobileMenu {
    display: none;
    position: fixed;
    text-align:center;
    font-size: 48px;
    line-height: 2;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: 999;
    margin: none;
}

#mobileMenu nav {
    width: 100%;
}

#mobileMenu nav ul {
    list-style-type: none;
}

#menuIcon {
    cursor: pointer;
    height: 32px;
    width: 32px;
}

.page {
    display: flex;
    justify-content:center;
}

.page img {
    max-width: 100%;
    max-height: 1000px;
    text-align: center;
}

nav ul {
    padding: 0;
}

.post {
    margin-top: 25px;
    
}

footer {
    margin-top: 40px;
}

#modeToggle {
    height: 40px;
    width: 40px;
    background-color: #a0caee;
    border-radius: 50%;
    text-align: center;
    position: fixed;
    bottom: 10px;
    right: 10px;
}


@media only screen and (min-width: 760px) {
    #container {
        margin-left: 20%;
        margin-right: 20%;
    }
    #desktopMenu {
        display:block;
    }
    #desktopMenu nav ul {
        list-style-type: none;
        display: flex;
        gap: 10px;
        justify-content: center;
        align-items: center;
        padding: 0;
    }

    #menuIcon {
        display: none;
    }

    select option {
        font-size: unset;
    }

    select.blogSwitch, select.pageSwitch {
        width: 40%
    }

    #mobileNav {
        display: none;
    }
    

}

/* Light mode */
@media (prefers-color-scheme: light) {
    :root {
        --body-bg: #FFFFFF;
        --body-color: #000000;
        --link-color: initial;
    }
 }
 
 /* Dark mode */
 @media (prefers-color-scheme: dark) {
    :root {
        --body-bg: #000000;
        --body-color: #FFFFFF;
        --link-color: #a0caee;
        --link-used-color: plum;
    }

    #menuIcon {
        filter: invert(1);
    }
 }

 body {
    background-color: var(--body-bg);
    color: var(--body-color);
 }

 a {
    color: var(--link-color);
 }
 a:visited {
    color: var(--link-used-color);
 }

 body.darkMode {
    background-color: #000000;
    color: #FFFFFF;
 }

 body.darkMode a {
    color: #a0caee;
 }

 body.darkMode a:visited {
    color: plum;
 }

 body.darkMode #mobileMenu, body.darkMode #mobileNav {
    background-color: black;
 }
 
 body.darkMode #menuIcon {
    filter: invert(1);
 }
 
 body.lightMode {
    background-color: #FFFFFF;
    color: black;
 }

 body.lightMode a {
    color: initial;
 }

 body.lightMode a:visited {
    color: initial;
 }

 body.lightMode #mobileMenu, body.lightMode #mobileNav {
    background-color: white;
 }

 body.lightMode #menuIcon {
    filter: unset;
 }
 