@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');
* {
	box-sizing: border-box;
}
body {
	font-family: 'Roboto', 'Open Sans';
	background-image: url('/images/bg3.jpg');
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;

	color: white;
	margin: 0;
	padding: 0;
	min-height: 100vh;

	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

.overlay {
	background-color: rgba(0, 0, 0, 0.6);
	width: 100%;
	min-height: 100vh;

	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

section {
	margin-top: 2rem;
}

header {
	text-align: center;
	width: 500px;
	margin-top: 1rem;
	margin-bottom: 1rem;
}

header h1 {
	margin-bottom: 0.75rem;
}

header p {
	margin-top: 0.5rem;
	margin-bottom: 0.5rem;
}

.profile-img {
	width: 75px;
	height: auto;
	border-radius: 50%;
}

ul {
	margin: 0;
	padding: 0;
	list-style: none;
	text-align: center;
}

h2 {
	text-align: center;
	text-decoration: underline;
}

a {
	text-decoration: none;
	color: white;
}

a:visited {
	text-decoration: none;
	color: white;
}

a:hover {
	color: #eea9e9;
}

.skills,
.projects,
.about {
	width: 90%;
	max-width: 400px;
	min-height: 200px;
	padding: 1rem;
	margin: 0 auto;
	border: 1px solid white;
	border-radius: 0.5rem;
	box-sizing: border-box;

	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.contact-form {
	width: 90%;
	max-width: 400px;
	min-height: 200px;
	padding: 1rem;
	margin: 0 auto;
	border: 1px solid white;
	border-radius: 0.5rem;
	box-sizing: border-box;

	text-align: left;
	display: flex;
	flex-direction: column;
	align-items: stretch;
}

.specialties,
.work,
.profile,
.contact-me {
	display: flex;
	flex-direction: column;
	align-items: center;
	margin: 10px;
}

.skills h2,
.projects h2,
.about h2,
.contact-form h2 {
	margin-top: 0;
	margin-bottom: 0.75rem;
}

.skills ul,
.projects ul,
.about ul {
	margin-top: 0.25rem;
	padding-left: 0;
	margin-bottom: 0.25rem;
}

.skills li,
.projects li,
.about li {
	margin-bottom: 0.5rem;
}

/* FORM */
.contact-form label,
.contact-form input,
.contact-form textarea {
	font-size: 0.9rem;
}

.label-text {
	display: block;
	margin-bottom: 0.25rem;
}

.input-box {
	width: 100%;
	padding: 0.4rem;
	margin-bottom: 0.75rem;
	background-color: rgba(255, 255, 255, 0.1);
	color: white;
}

.submit-btn {
	font-size: 0.9rem;
	width: 100%;
	background-color: rgba(255, 255, 255, 0.1);
	color: white;
	border-radius: 4px;
	padding: 0.4rem 1rem;
	margin-top: 0.25rem;
	cursor: pointer;
	transition: background-color 0.3s;
}

.submit-btn:hover {
	background-color: #eea9e9;
}

/* CONTENT */
.content {
	display: flex;
	gap: 1.5rem;
	max-width: 1200px;
	margin: 0 auto;
}

/* MOBILE */
@media (max-width: 768px) {
	header {
		width: 90%;
	}
	.content {
		display: flex;
		flex-direction: column;
		gap: 0;
		justify-content: center;
		text-align: center;
	}

	.specialties {
		justify-content: center;
		margin-top: 5px;
		margin-bottom: 16px;
	}

	.work {
		margin-top: 5px;
		margin-bottom: 16px;
	}

	.profile {
		margin-top: 5px;
		margin-bottom: 16px;
	}
}
