@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap");

/* hotkey to mark a lot: ctrl + alt + arrow keys*/

:root {
}

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;

  font-family: "Poppins", sans-serif;
  font-family: sans-serif;
  font-family: Arial, sans-serif;

  line-height: 1;
  font-weight: 400;
  color: #000;
  font-size: 2rem;
  /* Only works if there is nothing absolutely positioned in relation to body 
  overflow-x: hidden;*/
}

.emptydiv5 {
  background-color: #005686;
  width: 100%;
  height: 5rem;
}

header {
  padding-top: 2rem;
  padding-bottom: 2rem;

  margin-left: auto;
  margin-right: auto;
  background-color: white;
}

#MRFYLKEHeader {
  width: 25rem;
}

section {
  padding-top: 3.2rem;
  padding-bottom: 4.8rem;
}
/*
.header-nav-width {
  max-width: 140rem;
  margin-left: auto;
  margin-right: auto;
}
*/
.header-nav-width {
  padding: 0 6rem;
}

#main-nav {
  display: flex;
  justify-content: space-between;
}

.right-header {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.right-header button {
  border: 2px solid rgb(169, 167, 167);
  padding: 1.5rem 2.5rem;
  text-align: center;
  text-decoration: none;
  display: inline-block;

  cursor: pointer;
  border-radius: 18px;
  font-size: 2rem;
}

.right-header button:hover {
  background-color: #005686;
  color: white;
}

.emptydiv {
  width: 100%;
  height: 5.5rem;
  background-color: #005686;
}

.container {
  max-width: 1408px;
  margin-left: auto;
  margin-right: auto;

  padding: 1.6rem 1.6rem;
}

@media screen and (max-width: 1200px) {
  .container {
    padding-left: 2.4rem;
    padding-right: 4.8rem;
  }
}

h3 {
  color: white;
  font-weight: 400;
}

.footerGrid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-gap: 2rem;
}
@media screen and (max-width: 890px) {
  .footerGrid {
    grid-template-columns: 1fr 1fr;
    grid-row-gap: 2rem;
  }
}

@media screen and (max-width: 600px) {
  .footerGrid {
    grid-template-columns: 1fr;
    grid-row-gap: 2rem;
  }
}

.footerGrid h2 {
  font-size: 3rem;
  color: white;

  font-weight: 400;
}

.footerGrid a {
  color: white;
  text-decoration: none;
}

.footerGrid a:hover {
  text-decoration-line: underline;
}

.flexFooter {
  display: flex;
  gap: 2rem;
  align-items: center;
  margin-bottom: 1rem;
}

.emptydiv {
  width: 40%;
  height: 0.2rem;
  background-color: white;
  position: relative;
}

.containerText {
  max-width: 120rem;
  margin: auto;
  line-height: 2.9rem;
  font-size: 2rem;
}

.containerText h1 {
  color: #005686;
  font-weight: 400px;
  font-size: 4rem;
}

.containerText h2 {
  color: #005686;
  font-weight: 400px;
  font-size: 3rem;
}

.containerText p {
}

.randomGrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.powerBI-section {
  background-color: #e6e6e6;
}

.powerBIViz {
  width: 100%;
  height: 90.4rem;
  /*73.6 heigh with 120 width 80 height with 130 width
  85 height with 140 width 
  
  use width: 150rem and height 90.4*/
}

.dynamicContainer {
  max-width: 150rem;
  margin-left: auto;
  margin-right: auto;
}
/*Corect use: powerBIViz:height 90.4rem, widht 100%, dynamicContainer 150 rem, auto,

/*just add scrollto functionality to here 
SMALL: top: 675px;
  left: 1550px;

LARGE: 950px, 1820px

REMEMBER TO CHANGE IN GENERAL AND STYLES.CSS

*/
/*
.ScrollTo {
  top: 95rem !important;
  left: 182rem !important;
}

.ScrollTo {
  position: fixed;
  top: 950px;
  left: 1750px;
  padding: 1.8rem 2.5rem;
  background-color: black;
  border: none;
}
*/
.ScrollTo-hidden {
  display: none;
}

/*at top of body
 <button class="ScrollTo ScrollTo-hidden"><i class="fa-sharp fa-solid fa-chevron-up" style="color:white"></i></button>
 */

/*sources: 
https://kompetanseforum.no/databank/statistikk/
https://kompetanseforum.no/siste-nytt/felles-kunnskapsgrunnlag-for-regional-kompetansepolitikk.142804.aspx
*/

.containerChart {
  max-width: 100%;

  height: 50rem;
}

#container31 {
  height: 60rem;
}

.FlexFilter {
  display: flex;
  flex-direction: column;
  font-size: 1.6rem;
}

.FilterContainer {
  margin: auto 0;
  display: flex;

  flex-wrap: wrap;
  padding-bottom: 0rem;
  justify-content: right;
}

.overflowContainer {
  justify-content: center;
}

.filterCSS {
  font-size: 1.75rem;
}

.powerBI-section {
  background-color: #e6e6e6;
  padding-top: 0;
}

.powerBIViz {
  width: 100%;
  height: 55rem;
  /*73.6 heigh with 120 width 80 height with 130 width
  85 height with 140 width 
  
  use width: 150rem and height 90.4*/
}
