/*d
*	CSS-Datei für diverse Jubiläumsberechnungen zu Geburtstagsangaben
*	Autor: Marcel Schaller
*/

* {
	border: 0;
	margin: 0;
	padding: 0;
}
html {
	background: linear-gradient(to bottom, rgba(54,100,139,1), rgba(32,178,170,1));
	background-attachment: fixed;
	height: 100%;
	margin: 0;
	padding: 0;
	width: 100%;
}
html.male {
	background-image: linear-gradient(to bottom, rgba(65,105,225,1), rgba(135,206,235,1));
}
html.female {
	background-image: linear-gradient(to bottom, rgba(205,16,118,1), rgba(255,182,193,1));
}
html.divers {
	background-image: linear-gradient(to bottom, red,orange,gold,green,blue,indigo,violet);
}
body {
	color: white;
	font-family: Helvetica, Arial, Sans-serif;
	height: 99%;
	margin: 0.5%;
	width: 98%;
}
header {
	background: linear-gradient(to bottom, rgba(108,166,205,1), rgba(70,130,180,1));
	border-radius: 5px;
	height: auto;
	padding: 10px;
	width: 99%;
}
header.male {
	background: linear-gradient(to bottom, rgba(0,0,205,1), rgba(0,191,255,1));
}
header.female {
	background-image: linear-gradient(to bottom, rgba(205,16,118,1), rgba(255,182,193,1));
}
header.divers {
	background-image: linear-gradient(to bottom, violet,indigo,green,gold,red);
}
footer {
	background: linear-gradient(to bottom, rgba(0,206,209,1), rgba(102,205,170,1));
	border-radius: 5px;
	height: auto;
	margin-top: 5px;
	margin-bottom: 5px;
	padding: 10px;
	width: 99%;
}
footer.male {
	background-image: linear-gradient(to bottom, rgba(0,191,255,1), rgba(0,0,205,1));
}
footer.female {
	background-image: linear-gradient(to bottom, rgba(255,130,170,1), rgba(205,16,118,1));
/*	background-image: linear-gradient(to bottom, rgba(0,191,255,1), rgba(0,0,205,1));	*/
}
footer.divers {
	background-image: linear-gradient(to bottom, gold,green,indigo);
}
footer ul {
	display: flex;
	flex-direction: row;
}
footer li {
	flex: 2 100%;
}

/* Globale CSS-Klassen */
.row {
	margin-top: 5px;
	width: auto;
}
.row:before,
.row:after {
	content: " ";
	display: table;
}
.row:after {
	clear: both;
}
.columns {
	float: left;
}
/*
img {
	border-radius: 5px;
	margin-right: 10px;
	width: 98%;
}
img.transparent {
	opacity: 0.7;
}
*/
figure {
/*	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(15em, 1fr));
	gap: 1em;	*/
	position: relative;
	text-align: center;

}
figure img {
	border-radius: 5px;
	margin-right: 10px;
	width: 98%;
}
figure img.transparent {
	opacity: 0.7;
}
figure figcaption {
	position: absolute;
	border-radius: 5px;
	bottom: 5px;
	width: 98%;
	line-height: 2em;
	color: white;
	background: rgba(0, 0, 0, 0.3);
	grid-column: 1 / -1;
	margin: 0;
	padding: 0;
}
	
/* Small */
@media screen and (max-width:600px) {
	.small-1		{width: 100%;}
	div#ZeitJetzt	{text-align: right;}
}
/* Medium */
@media screen and (min-width: 600px) and (max-width: 1200px) {
	.medium-1		{width: 100%;}
	.medium-2-33	{width: 33.333333%;}
	.medium-2-50	{width: 50%;}
	.medium-2-66	{width: 66.666666%;}
	.medium-3		{width: 33.333333%;}
}
/* Large */
@media screen and (min-width: 1200px) {
	.large-1		{width: 100%;}
	.large-2-20		{width: 20%;}
	.large-2-50		{width: 50%;}
	.large-2-80		{width: 80%;}
	.large-3		{width: 33.333333%;}
}
/* Textformatierungen Header */
div#VornameName {
	font-size: 3rem;
	text-align: center;
}
div#GeborenAm {
	font-size: 2rem;
	text-align: center;
}
/* Textformatierungen Footer */
div#DatumHeute {
	font-size: 1.5rem;
	text-align: left;
}
div#ZeitJetzt {
	font-size: 1.5rem;
	text-align: right;
}
