#newsletter {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	align-self: center;
	background-color: #0E2C8F;
	height: 285px;
	width: 100%;
	padding: 40px 0;
	font-family: "Helvetica", sans-serif;
	margin:0;
}

#newsletter hr {
	background-color: #FFD900;
	border: none;
	height: 5px;
	width: 30px;
}

#newsletter h2 {
	text-align: center;
	margin: 15px;
	color: #FFFFFF;
}

#newsletter form {
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: normal;
	align-self: auto;
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.5;
}

#newsletter form input {
	height: 45px;
	border-radius: 5px;
	background-color: #FFD900;
	text-align: center;
	font-size: 1rem;
	line-height: 1.5;
	padding: 10px 15px;
	margin: 0 15px;
}

#newsletter form input:first-child {
	color: #000;
	width: 300px;
	border: 1px solid #FFD900;
	border-radius: 0.25rem;
	transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

#newsletter form input:focus {
	border: 1px solid #FFD900;
	outline: 0;
}

#newsletter form input::placeholder {
	color: #6c757d;
	opacity: 1;
}

#newsletter form input:last-child {
	color: #000;
	font-size: 14px;
	text-transform: uppercase;
	cursor: pointer;
	outline: none;
	font-weight: 600;
	letter-spacing: 1px;
	border: 1px solid #FFD900;
}

#newsletter form input:last-child:hover {
	background-color: #0E2C8F;
	color: #FFD900;
	border: 1px solid #FFFFFF;
}

@media screen and (min-width: 100px) and (max-width: 540px) {
	#newsletter {
		height: fit-content;
	}

	#newsletter form {
		flex-direction: column;
		align-items: center;
		width: 80%;
	}

	#newsletter form input {
		width: 300px;
		margin: 10px 0;
	}

}