/* Background */
.background-image {
    height: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-image: url('background.png');
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: -1;
}

.background-image::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
}


/* Title */
.page-title {
    text-shadow: 2px 2px 2px white;
}


/* Content */
.article-container {
    margin: 0% 2%;
}

.article-passage {
    margin-bottom: 3%;
}

.article-passage > p {
    text-indent: 50px;
    font-size: 20px;
}

.article-passage > h3 {
    text-shadow: 2px 2px 2px white;
}

.article-left-list {
	display: flex;
    align-content: start;
    justify-content: left;
    flex-direction: column;
    flex-wrap: wrap;
    align-items: flex-start;
	font-size: 18px;
	margin: 0px;
	margin-bottom: 1rem;
	padding: 0px;
	padding-left: 6%;
}

.article-centered-list {
	display: flex;
    align-content: center;
    justify-content: center;
    flex-direction: column;
    flex-wrap: wrap;
    align-items: flex-start;
	font-size: 18px;
	margin: 0px;
	margin-bottom: 1rem;
	padding: 0px;
}

/* Fun fact */
.fun-fact-container {
    padding-bottom: 1.5rem;
}

.fun-fact {
    width: 50%;
    justify-self: center;
}


/* Special */
.no-indentation {
	text-indent: 0px !important; 
}


/* Responsive adjustments */
@media (max-width: 768px) {
	.article-passage > p {
		text-indent: 0px;
		font-size: 20px;
	}

    .fun-fact {
        width: 80%;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .background-image::after {
        background: rgba(0, 0, 0, 0.6);
    }

    .page-title {
        text-shadow: 2px 2px 2px black;
    }

    .article-passage > h3 {
        text-shadow: 2px 2px 2px black;
    }

    .card-title {
        color: white;
    }

    .card-text {
        color: #eee;
    }
}