body {
	font-family: 'Lato', sans-serif;
	margin: 0px;
	padding: 0px;
}

/***** Grid *****/
.col-6 {
	width: 50%;
}

.col-12 {
	width: 100%;
}

section {
	background: white;
	width: 1200px;
	max-width: 90%;
	margin: 0 auto;
	padding: 20px;
	border-radius: 30px;
	position: relative;
	z-index: 12;
}

.form-container {
    width: 670px;
    max-width: 100%;
    margin: 40px auto;
}

.form-success {
    width: 670px;
    max-width: 100%;
    margin: 40px auto;
    text-align: center;
    font-size: 20px;
    font-family: 'Lato', sans-serif;
}

/***** Header *****/

header {
	text-align: center;
	position: relative;
	z-index: 11;
	margin-bottom: -22%;
	-webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
header img {
	max-width: 100%;
	width: 100%;
}

header .logo {
	width: 300px;
	max-width: 30%;
	max-height: 20%;
	z-index: 1000;
	top: 10%;
	position: absolute;
	margin: 10px auto;
	left: 50%;
	transform: translateX(-50%);
}

/***** Form *****/

.form {
    padding: 5px 10px 17px 10px;
    box-sizing: border-box;
	position: relative;
}

.form-section {
	display: flex;
	flex-wrap: wrap;
}

.form>label {
    display: block;
    text-transform: uppercase;
    font-family: 'Lato', sans-serif;
    margin-bottom: 5px;
    font-size: 14px;
    color: black;
}

/* Input */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="date"],
select {
    background: none;
    border: 1px solid #e9e9e9;
    padding: 17px 26px;
    width: 100%;
    box-sizing: border-box;
    font-size: 18px;
    color: #000000;
    font-family: 'Lato', sans-serif;
    font-weight: 400;
    border-radius: 4px;
	transition: all 500ms ease-in-out;
}

select:focus,
input:focus {
	outline: none;
    border: 1px solid #b9b9b9;
}

input:-webkit-autofill {
    -webkit-box-shadow:0 0 0 50px white inset;
    -webkit-text-fill-color: #000000;
}

input:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0 50px white inset;
    -webkit-text-fill-color: #000000;
} 

label {
	-webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Top */
#register-section .top-container h1 {
	background: none;
	color: #302f2f;
    text-align: center;
    font-size: 50px;
    padding: 0;
    margin: 22px;
    font-weight: 700;
	-webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
#register-section .top-container p {
	width: 600px;
	max-width: 100%;
	margin: 0 auto;
	text-align: center;
	color: gray;
	-webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Errors */
.error {
	font-weight: 700;
    color: red;
    margin-top: 10px;
    display: none;
    font-size: 12px;
    position: absolute;
    bottom: 0;
	-webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.has-error {
	border-color: red !important;
	transition: all 500ms ease-in-out;
}

/* Section */

h2 {
	background: #e8f2ea;
	color: #000000;
	font-size: 16px;
	padding: 5px 15px;
    display: inline-block;
    font-family: 'Lato', sans-serif;
    font-weight: 400;
	-webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Checkbox */

.checkbox-group {
	margin:5px 10px;
	position: relative;
}

.checkbox-group label {
	display: block;
	position: relative;
	margin-bottom: 20px;
	padding-left:35px;
	margin-right:35px;
	cursor: pointer;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	text-align: left;
	font-size: 18px;
	color: #000000;
	font-family: 'Lato', sans-serif;
	font-weight: 400;
}
.checkbox-group label input {
	position: absolute;
	opacity: 0;
	cursor: pointer;
	height: 0;
	width: 0;
}
.checkbox-group label .checkbox {
	position: absolute;
	top: -2px;
	left: 0;
	height: 25px;
	width: 25px;
	border: 1px solid #e9e9e9;
	border-radius: 4px;
}

.checkbox-group label .checkbox:after {
	content: "";
	position: absolute;
	display: none;
}
.checkbox-group label input:checked ~ .checkbox:after {
	display: block;
}
.checkbox-group label .checkbox:after {
	left: 5px;
	top: 5px;
	width: 15px;
	height: 15px;
	background: #000000;
	border-width: 0 3px 3px 0;
}

/* Button */

.button-group {
	display: flex;
	justify-content:flex-end;
	margin:10px;
	box-sizing: border-box;
	-webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.button-group button {
	cursor: pointer;
	padding: 15px 20px;
	border-radius: 5px;
	border:0;
	font-size: 18px;
	font-family: 'Lato', sans-serif;
	font-weight: 400;
	text-align: center;
	width: 314px;
	height: 56px;
	margin-top: 0;
    transition: all 0.3s ease-in-out;
}
.button-group button:hover {
    scale: 1.1;
}


/***** Footer *****/

footer {
	width: 100%;
	height: 200px;
	background: #ebebeb;
	position: relative;
	z-index: 10;
	-webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
footer section {
	min-height: 50px;
	border-radius: 0 0 30px 30px;
	text-align: center;
	color: #bbbbbb;
}
footer section a {
	color: #bbbbbb;
	text-decoration: none;
}
footer section a:hover {
	text-decoration: underline;
}


/* Mobile */
@media only screen and (max-width: 1200px) {
	section {
		width: 90%;
		margin-left:5%;
		box-sizing: border-box;
	}
    .form-container,
    .form-success {
        width: 100%;
        margin: 40px auto;
    }
}

@media only screen and (max-width: 600px) {
	section {
		width: 90%;
		margin-left:5%;
		box-sizing: border-box;
	}
	#register-section .top-container {
		width: auto;
	}
	#register-section .form-container {
		width: 100%;
	}

	.col-6 {
		width: 100%;
	}

	#register-section .top-container h1 {
		font-size: 40px;
		padding: 0;
		margin: 0;
	}

	#register-section .top-container {
		margin-bottom: 0;
	}

	#register-section .form-container {
		margin: 0 auto;
	}
	.radio-group {
		display: flex;
		flex-direction: column;
	}
	.radio-group label {
		margin: 10px 0;
	}
}