@charset "UTF-8";
/*Variabler*/
/*Variables declared at the top level of a stylesheet are global.
Those declared in blocks ({}) are usually local, and can only be accessed within the block they were declared.
*/
body {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background-color: #F0F0F0;
  /*Nesting - indsætter alle elementer som har direkte relation til øverste element af blokken*/
}
body p {
  font-size: 16px;
  color: #333;
  line-height: 1.5;
}
body h1, body h2, body h3, body h4, body h5, body h6 {
  font-weight: 600;
  color: #333;
}

/*Skip to main content code snippet fra:https://www.a11y-collective.com/blog/skip-to-main-content/ */
.screen-reader-text {
  position: absolute;
  left: -9999px;
  z-index: 999;
  padding: 1em;
  background-color: black;
  color: white;
  opacity: 0;
}

.screen-reader-text:focus {
  left: 50%;
  transform: translateX(-50%);
  opacity: 1;
}

img {
  width: 100%;
  height: auto;
}

.container {
  display: grid;
  grid-template-columns: repeat(5, 1fr); /*istedet for at skrive 1fr*3 */
  grid-auto-rows: minmax(50px, auto); /*Ved at bruge minmax sikre vi en minimumstørrelse af vores gridelementer og ved auto sikre vi at boksen tilpasser sig efter dens indhold*/
}

/*Navigation*/
header {
  grid-column: 1/6; /*grid column start og slut på en linje i stedet for to*/
  background-color: #ffffff;
  border-bottom: 4px solid #388071;
}

nav {
  color: #333;
  height: 4em;
  padding: 1em;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
nav img {
  width: 70px;
}
nav #bars {
  display: none;
}
nav ul {
  display: flex;
  justify-content: center;
  align-items: center;
  list-style-type: none;
}
nav a {
  color: #333;
  padding: 0.5em;
  margin: 0.5em;
  font-size: 20px;
  font-weight: bold;
  text-decoration: none;
}
nav ul a:hover {
  color: #388071;
}

.active {
  color: #388071;
}

