:root {
   color-scheme: dark;
 }

body {
   background-color: #21242b;
}

a {
   text-decoration: none;
}

#layout {
   display: flex;
   margin: auto;
   flex-direction: column;
   background-color: #21242b;
   width: 1405px;
   min-height: 933px;
}

#Banner {
   width: 100%;
   height: 295px;
   background-color: #21246c;
   background-image: image-set(
      url("images/Banner.webp") type("image/webp"),
      url("images/Banner.jpg") type("image/jpeg"));
   position: relative;
   overflow: hidden;
}

#Menue {
   margin-bottom: 5px;
   color: #e1ece4;
   background-color: #383349;
   /* #262656  */
   text-transform: uppercase;
   font-weight: bold;
   font-family: Arial;
   text-align: left;
   padding-block: 2px;
   border: outset;
   border-color: #21242b;
}

#Menue ul li {
   list-style-type: none;
}

#Menue ul li a {
   height: 24px;
   width: 200px;
   display: block;
   text-decoration: none;
   color: #e1ece4;
}

#Menue ul {
   margin: 0px;
   padding: 0px;
}

.socialsymbol{
   transform: translate(0px, 3px);
}

.dropDownBtn > span, .dropDownBtn > a{
   pointer-events: none; /*Ignore all mouse input*/
}

.dropdown-content a:hover {background-color: grey;}

.dropdown-content {
   display: none;
   position: absolute;
   background-color: #21242b;
   min-width: 160px;
   padding: 6px 12px;
   box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
   z-index: 1;
}

.dropdown-content a {
   color: white;
   padding: 6px 12px;
   font-size: 16px;
   margin: 4px 2px;
   text-decoration: none;
   display: block
}

.button {
   border: none;
   color: white;
   padding: 6px 12px;
   text-align: center;
   text-decoration: none;
   display: inline-block;
   font-size: 16px;
   margin: 4px 2px;
   transition-duration: 0.5s;
   cursor: pointer;
}

.button a {
   text-decoration: none;
}

.ButtonMenue {
   background-color: #21242b;
   color: white;
   border: 2px solid #71248a;
   width: 150px;
   margin: 4 10px;
}

.ButtonMenue:hover {
   background-color: #71248a;
   color: white;
   box-shadow: 0 6px 8px 0 rgba(0, 00, 0, 0.85), 0 10px 25px 0 rgba(0, 0, 0, 0.45);
}

.snakebuttons{
    text-align: center;
}

.buttonSnake{
   background-color: #21242b;
   width: 150px;
   height: 60px;
   margin: 4 10px;
   border: dashed;
   border-color: grey;
   border-width: 1;
   margin-bottom: 15px;
   font-size: 20px;
   font-weight: bold;
}

.snakemobile{
   display: none;
}

.buttonSnake#EZ{
   color: green;
   box-shadow: 0 6px 8px 0 rgba(0, 00, 0, 0.85), 0 10px 25px 0 rgba(0, 0, 0, 0.45);
}

.buttonSnake#Normal{
   color:#005DFF;
   box-shadow: 0 6px 8px 0 rgba(0, 00, 0, 0.85), 0 10px 25px 0 rgba(0, 0, 0, 0.45);
}

.buttonSnake#GodMode{
   color: red;
   box-shadow: 0 6px 8px 0 rgba(0, 00, 0, 0.85), 0 10px 25px 0 rgba(0, 0, 0, 0.45);
}

.buttonSnake#Lightspeed{
   color: yellow;
   box-shadow: 0 6px 8px 0 rgba(0, 00, 0, 0.85), 0 10px 25px 0 rgba(0, 0, 0, 0.45);
}

.buttonSnake#Impossible{
   color: purple;
   box-shadow: 0 6px 8px 0 rgba(0, 00, 0, 0.85), 0 10px 25px 0 rgba(0, 0, 0, 0.45);
}

