@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap");

html {
  /* font-size: 10px; */

  /* 10px / 16px = 0.625 = 62.5% */
  /* Percentage of user's browser font-size setting */
  font-size: 62.5%;
  overflow-x: hidden;

  /* Does NOT work on Safari */
  /* scroll-behavior: smooth; */
}

body {
  margin: 0;
  padding: 0;
  /*
  background-color: #005686;
  */
}

.container {
  max-width: 145rem;
  margin-left: auto;
  margin-right: auto;
}

.logo {
  width: 27rem;
}
.header-component {
  background-image: url("https://cdn.prod.website-files.com/634ea33ecf4ea3373d3e4b22/635054de8237626168620df2_Header.svg");
  background-position: 50% 100%;
  background-size: auto 33rem;
  background-repeat: repeat-x;
  margin-bottom: -0.4125rem;
  width: 100%;
  height: 35vmin;
  background-color: #005686;
  min-height: 42rem;

  /*
  ORIGINAL SIZES
  background-image: url("https://cdn.prod.website-files.com/634ea33ecf4ea3373d3e4b22/635054de8237626168620df2_Header.svg");
  background-position: 50% 100%;
  background-size: auto 33rem;
  background-repeat: repeat-x;
  margin-bottom: -0.4125rem;
  width: 100%;
  height: 35vmin;
  min-height: 42rem;
  background-color: #005686;
  */

  /* NEW SIZES 
  */
}

.header-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.menu-button-open {
  color: white;
  font-size: 6rem;
}
.hidden {
  display: none;
}

.menu-button-close {
  display: none;
}

.headerMain {
  background-color: #005686;
}
header {
  padding-top: 3rem;
  padding-bottom: 2rem;
  margin-left: auto;
  margin-right: auto;
  background-color: #005686;
}

.second-header-component {
  background-color: #007fba;
  padding-top: 4.95rem;
  padding-bottom: 4.95rem;
}

.second-header-component h1 {
  font-size: 6.6rem;
  font-weight: 700;
  line-height: 1.1;
  color: white;
  margin-bottom: 0rem;
  margin-top: 0;
  font-family: Poppins;
}

.second-header-component h4 {
  font-size: 2.8rem;
  color: white;
  margin-top: 0;
  margin-bottom: 0;
  font-family: Poppins;
}

.third-component {
  padding-bottom: 10rem;
}

.third-component h3 {
  font-size: 4.95rem;
  font-family: Poppins;
  color: #005686;
  margin-bottom: 2rem;
}

.grid-container {
  display: grid;
  grid-template-columns: 1fr 1px 1fr 1px 1fr;

  column-gap: 4.95rem;
  /* Optional spacing between items 
  row-gap: 3rem;
  
  */
}

.grid-containerNEW {
  display: grid;
  grid-template-columns: 1fr 1px 1fr 1px 1fr;
  padding-top: 1rem;
  padding-bottom: 3rem;
  column-gap: 4.95rem;
  /* Optional spacing between items 
  row-gap: 3rem;
  
  */
}

.grid-item {
  display: flex;
  justify-content: left;
  align-items: center;
  font-family: Poppins;
  font-size: 2rem;
  font-weight: 700;
  color: #005686;
  border-bottom: 1px solid #005686;
  padding-top: 3rem;
}

.grid-item a {
  text-decoration: none;
  color: #005686;
}

.grid-item a:link {
  color: #005686;
}

.grid-item a:visited {
  color: #005686;
}

.grid-item a:hover {
  text-decoration: underline;
}

.vertical-line1 {
  background-color: #005686;
  height: 100%;
}
.vertical-line2 {
  background-color: #005686;
  height: 100%;
}

footer {
  background-color: #005686;
  padding-top: 5rem;
}

.flexCol {
  padding-top: 3rem;
  display: flex;
  gap: 10rem;
  padding-bottom: 5rem;
}

.flexCol div {
  font-family: Poppins;
  color: white;
  font-size: 1.8rem;
}

.flexCol span {
  font-weight: 700;
}

.flexRow {
  display: flex;
  flex-direction: column;
}

.ExtraStatistikkH3 {
  font-family: Poppins;
  font-size: 2.5rem;
  color: #005686;
  margin-top: 2rem;
  border-bottom: 1px solid #005686;
}

