/*Generel styling*/

* { /*alt på siden bliver påvirket*/
	box-sizing: border-box; /*Padding og border inkluderes i bredde og højde*/
}

body {
	font-family: Arial, Helvetica, sans-serif;
	margin: 0 0 5em 0; /*Resetting af margin i hele bodyen + tilføjer luft under kontaktformular*/
	background-color: #fdfcf9;
}

h1, h2, h3, h4, h5, h6{
	font-family: Segoe, "Segoe UI", "DejaVu Sans", "Trebuchet MS", Verdana, sans-serif;
}

h1{
	text-transform: uppercase; /*Teksten transformeres til udelukkende at være store bogstaver*/
}

.kontakt-tekst{
	font-weight: 200;
	font-size: 22px;
}

::-webkit-input-placeholder{
	font-style: italic;
}


/*Navigation start*/
header{
	background-color: #0e4b01;
	height: 5em;
	padding: 1em;
	margin-bottom: 4em;	
}

.footer-start{
	    position:relative;
    bottom: 0;
    right: 0;
    width: 100%;
	float: right;
	margin-top: 20px;
    background-color: #085e26;
	height: 6em;
	padding: 1em;
    text-align: left;
}



.footer-kontackt{
       position:relative;
    bottom: 0;
    right: 0;
    width: 100%;
	float: right;
	margin-top: 20px;
    background-color: #085e26;
	height: 6em;
	padding: 1em;
    text-align: left;
}

footer ul{
    float: left;
}
footer li{
    	text-decoration: none;
	padding: 5px;
	font-size: 12px;
	color:#fff;
	text-transform: uppercase;
    columns: 2;
    display: inline-block;
}

.logo img{
	height: 50px;
}

nav ul{
	float: right;
	list-style-type: none;
}

nav li {
	display: inline-block;
}

nav li a {
	text-decoration: none;
	padding: 1em;
	font-size: 20px;
	color:#fff;
	text-transform: uppercase;
}

nav a:hover{
	text-decoration: underline;
	transition: 0.1s; /*skaber en mere blød overgang mellem linkfarverne*/
	background-color: #12640a;
	border-radius: 10px;
}

main{
    padding: 0 2em 2em;

}

.fs-øverst{
	margin-bottom: 30px;
	text-align: center;
}

.fs-øverst li{
	list-style: none;
}

.mad-idéer{
	display: inline;
	float: left;
	width: 49%;
	margin-right: 5px;
	border-style: groove;
	border:solid rgb(66, 59, 59);
	height: 100%;
	
}
.mad-idéer h2, .mad-idéer p, .mad-idéer a{
	padding-left: 25px;
	padding-right: 5px;
}

.lavpraktisk-måder{
	display: inline;
	float: right;
	width: 49%;
	border: solid rgb(66, 59, 59);
	
}

.lavpraktisk-måder h2, .lavpraktisk-måder p{
	padding-left: 25px;
	padding-right: 5px;
}
.lavpraktisk-måder p{
	margin-bottom: 2.11rem;
}

.lavpraktisk-måder a, .mad-idéer a{
	padding-left: 40%;
	
}


/*Kontaktform*/

.kontaktform {
  border-radius: 5px;
  background-color: #c5c5c5;
  padding: 1.3em;
  width: 50%;
  margin: 0 auto; /*Centrerer elementet på siden*/
  margin-bottom: 80px;
}

input[type=text], input[type=email], input[type=tel], select, textarea{
	width: 100%;
	padding: 1em;
	border: 1px solid #ccc;
	border-radius: 4px;
	margin-top: 0.5em;
	margin-bottom: 1em;
}

select{
	padding: 0.675em 0.675em 1em;
	appearance: none;
	-webkit-appearance: none;
	cursor: pointer;
}

form button{
	background-color: rgb(3, 84, 22);
	color: white;
	padding: 0.8em 1em;
	border: none;
	border-radius: 4px;
	width: 100%;
	font-size: 18px;
	margin-top: 1em;
}
form button:hover{
	background-color: rgb(4, 161, 41);
	cursor: pointer;
}

fieldset{
	border-color: rgb(234, 229, 229);
	border-style:groove;
}

input[type=checkbox], .checkbox{
	margin: 0.8em 0;
}

.om-os-tekst{
	
	text-align: left;
	width: 70%;
	height: 100%;
	margin: auto;
}
.om-os-tekst h1{text-decoration: underline;
text-align: center;}
.om-os-tekst h2{margin-top:150px;
	text-align: center;
text-decoration: underline;}





.person-info{
	margin-top: 5rem;
	
	height: 320px;
	width: 15%;
	background-color: gray;
	margin-right: auto;
	margin-left: auto;
}

.profil-billed{
	padding-top: 10px;
	margin: auto;
	width: 70%;
	
	overflow: hidden;
}

.profil-billed img{

	height: 100%;
	width: 100%;
	object-fit: contain;
	overflow: hidden;
}
.person-info a{
	color: black;
}

.ti-råd{
	box-sizing: border-box;
	height: 100%;
	width: 30%;
	margin-left: auto;
	margin-right: auto;
	margin-top: 1px;
	
	background-color: rgb(202, 202, 202);
	text-align: center;
	padding-bottom: 50px;
	padding-top: 0.5px;
	margin-top: 5%;
}

.ti-råd p,.ti-råd h1{
	margin-top: 40px;
	margin-bottom: 50px;
}

.ti-råd p{
	padding: 20px;
}


.ti-råd a{
	background-color: #0e4b01;
	color: #fff;
	padding-top: 20px;
	padding-bottom: 20px;
	padding-left: 20%;
	padding-right: 20%;
	height: 5px;
	width: 100px;
	text-decoration: none;
	border-radius: 50px;
	margin-top: 80%;
}

/*Andre style elementer*/

.visually-hidden{ /*WCAG defineret class som fjerner element fra skærm, men som stadig kan læses af skærmlæseren*/
	border: 0;
	clip: rect(0 0 0 0);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
}


/*Responsiv tilpasning*/

@media only screen and (max-width: 850px){
	main{
		width: 100% !important;
	}
	body{
		margin: 0;
	}
	header{
		margin-bottom: 0;
	}
}