/*Header billede*/
.header-img {
  grid-column: 1/6; /*grid column start og slut på en linje i stedet for to*/
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #ffffff;
  border-bottom: 4px solid #388071;
  background-image: url(img/computer.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  height: 75vh;
  width: 100vw;
  margin-bottom: 1em;
}
.header-img .banner-tekst {
  left: 5%;
  top: 25%;
  position: absolute;
}
.header-img h1 {
  font-size: 3.5vw;
}
.header-img p {
  font-size: 2vw;
}
.header-img a {
  background-color: #388071;
  padding: 0.8em 1em;
  border-radius: 8px;
  color: #ffffff;
  text-decoration: none;
  text-align: center;
  position: absolute;
}
.header-img a:hover {
  background-color: #133833;
  transition: 0.3s ease-in-out;
}

/********Forside styling********/
main {
  grid-column: 1/6;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
}
main h2 {
  grid-column: 1/7;
  text-align: center;
  font-size: 30px;
}
main .cta-wrapper {
  grid-column: 1/7;
  display: flex;
  justify-content: space-around;
}

/*CTA bokse*/
.cta-1, .cta-2, .cta-3 {
  background-color: #ffffff;
  width: 20vw;
  padding: 2em;
  margin: 2em auto;
}
.cta-1 img, .cta-2 img, .cta-3 img {
  margin: 0 auto;
  width: 60%;
  display: block;
}
.cta-1 p, .cta-2 p, .cta-3 p {
  margin-bottom: 2em;
}
.cta-1 a, .cta-2 a, .cta-3 a {
  background-color: #388071;
  padding: 0.8em 1em;
  border-radius: 8px;
  color: #ffffff;
  text-decoration: none;
  text-align: center;
  display: block;
}
.cta-1 a:hover, .cta-2 a:hover, .cta-3 a:hover {
  background-color: #133833;
  transition: 0.3s ease-in-out;
}

.txt-img-section {
  grid-column: 1/7;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
}

.tekst {
  grid-column: 1/5;
  background-color: #133833;
  padding: 2em 4em 4em 4em;
}
.tekst p {
  color: #F0F0F0;
}
.tekst p:nth-of-type(4) {
  margin-bottom: 3em;
}
.tekst h2 {
  color: #F0F0F0;
  text-align: left;
}

.secondary-btn {
  background-color: transparent;
  padding: 0.8em 1em;
  border-radius: 8px;
  color: #ffffff;
  text-decoration: none;
  text-align: center;
  border: 2px solid #ffffff;
}
.secondary-btn:hover {
  background-color: #ffffff;
  color: #133833;
  transition: 0.3s ease-in-out;
}

.billede {
  grid-column: 5/8;
  background-image: url(img/presentation.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

/*Kontaktformular*/
.kontakt-bg-img {
  grid-column: 1/7;
  background: linear-gradient(rgba(142, 142, 142, 0.8), rgba(142, 142, 142, 0.7)), url("img/meeting.jpg");
  background-size: cover;
}

.kontaktform {
  border-radius: 5px;
  background-color: #F0F0F0;
  padding: 1.3em;
  width: 50%;
  margin: 4em auto; /*Centrerer elementet på siden*/
}
.kontaktform h3 {
  font-size: 25px;
  margin-bottom: 0;
  margin-left: 0.5em;
}
.kontaktform p {
  margin-left: 1em;
}

.section-form {
  display: flex;
}

input[type=text], input[type=email], input[type=tel], select, textarea { /*vælger de emner/typer som skal berøres af nedenstående css*/
  width: 100%;
  font-size: 15px;
  padding: 1em;
  border: 2px solid #133833;
  border-radius: 4px;
  box-sizing: border-box;
  margin: 0.5em 1em 1em 1em;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}
input[type=text]::-moz-placeholder, input[type=email]::-moz-placeholder, input[type=tel]::-moz-placeholder, select::-moz-placeholder, textarea::-moz-placeholder {
  color: #333;
}
input[type=text]::placeholder, input[type=email]::placeholder, input[type=tel]::placeholder, select::placeholder, textarea::placeholder {
  color: #333;
}

input[type=submit] {
  background-color: #388071;
  padding: 0.8em 1em;
  border-radius: 8px;
  color: #ffffff;
  text-decoration: none;
  text-align: center;
  font-size: 15px;
  border: none;
  width: 100%;
  margin: 0 1em;
  cursor: pointer;
}
input[type=submit]:hover {
  background-color: #133833;
  transition: 0.3s ease-in-out;
}

.visually-hidden { /*Bootstrap defineret class som fjerner element fra skærm, men som stadig kan læses af skærmlæseren*/
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/*Footer styling*/
footer:nth-of-type(1) {
  grid-column: 1/6;
  background-color: #0A1F1C;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  padding: 1em 4em;
}
footer:nth-of-type(1) p, footer:nth-of-type(1) h4 {
  color: #ffffff;
  line-height: 0.5;
  font-style: normal;
}
footer:nth-of-type(1) h4 {
  font-size: 18px;
}
footer:nth-of-type(1) a {
  color: #ffffff;
  text-decoration: underline;
}
footer:nth-of-type(1) a:hover {
  color: #388071;
}
footer:nth-of-type(1) .logo-footer {
  width: 100px;
  height: auto;
}

.footer-left {
  grid-column: 1/2;
}

.footer-right {
  grid-column: 2/3;
  text-align: right;
  margin: auto 0;
}

footer:nth-of-type(2) {
  grid-column: 1/6;
  background-color: #133833;
  text-align: center;
}
footer:nth-of-type(2) p {
  color: #F0F0F0;
}

/**********-----Tablet------**********/
@media screen and (max-width: 900px) {
  header:nth-of-type(1) {
    display: inline;
  }
  nav {
    color: #388071;
  }
  nav #bars {
    display: flex;
    border: none;
    background-color: transparent;
    font-size: 2.3em;
    color: #388071;
    cursor: pointer;
  }
  nav ul {
    display: none;
    height: auto;
    border-top: 4px solid #388071;
    flex-direction: column;
  }
  nav ul li {
    display: flex;
  }
  nav .show {
    display: flex;
    position: absolute;
    top: 80px;
    left: 0;
    padding: 0;
    background-color: #ffffff;
    width: 100%;
    z-index: 1;
  }
  .header-img {
    background-image: url(img/computer-m.jpg);
    height: 60vh;
  }
  .header-img .banner-tekst {
    left: 5%;
    top: 20%;
  }
  .header-img h1 {
    font-size: 5vw;
  }
  .header-img p {
    font-size: 4vw;
  }
  main .cta-wrapper {
    flex-direction: column;
  }
  .cta-1, .cta-2, .cta-3 {
    background-color: #ffffff;
    width: 80%;
    padding: 2em;
    margin: 2em auto;
  }
  .cta-1 img, .cta-2 img, .cta-3 img {
    width: 50%;
  }
  .tekst {
    grid-column: 1/8;
    order: 2;
    padding: 2em 2em 4em 2em;
  }
  .secondary-btn {
    display: block;
  }
  .billede {
    order: 1;
    grid-column: 1/8;
    height: 300px;
  }
  .kontaktform {
    width: 80%;
  }
  .kontaktform h3, .kontaktform p {
    margin-bottom: 0.5em;
  }
  .section-form {
    flex-direction: column;
  }
  input[type=text], input[type=email], input[type=tel], select, textarea { /*vælger de emner/typer som skal berøres af nedenstående css*/
    margin: 0.5em 0 1em 0;
  }
  input[type=submit] {
    margin: 0;
  }
  .footer-left {
    grid-column: 1/3;
    margin: 0 auto;
  }
  .footer-right {
    grid-column: 1/3;
    text-align: center;
    margin: 2em auto 0 auto;
  }
}
/**********-----Mobile------**********/
@media screen and (max-width: 425px) {
  .header-img {
    height: 45vh;
  }
  .header-img .banner-tekst {
    top: 22%;
  }
  .header-img h1 {
    font-size: 5.5vw;
  }
  .header-img p {
    font-size: 4.5vw;
  }
}/*# sourceMappingURL=style.css.map */