.buttonSnake#EZ:hover{
   color: #D0D8D2;
   background-color: green;
   
}

.buttonSnake#Normal:hover{
   color:#D0D8D2;
   background-color: #0000ff;
}

.buttonSnake#GodMode:hover{
   color: #D0D8D2;
   background-color: red;
}

.buttonSnake#Lightspeed:hover{
   color: #D0D8D2;
   background-color: yellow;
}

.buttonSnake#Impossible:hover{
   color: #D0D8D2;
   background-color: purple;
}

.buttonRandom {
   background-color: #21242b;
   color: white;
   width: 150px;
   margin: 4 10px;
}

.buttonRandom:hover {
   color: white;
   box-shadow: 0 6px 8px 0 rgba(0, 00, 0, 0.85), 0 10px 25px 0 rgba(0, 0, 0, 0.45);
}

.buttonRandom:disabled {
   background-color: darkred;
   border: 2px solid #ff0000;
   cursor: not-allowed;
}

.buttonRandom img {
   transform: translateY(3px);
}

.buttonRandom#btnDefender {
   border: 2px solid #ff7300;
   width: 100px;
}

.buttonRandom#btnAttacker {
   border: 2px solid #0000ff;
   width: 100px;
}

.buttonRandom#btnDefender:hover {
   background-color: #ff7300;
}

.buttonRandom#btnAttacker:hover {
   background-color: #0000ff;
}

.buttonRandom#btnAttacker:disabled {
   background-color: #21242b;
   cursor: not-allowed;
   box-shadow: none;
   opacity: 0.5;
}

.buttonRandom#btnDefender:disabled {
   background-color: #21242b;
   cursor: not-allowed;
   box-shadow: none;
   opacity: 0.5;
}

.button span {
   cursor: pointer;
   display: inline-block;
   position: relative;
   transition: 0.5s;
}

.button span:after {
   content: '\2660';
   /* Zeichen für das button hover menue,2660,2664,2717,27a0, 27a1, 27a2,27a3,27a4  */
   position: absolute;
   opacity: 0;
   top: 0;
   right: -20px;
   transition: 0.5s;
}

.button:hover span {
   padding-right: 25px;
}

.button:hover span:after {
   opacity: 1;
   right: 0;
}

.inputbutton{
   width: 75px; 
   height: 35px;
}

.guessnumber{
   font-weight:bold;
   font-size: 25px;
   color: #D0D8D2;
   text-decoration: underline;
}

.randomnumber{
   font-weight:bold;
   font-size: 25px;
   color: #D0D8D2;
   user-select: all;
   text-decoration: underline;
}

.randomName {
   font-weight:bold;
   font-size: 25px;
   color: #D0D8D2;
   user-select: all;
   text-decoration: underline;
}

.randomFName {
   font-weight:bold;
   font-size: 25px;
   color: #D0D8D2;
   user-select: all;
   text-decoration: underline;
}

.randomcolor {
   font-weight:bold;
   font-size: 25px;
   color: #D0D8D2;
   user-select: all;
   text-decoration: underline;
   
}

.randomcolordisplay {
   width: 25px;
   height: 25px;
   display: inline-block;
   border: solid 1px;
   border-color: white;
}

.buttoncalc{
   background-color: #21242b;
   min-width: 75px;
   max-width: 275px;
   height: 30px;
   margin: 5px;
   margin-bottom: 10px;
   font-size: 18px;
   font-weight: bold;
   color: #D0D8D2;
   border: solid 2px;
   border-color: #71248a;
}

.buttoncalc:hover{
   background-color: #353a44;
   color: white;
   box-shadow: 0 6px 8px 0 rgba(0, 00, 0, 0.85), 0 10px 25px 0 rgba(0, 0, 0, 0.45);
}

.buttoncalcS{
   background-color: #21242b;
   min-width: 75px;
   max-width: 275px;
   height: 30px;
   margin: 5px;
   margin-bottom: 10px;
   font-size: 18px;
   font-weight: bold;
   color: #D0D8D2;
   border: solid 2px;
   border-color: #71248a;
}

