:root {
  --banner-height: 4rem;
  --right-margin-height: fit-content;
  --main-margin: 1rem;
  --card-size: 12rem;
  --site-width: 291px;
  --praksis-color-opaque: rgba(60, 162, 158, 0.3);
  --aktivitet-color-opaque: rgba(139, 173, 63, 0.3);
  --fokusomraade-color-opaque: rgba(55, 159, 203, 0.3);
  --technology-color-opaque: rgba(211, 151, 0, 0.3);
  --au-blue-default: rgb(0, 37, 70);
  --au-blue-default-opaque: rgba(0, 37, 70, 0.05);
}

.collapsed{
  display: none;
}

* {
  box-sizing: border-box;
}

/* Overwriting Delphinus - course who needs that, amirite? */
p,ul,ol,blockquote {
  max-width: 100% !important;
}

li {
  line-height: normal !important;
}

#content {
  padding: 0;
}

.page__content__wrapper {
  row-gap: 0;
}

body::before {
  display: none;
}

.wide {
  padding: 10px;
  width: 100%;
  max-width: 1400px;
  margin: auto;
}

.narrow {
  padding: 10px;
  width: 100%;
  max-width: 800px;
  margin: auto;
}

main {
  background: #fff;
  color: #000;
}

a{
  text-shadow: none !important;
}

html, body, .page, #root, .main-content {
  min-width: 0 !important;
  width: 100% !important;
  
}

/* Classes relevant for Navbar */
/* Navbar container */
.navbar {
  position: fixed;
  width: 100%;
  background: #fff;
  color: var(--color-foreground);
  display: flex;
  align-items: center;
  top: 0;
  z-index: 500;
  border-bottom: 2px solid var(--color-foreground);
  transition: transform 0.3s;
  padding-top: var(--spacing-m4);
}

.navbar--hidden {
  transform: translateY(-100%);
  transition: transform 0.3s;
  pointer-events: none;
}


.navbar > a {
  font-size: var(--font-size-p2);
  color: var(--color-foreground);
  text-decoration: none;
  margin-right: auto;
  letter-spacing: 1px;
}

.burger-menu-container {
  position: relative;
  margin-left: auto;
  padding-right:  var(--spacing-side);
}

.burger-icon {
  display: flex;
  flex-direction: column;
  cursor: pointer;
  width: 32px;
  height: 32px;
  justify-content: center;
  align-items: center;
  margin-left: 1rem;
}

.burger-icon span {
  display: block;
  height: 3px;
  width: 28px;
  background: var(--color-foreground);
  margin: 3px 0;
  border-radius: 2px;
  transition: all 0.3s;
}

#burger-toggle:checked + .burger-icon span {
  margin: 1px 0;
}

.burger-menu {
  display: none;
  position: fixed;
  top: 58px;
  left: 0;
  right: 0;
  background: #fff;
  color: #013e4d;
  min-width: 320px;
  max-width: 99.999vw;
  padding-top: 1rem;
  padding-bottom: 2rem;
  box-shadow: 0 10px 24px rgba(1, 62, 77, 0.12);
  z-index: 1005;
}

.burger-grid {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;

}

.burger-icon {
  width: 24px;
  height: 24px;
  margin: 0;
}

.burger-col {
  min-width: 120px;
  width: fit-content
}

.burger-col-themes {
  min-width: 160px;
}

.burger-group {
  margin-top: 0.5rem;
}

.burger-link {
  color: #013e4d;
  text-decoration: none;
  font-weight: 500;
  font-size: var(--font-size-0);
  transition: color 0.2s;
}

