/* page */
html {
	font-size: 62.5%;
	font-family: sans-serif;
}

body {
	font-size: 1.6rem;
	margin: 0;
}

*, *::before, *::after {
	box-sizing: border-box;
}

.container {
	margin: 0 auto;
	padding: 0 1rem;
	max-width: 1280px;
}

/* form-fields */
/* zie demo bestanden bij de theorie voor meer CSS ;) */
input:not([type=submit]),
textarea {
	display: block;
	width: 100%;
	max-width: 40rem;
	padding: .75em;
	border: 1px solid #666;
	border-radius: .3rem;
}

label,
input[type=submit] {
	margin-top: 3rem;
}
input[type=submit] {
	padding: .5em 2em;
}
label {
	display: block;
	margin-bottom: .2em;
	font-weight: bold;
}

.message {
	font-size: 1.4rem;
}
.message.error {
	color: #b90e0a;
}

/* Contact form styles */
.contact-page {
	background: white;
	padding: 3rem;
	border-radius: 0.5rem;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
	max-width: 700px;
	margin: 2rem auto;
}

.contact-page h1 {
	color: #333;
	font-size: 2.8rem;
	margin-top: 0;
	margin-bottom: 1rem;
}

.intro-message {
	color: #666;
	font-size: 1.6rem;
	line-height: 1.6;
	margin-bottom: 2rem;
}

.contact-form {
	margin-top: 2rem;
}

.form-group {
	margin-bottom: 2rem;
}

.form-group label {
	display: block;
	margin-bottom: 0.5rem;
	font-weight: 600;
	color: #333;
	font-size: 1.4rem;
}

.input-text {
	width: 100%;
	padding: 1rem;
	border: 2px solid #e0e0e0;
	border-radius: 0.5rem;
	font-size: 1.6rem;
	font-family: inherit;
	transition: border-color 0.3s ease;
}

.input-text:focus {
	outline: none;
	border-color: #667eea;
}

textarea.input-text {
	resize: vertical;
	min-height: 120px;
}

.checkbox-fieldset {
	border: 2px solid #e0e0e0;
	border-radius: 0.5rem;
	padding: 1.5rem;
	margin: 0;
}

.checkbox-fieldset legend {
	font-weight: 600;
	color: #333;
	padding: 0 1rem;
	font-size: 1.4rem;
}

.checkbox-group {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	margin-top: 1rem;
}

.checkbox-label {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	font-weight: normal;
	cursor: pointer;
	margin: 0;
	font-size: 1.6rem;
}

.checkbox-label input[type=checkbox] {
	width: 20px;
	height: 20px;
	cursor: pointer;
	accent-color: #667eea;
	flex-shrink: 0;
}

.btn-submit {
	margin-top: 2rem;
	padding: 1rem 3rem;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: white;
	border: none;
	border-radius: 0.5rem;
	font-size: 1.6rem;
	font-weight: 600;
	cursor: pointer;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
	box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.btn-submit:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

.btn-submit:active {
	transform: translateY(0);
}

/* Messages page styles */
.messages-page {
	background: white;
	padding: 3rem;
	border-radius: 0.5rem;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
	margin: 2rem auto;
}

.messages-page h1 {
	color: #333;
	font-size: 2.8rem;
	margin-top: 0;
	margin-bottom: 2rem;
}

.messages-grid {
	display: grid;
	gap: 2rem;
	margin-top: 2rem;
}

.message-card {
	background: #f9f9f9;
	padding: 2rem;
	border-radius: 0.5rem;
	border-left: 4px solid #667eea;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.message-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.message-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 1.5rem;
	padding-bottom: 1rem;
	border-bottom: 2px solid #e0e0e0;
}

.message-header h2 {
	margin: 0;
	color: #333;
	font-size: 2rem;
}

.message-date {
	color: #666;
	font-size: 1.4rem;
}

.message-body {
	color: #555;
}

.message-email {
	margin-bottom: 0.5rem;
	font-size: 1.4rem;
}

.message-email a {
	color: #667eea;
	text-decoration: none;
}

.message-email a:hover {
	text-decoration: underline;
}

.message-found-via {
	margin-bottom: 1rem;
	font-size: 1.4rem;
	color: #666;
}

.message-text {
	margin-top: 1rem;
	padding-top: 1rem;
	border-top: 1px solid #e0e0e0;
	line-height: 1.6;
	font-size: 1.6rem;
}

.no-messages {
	text-align: center;
	color: #666;
	font-size: 1.8rem;
	padding: 3rem;
}

/* index.html styles */
body {
	background: #f5f5f5;
	padding: 2rem 0;
}

.hero {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: white;
	padding: 4rem 2rem;
	text-align: center;
	margin-bottom: 3rem;
}

.hero h1 {
	font-size: 3.5rem;
	margin: 0 0 1rem 0;
	text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero p {
	font-size: 1.8rem;
	margin: 0;
	opacity: 0.95;
}

.content-section {
	background: white;
	padding: 3rem;
	margin-bottom: 2rem;
	border-radius: 0.5rem;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.content-section h2 {
	color: #333;
	font-size: 2.4rem;
	margin-top: 0;
	margin-bottom: 1.5rem;
	border-bottom: 3px solid #667eea;
	padding-bottom: 0.5rem;
}

.content-section h3 {
	color: #555;
	font-size: 1.8rem;
	margin-top: 2rem;
	margin-bottom: 1rem;
}

.content-section p {
	line-height: 1.8;
	color: #666;
	font-size: 1.6rem;
}

.example-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 2rem;
	margin-top: 2rem;
}

.example-card {
	background: #f9f9f9;
	padding: 2rem;
	border-radius: 0.5rem;
	border-left: 4px solid #667eea;
}

.example-card h4 {
	color: #333;
	margin-top: 0;
	font-size: 1.6rem;
}

.example-card p {
	color: #666;
	font-size: 1.4rem;
	margin: 0.5rem 0;
}

.definition-box {
	background: #e8f4f8;
	border-left: 4px solid #2196F3;
	padding: 1.5rem;
	margin: 1.5rem 0;
	border-radius: 0.3rem;
}

.definition-box strong {
	color: #1976D2;
}

.sql-examples {
	background: #2d2d2d;
	color: #f8f8f2;
	padding: 1.5rem;
	border-radius: 0.5rem;
	font-family: 'Courier New', monospace;
	margin: 1rem 0;
	overflow-x: auto;
}

.sql-examples code {
	display: block;
	margin: 0.5rem 0;
}

.nav-links {
	background: white;
	padding: 2rem;
	border-radius: 0.5rem;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
	text-align: center;
}

.nav-links h2 {
	margin-top: 0;
	color: #333;
}

.nav-links a {
	display: inline-block;
	margin: 0.5rem 1rem;
	padding: 1rem 2rem;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: white;
	text-decoration: none;
	border-radius: 0.5rem;
	font-weight: 600;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
	box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.nav-links a:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

.security-list {
	line-height: 2;
	color: #666;
	font-size: 1.6rem;
}