@import url("https://fonts.googleapis.com/css2?family=M+PLUS+Rounded+1c:wght@300;400;500&display=swap");
*,
*::after,
*::before {
  margin: 0px;
  padding: 0px;
  box-sizing: border-box;
  color: black;
  font-family: "M PLUS Rounded 1c", sans-serif;
}
body {
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-weight: 400;
  font-size: 1em;
  line-height: 1.7;
  padding: 30px;
}

/*navigationsbar i index*/
ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

li {
  float: right;
}

li a {
  display: block;
  padding: 8px;
  color: #71a850;
  text-decoration: none;
  font-size: 20px;
}

li a:hover {
  transform: scale(1.2);
  text-decoration: underline;
}

/* kode til logo*/
.logo-box {
  position: absolute; /*så man eks. kan indsætte noget ind på et billede, kræver at parent er relative*/
  top: 1em;
  left: 2em;
}

.logo {
  width: 6em;
  opacity: 0.7;
}

/*Kode til kontakt*/
h1 {
  position: relative;
  top: 1.1em;
  left: 20px;
  color: #71a850;
  font-size: 30px;
}

/*Kode til form*/
/*#frm1 {
  margin-top: 20px;
}*/
#pfp-k {
  width: 20%;
  margin-left: 40%;
  margin-top: 5%;
}

#txt-k {
  margin-left: 40%;
}

@media only screen and (max-width: 700px) {
  #pfp-k {
    width: 15%;
  }
  #txt-k {
    margin-left: 35%;
    font-size: 0.9em;
  }
}

@media only screen and (max-width: 500px) {
  #pfp-k {
    margin-top: 10px;
    width: 28%;
  }
  #txt-k {
    margin-left: 25%;
    font-size: 15px;
  }
  .container {
    width: 100%;
    height: 50%;
  }
}

input[type="text"],
input[type="email"],
select,
textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  margin-top: 6px;
  margin-bottom: 16px;
  resize: vertical;
}

#submit {
  background-color: #71a850;
  color: white;
  padding: 12px 30px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

#submit:hover {
  background-color: #8e5928;
}

.container {
  border-radius: 5px;
  background-color: #f2f2f2;
  padding: 20px;
  margin-top: 50px;
  width: 50%;
  margin-left: 25%;
}

/*Kode til footer*/
.footer-distributed .footer-left, /*dette gør at man specifikt vælger footer-left inde i footer-distributed*/
.footer-distributed {
  text-align: center;
}

.footer-distributed {
  box-shadow: 0 0 0 0;
  width: 100%;
  text-align: left;
  font-weight: 300;
  padding: 50px 50px;
}