.burger-li {
  margin-bottom: 0.5rem;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

.burger-li:hover {
  color: #007c92;
  text-decoration: underline;
  
}

.themes-list {
  display: flex;
  flex-direction: row;
  gap: 3rem;
  flex-wrap: wrap;
}

.burger-theme-icon {
  width: var(--font-size-0);
  height: var(--font-size-0);
  margin: 0;
}

.top-padding {
  padding-top: 4rem;
}

/* Classes relevant for HomePage */

.educhat-container {
  position: fixed;
  background-color: white;
  bottom: 5%;
  right: 5%;
  width: fit-content;
  max-width: 600px;
  z-index: 1000;
}

.educhat-container.chat-closed {
  height: 65px;
  width: 65px;
}

.educhat-messages-container {
  overflow-y: auto;
  max-height: 500px;
  min-width: 400px;
}

.home-banner {
  position: relative;
  max-width: 100%;
  height: 350px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.home-image {
  width: 100%;
  height: 350px;
  object-fit: cover;
  object-position: 50% 15%;
  position: absolute;
  top: 0;
  opacity: 40%;
}

.home-banner::after {
  content: "";
  width: 100%;
  position: absolute;
  top: 0; 
  background: var(--au-blue-default); /* <-- blue tint, adjust color/opacity */
  opacity: 0.70;
  pointer-events: none;
  z-index: 2;
  height: 350px
}

.fade-out-banner {
  animation: fadeOut 0.8s ease-in-out forwards;
}
@keyframes fadeOut {
  0% {
    opacity: 40%;
  }
  100% {
    opacity: 0;
  }
}

.fade-in-banner {
  animation: fadeIn 0.8s ease-in-out forwards;
}
@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 40%;
  }
}

.search-bar-home {
  position: relative;
}

.search-bar-home input {
  width: 300px;
  height: 40px;
  padding: 5px;
}

.highlights > h2, .home-teaser > h2, .home-themes h2 {
  color: var(--au-blue-default);
  opacity: 0.7;
}

.highlights {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.highlights-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
}

.small-cards {
  grid-area: small;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  row-gap: 1rem;
  height: 100%;
}

.home-teaser {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  row-gap: 4rem;
  align-items: center;
  margin: 0 auto; 
}

.home-teaser-icons {
  display: flex;
  flex-wrap: nowrap;
  flex-direction: column;
  align-items: flex-end;
  width: 370px;

  gap: 7rem 1rem;
}

.home-teaser-link:hover {
  box-shadow: 0 1px 2px grey;
  filter: brightness(99%);
  transition: box-shadow 0.2s ease, backdrop-filter 0.2s ease;
}

/*/ Classes relevant for AllContentsPage */

.all-contents-page {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
}

.content-slides {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: space-between;
  margin: 0 auto;
}

.content-slides--footer {
    margin: 2rem auto 0 auto;
    position: relative;
    
}

.footer-circle {
    border-radius: 50%;
    background: #013E4D;
    display: inline-block;
    transition: 
        opacity 0.3s cubic-bezier(.4,0,.2,1),
        width 0.3s cubic-bezier(.4,0,.2,1),
        height 0.3s cubic-bezier(.4,0,.2,1);
    width: 10px;
    height: 10px;
    opacity: 0.5;
}

.footer-circle.active {
    opacity: 1;
    width: 14px;
    height: 14px;
}

.content-slides--link:hover {
  text-decoration: underline 1px grey;
}

.content-slides--link {
  margin-left: 0.2rem;
}

.component-wrapper {
  width: var(--site-width);
  margin: 2rem auto;
}


/* Classes relevant for filterPage */

.filter-banner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  
}

.slider-mobile {
  display: flex;
  width: 100vw ;
  height: fit-content;
  max-width: 100vw ;
  padding: 1rem 3rem 1rem 3rem;
  margin: 0;
  gap: 0.5rem;
  flex-direction: row;
  overflow-x: auto;
  white-space: wrap;
  scrollbar-width: auto;
  justify-content: flex-start;
  align-items: center;
  -ms-overflow-style: none;
  position: relative;
  left: 50%;
  transform: translateX(-51%);
}

.slider-fade {
  mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}

.slider-mobile::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}
.theme-icon-container {
  flex: 0 0 auto; /* Prevent shrinking, allow horizontal scroll */
}

.theme-icon {
  width: 60px;
  height: 60px;
  margin: 0.2rem;
  transition:
    width 0.2s ease-in-out,
    height 0.2s ease-in-out;
}

.theme-icon-container:hover > .theme-icon {
  width: 70px;
  height: 70px;
}