.buttoncalcS:hover{
   background-color: #353a44;
   color: white;
   box-shadow: 0 6px 8px 0 rgba(0, 00, 0, 0.85), 0 10px 25px 0 rgba(0, 0, 0, 0.45);
}

.buttoncalcS:active{
   background-color: rgb(18, 224, 18);
   color: white;
   
}

.savereactive {
   background-color:  green;
   color: #D0D8D2;
    
}

.buttoncalcL{
   background-color: #21242b;
   min-width: 75px;
   max-width: 275px;
   height: 30px;
   margin: 5px;
   margin-bottom: 10px;
   font-size: 18px;
   font-weight: bold;
   color: #D0D8D2;
   border: solid 2px;
   border-color: #71248a;
}

.buttoncalcL:hover{
   background-color: #353a44;
   color: white;
   box-shadow: 0 6px 8px 0 rgba(0, 00, 0, 0.85), 0 10px 25px 0 rgba(0, 0, 0, 0.45);
}

.buttoncalcL:active{
   background-color: red;
   color: white;
   
}

.buttongen{
   background-color: #21242b;
   min-width: 150px;
   height: 60px;
   margin: 4px 10px;
   margin-bottom: 15px;
   font-size: 18px;
   font-weight: bold;
   color: #D0D8D2;
   border: solid 2px;
   border-color: #71248a;

}

.buttongen:hover {
   background-color: #71248a;
   color: white;
   box-shadow: 0 6px 8px 0 rgba(0, 00, 0, 0.85), 0 10px 25px 0 rgba(0, 0, 0, 0.45);
}

#Innerinhalt {
   display: flex;
   flex-grow: 1;
}

#Socials {
   width: 305px;
   margin-left: 5px;
   background-color: #383349;
   font-family: Arial;
   color: #D0D8D2;
   text-align: center;
}

#Inhalt {
   padding-inline: 10px;
   background-color: #383349;
   flex-grow: 1;
   max-width: 1075px;
   padding-bottom: 10px;
}

#Font {
   font-size: 20px;
}


h1,
h2,
h3,
h4 {
   color: #D0D8D2;
   font-family: Arial;
   text-align: center;
}

#Links ul li {
   list-style-type: square;
}

#Credits {
   height: 16px;
   margin-left: auto;
   margin-right: auto;
   width: 1405px;
   margin-top: 20px;
   text-align: center;
}

.popup {
   width: 70px;
   margin-left: auto;
   margin-right: auto;
}

.show {
   display: block!important;
   animation: easter.2s 1;
}

@keyframes easter {
   from {transform: scale(0); }
   to {transform: scale(1); }
}

.easter {
   display: none;
}

.shadow {
   -webkit-box-shadow: 0px 0px 6px #c93efc;
   -moz-box-shadow: 0px 0px 6px #c93efc;
   box-shadow: 0px 0px 6px #c93efc;
}

.kcal-container {
   width: 400px;
   max-width: 400px;
   background-color: #eee;
   border-radius: 10px;
   overflow: hidden;
   margin: 20px 0;
   margin-bottom: 8px;
}

.kcal-bar {
   height: 30px;
   background-color: #4caf50;
   width: 0%;
   transition: width 0.5s ease-in-out;
   text-align: center;
   color: black;
   line-height: 30px;
   font-weight: bold;
}

.protein-container {
   width: 400px;
   max-width: 400px;
   background-color: #eee;
   border-radius: 10px;
   overflow: hidden;
   margin: 20px 0;
   margin-bottom: 8px;
}

.protein-bar {
   height: 30px;
   background-color: #4caf50;
   width: 0%;
   transition: width 0.5s ease-in-out;
   text-align: center;
   color: black;
   line-height: 30px;
   font-weight: bold;
}

.br {
   display: none;
}