body {
	margin: 0;
	padding: 0;
	font-family: "Abhaya Libre", serif;
	font-size: 1.25rem;
	background-color: #f6f4ef;
	color: #333;
	line-height: 1.5;
}

header {
	background-image: url('/bilder/rioheader.jpg');
	background-size: cover;
	background-position: center;
	color: white;
	text-align: center;
	padding: 3rem 1rem;
	height: 300px;
	position: relative;
}

header::after {
	content: '';
	position: absolute;
	inset: 0;
	background: rgba(0,0,0,0);
	z-index: 1;
}

header h1, header p {
	position: relative;
	z-index: 2;
	margin: 0;
	color: #f6f4ef;
}
header h1 { 
	font-size: 5rem;
	font-weight: 700;
}
header p {
	font-family: "Rouge Script", cursive;
	font-size: 5rem;
	text-align: right;
}

section {
	margin-bottom: 2rem;
}
h2 {
	color: #5d4d3c;
	font-size: 2rem;
}

h3 {
	color: #5d4d3c;
	font-size: 1.30rem;
	font-style: italic;
}

footer {
	background-color: #c7c5b4;
	padding: 1rem;
	text-align: center;
	margin-top: 3rem;
}

/* bild-rad används i:
	-index.html
	-valpkullar.html
	-om-kenneln.html
*/
.bild-rad {
	display: flex;
	gap: 20px;
	flex-wrap: wrap;
}

.bild-rad figure {
	margin: 0;
	text-align: left;
	max-width: 300px;
	font-size: 1rem;
}

/* start-bild används i:
	-index.html
	-valpkullar.html
	-om-kenneln.html
*/

.start-bild {
 	width: 100%;
	height: auto;
	border-radius: 6px;
}
/* testar meny med undermeny i om-kennelnmenytest.html
*/
.menu-top {
	display: flex;
	justify-content: center;
	gap: 30px;
}

.has-submenu {
	position: relative;
}

.menu-bottom {
	display: flex;
	position: absolute;
	top: 100%;
	left: 0;
	background-color: #c7c5b4;
	padding: 0.3rem 0;
	min-width: 140px;
}

.menu-bottom a {
	display: block;
	padding: 0.3rem 1rem;
	text-decoration: none;
}

/* menu används i:
	-index.html
	-om-kenneln.html
	-avelsfilosofi.html
	-valpkullar.html
	-kontakt.html
*/
.menu {
	background-color: #c7c5b4;
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 10px 30px;
	padding: 0.5rem 1rem;
}

.menu a {
	color: #333;
	text-decoration: none;
	font-size: 1.2rem;
	white-space: nowrap;
}

.menu a:hover {
	text-decoration: underline;
}

/* container används i:
	-index.html
	-om-kenneln.html
	-avelsfilosofi.html
	-valpkullar.html
	-kontakt.html
*/

.container {
	max-width: 1000px;
	margin: 2rem auto;
	padding: 0 1rem;
}

/* text-link används i:
	-avelsfilosofi.html
*/

.text-link {
	text-decoration: none;
	font-style: italic;
	color: inherit;
}

.text-link:hover {
	text-decoration: underline;
	color: #8a735a;
}

/* social-links används i:
	-index.html
	-om-kenneln.html
	-valpkullar.html
*/

.social-links {
	text-align: center;
	margin-top: 2rem;
	font-size: 1.5rem;
}

.social-links a {
	text-decoration: none;
	color: inherit;
	margin: 0 10px;
}
	
.social-links a:hover {
	text-decoration: underline;
}

/* email-link används i:
	-index.html
	-om-kenneln.html
	-avelsfilosofi.html
	-valkullar.html
	-kontakt.html
*/

.email-link {
	text-decoration: none;
	font-style: italic;
	color: inherit;
}
	
.email-link:hover {
	text-decoration: underline;
	color: #8a735a;
}

/* tabell används i:
	-valpkullar.html (stamtavlan)
*/
	
.tabell {
	border-collapse: collapse;
	width: 100%;
}

.tabell td {
	border: 2px solid #c7c5b4;
	padding: 12px 16px;
	text-align: center;
	vertical-align: middle;
	font-family: inherit;
	font-size: inherit;
}

/* MOBILANPASSNING */
		@media (max-width: 768px) {

			body {
				font-size: 1.1rem;
			}

			header {
				height: auto;
				padding: 2rem 1rem;
			}

			header h1 {
				font-size: 2.8rem;
			}

			header p {
				font-size: 2.5rem;
				text-align: center;
				margin-top: 0.5rem;
			}
			h2 {
				font-size: 1.6rem;
			}
			
			footer {
				font-size: 0.9rem;
			}
			
		/* menu används i:
			-index.html
			-om-kenneln.html
			-avelsfilosofi.html
			-valpkullar.html
			-kontakt.html
		*/
		.menu {
			display: grid;
			grid-template-columns: repeat(2, 1fr);
			gap: 0.5rem 1rem;
			text-align: center;
		}

		.menu a {
			display: block;
			padding: 0.6rem 0;
			font-size: 1.1rem;
		}


		/* container används i:
			-index.html
			-om-kenneln.html
			-avelsfilosofi.html
			-valpkullar.html
			-kontakt.html
		*/
			.container {
				margin: 1.5rem auto;
			}
			
		/* social-links används i:
			-index.html
			-om-kenneln.html
			-avelsfilosofi.html
			-valpkullar.html
			-kontakt.html
		*/

			.social-links {
				font-size: 1.2rem;
			}

			.social-links a {
				display: block;
				margin: 0.5rem 0;
			}
}