.theme-button {
  background-color: white;
  color: black;
  padding: 5px 0;
  margin: 0.2rem 0;
  font-size: var(--font-size-m1);
  hyphens: auto;
}

.active-theme {
  text-shadow: 0px 5px 10px rgb(157, 157, 157);
  font-weight: bold;
}

.triangle-btn-container {
  position: relative;
  text-align: center;
  hyphens: auto;
  word-break: break-word;
  height: 70px;
  width: 130px;
}


.triangle-btn {
  z-index: 100;;
}


.triangle-hr {
  margin: 20px auto 0 auto;
  width: 100%;
  position: relative;
}

.triangle {
  position: absolute;
  left: 50%;
  top: 100%;
  transform: translateX(-50%) translateY(15px) scaleY(0);
  border-left: 15px solid transparent;          /* These two set the width */
  border-right: 15px solid transparent;
 /* border-bottom: 10px solid var(--praksis-color);  stretch y-axis, set inline due to color */
  border-top: 5.5px solid transparent; /* move along y-axis */
  transition: transform 0.15s ease-in-out;
  pointer-events: none;
}

.triangle-btn:hover + .triangle,
.triangle-btn:focus-visible + .triangle,
.theme-icon-container:hover .triangle,
.theme-icon-container:focus-within .triangle {
  transform: translateX(-50%) translateY(5px) scaleY(1);
}

.theme-icon-container:hover .theme-button {
  transition: all 0.2s ease-in-out;
  text-shadow: 0px 5px 10px rgb(157, 157, 157);
}

.tag-cloud {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  color: white;
  max-height: 0;
  overflow: visible;
  opacity: 0;
  padding: 2.5rem 0 1.5rem 0;
  }

/* Modify expanded class to work with grid transitions */
.tag-cloud.expanded {
  
  max-height: none; /* Let grid handle the height */
  opacity: 1;
}

#tag-cloud-triangle-top, #tag-cloud-triangle-bottom {
  width: 10px;
  height: 10px;
  border-left: 25px solid transparent;
  border-right: 25px solid transparent;
  border-bottom: none;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

#tag-cloud-triangle-top {
  top: -1px;
  border-top: 20px solid white;
}

#tag-cloud-triangle-bottom {
  bottom: -20px;
  border-top: 20px solid var(--praksis-color-opaque);
}

.tag-cloud-inner {
  max-width: 896px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  overflow: hidden;
}

.fade-in.expand {
  animation: tagCloudFadeIn 0.5s ease-in forwards, tagCloudExpand 0.4s ease-in forwards;
}

.fade-in {
  animation: tagCloudFadeIn 0.4s ease-in forwards;
}

.expand {
  animation: tagCloudExpand 0.2s ease-in forwards;
}

@keyframes tagCloudFadeIn {
  0% { opacity: 0; }
  75% { opacity: 0.5; }
  100% { opacity: 1; }
}

@keyframes tagCloudExpand {
  0% { max-height: 0;}
  75% { max-height: 200px; }
  100% { max-height: fit-content; }
}

.tag-button {
  background-color: white;
  padding: 5px 10px;
  margin: 0.2rem;
  border-radius: 100px / 100px;
}

.tag-button:hover {
  box-shadow: 0 0 5px grey;
  filter: brightness(95%);
  transition: box-shadow 0.2s ease, backdrop-filter 0.2s ease;
}

.tag-button-selected {
  color: white !important;
  box-shadow: 0 0 2px black;
  text-shadow: 2px 2px 5px grey;
}

.filterContainer {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  
}

.filters {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: top;
  margin: 0 var(--main-margin) 1rem var(--main-margin);

}

.search-container {
    display: flex;
    background-color: white;
    z-index: 10;
    flex-direction: column;
    justify-content: space-between;
    gap: 1rem;
    position: sticky;
    width: 100%;
    top: 0;
    padding: 2rem 0 2rem 0 ;
  }

  .search-container input {
    height: 27px;
  }

  select:focus, input:focus {
    outline: none;
  }
  input::placeholder {
    color: grey;
    opacity: 1;
  }

  .card-container {
    grid-area: cards;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    margin: 0;
  }

  .cards-flexbox {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    gap: 0.5rem;
    justify-content: center;   
    align-items: center;      
    max-width: 900px;              
    margin-left: auto;
  }

  .cards-flexbox, .load-more-button-container {
    max-width: inherit; 
  }

  .load-more-button {
    width: calc(var(--card-size) );
    text-align: left;
  }


