# style.css
/* Reset og base-stiler */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: Arial, sans-serif;
	background-color: #f9f4ea;
	color: #333;
	line-height: 1.6;
}

/* Hero-seksjon */
#hero {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 50px;
	background-color: #fff4e6;
	border-radius: 20px;
	margin: 20px;
	margin-bottom: 5px;
	max-width: 1200px;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}

.hero-content {
	flex: 1;
	padding-right: 20px;
}

.hero-content h1 {
	font-size: 2.5em;
	color: #ff6f61;
	margin-bottom: 20px;
}

.hero-content p {
	font-size: 1.2em;
	color: #6b705c;
}

.hero-bio {
	margin-top: 20px;
	color: #6b705c;
}

.hero-button {
	display: inline-block;
	background-color: #ff6f61;
	color: #fff;
	border: none;
	padding: 8px 20px;
	font-size: 1em;
	border-radius: 10px;
	cursor: pointer;
	transition: background-color 0.3s;
	margin-top: 20px;
	text-decoration: none;
}

.hero-button:hover {
	background-color: #e45b51;
}

.vertical-line {
	width: 2px;
	background-color: #e0e0e0;
	height: 200px;
	margin: 0 20px;
}

.hero-image img {
	width: 200px;
	height: 200px;
	border-radius: 50%;
	object-fit: cover;
}

/* Prosjekt-seksjon */
#projects {
	padding: 10px 50px; /* Endret fra 50px til 20px top/bottom padding */
	text-align: center;
	max-width: 1200px;
	margin-left: auto;
	margin-right: auto;
}


#projects h2 {
	font-size: 2em;
	margin-bottom: 20px;
	color: #457b9d;
}

.project-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 30px;
	padding: 20px 0;
}

.project-card {
	background-color: #fff;
	border-radius: 15px;
	overflow: hidden;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
	transition: transform 0.3s;
}

.project-card:hover {
	transform: scale(1.05);
}

.project-card img {
	width: 100%;
	height: 180px;
	object-fit: cover;
}

.project-card h3 {
	font-size: 1.5em;
	color: #4d201c;
	padding: 15px;
	margin: 0;
	background-color: #ffffff;
}

/* Prosjektside */
.project-page {
	max-width: 800px;
	margin: 0 auto;
	padding: 40px 20px;
	background-color: #fff;
	border-radius: 15px;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.project-page img {
	width: 100%;
	height: auto;
	margin: 20px 0;
	border-radius: 10px;
}

.project-page h1 {
	font-size: 2.5em;
	color: #ff6f61;
	margin-bottom: 20px;
}

.project-page .ingress {
	font-size: 1.2em;
	color: #6b705c;
	margin-bottom: 30px;
}

/* Footer */
footer {
	text-align: center;
	padding: 20px;
	background-color: #f4f1de;
	color: #6b705c;
	margin-top: 20px;
}

/* Responsiv design */
@media (max-width: 768px) {
	#hero {
		flex-direction: column;
		text-align: center;
		padding: 30px;
	}
	
	.vertical-line {
		width: 80%;
		height: 2px;
		margin: 20px auto;
	}
	
	.hero-content {
		padding-right: 0;
		margin-bottom: 20px;
	}
	
	.project-grid {
		grid-template-columns: 1fr;
	}
}
