
:root {
	--primary: #042331;
	/* dark blue*/
	--white: #fff;
	--black: #000;
	--secondary: #063146;
	/*lightblue*/
	--meister: #87cefa;
	/*lightskyblye*/
	--meister2: #a1caf1;
	/*royalblue*/
}

* {
	margin: 0px;
	padding: 0px;
	list-style: none;
	text-decoration: none;
	box-sizing: inherit;

}

body {
	font-family: 'Roboto', sans-serif;
	/*background: url(background2.jpg) no-repeat;*/
	background-color: var(--primary);
	background-position: center;
	background-size: cover;
	background-attachment: fixed;
	height: 100vh;
	color: white;
}

/*       This is the start of the Popup */
.warning {
	color: red;
}

.popup {
	background-color: var(--primary);
	color: white;
	height: auto;
	width: auto;
	margin-top: 15px;
	
}

.popup p, h2 {
	display: flex;
	flex-flow: row wrap;
	justify-content: center;
	align-items: center;
	align-content: center;
	align-self: center;
	margin-right: 0em;
		
}

.popupinfo {
	display: flex;
	flex-flow: row wrap;
	justify-content: center;
	align-items: center;
	align-content: center;
	align-self: center;
	margin-left: 10em;
	margin-right: 3em;
	width: 80%;
	
}

.popuplogo {
	display: flex;
	flex-flow: row nowrap;
	justify-content: center;
	align-items: center;
	align-content: center;
	align-self: center;
	
	
}

.popuplogo img {
	float: none;
	margin: 0px;
	padding: 0px;
	border: none;
	height: 150px;
	width: 150px;
}

.popup button {
	display: flex;
	margin: 0 0 20px auto;
	background-color: black;
	
	font-size: 40px;
	color: #c5c5c5;
	border: none;
	outline: none;
	cursor: pointer;
}

.bottompop {
	display: grid;
	grid-template-rows: repeat(1, 1fr);
	justify-content: center;
	align-content: grid-start;
	gap: 1em;
	margin: 1rem auto;
	width: min(90%, 75rem);
	border: none;
	padding: 1em;
}

.bottompop #leave,
#enter {

	padding: .5em;
	border-radius: .2em;
}

@media (min-width: 55em) {
	.popupbutton {
		grid-auto-flow: column;
		margin: 1rem auto;
		gap: .4em;
	}

	

}


.popup p {
	font-size: 16px;
	text-align: justify;
	margin: 20px 0;
}

.popup a {
	display: block;
	width: 150px;
	position: relative;
	margin: auto;
	text-align: center;
	background-color: #0f72e5;
	
	color: #fff;
	text-decoration: none;
	padding: 10px 0;
	border-radius: 10px;

}

#leave {
	background-color: blue;

}

#enter {
	background-color: red;

}

.button {
	padding: .5em;
}

.popup a:hover {
	background-color: grey;
}

#close:hover {
	color: red;
}

.rta0 a {
	background-color: black;

}

.rta0 a:hover {
	background-color: red;
}

.rta0 img {
	height: 50px;
	width: 75px;
}

@media (max-width: 400px) {
	.popup {
		width: 80%;
		height: 100vh;
		font-size:xx-small;
		margin-top: 15em;
		/*height: auto;
		opacity: 100%;
		padding: 0px 0px;
	    position: fixed;
	    transform: translate(-30%, -40%);
	    left: 40%;
	    top: 33%;*/
		overflow-y: scroll;		
	}

	h2,.p {
		font-size: xx-small;
		overflow-y: scroll;
	}
}

@media (max-width: 800px) {
	.popup {
		width: 80%;
		height: 1000px;
		opacity: 100%;
		padding: 50px 50px;
	    position: fixed;
	    transform: translate(-40%, -60%);
	    left: 40%;
	    top: 63%;
		overflow-y: scroll;		
	}

	.popuplogo img {
		float: none;
		margin: 0px;
		padding: 0px;
		border: none;
		height: 90px;
		width: 90px;
	}

	.popupinfo {
		margin: 0em 0em;
		padding: 0px;
		width: auto;
	}

	.popup .button {
		margin: 0 0 100 auto;
	}

	nav li {
		flex-grow: 1;
		flex-shrink: 1;
	}
}

/* This is the End of the Popup */ 