/* Classes relevant for praksisPage */
/* Defines the grid layout */
.main-content {
    display: grid; 
    grid-template-areas: 
      'image'
      'main'
      'right'
      'links' !important;
    width: 100%;
    max-width: 1200px;
    margin: auto;
    height: fit-content;
  }

/* Her starter beskrivelsen af image-området */

/* @TODO: Change this to something less generic!! */
.image {
  grid-area: image;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 250px;
  width: 100%;
  border-bottom: 2px solid var(--praksis-color);
}

.top-image {
  opacity: 40%;
  width: 100%;
  height: 250px;
  object-fit: cover;
  object-position: 50% 15%;
}

.image-overlay {
  display: flex;
  position: absolute;
  flex: wrap;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  text-align: center;
  margin: 1rem auto;
  max-width: 60%;
  height: 250px;
  z-index: 3;

}

.image-overlay p {
  font-size: var(--font-size-p1);
}

.image-tagline {
  font-weight: bold;
  margin: auto var(--main-margin);
}

.image-icon-nav {
  width: calc(var(--font-size-p2) * 1);
  height: auto;
}

.image-icon-small {
  width: calc(var(--font-size-p3) * 1.2);
  height: auto;
}

.image-icon-medium {
  width: 8rem;
  height: auto;
}


.image-icon-large {
  width: 14rem;
  height: auto;
}


/* Her starter beskrivelsen af right-området (højre margin) */
.right-margin-box {
  grid-area: right;
  background-color: var(--praksis-color);
  height: var(--right-margin-height);
  color: white;
  font-size: var(--font-size-m1);
  margin-bottom: 10px;
  max-width: 425px !important;
}

.right-margin-box-inner {
  margin: 0 1rem;
}

.clicky-boxes {
  display: flex;
  flex-wrap: wrap;
  justify-content: left;
  align-items: center;
  margin-top: 10%;
}
.button-box {
  margin: 1%;
  background-color: white;
  color: var(--praksis-color);
  padding: 2.7px 12px;
  border-radius: 8% / 50%;
}


.teacher-img {
  border-radius: 50%;
  object-fit: scale-down;
  width: 80%;
  height: auto;
}
.img-cell {
  width: 40%
}
.img-row {
  display: flex;
  justify-content: center;
  align-items: center;
}
.material-list {
  line-height: 1.5rem;
  margin-left: 2.5%;
  margin-bottom: 20px;
  margin-top: 10px;
}

/* Her starter beskrivelsen af main-området (brødtekst) */
.main-text {
    grid-area: main;
    margin: 0 var(--main-margin) 0 var(--main-margin);
    position: relative;
    z-index: 0;
    text-align: justify;
    max-width: 409px !important;
  }


/* Her starter beskrivelsen af området fra divideren efter brødtekst */

.main-text > hr:first-of-type {
  margin-top: 50px;
}

.links-divider {
  border: 2px solid var(--praksis-color);
  width: auto;
  margin: 25px auto;
}

/* Her starter beskrivelsen af links-området */
.links {
  grid-area: links;
  background-color: var(--praksis-color);
  color: white;
  padding-bottom: 10px;
  padding-top: 1px;
  text-align: center;
  justify-items: center;
  max-width: 425px !important;
}


.links-box-inner {
  margin: 0 calc(0.5*var(--main-margin));
  padding: 0.5rem calc(0.5*var(--main-margin));
  background-color: white;
  color: black;
  width: calc(100% - 2*var(--main-margin));
}

.card--top > a{
  color: #000;
}
.card--technology > .card--top > a{
  color: #fff;
}
.card--wrap{
  display: flex;
  width: 100%;
  flex-wrap: nowrap;
  flex-direction: row;
  align-items: center;
  gap: 1rem;
  margin: 1rem 0;
}

