/*******************************************************
  globals.css

Projekt: DieMorgenlandfahrer.de
Autor:   Robert Kesseler
Datum:   29.4.2020
Version: 21.03.2022

Globale Styles für "Die Morgenlandfahrer". Diese sollten
von allen Seiten als erstes eingebunden werden.
    <link rel="stylesheet" type="text/css" href="globals.css">
    <link rel="stylesheet" type="text/css" href="local-styles.css">

*******************************************************/

@font-face {
  font-family: 'Bilbo';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: local('Bilbo Regular'), local('Bilbo-Regular'), url(./fonts/Bilbo/o-0EIpgpwWwZ220oroVD4w.woff2) format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Bilbo';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: local('Bilbo Regular'), local('Bilbo-Regular'), url(./fonts/Bilbo/o-0EIpgpwWwZ220mroU.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@keyframes blinkerkeys {
	0% { opacity: 1; }
	50% {opacity: 0.2;}
	100% {opacity: 1;}
}

@keyframes red-green-blue-keys {
	0% { color: red;}
	25% {color: green;}
	50% {color: blue;}
	75% {color: yellow;}
	100% {color: red;}
}
@keyframes blue-red-keys {
	0% { color: blue;}
	5% {color: #4276EA;}
	10% {color: blue;}
	100% {color: blue;}
}

@keyframes shakeranim {
	0% { left:0; top: 0  }
	94% {left:  0px; top: 0}
	95% {left:  4px; top: 0px} 
	96% {left:  0px; top: 4px} 
	97% {left: -4px; top: 0px} 
	98% {left:  0px; top: -4px} 
	99% {left:  4px; top: 0px} 
	100% {left: 0px; top: 0px} 
}

@keyframes cirklekeys {
	0% { left:-4px; top: 0px;  }
	25% {left: 0px; top: 4px;} 
	50% {left: 4px; top: 0px;} 
	75% {left:-4px; top:-4px;} 
100% {left:-4px; top: 0px;} 
}

@keyframes hoch-runter-keys {
	0%  {top: 0px;  }
	2%  {top: -4px;} 
	4% {top: 0px;} 
	8% {top: -4px;} 
   10% {top: 0px;  }
	12% {top: -4px;} 
   14% {top: 0px;  }
	16% {top: -4px;} 
   18% {top: 0px;  }
 
}
@keyframes rechts-links-keys {
	 0% { left: 30px; }
	50% {left: -30px; } 
	100% {left: 30px;} 
}
 

/***********************************
* einige debug-divs. die werden später an die verschiedenen
* @media-query angepasst
*/

.debug_1 {
    position: fixed;
    left: 1rem;
    top: 1rem;
    width: 5rem;
    height: 20px;
    background-color: green;
}
.debug_2 {
    position: fixed;
    left: 7rem;
    top: 20px;
    width: 5rem;
    height: 20px;
    background-color: green;
}

.debug_3 {
    position: fixed;
    left: 13rem;
    top: 20px;
    width: 5rem;
    height: 20px;
    background-color: green;
}
/***************************************************************
*    Allgemeine Styles
*/

body {
  background-color: #d5bca6;
  font-family: 'Bilbo', cursive;
  font-weight: bold;
  font-size: x-large;
  text-align: center;
  width: 100vw;
  height: 100vh; 
  border: 0;
  margin: 0;           
}

a {text-decoration: none;}
a,a:link,a:visited{outline:none;
		color: inherit;}

.center {
    text-align: center;
}

.underline {
	text-decoration: underline;
}

.maindiv {
	position: relative;
	width: 100%;
	height: 100%;
	display: flex;
	justify-content: center;
	
/*	box-sizing: border-box; */
	border:0;
	margin:0;
}


.morgenlandimg {
    width: 100%;
    height: 100%;
    object-fit: contain;
}


/************************************************
* der Container für alle Töpfchen
*/
.alletoepfe {
	box-sizing: border-box;
	position: absolute;
	width: 100%;
	top: 70%;
	height: 20%;
	display: flex;
	flex-direction: row;  
	flex-wrap: wrap;
	overflow: hidden;
}

.topf_container {
	 box-sizing: border-box;
    width: 25%;
    height: 100%;
    } 
 
.topf {
	text-align: center;
	background:url("pic/pott.png");
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
	width: auto;
	height: 50%; /* vom topf-container */
    /*border: 1px solid blue; */
}

.topf:hover {
    background:url("pic/pottoffen.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    width: auto;
    height: 50%;
 }

.topf_text {
    font-family: 'Bilbo', cursive;
    font-weight: normal;
    font-size: 90%;
    width: auto;
    text-align: center;
    color: Blue;
}
/***************************************************
*  Media Querry für Desktop. Ab einem Seitenverhältniss
*  von 2 / 3 wird auf Desktop umgeschaltet
*/

@media only screen and (min-aspect-ratio: 2/3 ) {
	.debug_1 {
		background-color: red;
	}

  .titel-1 {
		height: 30%;
	}
	
	.topf_text {
	font-size: 100%;
	}	
	
}

.fussnote {
    position: fixed;
    bottom: 1px;
    right: 1px;
    text-align: right;
    border: 0;
    margin: 0;
    padding:0;
    color:#9fb470;
    font-family: sans-serif;
    font-size: xx-small;
    opacity: 0.5;
    /* display: none; */
}

@media only screen and (hover: hover) {
  .fussnote {
    width: 10rem;
    height: 2rem;
    opacity: 0;
    /* display: none; */
  }
  .fussnote:hover {
    opacity: 1;
  }
} 


.blinker {
	animation-name: blinkerkeys;
	animation-duration: 4s;
	animation-iteration-count: infinite;
}



    
    