/* Reset css (simple) */
* {
  margin: 0;
  padding: 0;
}

/* Variabler jeg kan genbruge */
:root {
  --color1: #43aa66;
  --color2: #1a78b4;
  --color3: #ffd700;
  --accent1: #ffffff;
  --accent2: #000000;
  --textColor: white;

  --sitePadding: 60px;
}

/* Properties & values der dækker hele siden */
body {
  font-family: 'Poppins', sans-serif;
  color: var(--textColor);
  font-size: 2rem;
  overflow-x: hidden;
}

main {
  padding-bottom: 0;
  background-color: var(--color2);
}

@media screen and (min-width: 800) {
  main {
    padding-bottom: 5rem;
  }
}

@media screen and (min-width: 1200px) {
  main {
    padding-bottom: 20rem;
  }
}

h1,
h2,
h3,
h4,
h5,
p,
a,
span {
  text-decoration: none;
}

h1 {
  font-size: 13rem;
}

h2 {
  font-size: 8rem;
  line-height: 9rem;
}

h3 {
  font-size: 3rem;
}

@media screen and (min-width: 1023px) {
  h1 {
    font-size: 15rem;
  }
  
  h2 {
    font-size: 10rem;
    line-height: 11rem;
  }
  
  h3 {
    font-size: 5rem;
  }
  
}

section {
  width: 100%;
  height: 100vh;
  min-height: fit-content;
  padding: 0 var(--sitePadding);
}

button {
  background-color: var(--color3);
  color: var(--accent2);
  font-size: 2.5rem;
  margin: 10px 0;
  padding: 20px 50px;
  font-weight: 600;
  min-width: 20rem;
  min-height: 5rem;
  border: none;
  border-radius: 5px;
  transition: 0.3s;
}

button:hover {
  background-color: white;
  color: var(--accent2);
  cursor: pointer;
  transition: 0.2s;
}

/* Navigation bar start */

.menu-btn {
  position: relative;
  display: none;
  justify-content: center;
  align-items: center;
  width: 1.5rem;
  height: 1.5rem;
  cursor: pointer;
  z-index: 2;
}

@media (max-width: 1023px) {
  .menu-btn {
    display: flex;
  }
}

.menu-btn .menu-btn__lines,
.menu-btn .menu-btn__lines::before,
.menu-btn .menu-btn__lines::after {
  width: 1.5rem;
  height: 0.1rem;
  background: #ffffff;
  transition: all 0.4s ease-in-out;
}

.menu-btn .menu-btn__lines::before,
.menu-btn .menu-btn__lines::after {
  content: "";
  position: absolute;
}

.menu-btn .menu-btn__lines::before {
  transform: translateY(-0.5rem);
}

.menu-btn .menu-btn__lines::after {
  transform: translateY(0.5rem);
}

.menu-btn.open .menu-btn__lines {
  transform: translateX(1rem);
  background: transparent;
}

.menu-btn.open .menu-btn__lines::before {
  transform: rotate(45deg) translate(-0.5rem, 0.5rem);
  background: #ffffff;
}

.menu-btn.open .menu-btn__lines::after {
  transform: rotate(-45deg) translate(-0.5rem, -0.5rem);
  background: #ffffff;
}

.expand-btn:after {
  position: absolute;
  top: 50%;
  right: 30px;
  content: " ▾";
  opacity: 0.75;
  transform: translateY(-50%) rotate(0);
  transition: 0.25s;
}

.expand-btn.open {
  color: #ff5722;
}

.expand-btn.open:after {
  transform: translateY(-50%) rotate(180deg);
}

/* navbar */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 65px;
  padding: 0 var(--sitePadding);
  background: var(--color2);
  box-shadow: 0 20px 50px 0 rgba(0, 0, 0, 0.05);
}

@media (max-width: 1023px) {
  .navbar {
    padding: 10px 20px;
  }
}

