#primary {
	margin-left: 0;
	min-height: 100vh;
	padding-top: 70px;
	padding-bottom: 30px;
	box-sizing: border-box;
}

.contact-wrapper {
	width: 100%;
	height: auto;
	display: flex;
	flex-direction: column;
	gap: 40px;
	padding: 0 20px;
}

.contact-details,
.contact-form {
	width: 100%;
}

.contact-details div {
	height: auto;
}

.contact-details h2 {
	margin-bottom: 10px;
}

.contact-details p {
	margin-bottom: 20px;
}

.contact-me {
	margin: 0;
	padding: 0;
}

.contact-me label {
	display: block;
	margin-bottom: 5px;
	font-size: 1rem;
	font-weight: 500;
	color: #333;
}

.contact-me input:not([type="submit"]),
.contact-me textarea {
	width: 100%;
	padding: 12px 10px;
	margin-top: 5px;
	margin-bottom: 20px;
	border: 1px solid #ccc;
	border-radius: 0;
	background-color: #fff;
	box-shadow: none;
	transition: border-color 0.3s;
	font-size: 1rem;
	box-sizing: border-box;
}

.contact-me input:not([type="submit"]):focus,
.contact-me textarea:focus {
	border-color: #000;
	outline: none;
	box-shadow: 0 0 0 1px #000;
}

.contact-me textarea {
	min-height: 150px;
	resize: vertical;
}

.contact-me input[type="submit"] {
	display: block;
	width: 100%;
	padding: 15px;
	background-color: #000;
	color: #fff;
	border: none;
	border-radius: 0;
	cursor: pointer;
	text-transform: uppercase;
	font-weight: bold;
	letter-spacing: 1px;
	transition: background-color 0.3s, opacity 0.3s;
}

.contact-me input[type="submit"]:hover {
	background-color: #333;
}

.contact-me ::placeholder {
	color: #999;
	opacity: 1;
}

@media screen and (min-width: 800px) {
	#primary {
		margin-left: 300px;
		height: 100vh;
		padding-top: 0;
	}

	.contact-wrapper {
		height: 100%;
		flex-direction: row;
		padding: 40px;
	}

	.contact-details,
	.contact-form {
		width: 40%;
	}

	.contact-form {
		width: 60%;
	}

	.contact-me {
		max-width: 600px;
		margin: 0 auto;
		padding: 0;
	}
}
