@font-face {
    font-family: 'Righteous';
    src: url('../fonts/righteous/Righteous-Regular.eot');
    src: url('../fonts/righteous/Righteous-Regular.eot?#iefix') format('embedded-opentype'),
         url('../fonts/righteous/Righteous-Regular.woff2') format('woff2'),
         url('../fonts/righteous/Righteous-Regular.woff') format('woff'),
         url('../fonts/righteous/Righteous-Regular.ttf')  format('truetype'),
         url('../fonts/righteous/Righteous-Regular.svg#Righteous-Regular') format('svg');
}

@font-face {
    font-family: 'Roboto';
    src: url('../fonts/roboto/Roboto-Regular.eot');
    src: url('../fonts/roboto/Roboto-Regular.eot?#iefix') format('embedded-opentype'),
         url('../fonts/roboto/Roboto-Regular.woff2') format('woff2'),
         url('../fonts/roboto/Roboto-Regular.woff') format('woff'),
         url('../fonts/roboto/Roboto-Regular.ttf')  format('truetype'),
         url('../fonts/roboto/Roboto-Regular.svg#Roboto-Regular') format('svg');
}


* {
	box-sizing: border-box;
}

html {
	background: #1a1a1a;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 16px;
	margin: 0;
	padding: 0;
}

body {
	display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 10em 50px auto 50px;
}

#hintergrund {
	position: relative;
	overflow: hidden;
	height: 100vh;
	max-width: 75rem;
	margin: 0rem auto;

}


.rosenactive {
	background-image: url("images/bg_2.jpeg");
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;

}

.roseninactive {
		background-image: url("images/bg.jpeg");
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;

}

header {
	display: flex;
	grid-column: 1 / 5;
	grid-row:    1 / 2;			
  background-color: #f1f1f1;
  text-align: center;
  color: white;
  justify-content: center;
  align-items: center;
  font-family: 'Roboto Mono', monospace;
  background-color: rgba(161, 161, 161, 0.3);
    text-shadow: 
     1px  1px 1px black,
     1px -1px 1px black,
    -1px  1px 1px black,
    -1px -1px 1px black;
}

header h1 {
	font-family: 'Righteous', cursive;
	margin: 0;
	padding: 0;
	font-size: 4.5rem;
	color: #e11900;
	text-shadow: .5rem .5rem black;
}

header h3 {
	margin: 0;
	padding: 0;
}

header h3:first-child {
	font-size: 1.54rem;	
}

header h3:last-child {
	font-size: .97rem;	
}



header div span {
	font-family: 'Righteous', cursive;
	color: #e11900;
}

.logo {
	padding: 1rem;
	width: 25rem;
}

.adress {

	font-size: 1rem;
	text-align: left;
	margin: 2rem 0 1rem 2rem;
	padding-left: 2rem;
	border-top: 3px solid white;
	border-left: 3px solid white;
	border-bottom: 3px solid white;
	width: 20rem;
}

.opendoors {

	font-size: 1rem;
	text-align: right;
	margin: 2rem 2rem 1rem 0;
	padding-right: 2rem;
	border-top: 3px solid white;
	border-right: 3px solid white;
	border-bottom: 3px solid white;
	width: 20rem;
}

main {
	grid-column: 1 / 5;
	grid-row:    3 / 4;	
	overflow: hidden;
	
}



section {
	color: white;
	padding: 3rem;
	height: 100%;
	background-color: rgba(0, 0, 0, .7);
	opacity: 0;
	transition: all 0.5s;
	z-index:-1;
	
}

#part_1 {
	background-color: transparent;

}
fieldset {
	border: none;
}

section:first-of-type {
	opacity: 1;
	background: none;
}

section:target {
	opacity: 1;
	z-index: 10;
}


nav {
	font-family: 'Righteous', cursive;
	grid-column: 1 / 5;
	grid-row:    2 / 3;		
	width: 75rem;
	list-style: none;
	background-color: rgba(225, 25, 0, .5);
  padding: 1rem;
text-align: center;
}

nav a {
	text-decoration: none;
	color: white;
	padding: .5rem 2.1rem;
}

nav a:hover {
	background-color: #222222;
	border-radius: .5rem;
}

nav a:focus {
	background-color: #222222;
	border-radius: .5rem;
}

#rosenflash {
	font-family: 'Righteous', cursive;
	color: white;
	background-color: rgba(225, 25, 0, .5);
	padding: 1rem;
	width: 12rem;	
	border: 2px solid black;
}

#rosenflash:hover {
	background-color: rgba(0, 0, 0, .5);
}

footer {
	grid-column: 1 / 6;
	grid-row:    4 / 5;			
	z-index: 99;
	list-style: none;
	background-color: rgba(161, 161, 161, 0.3);
	text-align: center;
}

#sociallink {
	position: absolute;
	right: 0;
	height: 50px;
	width: 50px;
	font-size: 45px;
	color: white;
		
}

#sociallink a {
  color: #3B5998;
}

#sociallink a:hover {
  opacity: 0.7;
}

iframe {
	border: none;
	width: 100%;
	height: 98%;
}



tr:hover {
	background-color: rgba(0, 0, 0, .8);
	transition: .5s;
	outline: 1px solid red;
}

table {
	width: 100%;
	padding-left: 50px;
	padding-top: 25px;
	padding-bottom: 25px;
}

table td {
	font-size: 1.2rem;
	color: white;
}

table a {
	text-decoration: none;
	color: white;
}

.tabbed {
text-align: right;
}

@media (max-width: 75em) { 
  body{
    max-width: 100%
  }
.adress {
	display: none;
}
.opendoors {
	display: none;
}

nav {
	width: 100%;
	font-size: 2vw;
}
nav a {
	text-decoration: none;
	color: white;
	padding: .2rem 1vw;
}

nav a:hover {
	background-color: #222222;
	border-radius: .2rem;
}

nav a:focus {
	background-color: #222222;
	border-radius: .2rem;
}

}