/* Imports custom font */
@import url(https://fonts.googleapis.com/css?family=Montserrat);

/* Sets the font of the entire page, customizes background & ensures form is responsive */
html, body {
  font-family: montserrat, arial, verdana;
  //background: #8FBC8F;
  background: #def6fa;
  height: 100%;
  width: 100%;
  margin: 0;
}

/* Ensures form is responsive */
body {
  display: flex;
}

/* Customizes the form */
#register {
  /* Customizes the size of the form */
  width: 650px;
  /* Customizes the position of the form to be centered */
  margin: auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  /* Ensures title and button are centered */
  text-align: center;
  transform: translateY(-25vh);
}

/* Customizes the form further */
#register fieldset {
  background: #FFFFFF;
	border: none;
	border-radius: 3px;
	box-shadow: 0 0 15px 1px rgba(0, 0, 0, 0.4);
	padding: 20px 30px;
	width: 85%;
}

/* Customizes "Create Your Account" header on top of the page */
.header {
  font-size: 18px;
  text-transform: uppercase;
	color: #2C3E50;
	margin: 25px auto;
  font-weight: bolder;
}

/* Ensures labels are positioned / formatted correctly*/
.container {
  width: 100%;
}

/* Customizes position & font size of labels*/
label{
  float: left;
  margin-bottom: 5px;
  font-size: small;
}

/* Customizes the input boxes */
#register input[type=text] {
  color: #2C3E50;
  font-size: 16px;
  border: 1px solid #CCCCCC;
	border-radius: 3px;
  outline: none;
  width: 100%;
  padding: 15px;
	margin-bottom: 35px;
}

/* Customizes the font of placeholder */
input::placeholder {
  font-family: arial;
}

/* Ensures eye icon and lock are positioned correctly */
*, *:before, *:after {
  box-sizing: border-box;
  position: relative;
}

/* Customizes position of bottom error message */
.bottomerror {
  position: absolute;
  visibility: hidden;
  font-size: 14px;
  text-align: left;
  margin-top: -30px;
}

/* Customizes appearance of input fields when bottom error message appears */
#register .container.error input {
  border-color: rgba(220, 53, 69, 1);
}

#register .container.neutral input {
  border-color: none;
}

/* Customizes appearance of input fields when bottom error message disappers */
#register .container.success input {
  border-color: #00C234;
}

/* Customizes appearance of text displayed in bottom error message */
#register .container.error small {
  color: rgba(220, 53, 69, 1);
  visibility: visible;
}

#register .container.success small {
  color: #00C234;
  visibility: visible;
}

/* Customizes specs of the register button */
#register .Register {
	font-weight: inherit;
  color: #000;
	background: #ddd;
	border: none;
	border-radius: 20px;
	cursor: pointer;
	padding: 10px;
  width: 40%;
  margin-top: 10px;
  margin-bottom: 20px;
}

/* When mouse hovers over button, the button will lighten */
#register .Register:hover {
  background-color: #555;
  color: white;
}

/* Title of pop up message after submission */
.swal-title {
  font-size: 25px;
}

/* Text content of pop up message after submission */
.swal-text, .swal-content {
  display: block;
  text-align: center;
  color: #61534E;
  font-size: 20px;
  margin: 10px;
}
