/* globale CSS-Datei */

/* Fonts einbinden */
@import "/assets/fonts/fonts.css";                                                           /* Animate.css einbinden */
@import "https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.1.1/animate.min.css";   /* für sweetAlter */
@import "/css/swal.css";

/* Allgemeine Formatierungen */

*, *::before, *::after {
  box-sizing: border-box;
}

body,html {
  padding: 0;
  font-family: Inter , arial, "lucida console", sans-serif;
  font-size: 16px;
  color: black;
}

/* Formatierung Verlinkungen */
a:link, a:visited {
  text-decoration: none;
}

/* Titel außerhalb der Box */
.mb-title {
  margin: 0 auto;
  max-width: 400px;
  font-family: 'Sixtyfour';
  font-size: 2rem;
  text-shadow: grey 3px 3px 8px;
  padding: 10px 0 10px 0;
  text-align: center;
}

.clblack {
  color: black;
}

/* Hintergrund des Spieles */
.back {
    background-image: url('/assets/img/background.jpg');
    background-repeat: no-repeat;
    background-position: left top;
    background-attachment: fixed;
    background-size: cover;
  }

 /* Box für das Hauptmenü und den Untermenüs */
 .box {
  max-width: 500px;
  width: 19rem;
  background: rgba(255,255,255,0.5);
  text-align: center;
  margin: 0 auto 15px auto;
  padding: 0;
  border-radius: 12px;
  overflow: hidden;
}

/* Titel in der Box */
.title{
  padding: 4px 0px 4px 0px;
  background-color: teal;
  font-size: 2rem;
  color: silver;
}

.inbox {
  padding: 15px 10px 0 10px;
  margin: 0;
}

.headline{
  font-weight: bold;
  padding: 6px 0px 2px 0px;
}

/* Spielavatar formatieren */
#avatar {
  width: 60%;
  height: auto;
  border-radius: 100%;
  margin: 12px auto 0 auto;
  background-image: url("/assets/img/smiling_robot.jpg");
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
}

/* Box für die Menüauswahl */
#menu {
  border-collapse:collapse;
  border-spacing:0;
  display: flex;
  justify-content:center;
  padding-top: 10px;
}

.divicon{
  width: 4rem;
}

.divreturn{
  width: 20%;
}

.icon{
  width: 50%;
}