.navbar.sticky {
  position: sticky;
  z-index: 999;
  top: 0;
}

.navbar .logo {
  width: 1.6em;
  padding-top: 11px;
}

.navbar .menu-items {
  display: flex;
  align-items: center;
  list-style: none;
}

.navbar .menu-items::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.5);
  border-radius: 10px;
  background-color: #222;
}

.navbar .menu-items::-webkit-scrollbar {
  width: 6px;
  background-color: #222;
}

.navbar .menu-items::-webkit-scrollbar-thumb {
  border-radius: 10px;
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.5);
  background-color: #fff;
}

@media (max-width: 1023px) {
  .navbar .menu-items {
    scrollbar-gutter: stable;
    position: fixed;
    top: 65px;
    left: 0;
    display: block;
    width: 350px;
    height: 100%;
    padding-top: 30px;
    padding-bottom: 100px;
    padding-right: 10px;
    background: #171b27;
    overflow-y: auto;
    transform: translateX(-100vh);
    transition: 0.3s ease-out;
  }

  .navbar .menu-items.open {
    transform: translateY(0);
  }
}

.navbar .menu-items>li>.menu-item {
  padding: 1.5rem 1rem;
}

@media (max-width: 1023px) {
  .navbar .menu-items>li>.menu-item {
    padding: 1rem 1rem;
  }
}

@media (max-width: 1023px) {
  .navbar .menu-items li a {
    padding: 10px 1rem;
  }
}

.navbar .dropdown {
  position: relative;
}

@media (min-width: 1024px) {
  .navbar .dropdown:hover>.dropdown-menu {
    opacity: 1;
    visibility: visible;
  }
}

@media (min-width: 1024px) {
  .navbar .dropdown-menu {
    position: absolute;
    top: 65px;
    right: 0;
    left: 0;
    width: 190px;
    padding: 5px 0;
    background: #171b27;
    border-radius: 0 0 5px 5px;
    opacity: 0;
    box-shadow: 0 20px 50px 0 rgba(0, 0, 0, 0.05);
    visibility: hidden;
    transition: all 0.4s ease;
  }
}

@media (max-width: 1023px) {
  .navbar .dropdown-menu {
    display: none;
    position: relative;
    top: 0;
    width: 100%;
    padding-left: 1rem;
    overflow: hidden;
  }
}

.navbar .menu-item {
  display: flex;
  justify-content: space-between;
  width: 100%;
  padding: 0.5rem 1rem;
  font-size: 0.6em;
  transition: 0.25s;
}

.navbar .menu-item:hover {
  color: #ff5722;
}

.navbar ul li {
  list-style: none;
  transition: 0.3s ease;
}

.navbar ul li .arrow {
  transition: all 0.3s ease-out;
}

.navbar ul li a {
  position: relative;
  text-decoration: none;
  color: #ffffff;
}

.navbar .category .content .col .img-wrapper {
  margin: 1rem 0;
}

.navbar .blog .content {
  grid-template-columns: repeat(1, 1fr);
}

@media (min-width: 1024px) {
  .navbar .blog .content {
    grid-template-columns: repeat(4, 1fr);
  }
}

.navbar .blog .content .col .img-wrapper {
  margin-bottom: 1rem;
}

.navbar .blog .content .col .menu-title {
  font-weight: normal;
}

.navbar .blog .content .col .menu-title a {
  transition: 0.25s;
}

.navbar .blog .content .col .menu-title a:hover {
  color: #ff5722;
}

.navbar .content .col {
  display: flex;
  flex-direction: column;
}

.navbar .content .col .img-wrapper {
  display: block;
  position: relative;
  width: 100%;
  height: 20vw;
  overflow: hidden;
}

.navbar .content .col .img-wrapper:hover img {
  transform: scale(1.1);
}

.navbar .content .col .img {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  border-radius: 5px;
  overflow: hidden;
}

