@import url("https://fast.fonts.net/cssapi/14c95a0a-2fe0-4709-9b37-6c1ee6c969d6.css");


/* General */
*                                       { margin: 0; padding: 0; box-sizing: border-box; font-family: "Neue Helvetica W01";   -moz-osx-font-smoothing: grayscale; -webkit-font-smoothing: antialiased; font-weight: 400; font-style: normal; }
html                                    { overflow: hidden; -moz-user-select:none; -khtml-user-select: none; }
body                                    { background-color: #9B28B4; }
.logo                                   { width: 22.3vw; min-width: 275px; max-width: 400px; bottom: 30px; left:20px; position: absolute; z-index: 9; }
.logo-form,
.logo-form img                          { width: 350px !important; }

@media screen and (max-width: 399px)    {
  .logo-form,
  .logo-form img                        { width: 300px !important; }
}


/* Intro Page */
.container                              { width: 100%; height: 100%; top: 0; z-index: 4; position: absolute; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.container p                            { margin-bottom: 1em; font-size: 2em; color: #FFD12D; }
.container span                         { font-weight: 600; }
.container .home,
.container .home img                    { width: 100%; max-width: 50%; top: 50%; left:50%; transform: translate(-50%, -50%); position: absolute; z-index: 99; }
.container button                       { bottom: 20px; right: 20px; padding: 0.4em 1em; font-size: 2.2em; border-radius: 0.3em; color: #9B28B4; background-color: #FFD12D; cursor: pointer; border: none; outline: none; position: absolute; z-index: 3; }
.container .highscore                   { overflow-y: auto; }

#rangliste                              { top:20px; left:20px; font-size: 2.2em; color: #FFD12D; position: absolute; z-index: 9; }
#rangliste a                            { color: #FFD12D; border: none; outline: none; }
input[type="checkbox"],
input[type="radio"]                     { width: 20px; height: 20px; }
input[type="checkbox"]:checked,
.form-check-input:checked               { background-color: #FFD12D !important; color: #FFFFFF; outline: 0; }

#add_result_button                      { max-width: 75%; padding: 0.4em 1em; font-size: 1.1em; border-radius: 0.3em; color: #9B28B4; background-color: #FFD12D; text-decoration: none; cursor: pointer; border: none; outline: none; z-index: 3; }

@media screen and (max-width: 1199px)   {
  .logo                                 { min-width: 275px; bottom: 34px; }
}

@media screen and (min-width: 768px)    {
  #add_result_qr_code                   { display: block; }
  #add_result_button                    { display: none; }
}

@media screen and (max-width: 767px)    {
  body                                  { font-size: 10px; }
  .wrapper                              { width: 100% !important; height: 100% !important; }
  #add_result_qr_code                   { display: none; }
  #add_result_button                    { display: block; }
  .container button                     { font-size: clamp(15px, 3.5vw, 20px); }
  .logo                                 { width: 275px; min-width: 0px; bottom: 20px; }
}

@media screen and (max-width: 575px)    {
  .container .home,
  .container .home img                  { width: 100%; max-width: 75%; }
  .container .highscore                 { width: 100%; }
  .container button                     { font-size: 18px; }
  .logo                                 { width: 250px; bottom: 23px; }
}

@media screen and (max-width: 499px)    {
  .logo                                 { width: 200px; bottom: 26px; }
}

@media screen and (max-width: 399px)    {
  .container button                     { font-size: 15px; }
  .logo                                 { width: 150px; bottom: 26px; }
}


/* Game Page */
.wrapper                                { width: 1920px; height: 1080px; top: 50%; left: 50%; z-index: 2; border-radius: 0.5em; transform: translate(-50%, -50%); position: absolute; }
.simon                                  { width: 66vw; max-width: 1081px; height: 40.7vw; max-height: 732px; top: 50%; left: 50%; background-color: transparent; border-radius: 0.5em; transform: translate(-50%, -50%); position: absolute; z-index:6; }
.simon:before                           { width: 66vw; height: 40.7vw; top: 50%; left: 50%; background-color: transparent; border-radius: 0.5em; transform: translate(-50%, -50%); position: absolute; content: ""; z-index: 1; }
#userinfo                               { width: 100%; top:0.85em; font-size: 2.2em; color: #FFD12D; text-align: center; position: absolute; z-index: 9; }
#closegame                              { top: 10px; right:20px; font-size: 55px; position: absolute; z-index: 9; }
#closegame a                            { color:#FFD12D; border: none; outline: none; }

@media screen and (max-width: 767px)    {
  #closegame                            { font-size: 35px; }
}


/* Register Page */
/*
.new-label                              { width: 20px; height: 20px; background-color: #FFD12D; }
*/


/* Simon */
.bottle-img                             { width: 240px; height: 732px; position: absolute; z-index: 9; }
.color-part                             { width: 24%; max-width: 240px; height: 100%; position: absolute; cursor: pointer; z-index: 99; }
.color1                                 { top: 0em; left: 0%; background-color: transparent; }
.bottle-gruen                           { background-image: url(img/bottle_1.png); background-size: contain; background-repeat: no-repeat; }
.color2                                 { top: 0em; left: 26%; background-color: transparent; }
.bottle-rot                             { background-image: url(img/bottle_2.png); background-size: contain; background-repeat: no-repeat; }
.color3                                 { top: 0em; left: 52%; background-color: transparent; }
.bottle-blau                            { background-image: url(img/bottle_3.png); background-size: contain; background-repeat: no-repeat; }
.color4                                 { top: 0em; left: 78%; background-color: transparent; }
.bottle-gelb                            { background-image: url(img/bottle_4.png); background-size: contain; background-repeat: no-repeat; }


/* Counter */
#count                                  { width: 10em; height: 2em; bottom: 0%; left: 50%; font-size: 2.5em; border-radius: 0.3em; background-color: #ffffff; position: absolute; transform: translate(-50%, -50%); z-index: 1; display: grid; place-items: center; }
.hide                                   { display: none; }



/* Anpassungen MPo */

#counter_redirect { width: 40px; display: inline-block; text-align: center; }
/*
#userinfo { font-size: 2.2em; position: absolute; top:20px; left:20px; z-index: 9; color: #ffd12d; }
#rangliste { font-size: 2.2em; position: absolute; top:20px; left:20px; z-index: 9; color: #ffd12d; }

#rangliste a { color: #ffd12d; }
*/
h3 { color: #ffd12d; font-size: 2.2em; padding-top: 20px; padding-bottom: 20px; }
td { color: #ffd12d; font-size: 1.4em; border-top: 1px solid #ffd12d !important; }
th { color: #ffd12d; font-size: 1.4em; border-top: 1px solid #ffd12d !important; border-top:0px !important; }

#timer { color:white; font-size: 4.2em; position: absolute; top:50px; left:20px; z-index: 9; display: none; }
/*
#closegame { font-size: 55px; position: absolute; top:10px; right:20px; z-index: 9; }
#closegame a { color:#ffd12d; }
*/
/*
    .logo { position: absolute; bottom:20px; left:20px; z-index: 9; max-width: 100%; }
    .home { position: absolute; bottom:10%; left:25%; z-index: 9; max-width: 50%; }
*/    
/*
    .container p {
        color: #ffd12d;
    }
/*
    .container button {
        background-color: #ffd12d;
        color: #9B28B4;
        font-size: 2.2em;
        position: absolute;
        bottom: 20px;
        right: 20px;
        padding: 0.4em 1em;
        z-index: 3;
    }  
  */  
#score {
    position: absolute;
    right:30px;
    bottom: 20px;
    font-size: 2.2em;
    color: #ffd12d;
    padding: 0.4em 1em;
}

#score:before {
  content: "Score: ";
}

.form-control {
    font-size: 2em;
    border: 0px;
    outline: none;
    padding: 4px;
    padding: 5px;
    height: 50px;
    padding-left: 10px;
}

.btn-primary {
    height: 50px;
    font-size: 2em;
    background-color: #ffd12d;
    color: #9B28B4;
    border: 0px;
    outline: none;
    padding: 5px;
    width: 100%;
}

.btn-primary:hover {
    background-color: #ffd12d !important;
    color: #9B28B4 !important;
    opacity: 0.8;
    transition: all 1s ease-out;
}

.btn-primary:active {
    background-color: #ffd12d !important;
    color: #9B28B4 !important;
    opacity: 0.8;
    transition: all 1s ease-out;
}

.btn-primary:focus {
    background-color: #ffd12d !important;
    color: #9B28B4 !important;
    opacity: 0.8;
    transition: all 1s ease-out;
}

textarea:focus, input:focus, button:focus, submmit:focus{
    outline: none;
}

.btn-primary:focus { outline:0 !important; }
.form-control:focus { outline:0 !important; box-shadow: none !important; }

p a {
    color: #ffd12d;
    text-decoration: underline;
}

p a:hover {
    color: #ffd12d;
    text-decoration: none;
}

input[type=checkbox] {
  accent-color: #ffd12d;
}

body {
  margin: 0;
  overflow: hidden;
}
#octocat {
  height: 300px;
  width: 200px;
  animation: animateSprite 15s steps(1) infinite, swim 15s ease-in-out infinite;
  position: absolute;
  right: -200px;
  top: 50%;
  margin-top: -150px;
  z-index: 100;
}


@keyframes animateSprite {
  0% {
    background-position: -600px; /* Starting position moving left sprite */
  }
  20% {
    background-position: 0px; /* Straight on sprite */
  }
  25% {
    background-position: -200px; /* Moving up sprite */
  }
  35% {
    background-position: -400px; /* Moving right sprite */
  }
  40% {
    background-position: -400px;
  }
  50% {
    background-position: -200px;  /* Moving up sprite */
  }
  60% {
    background-position: -0px; /* Straight on sprite */
  }
  67% {
    background-position: -600px; /* Moving up sprite */
  }

  100% {
    background-position: -600px;
  }
}

@keyframes swim {
  0% {
    transform: translate(0, 0); /* Starting position */
  }
  20% {
    transform: translate(calc(-50vw - 100px), 0); /* Animate to center of screen */
  }
  25% {
    transform: translate(calc(-50vw - 100px), 0); /* Stay at the center for 1 second */
  }
  35% {
    transform: translate(calc(-50vw - 100px), -20vh); /* Animate up for 2 seconds */
  }
  50% {
    transform: translate(-25vw, 15vh); /* Animate bottom right for 3 seconds */
  }
  60% {
    transform: translate(-25vw, -20vh); /* Animate up at right of the screen */
  }
  67% {
    transform: translate(-25vw, -20vh);
  }

  100% {
    transform: translate(calc(-100vw - 300px), 0); /* Animate past left past the screen */
  }
}
.ocean {
  position: relative;
  width: 100vw;
  height: 100vh;
  z-index: 1;
}

.bubble {
  width: 30px;
  height: 30px;
  border-radius: 100%;
  position: absolute;
  background-color: white;
  bottom: -30px;
  opacity: 0.2;
  animation: bubble 15s ease-in-out infinite,
    sideWays 4s ease-in-out infinite alternate;
}

@keyframes bubble {
  0% {
    transform: translateY(0%);
    opacity: 0.06;
  }
  100% {
    transform: translateY(-120vh);
  }
}

@keyframes sideWays {
  0% {
    margin-left: 0px;
  }
  100% {
    margin-left: 200px;
  }
}

.bubble--1 {
  left: 10%;
  animation-delay: 0.5s;
  animation-duration: 16s;
  opacity: 0.2;
}

.bubble--2 {
  width: 15px;
  height: 15px;
  left: 40%;
  animation-delay: 1s;
  animation-duration: 10s;
  opacity: 0.1;
}

.bubble--3 {
  width: 10px;
  height: 10px;
  left: 30%;
  animation-delay: 5s;
  animation-duration: 20s;
  opacity: 0.3;
}

.bubble--4 {
  width: 25px;
  height: 25px;
  left: 40%;
  animation-delay: 8s;
  animation-duration: 17s;
  opacity: 0.2;
}

.bubble--5 {
  width: 30px;
  height: 30px;
  left: 60%;
  animation-delay: 10s;
  animation-duration: 15s;
  opacity: 0.1;
}

.bubble--6 {
  width: 10px;
  height: 10px;
  left: 80%;
  animation-delay: 3s;
  animation-duration: 30s;
  opacity: 0.4;
}

.bubble--7 {
  width: 15px;
  height: 15px;
  left: 90%;
  animation-delay: -7s;
  animation-duration: 25s;
  opacity: 0.3;
}

.bubble--9 {
  width: 20px;
  height: 20px;
  left: 50%;
  bottom: 30px;
  animation-delay: -5s;
  animation-duration: 19s;
  opacity: 0.2;
}

.bubble--10 {
  width: 40px;
  height: 40px;
  left: 30%;
  bottom: 30px;
  animation-delay: -21s;
  animation-duration: 16s;
  opacity: 0.3;
}

.bubble--11 {
  width: 30px;
  height: 30px;
  left: 60%;
  bottom: 30px;
  animation-delay: -13.75s;
  animation-duration: 20s;
  opacity: 0.3;
}

.bubble--11 {
  width: 25px;
  height: 25px;
  left: 90%;
  bottom: 30px;
  animation-delay: -10.5s;
  animation-duration: 19s;
  opacity: 0.3;
}

.form-check               { display: grid; }
.form-check-label         { margin-top: -20px; padding-left: 30px; font-size: 15px; color: #FFD12D; }
.form-check-label a       { font-size: 15px; font-weight: 700; color: #FFD12D; text-decoration: underline; }



@keyframes blink { 0%{ opacity:1; } 50%{ opacity:0.5; } 100%{ opacity:1; } }

div#rangliste a {
  text-shadow: 0px 0px 0px rgba(255, 255, 255, 0.8), 0px 0px 1px rgba(0, 0, 0, 1);
}

.text-shadow-contrast {
  text-shadow: 0px 0px 0px rgba(255, 255, 255, 0.8), 0px 0px 1px rgba(0, 0, 0, 1);
}



@media screen and (max-width: 767px)    {
  #score                       { bottom: 15px; font-size: 2em; }
}

@media screen and (max-width: 575px)    {
  #score                       { bottom: 13px; font-size: 1.8em; }


.bottle-gruen                           { background-image: url(img/bottle_1_small.png); }
.bottle-rot                             { background-image: url(img/bottle_2_small.png); }
.bottle-blau                            { background-image: url(img/bottle_3_small.png); }
.bottle-gelb                            { background-image: url(img/bottle_4_small.png); }





}

@media screen and (max-width: 399px)    {
  #score                        { bottom: 14px; font-size: 1.6em; }
}

.select-bootstrap {
  appearance: none;
  background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"%3E%3Cpath fill="none" stroke="%23555" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M2 5l6 6 6-6"/%3E%3C/svg%3E'); /* Custom arrow color */
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 20px 18px;
}

