@charset "UTF-8";
/* Variabler vi kan kalde på, i scss'en */
/* mixin til gentagene stykker styling */
/* importerer variabler og mixins fra partial.scss */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "acumin-pro", sans-serif;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  height: 140px;
  width: 100vw;
  padding: 0 5%;
  background-color: white;
  top: 0;
}
header img {
  width: 200px;
}
header nav {
  display: flex;
  justify-content: center;
  align-items: center;
}
header nav ul {
  display: flex;
  list-style: none;
  align-items: flex-end;
  justify-content: center;
  height: 75px;
  width: 100%;
  gap: 30px;
  border-top: 1px solid #000000;
}
header nav ul li {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 50px;
}
header nav ul li:last-child a {
  color: #D1931C;
  font-size: 1.1rem;
}
header nav a {
  text-decoration: none;
  color: #000000;
}
header nav a:hover {
  color: #D1931C;
  transition: 0.1s;
}
header #menu {
  display: none;
  font-size: 2.3rem;
}
header #mobile-nav {
  display: none;
  position: fixed;
  top: 100px;
  right: -100vw;
  height: calc(100vh - 100px);
  width: 100vw;
  background-color: white;
  transition: 0.2s;
}
header #mobile-nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
  width: 100%;
  height: 80%;
}
header #mobile-nav ul li:last-child a {
  color: #D1931C;
}
header #mobile-nav ul li a {
  text-decoration: none;
  color: #000000;
  font-size: 1.3rem;
}

main {
  margin-top: 140px;
}
main a:hover { /* hover effekt på alle anchors inde i <main> */
  box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
  transform: scale(1.03);
  transition: 0.5s;
}

/* scss for index.html */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 81svh;
  color: #F5F2EF;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(../img/heroimg.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  padding: 50px;
}
.hero h1 {
  font-size: 3em;
  font-weight: 700;
  text-align: center;
  margin-bottom: 30px;
}
.hero p {
  font-size: 1.25em;
  font-weight: 300;
  font-style: italic;
  text-align: center;
  margin-bottom: 30px;
}
.hero a {
  /* Styling til alle anchors på siderne */
  height: -moz-fit-content;
  height: fit-content;
  width: -moz-fit-content;
  width: fit-content;
  background-color: #D1931C;
  text-decoration: none;
  color: #F5F2EF;
  border-radius: 1.5rem;
  font-weight: 600;
  transition: 0.5s;
  margin-bottom: 50px;
  padding: 12px 30px;
}

.content {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr 1fr 1fr;
  padding-bottom: 100px;
}
.content section {
  display: grid;
  grid-template-columns: 2fr 3fr;
  grid-template-rows: 1fr auto 1fr;
  grid-template-areas: "h2 img" "p img" "a img";
  padding: 100px;
  gap: 100px;
  row-gap: 30px;
}
.content section:nth-of-type(even) { /* skifter rækkefølge på elementerne i grid'en */
  grid-template-columns: 3fr 2fr;
  grid-template-areas: "img h2" "img p" "img a";
}
.content h2 {
  grid-area: h2;
  font-size: 2em;
  align-self: end;
}
.content p {
  grid-area: p;
  font-size: 1.25em;
  font-weight: 300;
}
.content a {
  grid-area: a;
  /* Styling til alle anchors på siderne */
  height: -moz-fit-content;
  height: fit-content;
  width: -moz-fit-content;
  width: fit-content;
  background-color: #D1931C;
  text-decoration: none;
  color: #F5F2EF;
  border-radius: 1.5rem;
  font-weight: 600;
  transition: 0.5s;
  padding: 15px 30px;
  width: 325px;
  text-align: center;
  font-size: 1.1em;
}
.content img {
  grid-area: img;
  border-radius: 1.5rem;
  width: 100%;
  max-height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  align-self: center;
}

/* scss for arbejdsmiljoe.html/faellesskab.html */
video {
  width: 100%;
  height: 80svh;
  -o-object-fit: contain;
     object-fit: contain;
  background-color: #041E42;
}

.banner {
  background-image: url(../img/tandlæge2.jpg);
  background-repeat: no-repeat;
  align-items: end;
  padding: 0;
}
.banner section {
  display: flex;
  flex-direction: column;
  width: 30vw;
  height: -moz-fit-content;
  height: fit-content;
  max-height: 100%;
  align-items: center;
  justify-content: center;
  background-color: #041E42;
  padding: 30px 50px;
  border-radius: 1.5rem;
  margin: 30px;
}
.banner section h1 {
  font-size: 2.1em;
  text-align: left;
}
.banner section p {
  font-size: 1.2em;
  text-align: left;
  font-style: normal;
}
.banner section a {
  margin-bottom: 0;
  margin-top: 30px;
  justify-self: end;
}

