.home {
  width: 100%;
  padding: 4rem 0 4rem 0;
}

/* ###################################################################### */
/* ### Sidebar ### */
/* ###################################################################### */

.container{
  margin: 0 auto 10px auto;
  padding: 10px;
  max-width: 100%;
  height: 40vh;
  position: relative;
  background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url(https://xm136.de/assets/deco/map.webp);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  animation: fadeIn 6s;
}

@keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

@media only screen and (max-width: 500px) {
  .container {
    background-image: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), url(https://xm136.de/assets/deco/covermap.svg);
    height: 15vh;
  } 
}   

/* ###################################################################### */
/* ### Seitentitel ### */
/* ###################################################################### */

.sitetitle {
  text-align: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
}
  
.sitetitle h1 {
  color: #ffcc33;
  text-shadow: 1px 1px 2px black, 0 0 25px black, 0 0 25px black;
  font-size: 6rem;
  text-align: center;
}


@media only screen and (max-width: 500px) {
.sitetitle h1  {
  font-size: 2rem;
  }  
}

@media only screen and (min-width: 501px) {
.sitetitle h1  {
  font-size: 2.5rem;
  }  
}

@media only screen and (min-width: 992px) {
.sitetitle h1  {
  font-size: 4rem;
  }  
}

@media only screen and (min-width: 1200px) {
.sitetitle h1 {
  font-size: 6rem;
  }  
}

/* ###################################################################### */
/* ### x ### */
/* ###################################################################### */

.intro {
width: 100%;
}

.intro h1 {
color: #ffcc33;
font-size: 5rem;
margin: 3rem 0 0 0;
}

.intro h3 {
color: #3d3e50;
font-size: 1rem;
margin: 1rem 0 2rem 0;
}

.sign {
  display: flex;
  justify-content: center;
  margin: 10% auto;
  max-width: 30%;
}

.sign img {
max-width: 100%;
height: auto;
}

/* ###################################################################### */
/* ### Tagcloud ### */
/* ###################################################################### */

.tagcloud {
margin: 5% auto;
max-width: 70%;
background: #6b6b6b;
border-radius: 10px;
height: auto;
padding: 2%;
border: 2px solid;
border-color: #3d3e50;
box-shadow: 0px 10px 13px -7px #000000, 5px 5px 15px 5px rgba(0,0,0,0);
}

.tagcloud h1 {
color: #333333;
font-size: 2rem;
margin-bottom: 2%;
}

.tagcloud li {
display: inline;
border: 1px solid;
border-color: #3c3e50;
border-radius: 5px !important;
padding: 0.3rem;
margin-right: 0.3rem;
line-height: 2.5rem;
}

.tagcloud li:hover {
 background-color: #3c3e50;
}

.tagcloud a{
color: #ffcc33;
font-size: 1rem;
}

.tagcloud a:hover{
 color: white;
}

/* ###################### FlipCard #################### */

/* The flip card container - set the width and height to whatever you want. We have added the border property to demonstrate that the flip itself goes out of the box on hover (remove perspective if you don't want the 3D effect */
.flipcard {
  margin: 10% auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-gap: .5rem;
  max-width: 60%;
}

.flip-card {
  background-color: transparent;
  width: 100%;
  min-height: 300px;
  border: 1px solid #3d3e50;
  perspective: 1000px; /* Remove this if you don't want the 3D effect */
}

/* This container is needed to position the front and back side */
.flip-card-inner {
  position: relative;
  width: 100%;
  min-height: 50vh;
  text-align: center;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

/* Do an horizontal flip when you move the mouse over the flip box container */
.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

/* Position the front and back side */
.flip-card-front, .flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden; /* Safari */
  backface-visibility: hidden;
}

/* Style the front side (fallback if image is missing) */
.flip-card-front {
  display: flex;
  justify-content: center;
  background-color: #6b6b6b;
  color: black;
  min-height: 300px;
}
.flip-card-front img {
  width: 100%;
  margin: auto;
  display: block;
  }

/* Style the back side */
.flip-card-back {
  background-color: #6b6b6b;
  min-height: 300px;
  color: #d3d3d3;
  transform: rotateY(180deg);
  }

.flip-card-back h1 {
  padding-top: 100px; 
  font-size: 2rem;
}

@media only screen and (max-width: 500px) {
.flipcard {
  display: none;
 }  
}

@media only screen and (max-width: 1200px) {
.flip-card-front img {
  max-width: 300px;
  max-height: 200px;
 } 
}

/* ###################### Slideshow #################### */



/* ###################### Video #################### */

.video-wrapper {
  margin: 3rem auto 3rem auto;
}

.video {
object-fit: cover;
width: 100%;
height: 50vh;
}



@media only screen and (max-width: 500px) {
  .video-wrapper {
     display: none;
  } 
}
