* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
:root {
  --Gul: #f8dd9f;
  --Sort: #000000;
  --Hvid: #ffffff;
}

nav {
  width: 100vw;
  height: 89px;
  background-color: var(--Hvid);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
#nav-btn {
  margin-right: 107px;
  font-family: "Poppins", sans-serif;
  font-weight: 500;

  width: 160px;
  height: 40px;
  margin-top: 10px;
  white-space: nowrap;
}
#nav-btn:hover {
  font-weight: 800;
}
#rooster-img {
  width: 90px;
  margin-left: 140px;
}
.menupunkt-liste {
  width: 700px;
  font-family: "Poppins", sans-serif;
  font-size: smaller;
  font-weight: 300;
  display: flex;
  list-style: none;
  justify-content: space-around;
  align-items: center;
}

.menupunkt-liste li {
  transition: all 0.3s ease-in-out;
  cursor: pointer;
}
.menupunkt-liste li:hover {
  font-weight: 800;
  border: 2px solid #f8dd9f;
  padding: 10px;
  border-radius: 15px;
}
.menupunkt-liste a {
  all: unset;
  list-style: none;
}

.black-btn {
  background-color: var(--Sort);
  color: var(--Hvid);
  border: none;
  border-radius: 7px;
  padding: 10px 20px;
  cursor: pointer;
}
.black-btn:hover {
  font-weight: 800;
}
.white-btn {
  background-color: var(--Hvid);
  color: var(--Sort);
  border: none;
  border-radius: 7px;
  padding: 10px 20px;
  cursor: pointer;
}
.white-btn:hover {
  font-weight: 800;
  color: var(--Hvid);
  background-color: var(--Sort);
}

.black-btn:focus,
.white-btn:focus {
  outline: 3px solid var(--Sort);
  font-weight: 800;
}

h1 {
  font-size: 60px;
  font-weight: normal;
  color: var(--Hvid);
  text-shadow: -0.4px -0.4px 0 #000, 0.4px -0.4px 0 #000, -0.4px 0.4px 0 #000,
    0.4px 0.4px 0 #000;

  font-family: "DM Serif Display";
  line-height: 60px;
  margin-bottom: 20px;
  font-style: normal;
}
h2 {
  font-size: 48px;
  font-family: "DM Serif Display";
}
.topbillede-sektion {
  height: 694px;

  background-image: url("../images/topbillede.jpg");

  background-position: center;
  background-size: cover;

  color: var(--Hvid);
  align-content: center;
  padding: 20px;

  display: flex;
  align-items: center;
}
h6 {
  font-size: 12px;
  font-family: "Poppins", sans-serif;
  font-weight: 300;
}
.topbillede-sektion-text {
  margin: 100px;
  text-align: left;
}
.topbillede-sektion-text h3 {
  font-family: "Poppins", sans-serif;
  font-weight: 300;
  line-height: 20px;
}
#topbillede-sektion-btn {
  margin-top: 20px;
  font-family: "Poppins", sans-serif;
  font-weight: 500;
}

