@charset "utf-8";
/* CSS Document */

/* Grundlayout fÃ¼r SELFHTML-Beispiele */

html {
  background: transparent!important;    background: pink;
}

body {
  margin: 0 auto;
  max-width: 90%;
  font-family: sans-serif;
  color: #333333;
}

@import url('https://fonts.googleapis.com/css?family=Raleway');
/* body {
  font-family: 'Raleway', sans-serif;
  background-color:#F3F5F6;
} */

.container {
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  position: relative;
  max-width: 460px;
  height: 300px;
  width: 100%;
  margin: 20px auto 20px;
  border: 1px solid #757575;
  transition: 0.5s ease;
  background-color: white;
}

.tab-l {
  border-top-left-radius: 10px;
}

.tab-r {
  border-top-right-radius: 10px;
}

.tab-container {
  height: 50px;
  margin-bottom: 10px;
}

.tab-container .tab-l,
.tab-container .tab-r {
  margin: 0 0 0 0;
  box-sizing: border-box;
  height: 50px;
  padding: 10px;
  border-bottom: 1px solid black;
  transition: 0.5s ease;
  text-transform: uppercase;
  text-align: center;
}

.active-tab {
  width: 70%;
  font-size: 30px;
  font-weight: bold;
  letter-spacing: 0.2em;
  color: #04acec;
}

.inactive-tab {
  width: 30%;
  cursor: pointer;
  font-size: 20px;
}

.tab-l {
  float: left;
  margin-left: 50px;
  background-color: white;
  border-right: 2px solid black;
}

.tab-l:hover.inactive-tab,
.tab-r:hover.inactive-tab {
  -webkit-box-shadow: 0px 6px 10px 0px rgba(0, 0, 0, 0.5);
  -moz-box-shadow: 0px 6px 10px 0px rgba(0, 0, 0, 0.5);
  box-shadow: 0px 4px 6px 0px rgba(0, 0, 0, 0.5);
}

.tab-r {
  float: right;
  margin-right: 50px;
  background-color: white;
  border-left: 2px solid black;
}

.input-container {
  position: relative;
  margin: 0 100px 30px;
}

#login-main-container {
  display: inline;
}

#register-main-container {
  display: none;
}

#login-main-container,
#register-main-container {
  position: absolute;
  width: 460px;
}

input {
  outline: none;
  z-index: 1;
  position: relative;
  background: none;
  width: 100%;
  height: 60px;
  border: 0;
  color: #212121;
  font-size: 24px;
  font-weight: 400;
  font-family: 'Raleway', sans-serif;
  margin-bottom: -12px;
}

label {
  position: absolute;
  top: 0;
  left: 0;
  color: #04acec;
  font-size: 24px;
  font-weight: 300;
  line-height: 60px;
  -webkit-transition: 0.2s ease;
  transition: 0.2s ease;
}


button {
  cursor: pointer;
  box-sizing: border-box;
  width: 40%;
  height: 70px;
  font-size: 24px;
  text-transform: uppercase;
  text-align: center;
  font-family: 'Raleway', sans-serif;
  font-weight: 800;
  background: 0;
  border: 2px solid black;
  padding: 20px;
  color: #04acec;
  position:absolute;
  margin-left:auto;
  margin-right:auto;
  left:0;
  right:0;
  outline:none;
}

button:hover {
  border: 2px solid #04acec;
  color: #04acec;
}


.balken {
  position: absolute;
  left: 0;
  bottom: 0;
  background: #757575;
  width: 100%;
  height: 1px;
}

.balken:before {
  left: 50%;
}

.balken:after {
  right: 50%;
}

.balken:before,
.balken:after {
  content: '';
  position: absolute;
  background: #04acec;
  width: 0;
  height: 2px;
  -webkit-transition: 0.5s ease;
  transition: 0.5s ease;
}

input:focus ~ .balken:before,
input:focus ~ .balken:after {
  width: 50%;
}

input:focus ~ label,
input:valid ~ label {
  color: #0ea7b5;
  font-size: 15px;
  top: -20px;
}