.navbar .content .col img {
  width: 100%;
  max-width: 100%;
  transition: transform 0.3s ease-in-out;
}

.navbar .content .col .menu-title {
  color: #fff;
  font-size: 1.125rem;
  line-height: 1.125rem;
  border-left: 2px solid #ff5722;
  padding-left: 0.625rem;
}

@media (max-width: 1023px) {
  .navbar .content .col .menu-title {
    font-size: 0.875rem;
  }
}

.navbar .content .col p {
  margin-top: 0.625rem;
  margin-bottom: 0.625rem;
  font-size: 0.813rem;
  line-height: 1.6rem;
  color: #ffffff;
}

@media (max-width: 1023px) {
  .overflow {
    overflow: hidden;
  }
}

@media (max-width: 1023px) {
  .overlay {
    position: fixed;
    z-index: 500;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.6);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
  }

  .overlay.overlay--active {
    opacity: 1;
    visibility: visible;
  }
}

/* Navigation bar slut */




/* Hero sektionen */

.hero-section {
  background-color: black;
  overflow: hidden;
  padding: 0;
}

.hero-section h1 {
  font-size: 5rem;
  line-height: normal;
}

.hero-section h3 {
  font-size: 1.5rem;
  line-height: normal;
}

#varianter-tekst h2 {
  font-size: 3rem;
  line-height: normal;
}

.hero-text-container {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  position: absolute;
  z-index: 500;
  width: 100%;
  height: 100%;
}

#hero-img {
  opacity: 0.5;
  object-fit: cover;
}

/* Varianter sektion */

.varianter-section {
  background-color: var(--color2);
  z-index: 500;
}

.flex-container-row {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.flex-row-left {
  width: 100%;
}

.flex-row-right {
  width: 100%;
}

.flex-row-right #varianter-img {
  width: 100%;
}

#varianter-tekst {
  display: flex;
  flex-direction: column;
  align-items: first baseline;
}

@media screen and (min-width: 1700px) {
  .hero-section h1 {
    font-size: 15rem;
  }
  
  .hero-section h3 {
    font-size: 5rem;
  }

  .flex-container-row {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
  
  .flex-row-left {
    width: 50%;
  }
  
  .flex-row-right {
    width: 50%;
  }

  .flex-row-right #varianter-img {
    width: 150%;
    margin-left: -15%;
    margin-top: -15%;
  }

  #varianter-tekst {
    display: flex;
    flex-direction: column;
    align-items: first baseline;
    /* margin-top: -18%; */
  }
}

/* Footer */

.footer {
  font-size: 18px;
  width: 100%;
  height: 100%;
  background-color: #10496d;
  color: #fff;
  top: 0;
  padding: 30px 0;
}

.footer-logo img {
  width: 5rem;
}

.container {
  width: 100%;
  margin: 0 auto;
  padding: 0 50px;
}

.footer-content {
  display: grid;
  grid-template-columns: 25% 50% 25%;
}


.footer-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center;
}

.footer-menu li {
  display: inline-block;
  margin-right: 20px;
}

.footer-menu li:last-child {
  margin-right: 0;
}

.footer-menu a {
  color: #fff;
  text-decoration: none;
}

.social-icons {
  list-style: none;
  padding: 0;
  margin: 0;
}

.social-icons li {
  display: inline-block;
  margin-right: 10px;
}

.social-icons li:last-child {
  margin-right: 0;
}

.social-icons a {
  color: #fff;
  text-decoration: none;
  font-size: 20px;
}

.footer-bottom {
  margin-top: 20px;
  text-align: center;
}

.footer-bottom p {
  margin: 0;
}

@media (max-width: 768px) {
  .footer-content {
      grid-template-columns: repeat(1, 1fr);
      row-gap: 20px;
  }
  .footer-menu{
      text-align: left;
  }
  .footer-menu li {
    display: block;
    margin-bottom: 10px;
  }
}