.card--top {
  display: grid;
  height: 60%;
  max-height: 60% !important;
  width: 100%;
  aspect-ratio: 1 / 0.48;
}

.card--top-large {
  display: grid;
  max-height: 70% !important;
  width: 100%;
  aspect-ratio: 1 / 0.74;
}

.card--top-horizontal {
  display: grid;
  height: 100%;
  width: 50%;
}

.card--image-wrapper, 
.card--overlay {
  grid-area: 1 / 1 / 2 / 2;
  width: 100%;
  height: 100%;
}

.card--image {
  height: 100%;
  opacity:30%;
  object-fit: cover;
  object-position: 50% 15%;
  aspect-ratio: 1.5 / 0.48;
}

.card--image-horizontal {
  height: 100%;
  opacity: 40%;
  object-fit: cover;
  object-position: 50% 15%;
  aspect-ratio: 1.2 / 0.31;
}

.card--praksis{
  width: calc(var(--card-size)* 1.4);
  height: calc(var(--card-size)* 1.2);
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: top;
  box-shadow: 0 0 3px lightgrey;
  
}

.card--large {
  grid-area: big;
  width: calc(50% - 0.5rem);
  height: calc(var(--card-size) * 2);
}

.card--praksis-horizontal {
  width: calc(var(--card-size) * 1.7);
  height: calc(var(--card-size) *1.8* 0.31);
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: top;
  box-shadow: 0 0 3px lightgrey;
}

.card--overlay {
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: left;
  text-align: left;
  text-shadow: 0 0 5px grey;
  z-index: 1;
}

.card--bookmark {
  position: relative;
  top: 5%;
  left: 90%;
  align-self: right;
  z-index: 100;
}

.card--description-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-color: #fff;
  text-align: left;
  
}

.card--description {
  line-height: 1.2em; 
  display: -webkit-box;       
  -webkit-box-orient: vertical;      
  overflow: hidden;            
  text-overflow: ellipsis;
}

.card--description-wrapper, .card--title {
    padding: 0 10px 5px 10px;
  }

