* {
  margin: 0;
  padding: 0;
  box-sizing: content-box;
}

body {
  padding: 40px;
  background: #444444;
  font-family: "Avenir", "HelveticaNeue", "Helvetica", sans-serif;
  color: #ccc;
}

.main-wrapper {
  width: 100%;
}

hr {
  border-style: inset;
  border-width: 1px;
  margin: 2em 0;
  background-color: #ccc;
}

a {
  color: #388697;
}

.panel {
  padding: 20px;
  background: #333;
  overflow: auto;
}

.circle {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: yellow;
  display: block;
  float: left;
  margin-right: 25px;
}

#circle1 {
  background-color: #fffd77;
}
#circle2 {
  background-color: #ffe882;
}
#circle3 {
  background-color: #388697;
}

/* ------------------------------------------------------------------------------------
Formulare
------------------------------------------------------------------------------------ */

.form-group {
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin-bottom: 20px;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  vertical-align: middle;
}

.form-group .form-label {
  width: 40%;
}
.form-group .form-input {
  width: 60%;
}

.form-group input {
  padding: 8px 10px;
  font-size: 1em;
}

.form-group input[type="submit"] {
  border: 0px;
  padding: 8px 10px;
  margin-left: -10px;
  border-radius: 12px;
  background: #95d19c;
}
.form-group input[type="submit"]:hover {
  background: #6ba872;
  -webkit-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.messagebox {
  position: fixed;
  top: 40px;
  right: 40px;
  padding: 15px;
  background: #b2d5e5;
  border-radius: 20px;
  width: 250px;
  min-height: 100px;
  color: #333;
  opacity: 0;
}

.closex {
  width: 22px;
  height: 22px;
  position: absolute;
  top: 10px;
  right: 10px;
  text-indent: -999em;
  overflow: hidden;
}

.closex:before,
.closex:after {
  content: "";
  width: 1px;
  height: 22px;
  background: black;
  display: block;
  position: absolute;
  left: 11px;
  top: 0px;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

.closex:after {
  -webkit-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

.errorborder {
  border: 2px solid red;
}

/* ------------------------------------------------------------------------------------
Animation
------------------------------------------------------------------------------------ */
.slide-in-bck-top {
  -webkit-animation: slide-in-bck-top 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94)
    both;
  animation: slide-in-bck-top 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

.slide-out-top {
  -webkit-animation: slide-out-top 0.5s cubic-bezier(0.55, 0.085, 0.68, 0.53)
    both;
  animation: slide-out-top 0.5s cubic-bezier(0.55, 0.085, 0.68, 0.53) both;
}

/**
 * ----------------------------------------
 * animation slide-in-bck-top
 * ----------------------------------------
 */
@-webkit-keyframes slide-in-bck-top {
  0% {
    -webkit-transform: translateZ(700px) translateY(-300px);
    transform: translateZ(700px) translateY(-300px);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateZ(0) translateY(0);
    transform: translateZ(0) translateY(0);
    opacity: 1;
  }
}
@keyframes slide-in-bck-top {
  0% {
    -webkit-transform: translateZ(700px) translateY(-300px);
    transform: translateZ(700px) translateY(-300px);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateZ(0) translateY(0);
    transform: translateZ(0) translateY(0);
    opacity: 1;
  }
}

/**
 * ----------------------------------------
 * animation slide-out-top
 * ----------------------------------------
 */
@-webkit-keyframes slide-out-top {
  0% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
    opacity: 1;
  }
  100% {
    -webkit-transform: translateY(-1000px);
    transform: translateY(-1000px);
    opacity: 0;
  }
}
@keyframes slide-out-top {
  0% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
    opacity: 1;
  }
  100% {
    -webkit-transform: translateY(-1000px);
    transform: translateY(-1000px);
    opacity: 0;
  }
}
