/* Hele hjemmesiden får reset på top, bund, højre og venstre, så kan man give padding eller margins senere */
* {
  margin: 0;
  padding: 0;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background-color: #e1e1e1;
}

/* Her starter min header - Start */

header {
  height: 80px;
  display: flex;
  justify-content: flex-end;
  margin-bottom: 20px;
}

/* Gør min header sticky så top navigationen følger når man skroller */
.sticky {
  width: 100%;
  position: fixed;
  background-color: white;
  height: 80px;
  display: flex;
  justify-content: flex-end;
  margin-bottom: 20px;
  border-bottom: 10px solid #e1e1e1;
}

.navigation {
  display: flex;
}

.navigation a {
  color: #c9002f;
  padding: 30px 50px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
}

.logo img {
  height: 70px;
}

.logo {
  padding: 5px;
  position: absolute;
  left: 10px;
  top: 0;
}

.icon {
  display: none;
}

/* Header slutter her - Slut */

/* Container med generel indhold starter her - Start */

/*----------------------------- Her starter css til index.html -----------------------------*/

.container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0px 2%;
}

/* Lille tekst-præsentation og billede af Aslan starter her - Start */

.profile {
  margin-bottom: 20px;
}

.lars {
  width: 100%;
  height: auto;
}

.lars img {
  width: 100%;
  margin-bottom: -4px;
}
aside h1 {
  margin: 10px 10px;
  font-size: 30px;
  color: #383838;
}

aside {
  background-color: white;
  width: 100%;
  height: auto;
  padding: 10px 0px;
}

aside p {
  margin: 10px 10px;
  color: #383838;
}

/* Lille tekst-præsentation og billede af Aslan slutter her - Slut */

/* Lille info boks starter her - Start */

.info {
  background-color: #c9002f;
  width: 100%;
  height: auto;
  margin-bottom: 20px;
  padding: 10px 0px;
}

.info p {
  margin: 0px 10px;
  color: white;
}

.info h2 {
  color: white;
  font-size: 23px;
  margin-left: 10px;
  margin-bottom: 5px;
}

/* Lille info boks slutter her - Slut */

/* Article bokse med diverse mærkesager starter her - Start */

.articles {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
}

article {
  background-color: #f3f3f3;
  width: 100%;
  height: auto;
  margin-bottom: 10px;
  padding-bottom: 10px;
}

article h3 {
  margin-bottom: 10px;
  color: #383838;
}

.articletxt {
  padding: 10px;
}

.articletxt p {
  margin-right: 20px;
  color: #383838;
}

.articleimg {
  width: 100%;
  height: auto;
  margin-bottom: 10px;
}

.articleimg img {
  width: 100%;
  margin-bottom: -4px;
}

/* Article bokse med diverse mærkesager starter her - Slut */

/* Box til knap starter her - Start*/

.knapsag {
  width: 98%;
  height: 50px;
  background-color: #c9002f;
  margin-bottom: 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0px 1%;
}

.knapsag p {
  color: white;
}

.knapsag a {
  color: white;
  font-weight: bold;
}

/* Box til knap slutter her - Slut */

/* Generel indhold slutter her - Slut */

/* Footers starter her - Start */

footer {
  background-color: #c9002f;
  width: 100%;
  height: 80px;
  margin-top: 10px;
  display: flex;
  justify-content: center;
}

footer p {
  font-weight: bold;
  align-self: center;
  color: white;
}

/* En footer til contact som bliver på bunden siden der ikke er meget indhold */
.contactfooter {
  position: absolute;
  bottom: 0;
  left: 0;
  background-color: #c9002f;
  width: 100%;
  height: 80px;
  margin-top: 10px;
  display: flex;
  justify-content: center;
}

.contactfooter p {
  font-weight: bold;
  align-self: center;
  color: white;
}
/* Footers slutter her - Slut */

/*----------------------------- Her starter css til sager.html -----------------------------*/

.containersag {
  display: flex;
  flex-direction: column-reverse;
  padding: 0px 2%;
}

.sager {
  display: flex;
  flex-direction: column;
}

.artsag {
  background-color: white;
  width: 100%;
  margin-bottom: 10px;
  height: auto;
  color: #383838;
}