.excellence-sektion {
  background-color: var(--Gul);
  height: 427px;

  padding: 50px;

  display: flex;
  align-items: center;
}
.excellence-sektion-container {
  width: 90%;
  text-align: center;
  align-content: center;
  align-items: center;

  margin: 0 auto;
  white-space: nowrap;
}
.excellence-sektion h6 {
  margin-bottom: 20px;
  line-height: 15px;
}
.excellence-sektion h2 {
  margin-bottom: 20px;
  font-family: "DM Serif Display";
  font-weight: 400;

  -webkit-text-stroke: 0.5px var(--Gul);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.excellence-sektion button {
  font-family: "Poppins", sans-serif;
  font-weight: 500;
}

.splitsektion-1 {
  width: 100vw;
  background-color: var(--Hvid);
  height: 743px;

  display: flex;
  align-items: center;
}
#splitsektion-1-img {
  width: 588px;
  height: 470px;
}
.splitsektion-1-container {
  width: 90%;
  margin: 0 auto;
  display: flex;
}
.splitsektion-1-text {
  margin: auto;
  margin-left: 73px;
}
.splitsektion-1-text h2 {
  font-size: 48px;
  font-weight: 400;
  -webkit-text-stroke: 0.5px var(--Hvid);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.splitsektion-1-text h6 {
  line-height: 15px;
  margin-bottom: 35px;
}
.splitsektion-1-text button {
  font-family: "Poppins", sans-serif;
  font-weight: 500;
}

.grid-sektion {
  text-align: center;

  background-color: black;
  height: 609px;

  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.grid-sektion h1 {
  text-shadow: none;
  transition: all 0.3s ease-in-out;
  cursor: pointer;
  -webkit-text-stroke: 0.5px var(--Hvid);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.grid-sektion h1:hover {
  color: var(--Gul);
  font-size: 80px;
}

.grid-sektion-item-1 {
  background-image: url("../images/ydelser.jpg");
}

.grid-sektion-item-2 {
  height: 100%;
  background-image: url("../images/service.jpg");
}
.grid-sektion-item-3 {
  height: 100%;
  background-image: url("../images/kontaktos.jpg");
}
.grid-sektion-item-1,
.grid-sektion-item-2,
.grid-sektion-item-3 {
  background-size: cover;
  background-position: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

.splitsektion-2 {
  width: 100vw;
  height: 725px;

  display: flex;
  align-items: center;
  align-content: center;
}
#splitsektion-2-img {
  width: 588px;
  height: 453px;
}
.splitsektion-2-container {
  width: 90%;
  margin: 0 auto;
  display: flex;
  margin-bottom: 10px;
}
.splitsektion-2-text {
  margin: auto;
  margin-left: 73px;
}
.splitsektion-2-text h2 {
  font-weight: 400;
  -webkit-text-stroke: 0.5px var(--Hvid);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.splitsektion-2-text h6 {
  line-height: 14px;
  margin-bottom: 20px;
  white-space: nowrap;
}
.splitsektion-2-text button {
  font-family: "Poppins", sans-serif;
  font-weight: 500;

  padding: 7px 21px;
}

.form-sektion {
  background-color: var(--Gul);
  height: 533px;
  color: var(--Sort);
  align-content: center;

  display: flex;
  align-items: center;
}
.form-sektion h1 {
  color: var(--Sort);
  font-weight: 400;
}
.form-sektion-form {
  margin: auto;
  margin-left: 182px;
  display: block;
  width: 585px;
  text-align: right;
  margin-top: 30px;
}
.form-sektion-form input,
textarea {
  width: 100%;
  border-radius: 7px;
  margin-bottom: 15px;
  border: none;
  height: 33px;
  padding: 7px;
  resize: none;
}
.form-sektion-form input::placeholder,
textarea::placeholder {
  color: var(--Sort);
  font-family: "Poppins", sans-serif;
  font-weight: 300;
}
.form-sektion-form textarea {
  height: 60px;
}
.form-sektion-container {
  width: 90%;
  margin: 0 auto;
  display: flex;
}
.form-sektion-text {
  margin: auto;
  margin-left: 73px;
  margin-bottom: 100px;
}
.form-sektion-text h1 {
  margin-bottom: 20px;

  font-family: "DM Serif Display";
  font-weight: 400;

  -webkit-text-stroke: 0.3px var(--Gul);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  white-space: nowrap;
}
.form-sektion-text h4 {
  margin-bottom: 10px;
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  white-space: nowrap;
}

.form-sektion-text h6 {
  margin-bottom: 20px;
  font-family: "Poppins", sans-serif;
  font-weight: 300;
  line-height: 30px;
  white-space: nowrap;
}
.form-sektion-form textarea {
  font-size: 14px;
}
.form-sektion-form textarea::placeholder {
  font-size: 14px;
  font-family: "Poppins", sans-serif;
}

#form-sektion-form-btn {
  font-family: "Poppins", sans-serif;
  font-weight: 500;
}
#form-sektion-form-btn:hover {
  font-weight: 800;
}
footer {
  width: 100%;

  height: 363px;
  background-color: var(--Sort);

  color: var(--Hvid);
}
.footer-container {
  width: 80%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.footer-container ul {
  list-style: none;
}
.footer-container h3 {
  margin-bottom: 10px;
  font-size: 25px;
  font-family: "DM Serif Display";

  font-weight: 400;
}
.footer-container li {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-size: 12px;
  cursor: pointer;
}

.socialmedia-logos img {
  width: 20px;
  height: 20px;
  display: flex-column;
  margin-right: 2px;
  cursor: pointer;
}
.socialmedia-logos img:hover {
  background-color: red;
}
.socialmedia-logos img:first-of-type:hover,
.socialmedia-logos img:last-of-type:hover {
  background-color: blue;
}
.margin-bottom {
  margin-bottom: 10px;
}
.margin-bottom-bit {
  margin-bottom: 5px;
}
.margin-bottom-last {
  margin-bottom: 30px;
}

.footer-text-1,
.footer-text-2,
.footer-text-3,
.footer-text-4 {
  margin-top: 60px;
}

.footer-text-1 li {
  line-height: 15px;
}

@media (max-width: 1024px) {
  #rooster-img {
    margin-left: 20px;
  }
  h1 {
    font-size: 50px;
    white-space: nowrap;
  }

  h3 {
    font-size: 15px;
  }

  #nav-btn {
    margin-right: 20px;
  }

  .splitsektion-1,
  .splitsektion-2 {
    height: fit-content;
    margin: 20px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    align-content: center;
  }

  .splitsektion-1-container,
  .splitsektion-2-container {
    flex-direction: column;
    background-color: var(--Gul);
    text-align: center;
    padding: 20px;
  }
  .splitsektion-1-text,
  .splitsektion-2-text {
    margin: 20px 0;
    white-space: wrap;
  }

  #splitsektion-1-img,
  #splitsektion-2-img {
    width: 100%;
    height: auto;
    margin: 5px;
  }

  .splitsektion-1-text h2,
  .splitsektion-2-text h2 {
    -webkit-text-stroke: 0.5px var(--Gul);
  }
  .splitsektion-1-text h6,
  .splitsektion-2-text h6 {
    white-space: wrap;
  }
  .form-sektion-text {
    margin-left: 0;
    margin-right: 10px;
  }
  .footer {
    width: 100%;
    height: fit-content;
    align-content: center;
  }
  .footer-container {
    width: 80%;
    grid-template-columns: repeat(2, 1fr);
    margin-left: 100px;

    text-align: center;
    margin-bottom: 20px;
  }
}