.arbejdsmiljoe { /* tilføjer små ændrer til grid scss'en fra index.html, så den passer til arbejdsmiljø/fællesskab */
  grid-template-rows: 1fr 1fr;
  padding-bottom: 20px;
}
.arbejdsmiljoe section {
  grid-template-rows: 1fr 2fr;
  grid-template-areas: "h2 img" "p img";
}
.arbejdsmiljoe section:nth-of-type(even) {
  grid-template-areas: "img h2" "img p";
}

.bottom-content { /* hero i bunden af arbejdsmiljø/fællesskab siden */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: end;
  width: 100%;
  height: 80svh;
  background-image: url(../img/bhero.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  padding: 50px;
}
.bottom-content div {
  display: flex;
  flex-direction: column;
  background-color: #F5F2EF;
  padding: 10px 20px;
  border: 1px solid #000000;
  margin-bottom: 30px;
}
.bottom-content div p {
  font-size: 1.25em;
  font-weight: 300;
  margin-bottom: 30px;
}
.bottom-content div a {
  /* Styling til alle anchors på siderne */
  height: -moz-fit-content;
  height: fit-content;
  width: -moz-fit-content;
  width: fit-content;
  background-color: #D1931C;
  text-decoration: none;
  color: #F5F2EF;
  border-radius: 1.5rem;
  font-weight: 600;
  transition: 0.5s;
  padding: 12px 30px;
  width: fit-content;
  text-align: center;
  align-self: center;
  margin: 10px;
}

footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #041E42;
  color: #F5F2EF;
}
footer > section:nth-child(1) {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  padding: 5%;
  width: 85vw;
  border-bottom: 1px solid grey;
}
footer > section:nth-child(1) article {
  display: flex;
  flex-direction: column;
  gap: 5px;
  height: 150px;
}
footer > section:nth-child(1) a {
  text-decoration: none;
  color: #F5F2EF;
  opacity: 0.4;
}
footer > section:nth-child(1) a:hover {
  opacity: 1;
  transition: 0.2s;
}
footer > section:nth-child(1) img {
  width: 125px;
}
footer > section:nth-child(2) {
  display: flex;
  width: 85vw;
  justify-content: space-between;
  align-items: center;
}
footer > section:nth-child(2) div {
  display: flex;
  gap: 20px;
}
footer > section:nth-child(2) div i {
  font-size: 2.5rem;
}
footer > section:nth-child(2) div a {
  text-decoration: none;
  color: #F5F2EF;
}

@media screen and (max-width: 1190px) {
  header {
    height: 100px;
  }
  header img {
    width: 105px;
  }
  header nav ul {
    display: none;
  }
  header nav #menu {
    display: flex;
  }
  header #mobile-nav {
    display: flex;
    right: -100vw;
  }
}
/* scss der gør sider responsiv til mobil*/
@media screen and (max-width: 768px) {
  .hero {
    background-size: auto 100%;
    padding: 25px;
  }
  .hero h1 {
    font-size: 2em;
  }
  .hero p {
    font-size: 1em;
  }
  .content {
    padding-bottom: 0px;
  }
  .content section, .content section:nth-of-type(even) {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    grid-template-areas: "img" "h2" "p" "a";
    padding: 50px 30px;
    gap: 20px;
    margin-bottom: 20px;
    align-items: start;
  }
  .content section:nth-of-type(3) {
    grid-template-rows: auto;
  }
  .content h2 {
    font-size: 1.5em;
    justify-self: center;
  }
  .content p, .content a {
    font-size: 1em;
  }
  .content a {
    justify-self: center;
    text-align: center;
  }
  main {
    margin-top: 100px;
  }
  /* scss for arbejdsmiljoe.html/faellesskab.html */
  video {
    height: 100%;
  }
  .banner {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(../img/tandlæge2.jpg);
    background-size: auto 100%;
    background-position: center;
    background-repeat: no-repeat;
    padding: 0;
  }
  .banner section {
    width: 100vw;
    background-color: transparent;
    margin: 0;
  }
  .banner section h1 {
    font-size: 1.5em;
    text-align: center;
  }
  .banner section p {
    font-size: 1em;
    text-align: center;
  }
  .bottom-content {
    padding: 0;
    height: 450px;
    background-size: auto 100vw;
    background-position: center;
  }
  .bottom-content div {
    width: 90vw;
    padding: 10px 20px;
    align-self: center;
  }
  .bottom-content div p {
    font-size: 1em;
    margin-bottom: 15px;
  }
  .bottom-content div a {
    padding: 10px 20px;
    margin: 5px;
  }
  footer section {
    flex-direction: column;
    padding: 10% 0;
  }
  footer section:nth-child(1) {
    align-items: flex-start;
  }
  footer section:nth-child(2) div i {
    font-size: 4rem;
  }
}/*# sourceMappingURL=style.css.map */