header {
    align-items: center;
    justify-content: space-evenly;	
}

#Menu, #Main {
	position: relative;
	z-index: 4;
	padding: 10px;
}

#Menu {
	width: auto;
}

.MenuNavButtons {
	grid-template-columns: 1fr 1fr;
}

#Main {
	display: block;
	grid-row: 2/4;
}

#Main ~ div { display: none;}

.Heading {
	background: #00000073;
    padding: 5px;
    border: solid 2px white;
	border-radius: 10px;
    color: white;
    font-size: 1.3rem;
}

form > div:first-of-type {
	display: grid;
	grid-gap: 5px;
	background: #0000006b;
	background: #745b40;
	padding: 10px;
	margin: 10px 0;
	border-radius: 10px;
}

#Slogan span, header img, #ContactForm, #NewUserForm, #ResetForm, .recaptcha, .grecaptcha-badge { display: none; }

.PopUpForm {
	grid-template-columns: auto 1fr;
}

#Slogan {
    flex: 0 1 30%;
	font-size: 2.5rem;
}

#Slogan span {
	font-size: 2rem;
}

header img {
	margin: 20px;
    max-width: 60vmin;
    max-height: 60vmin;
    height: auto;
    width: auto;
    -webkit-box-reflect: below 0 linear-gradient(to bottom, rgba(0,0,0,0) 80%, rgba(0,0,0,0.5));
    box-shadow: 0px 5px 20px 0px black;
}

#ResponseMessage {
	flex: 1 1 100%;
	border: solid 1px white; 
	border-radius: 5px; 
	margin: 0 10px; 
	padding: 5px;
	background: black;
}
#ResponseMessage p { 
	color: white; 
	padding: 5px; 
}

.tabs {
	overflow: visible;
	margin: 10px 0;
}

.tab {
	align-items: center;
	min-height: 300px;
}

.tabs > input:checked + label + div.tab {
    display: flex;
}

.tab .Images {
	flex: 1 1;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
	gap: 10px;	
}

.tab .Images img {
	width: max(40px, 10vmin);
	height: max(40px, 10vmin);
}

@media screen and (max-width: 900px) {
	body { display: block; }
	#Main { grid-row: 3 / 4; display: grid !important; }
}

@media screen and (min-width: 700px) {
	#Slogan span, header img  { display: inline; }
}