html, head {
	width: 100%;
	overflow-x: hidden !important;
}

body {
	font-family: "Verdana", Geneva, sans-serif;
	text-align: center;
    background-color: #A8BCE0;
    color: #000000;
}

h1 {
	cursor: pointer;
	font-family: "Verdana", Geneva, sans-serif;
	font-style: italic;
	font-size: 72px;
	text-align: center;
	margin-top: 2.5%;
    text-shadow:
		-1px -1px 0 #dddddd,
		1px -1px 0 #dddddd,
		-1px 1px 0 #dddddd,
		1px 1px 0 #dddddd;
    color: #222222;
}

a {color: inherit;}
/*a:link {color: #222222;}
a:visited {color: #222222;}
a:active {color: #222222;}*/
a:hover {color: #484848;}

article img {
	border-radius: 4px; 
	display: block; 
	margin-top: 10px; 
	margin-bottom: 10px; 
	margin-left: auto; 
	margin-right: auto; 
	max-width: 80%; 
	height: auto;
}

article p {
	text-indent: 3em;
	margin: 0px;
}

.page { /*close body on article contact found only in pages*/
	text-align: left;
	display: inline-block;
	float: left;
	margin-top: 2.5%;
	margin-bottom: 0%;
	margin-left: 25%;
	padding: 2%;
	border: 1px solid #222222;
	font-size: 16px;
	background-color: #dddddd;
	color: #222222;
	width: 50%;
}

.posts article {
	text-align: left;
	display: inline-block;
	margin-bottom: 5%;
	padding-top: 2%;
	padding-bottom: 4%;
	padding-left: 4%;
	padding-right: 4%;
	border: 1px solid #222222;
	font-size: 16px;
	background-color: #dddddd;
	color: #222222;
}

.posts_dark article {
	text-align: left;
	display: inline-block;
	margin-bottom: 5%;
	padding-top: 2%;
	padding-bottom: 4%;
	padding-left: 4%;
	padding-right: 4%;
	border: 1px solid #222222;
	font-size: 16px;
	background-color: #555a65;
	color: #F5FBEF;
}

.page div {
	white-space: pre-line;
}

/* link bar for the top of the page, found in fragments*/

.link_bar {
	font-style: bold;
	text-align: center;
	font-size: 24px;
	color: inherit;
}

.link_bar a {
	color: inherit;
	text-decoration: none;
	font-weight: 900;
}

.link_bar a:hover {color: #484848; text-decoration: none;}

/*.link_bar a:link {color: #222222; text-decoration: none;}
.link_bar a:visited {color: #222222; text-decoration: none;}
.link_bar a:hover {color: #444444; text-decoration: none;}
.link_bar a:active {color: #222222; text-decoration: none;}*/

.block {
	text-align: left;
	display: inline-block;
	float: left;
	margin-top: 2.5%;
	margin-bottom: 5%;
	margin-left: 25%;
	padding: 2%;
	border: 1px solid #222222;
	font-size: 16px;
	background-color: #dddddd;
	color: #222222;
	width: 50%;
}


.big_block {
	display: grid;
	grid-template-columns: 20% 50% 15%;
	grid-gap: 5%;
	align-items: start;

	margin-top: 4%;
	margin-left: 2.5%;
	margin-right: 5%;
}


.posts {
	text-align: left;
	display: inline-table;
	margin-bottom: 2.5%;
}

.side_block {
	text-align: left;
	display: inline-block;
	margin-bottom: 2.5%;
	padding: 4%;
	border: 1px solid #222222;
	font-size: 12px;
	background-color: #dddddd;
	color: #222222;
}

.tag_block {
	text-align: center;
	display: inline-block;
	margin-bottom: 2.5%;
	padding: 4%;
	border: 1px solid #222222;
	font-size: 18px;
	background-color: #dddddd;
	color: #222222;
}

.shadow_button {
	position: absolute;
	left:5px;
	top:5px;
	width: 160px;
	height: 40px;
	font-size: 16px;
	font-weight: 300;
	font-style: italic;
	background-color: #2F4D83;
	color: #aaaaaa;

	border-radius: 4px;
  	border-width: 2px;
  	border-color: black;
}

.days_count {
	position: absolute;
	right:5px;
	top:5px;
}

.sun {
	/*display: inline;*/
	z-index: -1;
	width: 750px;
	height: 750px;
	position: absolute;
	left: calc(50vw - 375px);
	top: 0px;

	transform: translateY(-375px);
	overflow-x: hidden;
}

.moon {
	z-index: -1;
	width: 750px;
	height: 750px;
	position: absolute;
	left: calc(-50vw - 375px);
	top: 0px;

	transform: translateY(-375px);
	overflow-x: hidden;
}

.flex-big-block {
	display: flex; 
	flex-direction: row; 
	flex-wrap: wrap;

	width: 100%

	margin-top: 4%;
	margin-left: 2.5%;
	margin-right: 2.5%;
}

.flex-side-block {
	text-align: left;
	margin: 2%;
	padding: 2%;
	border: 1px solid #222222;
	font-size: 12px;
	background-color: #dddddd;
	color: #222222;
	flex: 1 0 200px;
	height: fit-content;
}

.flex-posts {
	text-align: left;
	display: inline-table;
	align-self: center;
	margin-bottom: 2%;
	padding: 2%;
	flex: 4 0 640px;

	text-align: left;
	display: inline-table;
	margin-bottom: 2.5%;
}

.flex-posts article {
	text-align: left;
	display: inline-block;
	margin-bottom: 5%;
	padding-top: 2%;
	padding-bottom: 4%;
	padding-left: 4%;
	padding-right: 4%;
	border: 1px solid #222222;
	font-size: 16px;
	background-color: #dddddd;
	color: #222222;
}

.flex-posts-dark {
	text-align: left;
	display: inline-table;
	align-self: center;
	margin-bottom: 2%;
	padding: 2%;
	flex: 4 0 640px;

	text-align: left;
	display: inline-table;
	margin-bottom: 2.5%;
}

.flex-main-block {
	text-align: left;
	display: inline-table;
	align-self: center;
	margin-bottom: 2%;
	padding: 2%;

	text-align: left;
	display: inline-table;
	margin-bottom: 2.5%;

	justify-content: center;
}

.flex-main-block article {
	text-align: left;
	display: inline-block;
	margin-bottom: 5%;
	padding-top: 2%;
	padding-bottom: 4%;
	padding-left: 4%;
	padding-right: 4%;
	border: 1px solid #222222;
	font-size: 16px;
	background-color: #dddddd;
	color: #222222;
}

.flex-posts-dark article {
	text-align: left;
	display: inline-block;
	margin-bottom: 5%;
	padding-top: 2%;
	padding-bottom: 4%;
	padding-left: 4%;
	padding-right: 4%;
	border: 1px solid #222222;
	font-size: 16px;
	background-color: #555a65;
	color: #F5FBEF;
}

.flex-blank-empty-space {
	margin: 2%;
	padding: 2%;
	flex: 1 0 200px;
	height: fit-content;
}

.warning {
	font-size:32px; 
	font-style: italic; 
	color: red; 
	display: none;
}

/* changes between mobile and desktop */

@media only screen and (min-width: 1000px) {
  .collapse-button {
  	display: none;
  }

  .flex-main-block {
  	width: 67%;
  }
}

@media only screen and (max-width: 1000px) {
  .flex-side-block {
    font-size: 40px;
  }

  .link_bar {
  	font-size: 36px;
  }

  .collapse-button {
  	display: inline-block;
  }

  .flex-main-block {
  	width: 100%;
  }

  .warning {
  	display: block;
  }
}

.collapse-button {
	float: right;
	width: 54px;
	height: 54px;
	background-color: #444444;
	color: #dddddd;
	text-align: center;
	font-size: 28px;
	border: 3px solid #222222;
}