.icon-shadow {
  box-shadow: 0 0 30px 10px rgba(0, 0, 0, 0.05);
  background: radial-gradient(circle,rgba(0, 0, 0, 0.07),rgba(0, 0, 0, 0.02));
  transition: box-shadow 0.08s ease;
}
.icon-wrap {
  border-radius: 50%;
  width: calc(var(--card-size) * 0.1);
  height: calc(var(--card-size) * 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 1rem;
  overflow: visible;
}


.links-box-inner > h3 {
  text-align: left;
  display: flex;
  justify-content: space-between;
  flex-direction: row
}

.toggle_open::after {
  content: '+';
  font-size: 18px;
  margin-right: 0.5rem;
}

.toggle_close::after {
  content: '-';
  font-size: 18px;
  margin-right: 0.5rem;
}




/* Responsivitet */
/* alt større end en mobilenhed på 425px */

@media (min-width: 426px) {
  :root{
    --card-size: 14rem;
    --main-margin: 2rem;
    --site-width: 80%;
  }

  /* NavBar */

  .burger-menu {
    padding-right: var(--spacing-side);
    top: 64px;
  }

  /* HomePage */
  .home-banner, .highlights {
    /*max-width: 769px;*/
    overflow: visible;
  }

  .search-bar-home input {
    width: 400px;
    height: 50px;
    padding: 8px;
  }

  .card--large {
    width: calc(var(--card-size) * 1.7);
    height: calc(var(--card-size) * 1.9);
  }

  .card--praksis-horizontal {
    width: calc(var(--card-size)* 2);
    height: calc(var(--card-size) * 1.9 * 0.31);
  }

  .card--top {
  height: 60%;

  }

.home-teaser-icons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  width: auto;
  
  gap: 7rem 1rem;
  }

  /* AllContentsPage */

  .component-wrapper {
    margin: 3.5rem auto;
  }

  .slider-mobile {
    padding-left: 5rem;
    padding-right: 5rem;
  }

  /* filterPage */

  .filter-banner {
    flex-direction: row;
    justify-content: left;
    align-items: center;
  }
  

  .filterContainer {
    display: grid;
    align-items: start;
    grid-template-areas: 
    'search search'
    'filters cards' ;  
    grid-template-columns: 190px fit-content; 
    grid-template-rows: 50px fit-content;
    column-gap: 1rem;
    
  }

  .search-container {
    grid-area: search;
    background-color: white;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    top: 0;
    z-index: 10;
    padding: 2rem 0 2rem 0;
  }

  

  .filters-parent {
    grid-area: filters;
    position: sticky !important;
    max-width: 190px;
    top: 6rem;
  }

  .filters {
    display: flex;
    flex-direction: column;
    margin-left: 1rem;
    background-color: white;
    margin: 0;
  }

  .filter-toggle {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 1rem;
    width: 190px;
  }

  .filter-section {
    display: flex !important;
    flex-direction: column;
    align-items: flex-start;
    font-size: var(--font-size-m1);
    overflow-y: auto;
    max-height: 300px;
    margin-bottom: 1rem;
  }

  .filter-selected-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    font-size: var(--font-size-m1);
    justify-content: flex-start;
    align-items: flex-start;
    row-gap: 0.5rem;
    line-height: 1 !important;
  }

  .filter-selected {
    color: white;
    padding: 2px 4px;
    margin: 0 0.2rem;
    border-radius: 100px / 100px;
    height: fit-content;
  }

  .card-container {
    min-width: 400px;
  }

  .cards-flexbox {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    gap: 0.5rem;
    justify-content: flex-start;   /* Cards align left horizontally */
    align-items: flex-start;       /* Cards align top vertically */
    max-width: 900px;              /* Or use media queries for responsiveness */
    margin-left: auto;
  }

  .cards-flexbox, .load-more-button-container {
    max-width: calc(var(--card-size) * 1.4)
  }

  .load-more-button {
    width: calc(var(--card-size) * 1.4);
    text-align: left;
  }


  /* Praksispage */
  .main-content {
    display: block;
    height: fit-content;
  }

  .image-text {
    width: 50%;
  }
  
  .main-text {
    margin: 0 var(--main-margin);
    position: relative;
    float: none;
    word-wrap: break-word;
  }

  .right-margin-box {
    float: right;
    position: relative;
    z-index: 1;
    margin-bottom: var(--main-margin);
    margin-left: calc(1*var(--main-margin));
    width: 35%;
  }

  .links {
    padding-bottom: 50px;
    max-width: none !important;
  }

}


/* alt større end tablet på 768px */

@media (min-width: 769px) {
  :root{
    
    --main-margin: 4rem;
    --site-width: 670px;
    
  }

  /* Navbar */
  .burger-menu {
    top: 69px;

    
  }


  /* AllContentsPage */

  .theme-selector {
    width: var(--site-width);
    display: grid;
    grid-template-rows: repeat(2, 1fr);
    grid-auto-flow: column;
    justify-content: space-evenly;
    align-items: center;
    margin: 0 auto;
    padding: 0 0 1rem 0;
    overflow: hidden;
    height: 320px;
    }

  .card--praksis-horizontal {
    width: calc(var(--card-size)* 3);
    height: calc(var(--card-size) * 1.9 * 0.31);
    }

  /* Praksispage */

  .main-text {
    max-width: none !important;
  }

  p {
    line-height: 2rem;
  }

  .icon-wrap {
    padding: 0 1.5rem;
  }

}


