*, *::before, *::after {
	box-sizing: border-box;
	font-family: "Barlow", sans-serif;
}
body {
	margin: 0px;
	padding: 0px;
	background-color: #f4f8fa;
}

.container {
	background: #fff;
	box-shadow: 0 6px 16px rgba(53, 105, 128, 0.2);
	padding: 40px;
	width: 100%;
	max-width: 786px;
	border-radius: 10px;
}
.wrapper {
	display: flex;
	justify-content: center;
	padding: 40px;
	font-family: "Segoe UI", Roboto, sans-serif;
	color: #33475b;
	flex-direction: column;
	align-content: center;
	align-items: center;
}
.titles {
	margin-bottom: 48px;
}
.titles img {
	width: 100%;
	max-width: 250px;
}

h2 {
	margin-bottom: 10px;
	color: #264653;
}

p em {
	color: #6c7a89;
	font-size: 14px;
}

label {
	font-size: 15px;
	font-weight: 600;
	margin-bottom: 6px;
	display: block;
}

input,
select,
textarea {
	width: 100%;
	padding: 10px 12px;
	font-size: 15px;
	color: #33475b;
	background-color: #f1f1f1a6;
	border: 1px solid #cbd5e0;
	border-radius: 6px;
	margin-bottom: 18px;
	transition: border 0.2s ease-in-out;
}

input:focus,
select:focus,
textarea:focus {
	outline: none;
	border-color: #00a29a;
	background-color: #fff;
}

textarea {
	min-height: 100px;
	resize: vertical;
}

fieldset {
	border: 1px solid #e0e0e0;
	border-radius: 6px;
	padding: 20px;
	background: #f5f8fa;
	margin-bottom: 42px;
}

legend {
	padding: 0 8px;
	color: #264653c7;
	font-size: 22px;
}

button[type="submit"] {
	background: #00a29a;
	color: #fff;
	font-size: 16px;
	padding: 12px 20px;
	border: none;
	border-radius: 6px;
	cursor: pointer;
	transition: background 0.3s ease;
	display: inline-block;
}

button[type="submit"]:hover {
	background: #21867a;
}
.field-group{
}
/*.field-group:nth-child(3),
.field-group:nth-child(6){
margin-bottom: 64px;
}*/
.onethird {
	display: flex;
	align-items: center;
	flex-direction: row;
	gap: 20px;
}
.onethird div{
	width: calc(100%/3);
}
#formMessage {
	margin-top: 20px;
	padding: 12px;
	border-radius: 6px;
	font-size: 15px;
	display: none;
}

#formMessage.success {
	display: block;
	background: #e6f9f3;
	color: #256d5c;
	border: 1px solid #2a9d8f;
	padding: 15px;
	border-radius: 6px;
	margin-top: 20px;
}

/* Error style */
#formMessage.error {
	display: block;
	background: #fdecea;
	color: #b21f2d;
	border: 1px solid #e53e3e;
	padding: 15px;
	border-radius: 6px;
	margin-top: 20px;
}
#fileList ul {
	margin-bottom: 28px;
	padding: 0;
	list-style: none;
}
#fileList ul li {
	margin: 6px;
	background-color: #f3f4f4;
	border: 1px solid #d3dbe5;
	display: inline-block;
	border-radius: 15px;
	padding-left: 10px;
	font-size: 14px;
	transition: all ease-in 0.1s;
}
#fileList ul li:hover {
	background-color: #536d7729;
	transition: all ease-in-out 0.2s;
}
button.remove-file-btn {
	background-color: #264653c7;
	border-radius: 50%;
	width: 30px;
	height: 30px;
	margin: 0;
	color: #efefef;
	border: none;
	cursor: pointer;
}

footer {
	background-color: #292f32;
	width: 100%;
	padding: 50px 10px 10px 10px;
}
footer .container {
	box-shadow: inherit;
	background-color: inherit;
	border-radius: inherit;
	margin: 0 auto;
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 50px;
	padding: 10px;
}
footer .container .logo {
	width: 30%;
}
footer .container ul {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-direction: row;
	width: 70%;
	gap: 10px;
}
footer .container ul li {
	margin-block: 5px;
	font-size: 14px;
}
footer .container ul li a {
	color: #fff;
	text-decoration: none;
}
span.required {
    color: #00a29a;
    font-weight: 100;
}
span.optional {
    color: #3459a4;
    font-weight: 100;
}
@media screen and (max-width: 576px){

	.wrapper {
		padding: 8px;
	}
	.container {
		padding: 22px 8px 22px 8px;
	}
	.titles {
		margin: 22px 12px 32px 12px;
	}
	.onethird {
		display: flex;
		align-items: flex-start;
		flex-direction: column;
		gap: 20px;
	}
	.onethird div{
		width:100%;
	}
	footer .container{
		gap:25px;
	}
	footer .container, footer .container ul {
		flex-direction: column;	
	}
	footer .container .logo, 
	footer .container ul {
		width:100%;
	}
}