.logincontainer {
  width: 20%;
  margin: auto;
  /*border: 5px solid #008CBA;*/
  border-radius: 20px;
  padding: 50px 30px;
  margin-top: 15vh;
  font-size: 125%;
  box-shadow: 3px 8px 15px #151515;
  padding-bottom: 30px;
  min-width: 400px;
  color: white;
  background: linear-gradient(135deg, rgba(29, 29, 29, 0.05) 0%, rgba(29, 29, 29, 0.05) 17%,rgba(27, 27, 27, 0.05) 17%, rgba(27, 27, 27, 0.05) 34%,rgba(31, 31, 31, 0.05) 34%, rgba(31, 31, 31, 0.05) 93%,rgba(242, 242, 242, 0.05) 93%, rgba(242, 242, 242, 0.05) 100%),linear-gradient(135deg, rgba(129, 129, 129, 0.05) 0%, rgba(129, 129, 129, 0.05) 66%,rgba(117, 117, 117, 0.05) 66%, rgba(117, 117, 117, 0.05) 91%,rgba(199, 199, 199, 0.05) 91%, rgba(199, 199, 199, 0.05) 100%),linear-gradient(135deg, rgba(31, 31, 31, 0.07) 0%, rgba(31, 31, 31, 0.07) 15%,rgba(139, 139, 139, 0.07) 15%, rgba(139, 139, 139, 0.07) 23%,rgba(200, 200, 200, 0.07) 23%, rgba(200, 200, 200, 0.07) 29%,rgba(102, 102, 102, 0.07) 29%, rgba(102, 102, 102, 0.07) 100%),linear-gradient(90deg, rgb(19, 196, 228),rgb(126, 8, 222)) ;
}

#login-title {
  font-size: 200%;
  text-align: center;
  border-bottom: 5px solid white;
  border-radius: 3px;
  width: 34%;
  margin-bottom: 3vh;
  margin-left: 32%;
  padding-bottom: 10px;
}

input {
  margin: 1rem 0; 
  color: black;
}

input[type=text], input[type=password] {
  width: 20rem;
  border-radius: 5px;
  border-color: #444;
}

button {
  margin-top: 2rem;
  margin-left: 30%;
  width: 40%;
  color: black;
  border-radius: 5px;
  border-color: #444;
}

button:hover {
  background-color: #ddd;
}

#errormessage {
  color: red;
  transition-duration: 0.4s;
}

#toggleState {
  font-size: 75%;
  text-align: center;
  margin-top: 5vh;
}

#toggleState:hover {
  cursor: pointer;
}

label {
  min-width: 11rem;
}

input[type="checkbox"].switch{
	font-size: 1.4rem;
	-webkit-appearance: none;
	   -moz-appearance: none;
	        appearance: none;
	width: 3em;
	height: 1.5em;
	background: #ddd;
	border-radius: 3em;
	position: relative;
	cursor: pointer;
	outline: none;
	-webkit-transition: all .2s ease-in-out;
  transition: all .2s ease-in-out;
  margin-left: 2px;
}
  
input[type="checkbox"].switch:checked{
	background: #0ebeff;
}

input[type="checkbox"].switch:after{
	position: absolute;
	content: "";
	width: 1.5em;
	height: 1.5em;
	border-radius: 50%;
	background: #fff;
	-webkit-box-shadow: 0 0 .25em rgba(0,0,0,.3);
	        box-shadow: 0 0 .25em rgba(0,0,0,.3);
	-webkit-transform: scale(.7);
	        transform: scale(.7);
	left: 0;
	-webkit-transition: all .2s ease-in-out;
	transition: all .2s ease-in-out;
}
  
input[type="checkbox"].switch:checked:after{
	left: calc(100% - 1.5em);
}

@media (max-width: 1000px) {
  .logincontainer {
    width: 80%;
    font-size: 250%;
  }
  input {
    font-size: 90%;
    margin: 2rem 0;
  }
  button {
    font-size: 150%;
    width: 60%;
    margin-left: 20%;
  }
  .login-title {
    font-size: 200%;
  }
}


:focus {
  outline: none;
  background-color: #ddd;
  transition: .3s;
}