body {
	background: transparent;
	padding: 0 20px;
	margin: 0;
	font-family: "Open Sans", Arial, sans-serif;
}

h1 {
	text-align: center;
	margin: 80px 0;
}

*,
*:after,
*:before {
	box-sizing: border-box;
}

:root {
	--primary-color: #2a2a2a;
	--secondary-color: #743e0d;
	--white-color: white;
	--green-color: #439c47;
	--transition-animation: all .5s;
}

body {
	font-family: "Crimson Text", serif;
	font-size: 16px;
	color: var(--primary-color);
	background-color: var(--white-color);
	margin: 10px;
}

a {
	color: var(--primary-color);
	text-decoration: none;
	transition: var(--transition-animation);
}

a:hover,
a:visited,
a:focus {
	color: var(--primary-color);
}

p {
	margin-top: 0;
	margin-bottom: 20px;
	text-align: justify;
	text-justify: inter-word;
}

/***************************************************
    Create A Dark/Light Mode Switch with CSS Variables
    Source: https://dev.to/ananyaneogi/create-a-dark-light-mode-switch-with-css-variables-34l8
***************************************************/
[data-theme=dark] {
	--primary-color: white;
	--secondary-color: var(--green-color);
	--white-color: #2a2a2a;
}

[data-theme=dark] .button a:hover,
[data-theme=dark] .button a:focus,
[data-theme=dark] .button a:active {
	color: white;
}

/* Toggle switch styling */
.dark_mode_container {
	display: flex;
	position: relative;
	align-items: center;
}

.dark_mode_container .dark_mode_switch {
	display: inline-block;
	height: 34px;
	width: 60px;
	max-width: 60px;
}

.dark_mode_container .dark_mode_switch input {
	display: none;
}

.dark_mode_container .dark_mode_switch input:checked+.slider {
	background-color: var(--green-color);
}

.dark_mode_container .dark_mode_switch input:checked+.slider:before {
	transform: translateX(25px);
}

.slider {
	background-color: #ccc;
	bottom: 0;
	cursor: pointer;
	position: absolute;
	right: 0;
	top: 0;
	transition: var(--transition-animation);
	width: 60px;
}

.slider:before {
	background-color: var(--white-color);
	bottom: 5px;
	content: "";
	height: 25px;
	left: 5px;
	position: absolute;
	transition: var(--transition-animation);
	width: 25px;
}

.slider.round {
	border-radius: 34px;
}

.slider.round:before {
	border-radius: 50%;
}

/**************************************
    Header of Paper
**************************************/
header {
	text-align: center;
	position: relative;
}

header h1.news_paper_title {
	margin: 0;
}

header h1.news_paper_title a {
	font-family: "Playfair Display", serif;
	font-weight: 900;
	font-size: 60px;
	text-transform: uppercase;
	display: inline-block;
	line-height: 60px;
	margin: 15px 0;
	cursor: pointer;
	color: var(--primary-color);
	transition: var(--transition-animation);
}

header h1.news_paper_title a:hover {
	color: var(--secondary-color);
}

header .news_paper_location {
	font-weight: 600;
	border-bottom: 1px solid var(--primary-color);
	border-top: 1px solid var(--primary-color);
	padding: 10px 0 10px 0;
	margin: 20px 0;
}

@media only all and (max-width: 600px) {
	header h1.news_paper_title a {
		font-size: 40px;
		line-height: 40px;
		margin: 5px 0;
	}
}

/**************************************
    Content Area of Newspaper
**************************************/
.headline {
	text-align: center;
	line-height: normal;
	font-family: "Playfair Display", serif;
	display: block;
	margin: 0 auto;
}

.headline h2.title {
	font-weight: 400;
	font-style: italic;
	font-size: 22px;
}

.headline h2.title:hover {
	color: var(--secondary-color);
}

.headline h3.writer {
	font-weight: 700;
	font-size: 12px;
}

.headline h3.writer:hover {
	color: var(--secondary-color);
}

.headline h3.writer:before {
	border-top: 1px solid var(--primary-color);
	content: "";
	width: 100px;
	height: 7px;
	display: block;
	margin: 0 auto;
}

.headline h3.writer:after {
	border-bottom: 1px solid var(--primary-color);
	content: "";
	width: 100px;
	height: 10px;
	display: block;
	margin: 0 auto;
}

.button a {
	display: inline-block;
	background: transparent;
	border: 1px solid var(--primary-color);
	color: var(--primary-color);
	font-size: 16px;
	padding: 10px 15px;
}

.button a:hover,
.button a:focus,
.button a:active {
	background: var(--green-color);
	border: 1px solid var(--green-color);
	color: var(--white-color);
}