/* alt større end tablet på 1024px */
@media (min-width: 1025px) {

  :root{
    --card-size: 12rem;
    --main-margin: 4rem;
    --site-width: 861px;
  }

  /* HomePage */
  .highlights-grid {
    display: grid;
    width: 100%;
    grid-template-areas: 
      'big small'
      'big small'
      'big small';
    gap: 1rem;
    margin: 0;
  }

  .small-cards {
    grid-area: small;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
  }
  
  .card--large {
    width: calc(var(--card-size) * 1.7);
    height: 100%;
  }

  .card--praksis-horizontal {
  width: calc(var(--card-size)* 1.7);
  height: calc(var(--card-size) * 1.9 * 0.31);
  }

  /* AllContentsPage */

  .card--large {
    width: calc(var(--card-size) * 2.2);
    height: 100%;
  }

  .card--top-large {
    max-height: 70% !important;
    aspect-ratio: 1 / 0.57;
  }

  .card--praksis-horizontal {
    width: calc(var(--card-size)* 2.2);
    height: calc(var(--card-size) * 1.9 * 0.31);
    }


  /* filterPage */

    
  .triangle-btn-container {
    width: 170px;
  }

  .theme-button {
    font-size: calc(var(--font-size-0) * 0.9);
  }


  .card--description-wrapper, .card--title {
    padding: 5px 10px 5px 10px;
  }


  .filterContainer {
    grid-template-columns: 230px 1fr;
    column-gap: 5.3rem;
  }

  .filters-parent {
    max-width: 230px;
  }

  .filter-toggle {
    width: 230px;
  }

  .cards-flexbox, .load-more-button-container {
    max-width: calc(var(--card-size) * 1.4 * 2 + 0.5rem)
  }

  .load-more-button {
    width: calc(var(--card-size) * 1.4 * 2 + 0.5rem);
    text-align: center;
  }

  /* Praksispage */
  .right-margin-box {
    width: 30%;
  }


  .links-box-inner {
    padding: 0.5rem calc(0.2*var(--main-margin))
  }
}

@media (min-width: 1400px) {

  :root{
    --card-size: 13rem;
    --main-margin: 10rem;
    --site-width: 1200px;
  }

  /* Navbar */
  .burger-grid {
    display: grid;
    gap: 7rem;
    grid-template-columns: 4fr 1fr 1fr;
    padding-right: calc(50vw - 52.875rem + var(--spacing-side));
  }

   /* HomePage */

  .card--large {
    width: calc(var(--card-size) * 2.8);
    
  }

  .card--praksis-horizontal {
  width: calc(var(--card-size)* 2.8);
  height: calc(var(--card-size) * 2 * 0.31);
  }

  .card--top-large {
    max-height: 70% !important;
    aspect-ratio: 1 / 0.47;
  }

  /* FilterPage */

  .filterContainer {
    column-gap: 5rem;
  }
  .cards-flexbox, .load-more-button-container {
    max-width: calc(var(--card-size) * 1.4 * 3 + 0.5rem*2)
  }

  .load-more-button {
    width: calc(var(--card-size) * 1.4 * 3 + 0.5rem*2);
  }

  }

/* alt større end desktop på 2000px */
@media (min-width: 2000px) {

  :root {
    --card-size: 17rem;
    --main-margin: 12rem;
    --site-width: 1600px;
  }

  /* AllContentsPage */
  
  .card--large {
    width: calc(var(--card-size) * 2.8);
    height: calc(var(--card-size) * 2);
  }

  .card--praksis-horizontal {
  width: calc(var(--card-size)* 2.8);
  height: calc(var(--card-size) * 2 * 0.31);
  }

  
  /* filterPage */

  /* Horizontal design - not in use anymore 
  .theme-selector {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
    padding: 0 0 1rem 0;
  } 
  
  .triangle {
    top: 133%
  }
  
  

  .theme-icon-container {
    width: calc( var(--site-width) / 10);
  }

  

  .tag-cloud {
    background-color: white;
  }

  .expanded {
    padding: 0;
  }

  */

  /* tagcloud animations */

  /*
  .fade-in.expand {
    animation: tagCloudFadeIn 0.7s ease-in forwards, tagCloudExpand 0.2s ease-in forwards;
  }

  .fade-in {
    animation: tagCloudFadeIn 0.4s ease-in forwards;
  }

  .expand {
    animation: tagCloudExpand 0.4s ease-in forwards;
  }

  @keyframes tagCloudFadeIn {
    0% { opacity: 0; }
    75% { opacity: 0.5; }
    100% { opacity: 1; }
  }

  @keyframes tagCloudExpand {
    0% { max-height: 0;}
    75% { max-height: 200px; }
    100% { max-height: 1000px;}
  }
*/

}
