/*VARIABELN----------------------------------*/
:root{
  /*Farben*/
  --onyx: hsla(210, 19%, 25%, 1);
  --gray: hsla(213, 7%, 53%, 1);
  --platinum:#EAEAEA;
  --red: #DB2955;
  --green: hsla(156, 59%, 62%, 1);
  --green-hover: hsla(156, 58%, 56%, 1);
  --yellow: #E0A458;
  --yellow-hover: #DC9941;
  --blue: hsla(212, 45%, 47%, 1);
  --blue-hover: hsla(212, 45%, 41%, 1);
}


/* FARBEN---------------------------------- */
/* Grüner Button */
.btn-success {
  background-color: var(--green);
  border-color: var(--green);
}
.btn-success:hover{
  background-color: var(--green-hover);
  border-color: var(--green-hover);
}

/* Blauer Button */
.btn-primary {
  background-color: var(--blue);
  border-color: var(--blue);
}
.btn-primary:hover{
  background-color: var(--blue-hover);
  border-color: var(--blue-hover);
}

/* Roter Button */
.btn-danger {
  background-color: var(--red);
  border-color: var(--red);
}

/* Gelber Button */
.btn-warning {
  background-color: var(--yellow);
  border-color: var(--yellow);
}
.btn-warning:hover{
  background-color: var(--yellow-hover);
  border-color: var(--yellow-hover);
}

/* Badges */
.badge-success {
  background-color: var(--green);
}
.badge-danger {
  background-color: var(--red);
}

/* Links */
.nav-link{
  color: var(--blue);
}
.link{
  color: var(--blue);
}

/* Message bei Formularen */
.alert-info {
  background-color: var(--red);
  color: white;
  border: hidden;
}


/* Switch bei Alle Kategorien anwählen */
.custom-control-input:checked ~ .custom-control-label::before {
  background-color: var(--blue);
  border-color: var(--blue);
}


/* BASIC EINSTELLUNGEN--------------- */
body {
  background-color: var(--platinum);
  margin-top: 70px;
  margin-bottom: 60px;
}

footer {
    height: 50px;
}

h1 {
  text-align: center;
  font-weight: bold;
}

.seitentitel {
  margin-top: 20px;
  margin-bottom: 2rem;
}

/* Zwischentitel */
h3 {
  margin-top: 30px;
  font-weight: 600;
}

/* Text im Blocksatz */
p, td{
  text-align:justify;
}

.no_link {
  color: white;
}

.no_link:hover {
  color: white;
  text-decoration: none;
}


/* STARTSEITE-------------------- */
.startbutton {
  font-size: 2.5rem;
}


/* ANLEITUNG & ABOUT-------------------- */
/* Box bei Anleitung */
.modus_box{
  border-style: dotted;
  padding: 3px;
}

/* Text weniger breit */
@media screen and (min-width: 960px) {
  .enger_text {
    width: 50vw;
  }
}




/* SPIELSEITE---------------------- */
/* Elemente in der Mitte anordnen bei Spiel */
.box_mitte {
  justify-content: center;
  text-align: center;
  align-items: center;
  margin-top: 5vh;
}

/* Team ist am Zug */
.green{
  border-style: dotted;
  padding-top: 10px;
  padding-bottom: 10px;
}

/* Team ist nicht am Zug */
.grey {
  color: grey;
  font-size: 1.5rem;
}

/* Box für Beschreibung bei Spiel */
.bg_beschreibung {
  background-color: WhiteSmoke;
  border-style: solid;
  border-width: thin;
  width: 300px;
  height: 200px;
  display: inline-block;
}



/* RESULTATE-SEITE-----------------------------*/
.resultate {
  width: 100%;
}

.resultate tr td {
  padding-top: 15px;
}

/* Grosse Schrift bei Team-Badges */
.grosse_schrift {
  font-size: 2rem;
}

/* ANIMTAION-------------------------------*/
.welcome{
  animation-name: flipInX;
  backface-visibility: visible !important;
  animation-duration: 1s;
  animation-timing-function: ease-out;
}

.mmpact {
  animation-name: flipInX;
  backface-visibility: visible !important;
  animation-duration: 1s;
  animation-delay: 0.5s;
  animation-fill-mode: backwards;
  animation-timing-function: ease-out;
}

@keyframes flipInX {
  from {
    transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
    animation-timing-function: ease-in;
    opacity: 0;
  }

  40% {
    transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
    animation-timing-function: ease-in;
  }

  60% {
    transform: perspective(400px) rotate3d(1, 0, 0, 10deg);
    opacity: 1;
  }

  80% {
    transform: perspective(400px) rotate3d(1, 0, 0, -5deg);
  }

  to {
    transform: perspective(400px);
  }
}