/**************************************
    Images & iframes
**************************************/
figure {
	cursor: pointer;
	margin: 0 0 20px;
	/*filter: grayscale(100%);*/
	transition: var(--transition-animation);
}

figure img {
	max-width: 100%;
	height: auto;
}

figure figcaption {
	font-style: italic;
	font-size: 12px;
	text-align: left;
	transition: var(--transition-animation);
}

figure figcaption:hover {
	padding-left: 10px;
}

figure:hover {
	filter: grayscale(0);
}

/***************************************************
    Responsive Framework
    https://codepen.io/HikwaMehluli/full/qeNOVv
***************************************************/
.the-grid-section {
	max-width: 1500px;
	margin: 0 auto;
	width: 100%;
}

.the-grid-section .the-grid {
	margin-bottom: 40px;
	transition: all 0.5s;
}

.the-grid-section .the-grid .the-grid-content p {
	display: -webkit-box;
	-webkit-line-clamp: 5;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* the flexbox magic */
@media screen and (min-width: 768px) {
	.the-grid-section {
		display: flex;
		flex-wrap: wrap;
		justify-content: space-between;
	}

	.the-grid {
		display: flex;
		flex: 0 1 calc(50% - .5em);
	}
}

@media screen and (min-width: 1000px) {
	.the-grid {
		flex: 0 1 calc(33% - 1em);
	}
}

@media screen and (min-width: 1500px) {
	.the-grid {
		flex: 0 1 calc(25% - 1em);
	}
}

* {
	box-sizing: border-box;
}

/* Style the container where the snow will fall */
#snow-container {
	position: relative;
	height: 100vh;
	overflow: hidden;
}

.ml12 {
	font-weight: 200;
	font-size: 3em;
	letter-spacing: 0.3em;
}

.ml12 .letter {
	display: inline-block;
	line-height: 1em;
}

.row {
	display: -ms-flexbox;
	/* IE10 */
	display: flex;
	-ms-flex-wrap: wrap;
	/* IE10 */
	flex-wrap: wrap;
	padding: 0 4px;
}

.row>.column {
	padding: 0 8px;
}

.row:after {
	content: "";
	display: table;
	clear: both;
}

.column {
	float: left;
	width: 25%;
	margin-bottom: 10px;
	animation-name: transition;
	animation-duration: 1s;
}

@keyframes transition {
	from {
		opacity: 0;
	}

	to {
		opacity: 1;
	}
}

/* The Modal (background) */
.modal {
	display: none;
	position: fixed;
	z-index: 1;
	padding-top: 100px;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: auto;
	background-color: transparent;
}

/* Modal Content */
.modal-content {
	position: relative;
	background-color: #fefefe;
	margin: auto;
	padding: 0;
	width: 90%;
	max-width: 1200px;
}

/* The Close Button */
.close {
	color: red;
	position: absolute;
	top: 10px;
	right: 25px;
	font-size: 35px;
	font-weight: bold;
}

.close:hover,
.close:focus {
	color: #999;
	text-decoration: none;
	cursor: pointer;
}

.mySlides {
	display: none;
}

.mySlides img {
	opacity: 1;
	border-radius: 0;
}

.mySlides img:hover {
	opacity: 1;
}

.cursor {
	cursor: pointer;
}

/* Next & previous buttons */
.prev,
.next {
	cursor: pointer;
	position: absolute;
	top: 50%;
	width: auto;
	padding: 16px;
	margin-top: -50px;
	color: white;
	font-weight: bold;
	font-size: 20px;
	transition: 0.6s ease;
	border-radius: 0 3px 3px 0;
	user-select: none;
	-webkit-user-select: none;
}

/* Position the "next button" to the right */
.next {
	right: 0;
	border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
	background-color: rgba(0, 0, 0, 0.8);
}

/* Number text (1/3 etc) */
.numbertext {
	color: #f2f2f2;
	font-size: 24px;
	padding: 8px 12px;
	position: absolute;
	top: 0;
}

/*img {
        width: 462px;
        margin-bottom: -4px;
        border-radius: 5px;
        opacity: 0.75;
        cursor: pointer;
      }*/

img:hover {
	opacity: 1;
}

.demo {
	opacity: 0.6;
}

.active,
.demo:hover {
	opacity: 1;
}

img.hover-shadow {
	transition: 0.3s;
}

.hover-shadow:hover {
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.5), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

@media only screen and (max-width: 600px) {
	.numbertext {
		font-size: 14px;
	}

	.ml12 {
		font-size: 12px;
	}
}

/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (max-width: 768px) {
	.numbertext {
		font-size: 17px;
	}

	.ml12 {
		font-size: 32px;
	}
}