@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;
  font-family: "M PLUS Rounded 1c", sans-serif;
  color: black;
}
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;
}

@media only screen and (max-width: 800px) {
}

/* 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 hero og header*/
header {
  background-image: url(img/hero_img.jpg);
  margin-top: 0.5%; /*tilføjer lidt margin til toppen, så logoet kan læses*/
  height: 80vh;
  width: 100%;
  position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
}

/*knapperne i hero*/
.hero-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
#hero-btn-2 {
  margin-right: 60px;
  font-size: 30px;
  padding: 5px;
  border-radius: 5px;
  background-color: #71a850;
  text-decoration: none;
  border: none;
  cursor: pointer;
  color: white;
  font-weight: 500;
}

#hero-btn-1 {
  font-size: 30px;
  padding: 5px;
  border-radius: 5px;
  background-color: #8e5928;
  text-decoration: none;
  border: none;
  cursor: pointer;
  color: white;
  font-weight: 500;
}

#hero-btn-1:hover {
  background-color: #71a850;
}
#hero-btn-2:hover {
  background-color: #8e5928;
}

@media only screen and (max-width: 800px) {
  header {
    margin-top: 1%;
    height: 30vh;
  }
  .hero-btn-2 {
    font-size: 15px;
  }
  .hero-btn-1 {
    font-size: 15px;
  }
  .logo {
    font-family: "M PLUS Rounded 1c", sans-serif;
  }
  .responsive1 {
    padding: 0 6px;
    float: left;
    width: 24.99999%;
    height: 99.99999%;
  }
}

@media only screen and (max-width: 500px) {
  header {
    margin-top: 1.7%;
    height: 20vh;
  }
  .hero-btn {
    display: block;
    position: relative;
    margin-left: 15px;
  }
  #hero-btn-1 {
    margin-top: 10px;
    font-weight: 300;
    font-size: 12px;
  }
  #hero-btn-2 {
    font-weight: 300;
    font-size: 12px;
  }
  .logo {
    font-family: "M PLUS Rounded 1c", sans-serif;
  }
  .responsive1 {
    padding: 0 6px;
    float: left;
    width: 24.99999%;
    height: 99.99999%;
  }
}

/*Kode til kompentencer*/
.h2-p {
  color: #71a850;
  margin-left: 10px;
  margin-top: 10px;
  font-size: 30px;
}

div.gallery2 img {
  width: 100%;
  height: auto;
  margin-left: 60%;
}

.responsive1 {
  padding: 0 6px;
  float: left;
  width: 24.99999%;
  height: 99.99999%;
}

.clearfix:after {
  content: "";
  display: table;
  clear: both;
}

/*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;
}
