/* CSS reset */
* {
  margin: 0;
  padding: 0;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background-color: rgb(238, 177, 188);
  line-height: 150%;
}
/* Iphone 14 pro max 430px */
/* Menu blok med burgermenu incl. logo */
.topnav {
  background-color: #e91b48;
  display: flex;
  justify-content: flex-end;
}
header a {
  color: whitesmoke;
  padding: 15px;
  text-decoration: none;
}
.topnav a:hover {
  background-color: #e91b48;
  color: #333;
}
.topnav a {
  display: none;
}
.topnav .icon {
  display: block;
  font-size: 1em;
}
.responsive {
  position: relative;
  padding: 60px 0 40px 0;
  flex-direction: column;
  align-items: center;
}
.responsive .icon {
  position: absolute;
  right: 0;
  top: 0;
}
.responsive a {
  display: block;
  font-size: 1.2em;
}
.logo {
  position: absolute;
  top: 0;
  left: 0;
  color: #e91b48;
  padding: 15px 0;
  width: 1px;
}
.logo {
  z-index: 1;
}
/*Billede af kandidaten på forsiden samt tekst om hende*/
.nina {
  margin: 5% 5%;
  display: grid;
  width: 80%;
}
.tekstboks {
  padding: 10px;
  max-width: 80%;
  margin: 5% 5%;
  background-color: #e91b48;
}
h1 {
  padding: 20px 0;
  margin-bottom: 10px;
}
p {
  line-height: 150%;
  letter-spacing: normal;
  font-size: 16px;
}
/* Faktaboks som kommer når man udvider skærmen til over 600px*/
.faktaboks {
  padding: 10px;
  background-color: #e91b48;
  text-align: left;
  height: 600px;
  max-width: 600px;
  margin: 5% 5%;
  display: none;
}
/* Endnu en tekst det kommer når man udvider skærmen til over 1000px*/
.vores-vision {
  padding: 20px;
  width: 400px;
  height: 400px;
  margin: 140% auto;
  background-color: #e91b48;
  display: none;
}
/* to containere der er lavet til at holde styr på indholdet horisontalt*/
.container {
  display: flex;
}
.containertekst {
  display: flex;
  display: inline-block;
}
/* Tekstboks og billede der kommer når man trykker om mig på forsiden */
.tekstboksommig {
  padding: 20px;
  max-width: 1200px;
  margin: 5% 5%;
  background-color: #e91b48;
  display: block;
}
.nina2 {
  width: 90%;
  margin: 5% 5%;
  display: block;
}
/* tekstbokse og billeder der kommer op når man trykker kontakt os på forsiden*/
.os {
  width: 50%;
  margin: 5% 10%;
  display: grid;
}
.vej {
  padding: 1%;
  max-width: 600px;
  max-height: 600px;
  margin: 1%;
  background-color: #e91b48;
  display: flex;
  position: relative;
  justify-content: center;
}
.osstorre {
  display: none;
  width: 80%;
  margin: 5% 5%;
}
.find {
  padding: 1%;
  margin: 5% 8%;
  background-color: #e91b48;
  display: flex;
  position: relative;
  max-width: 600px;
  justify-content: center;
}

/* layout til tablet 600px*/
@media screen and (min-width: 600px) {
  .topnav a {
    display: flex;
    justify-content: flex-end;
  }
  .topnav .icon {
    display: none;
  }
  .nina {
    display: grid;
    margin: 5% 5%;
  }
  h2 {
    background-color: #e91b48;
    padding: 10px 0;
  }
  .tekstboks {
    padding: 10px;
    width: 300px;
    height: 300px;
    margin: 5% 5%;
    background-color: #e91b48;
  }
  .faktaboks {
    display: grid;
    margin: 20% 5%;
    float: right;
    padding: 10px;
    height: 600px;
    width: 200px;
  }
  .os {
    max-width: 80%;
    margin: 5% 5%;
    display: none;
  }
  .osstorre {
    display: flex;
    width: 80%;
    margin: 5% 5%;
    max-width: 500px;
    max-height: 500px;
  }
  .vej {
    padding: 1%;
    max-width: 500px;
    margin: 1% 10%;
    background-color: #e91b48;
    display: flex;
    max-height: 500px;
  }
  .find {
    padding: 1%;
    margin: 5% 8%;
    background-color: #e91b48;
    display: flex;
    position: relative;
    max-width: 500px;
    justify-content: center;
  }
}
/* Layout til desktop */
@media screen and (min-width: 1000px) {
  .nina {
    width: 450px;
    height: 450px;
  }
  .tekstboks {
    width: 400px;
  }
  .faktaboks {
    width: 400px;
    height: 300px;
    display: block;
  }
  .vores-vision {
    display: block;
    height: 200px;
    width: 400px;
  }
  .os {
    max-width: 80%;
    margin: 5% 5%;
    display: none;
  }
  .osstorre {
    display: flex;
    width: 80%;
    margin: 5% 5%;
    max-width: 900px;
    max-height: 900px;
  }
  .vej {
    padding: 1%;
    max-width: 900px;
    margin: 1% 10%;
    background-color: #e91b48;
    display: flex;
    max-height: 900px;
  }
  .find {
    padding: 1%;
    margin: 5% 8%;
    background-color: #e91b48;
    display: flex;
    position: relative;
    max-width: 900px;
    justify-content: center;
  }
}