.flexContainerH {
  display: flex;
  font-size: 1.6rem;
  font-family: Poppins;
  justify-content: space-between;
  padding-bottom: 3rem;
}

.flexContainerH h3 {
  font-size: 2.5rem;
}

.flexContainerH div {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.flexContainerH a {
  text-decoration: underline;
  color: #005686;
}

.flexContainerH a:link {
  color: #005686;
}

.flexContainerH a:visited {
  color: #005686;
}

/* Mobile Devices */
@media (max-width: 480px) {
  .container {
    padding-left: 10px;
    padding-right: 10px; /* Smaller padding for small screens */
  }
  .grid-container {
    grid-template-columns: 1fr;
  }
  .grid-containerNEW {
    grid-template-columns: 1fr;
  }
  .second-header-component h1 {
    font-size: 3.3rem;
  }
  .second-header-component h4 {
    font-size: 2rem;
  }
  .third-component h3 {
    font-size: 3.3rem;
    margin-top: 2.5rem;
    margin-bottom: 1.2rem;
  }
  .third-component {
    padding-bottom: 5rem;
  }
  .grid-item {
    font-size: 1.7rem;
  }
  .logo {
    width: 22rem;
  }
  .grid-item {
    padding-top: 2.5rem;
  }
}
@media (max-width: 710px) {
  .flexContainerH {
    flex-direction: column;
    gap: 3rem;
  }
}

/* Small Tablets */
@media (min-width: 481px) and (max-width: 768px) {
  .container {
    padding-left: 15px;
    padding-right: 15px; /* Moderate padding */
  }
  .grid-container {
    grid-template-columns: 1fr 1fr;
  }
  .grid-containerNEW {
    grid-template-columns: 1fr 1fr;
  }
  .flexCol {
    gap: 5rem;
  }
  .flexCol div {
    font-size: 1.7rem;
  }
  .second-header-component h1 {
    font-size: 3.3rem;
  }
  .second-header-component h4 {
    font-size: 2rem;
  }
  .third-component h3 {
    font-size: 3.3rem;
    margin-top: 2.8rem;
    margin-bottom: 1.5rem;
  }

  .grid-item {
    font-size: 1.7rem;
  }
  .logo {
    width: 22rem;
  }
  .third-component {
    padding-bottom: 7rem;
  }
  .header-component {
    min-height: 22rem;
  }
  /*
  .vertical-line2 {
    display: none;
  }
  .vertical-line1 {
    display: none;
  }
    */
}

/* Tablets */
@media (min-width: 769px) and (max-width: 1024px) {
  .container {
    padding-left: 20px;
    padding-right: 20px; /* Regular padding */
  }
  .flexCol {
    gap: 5rem;
  }
  .flexCol div {
    font-size: 1.7rem;
  }
  .second-header-component h1 {
    font-size: 4rem;
  }
  .second-header-component h4 {
    font-size: 2rem;
  }
  .grid-item {
    font-size: 1.85rem;
  }
  .third-component {
    padding-bottom: 8rem;
  }
  .header-component {
    min-height: 22rem;
  }
}

/* Small Desktops */
@media (min-width: 1025px) and (max-width: 1280px) {
  .container {
    padding-left: 30px;
    padding-right: 30px; /* Larger padding for more space */
  }
  .grid-container {
    grid-template-columns: 1fr 1px 1fr 1px 1fr;
  }
  .grid-containerNEW {
    grid-template-columns: 1fr 1px 1fr 1px 1fr;
  }
}

/* Desktops */
@media (min-width: 1281px) and (max-width: 1450px) {
  .container {
    padding-left: 40px;
    padding-right: 40px; /* Further increased padding */
  }
  .grid-container {
    grid-template-columns: 1fr 1px 1fr 1px 1fr;
  }
  .grid-containerNEW {
    grid-template-columns: 1fr 1px 1fr 1px 1fr;
  }
}

/* Large Desktops */
@media (min-width: 1451px) {
  .container {
    padding-left: 50px;
    padding-right: 50px; /* Maximum padding for large screens */
  }
  .grid-container {
    grid-template-columns: 1fr 1px 1fr 1px 1fr;
  }
  .grid-containerNEW {
    grid-template-columns: 1fr 1px 1fr 1px 1fr;
  }
}

@media (max-width: 580px) {
  .flexCol {
    flex-wrap: wrap;
    gap: 2rem;
  }
}