.artsag h2 {
  margin-top: 10px;
  margin-bottom: 10px;
  margin-left: 10px;
}

.artsag p {
  margin: 10px 10px;
}

.sagerinfoside {
  background-color: #c9002f;
  margin-bottom: 10px;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.sagerinfoside img {
  width: 100%;
  margin-bottom: 10px;
}

.sagerinfoside h2 {
  font-size: 30px;
  color: white;
  margin-bottom: 10px;
  margin-left: 10px;
}

.sagerinfoside p {
  color: white;
  margin: 10px;
  margin-right: 20px;
}

/*----------------------------- Her starter css til contact.html -----------------------------*/

.containercontact {
  display: flex;
  flex-direction: column;
  padding: 0px 2%;
}

.continfo {
  background-color: white;
  width: 100%;
  padding: 10px 0px;
}

.continfo a {
  text-decoration: none;
  font-weight: bold;
  color: #c9002f;
}

.continfo h2 {
  margin-bottom: 10px;
  font-size: 20px;
  color: #383838;
  margin-left: 10px;
}

.continfo li {
  list-style: none;
  font-size: 16px;
  color: #383838;
  margin-left: 10px;
}

.continfo p {
  color: #383838;
  margin: 0px 10px;
}

.contimg {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-bottom: 10px;
}

.contimg img {
  width: 50%;
}

/* Ændrer størrelse her fra mobil til tablet -----------------------------*/
@media screen and (min-width: 700px) {
  .profile {
    display: flex;
  }

  .lars {
    width: 60%;
  }
  aside {
    width: 40%;
    height: auto;
  }

  .info {
    height: 100px;
  }

  article {
    display: flex;
    flex-direction: row;
    padding-bottom: 0px;
  }

  .articleimg {
    width: 40%;
    margin-bottom: 0px;
  }

  .articletxt {
    margin: 10px;
    width: 60%;
  }

  /* CSS til sager.html */

  .containersag {
    display: flex;
    flex-direction: row;
  }

  .sager {
    width: 68%;
    margin-right: 2%;
  }

  .sagerinfoside {
    width: 30%;
  }

  /* CSS til contact.html */
  .containercontact {
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;
  }

  .continfo {
    width: 40%;
    height: auto;
    display: flex;
    justify-content: center;
    flex-direction: column;
  }

  .continfo h2 {
    margin-bottom: 10px;
    font-size: 20px;
  }

  .contimg {
    width: 30%;
    margin: 10px;
  }

  .contimg img {
    width: 80%;
    height: auto;
  }
}

/* Ændrer størrelse her fra tablet til pc skærm -----------------------------*/
@media screen and (min-width: 1150px) {
  .articles {
    width: 100%;
    display: flex;
    justify-content: space-between;
    flex-direction: row;
  }

  article {
    width: 32%;
    flex-direction: column;
    padding-bottom: 10px;
  }

  .articleimg {
    width: 100%;
    margin-bottom: 10px;
  }

  .articletxt {
    margin: 10px 0px;
    width: 100%;
  }

  .info {
    height: 150px;
  }

  h1 {
    font-size: 40px;
  }
}

/* Burgermenu. Indtil stræk af 580px er burger ikon synlig og links usynlig indtil klik med hjælp fra javascript. */
@media screen and (max-width: 580px) {
  .navigation a {
    display: none;
  }

  .navigation .icon {
    display: block;
    position: absolute;
    padding: 22px;
    font-size: 32px;
    right: 0;
    top: 0;
  }

  .responsive {
    position: relative;
    align-items: center;
    flex-direction: column;
    padding: 80px 0 60px 0;
    width: 100%;
  }

  .responsive .icon {
    position: absolute;
    right: 0;
    top: 0;
  }

  .responsive a {
    display: block;
    background-color: #e6e6e6;
    padding: 20px 100%;
    font-size: 16px;
  }
}

/* Stopklods så siden ikke strækker længere end 1270px */
@media screen and (min-width: 1270px) {
  .container {
    width: 1270px;
    margin: 0 auto;
  }

  .containersag {
    width: 1270px;
    margin: 0 auto;
  }

  .containercontact {
    width: 1270px;
    margin: 0 auto;
  }
}