@media (max-width: 768px) {
  nav {
    flex-direction: column;
    height: auto;
    margin: 20px 0;
  }
  #rooster-img {
    margin-left: 0;
    width: 70px;
  }
  .menupunkt-liste {
    width: 100%;
    flex-direction: column;
    align-items: center;
    align-content: center;
  }
  .menupunkt-liste li {
    margin: 15px;
  }
  h1 {
    font-size: 40px;
  }
  h2 {
    font-size: 35px;
    white-space: wrap;
  }
  .splitsektion-1-text h2 {
    font-size: 35px;
  }
  .topbillede-sektion-text {
    margin: 0;
  }

  h6 {
    font-size: 13px;
    white-space: wrap;
  }

  .form-sektion-form {
    margin-left: 0;
  }
  .footer-container {
    grid-template-columns: 1fr;
    margin: 0 auto;
    margin-bottom: 20px;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 28px;
    line-height: 40px;
    white-space: wrap;
  }
  nav {
    flex-direction: column;
  }
  .menupunkt-liste {
    flex-direction: column;
  }
  .grid-sektion {
    grid-template-columns: 1fr;
  }
  .form-sektion {
    padding: 10px;
  }
}

@media (max-width: 360px) {
  .black-btn,
  .white-btn {
    padding: 6px 12px;
    font-size: 12px;
  }

  .menupunkt-liste li {
    font-size: 14px;
    padding: 6px;
  }

  .black-btn:focus,
  .white-btn:focus {
    outline: 2px solid var(--Sort);
  }
  .menupunkt-liste li:focus {
    outline: 2px solid var(--Sort);
  }

  h6 {
    font-size: 10px;
  }

  h1,
  .splitsektion-1-text h2,
  .splitsektion-2-text h2,
  .excellence-sektion h2,
  h3 {
    font-size: 1rem;
  }

  .form-sektion-container h4 {
    font-size: 0.5rem;
  }
  .form-sektion-container h6 {
    line-height: 15px;
  }
}
