/* Body */

body {
    padding: 0;
    margin: 0;
    background: #ffffff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header */
header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    background: #000000;
}

header h1 {
    font-size: 2.5em;
    color: rgb(255, 255, 255);
}

/* Navigation */
nav {
    margin: 0;
}

nav ul {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
    margin: 0;
    padding: 0;
}

nav ul li {
    display: flex;
    list-style: none;
    height: 2em;
    align-items: center;
    justify-content: center;
    margin: 0;
    background: #1d1d1d;
    width: 100%;
}

nav ul li.active {
    background: #333333;
}

nav ul li:hover {
    background: #333333;
}

nav ul li a {
    color: lightgrey;
    text-decoration: none;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

/* Main */

main {
    display: flex;
    flex-direction: column;
    background: rgb(255, 255, 255);
    margin: 0 2em 1em 2em;
    padding: 0;
    flex-grow: 1;
}

/* Section */

section {
    padding: 1em;
    display: block;
}

/* Logic */

.imageWrapper{
    width: 100%; 
    overflow-x: scroll;     
    white-space: nowrap;
}

section#imagePartDescriptionSection div {
    display: none;
}

section#imagePartDescriptionSection div.isVisible {
	display: block;
}

.buttonLink {
	appearance: button;
    text-decoration: none;
    color: black;
    background: white;
	padding: 0.2em;
	text-align: center;
	border: 1px solid black;
	/* border-radius: 10px; */
}

.buttonLink:hover {
	background: black;
	color: white;
}

.buttonLinkWrapper {
	display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
}

p.sources {
	font-size: small; 
}

#alwaysHighlightButton {
    margin-top: 0.2em;
    text-decoration: none;
    color: black;
    background: white;
    padding: 0.2em;
    text-align: center;
    border: 1px solid black;
}

#alwaysHighlightButton:hover {
	background: black;
	color: white;
}

/* Mobile devices */
@media only screen and (max-width: 1023px){
    main {
        margin: 0;
    }

    nav ul {
        flex-direction: column;
    }
}