@charset "UTF-8";
/*https://www.freecodecamp.org/news/how-to-use-sass-with-css/*/
/* file import */
nav {
  overflow: hidden;
  background-color: var(--black);
}
nav ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
}
nav a {
  display: block;
  color: var(--white);
  text-align: center;
  padding: 20px 16px;
  text-decoration: none;
}

.menu-logo {
  float: left;
}
.menu-logo img {
  max-height: 42px;
}

/* Hamburger menu styles */
nav ul {
  display: none;
  flex-direction: column;
  margin-top: 85px;
}

/* When active, display the ul list as a flex container */
nav ul.active {
  display: flex;
}

/*menu/close text*/
span.menu {
  font-size: 16px;
  color: var(--white);
  margin-top: 10px;
}

.menu-text {
  display: grid;
  grid-template: 1fr/1fr 1fr;
  justify-content: center;
  justify-items: center;
}

/* Styling for the hamburger icon */
.hamburger-cross {
  float: right;
  cursor: pointer;
  margin-top: 20px;
  margin-right: 8px;
  pointer-events: auto;
}

/* Styling for the bars in the hamburger icon */
.bar1,
.bar2,
.bar3 {
  width: 33px;
  height: 4px;
  background-color: var(--white);
  margin: 7px 0;
  transition: 0.4s;
  border-radius: 3px;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
}

/* Styling for the bars when the hamburger icon is clicked */
.change .bar1 {
  transform: translate(0, 11px) rotate(-45deg);
}

.change .bar2 {
  opacity: 0;
}

.change .bar3 {
  transform: translate(0, -11px) rotate(45deg);
}

/* Media query for larger screens */
@media only screen and (min-width: 790px) {
  /* Display the ul list as a horizontal row and align it to the right */
  nav ul {
    display: flex;
    flex-direction: row;
    float: right;
    margin-top: 10px;
    margin-right: 15px;
  }
  /* Add margin to the left of each list item */
  nav li {
    margin-left: 15px;
  }
  /* Hide the hamburger icon on larger screens */
  .hamburger-cross {
    display: none;
  }
}
/* Skip to content link for accessibility */
.skip-to-content {
  position: absolute;
  top: -400px;
  /* Position off-screen */
}

.skip-to-content:focus {
  position: relative;
  top: 0;
  /* Bring into the visible area when focused */
}

.welcome {
  margin-top: 20px;
}

.grid-150 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(50px, 1fr)); /* Automatisk justering av kolonnebredder */
  grid-auto-rows: 1fr; /* Automatisk justering av radhøyder */
  gap: 10px 20px;
}

.card-tjeneste img,
.card-hvem img,
.card-delesalg img {
  margin-bottom: 10px;
}

.myrsund {
  font-family: MontserratBlack;
  color: var(--primary-color);
}

.icon-grid {
  background-color: var(--secondary-color);
  padding: 20px;
  border-radius: var(--border-radius);
}
.icon-grid img {
  width: 20%;
  margin: 0;
  margin-bottom: 15px;
}
.icon-grid p {
  padding: 0;
}

.grid-100 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  grid-auto-rows: 1fr;
  gap: 20px 20px;
  margin: 20px 0;
}

.listing {
  padding: 0 30px;
}

.card-delesalg {
  background-color: var(--secondary-color);
}

.grid-150 .delesalg-layout {
  background-color: var(--white);
}

.les-mer-container {
  text-align: right;
}

.les-mer {
  border: none;
  text-align: left;
  margin: 10px;
  background-color: transparent;
  border-radius: 0;
}
.les-mer a {
  text-decoration: none;
  text-transform: uppercase;
  color: var(--black);
  border-bottom: 1.2px solid var(--black);
  font-family: MontserratRegularItalic;
}

/* Hover effect */
button.les-mer:hover {
  background-color: transparent;
  cursor: pointer;
}
button.les-mer:hover a:hover {
  border-bottom: 2px solid var(--primary-color);
  font-weight: bold;
}

/* Media queries for larger screens */
@media only screen and (min-width: 770px) {
  .banner-image {
    height: 400px;
    width: 100%;
  }
  .hvem-img img {
    height: 400px;
  }
}
/*Delesalg*/
.kursiv {
  font-style: italic;
  padding: 40px 0;
}

/*Tjenester*/
.gallery-container {
  position: relative;
  background-color: var(--secondary-color);
}
.gallery-container img {
  margin: 0;
}
.gallery-container h3 {
  margin-bottom: 0;
  padding-left: 15px;
  padding-top: 5px;
}
.gallery-container h4 {
  padding-left: 15px;
}
.gallery-container p {
  padding-left: 15px;
  padding-bottom: 15px;
}

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.prev,
.next {
  padding: 10px 20px 10px 20px;
  margin-top: 5px;
  font-size: 24px;
  color: var(--black);
  border: none;
  /*border-radius: 50%;
  width: 50px;
  height: 50px;*/
  justify-content: center;
  align-items: center;
  align-self: center;
  display: flex;
  align-items: center;
  cursor: pointer;
}

.gallery-buttons {
  display: grid;
  grid-template-columns: 0.5fr 1fr 0.5fr;
  align-items: center;
}

.prev {
  justify-self: start; /* Aligns to the start (left) */
}

.circles {
  justify-self: center; /* Aligns to the center */
}

.next {
  justify-self: end; /* Aligns to the end (right) */
}

.circle {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #ccc;
  display: inline-block;
  margin: 0 5px;
  cursor: pointer;
}

.circle.active {
  background-color: var(--primary-color);
}

.delesalg-layout,
.gallery-container {
  margin-bottom: 20px;
  border-radius: var(--border-radius);
}

.white {
  background-color: var(--white);
}

.delesalg-layout {
  background-color: var(--secondary-color);
}
.delesalg-layout p {
  padding-left: 15px;
  padding-bottom: 15px;
}
.delesalg-layout h3 {
  padding-left: 15px;
  padding-top: 5px;
  margin-bottom: 0;
}
.delesalg-layout h4 {
  padding-left: 15px;
}

.filter-what {
  display: none;
}

.filter-what.show {
  display: block;
}

.card-delesalg .filter-buttons {
  margin-bottom: 30px;
}

.filter-buttons {
  display: flex;
  flex-wrap: wrap; /* Allow wrapping to next line */
  gap: 17px;
  justify-content: flex-start;
}
.filter-buttons button {
  background-color: var(--primary-color);
  border: none;
  color: var(--white);
  padding: 8px 12px;
  font-size: 13px;
}

.filter-button.selected {
  background-color: var(--black);
  font-family: MontserratBold;
}

.kategori {
  color: var(--primary-color);
  font-size: 0.7rem;
}

/* Style for the primary button */
.primary-button {
  text-align: center;
}
.primary-button button {
  background-color: var(--primary-color);
  border: none;
  color: var(--white);
  padding: 10px 20px;
  margin: 15px;
}
.primary-button button a {
  color: inherit;
  text-decoration: none;
}

/*OM MEG*/
.section {
  /* Set a specific height */
  min-height: 500px;
  /* Create the parallax scrolling effect */
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.parallax-text-box {
  width: 100%;
  padding: 10px;
  text-align: center;
  background-color: white;
}

.parallax-meg-one {
  background-image: url("../assets/images/historie/meg/meg.jpg");
}

.parallax-meg-two {
  background-image: url("../assets/images/historie/meg/1.jpg");
}

.parallax-meg-three {
  background-image: url("../assets/images/historie/meg/2.jpg");
}

.parallax-meg-four {
  background-image: url("../assets/images/historie/meg/3.jpg");
}

.parallax-meg-five {
  background-image: url("../assets/images/historie/meg/4.jpg");
}

.parallax-meg-six {
  background-image: url("../assets/images/historie/meg/5.png");
}

.no-parallax {
  min-height: 10px;
}

.section .parallax-berg-one {
  min-height: 200px;
}

.parallax-berg-one {
  background-image: url("../assets/images/historie/berg/berg.jpg");
}

.parallax-berg-two {
  background-image: url("../assets/images/black.png");
}

.divider {
  padding: 40px 40px;
}
.divider h2 {
  font-family: MontserratBold;
  font-size: 1.2rem;
  text-align: center;
}
.divider h3 {
  text-align: center;
}

.divider-img {
  height: 250px;
  width: auto;
}

figure {
  margin: 0 auto; /* Center the figure horizontally */
  text-align: center;
}

figcaption {
  font-size: var(--smaller-font-size);
  padding: 3px 10px;
}

.gif {
  height: 150px;
  width: auto;
}

/*Kontakt*/
form {
  display: grid;
  grid-gap: 2px;
}

input,
textarea {
  border-radius: var(--border-radius);
  border: 0.1px solid var(--black);
  padding: 7px 5px;
}

input {
  color: black;
  margin-bottom: 20px;
}

textarea {
  height: 200px;
}

button {
  background-color: var(--primary-color);
  border: none;
  color: var(--white);
  padding: 8px 10px;
}

input[type=text],
input[type=email],
textarea {
  width: 100%; /* Inputs take up full width */
}

.input-group {
  display: grid;
  grid-template-columns: auto;
  grid-gap: 5px;
}

.card-contact {
  margin-top: 30px;
}

.contact-info h3 {
  font-size: 1rem;
  color: var(--primary-color);
  text-transform: uppercase;
  margin-bottom: 1px;
}
.contact-info p {
  padding-top: 0;
  padding-bottom: 20px;
}
.contact-info a {
  border-bottom: 1.2px solid var(--black);
}
.contact-info p,
.contact-info a {
  color: var(--black);
  text-decoration: none;
}

.map iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.contact-grid {
  display: grid;
  grid-template-areas: "form" "contact-info" "map";
  grid-gap: 0 25px;
  background-color: var(--secondary-color);
  border-radius: var(--border-radius);
}

.map {
  grid-area: map;
}

.form {
  grid-area: form;
  padding: 20px;
}

.contact-info {
  grid-area: contact-info;
  display: grid;
  grid-auto-columns: 1fr;
  grid-gap: 20px;
  text-align: center;
  background-color: var(--white);
  padding-top: 20px;
  padding-bottom: 20px;
}

.required {
  font-size: 0.8rem;
  font-family: MontserratRegularItalic;
  padding: 0;
  padding-bottom: 20px;
}

/* Media queries for larger screens */
@media only screen and (min-width: 770px) {
  .grid-auto-delesalg {
    display: grid;
    grid-auto-rows: 1fr;
    gap: 10px 20px;
    transition: all 0.3s ease;
  }
  /*tjenester*/
  .grid-auto-tjenester {
    grid-template-columns: repeat(2, 1fr);
  }
  /*delesalg*/
  .grid-auto-delesalg {
    grid-template-columns: repeat(3, 1fr);
  }
  .parallax-text-box {
    width: 40%;
    margin: 0 auto;
    position: absolute;
    left: 30%;
  }
  .divider {
    padding: 60px 250px;
  }
  .divider h2 {
    font-family: MontserratBold;
    font-size: 1.2rem;
    text-align: center;
  }
  .divider h3 {
    text-align: center;
  }
}
@media only screen and (min-width: 860px) {
  .grid-auto-tjenester {
    display: grid;
    grid-auto-rows: 1fr;
    gap: 10px 20px;
    transition: all 0.3s ease;
  }
}
@media only screen and (min-width: 900px) {
  .contact-grid {
    grid-template-areas: "form map" "form map" "contact-info contact-info";
    background-color: var(--secondary-color);
  }
  .contact-info {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr;
    justify-content: center;
    justify-items: center;
    text-align: center;
    background-color: var(--white);
    padding-top: 50px;
  }
  .form {
    padding: 20px;
  }
  .map iframe {
    border-radius: var(--border-radius);
  }
}
/*Delesalg*/
.kursiv {
  font-style: italic;
  padding: 40px 0;
}

/*Tjenester*/
.gallery-container {
  position: relative;
  background-color: var(--secondary-color);
}
.gallery-container img {
  margin: 0;
}
.gallery-container h3 {
  margin-bottom: 0;
  padding-left: 15px;
  padding-top: 5px;
}
.gallery-container h4 {
  padding-left: 15px;
}
.gallery-container p {
  padding-left: 15px;
  padding-bottom: 15px;
}

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.prev,
.next {
  padding: 10px 20px 10px 20px;
  margin-top: 5px;
  font-size: 24px;
  color: var(--black);
  border: none;
  /*border-radius: 50%;
  width: 50px;
  height: 50px;*/
  justify-content: center;
  align-items: center;
  align-self: center;
  display: flex;
  align-items: center;
  cursor: pointer;
}

.gallery-buttons {
  display: grid;
  grid-template-columns: 0.5fr 1fr 0.5fr;
  align-items: center;
}

.prev {
  justify-self: start; /* Aligns to the start (left) */
}

.circles {
  justify-self: center; /* Aligns to the center */
}

.next {
  justify-self: end; /* Aligns to the end (right) */
}

.circle {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #ccc;
  display: inline-block;
  margin: 0 5px;
  cursor: pointer;
}

.circle.active {
  background-color: var(--primary-color);
}

.delesalg-layout,
.gallery-container {
  margin-bottom: 20px;
  border-radius: var(--border-radius);
}

.white {
  background-color: var(--white);
}

.delesalg-layout {
  background-color: var(--secondary-color);
}
.delesalg-layout p {
  padding-left: 15px;
  padding-bottom: 15px;
}
.delesalg-layout h3 {
  padding-left: 15px;
  padding-top: 5px;
  margin-bottom: 0;
}
.delesalg-layout h4 {
  padding-left: 15px;
}

.filter-what {
  display: none;
}

.filter-what.show {
  display: block;
}

.card-delesalg .filter-buttons {
  margin-bottom: 30px;
}

.filter-buttons {
  display: flex;
  flex-wrap: wrap; /* Allow wrapping to next line */
  gap: 17px;
  justify-content: flex-start;
}
.filter-buttons button {
  background-color: var(--primary-color);
  border: none;
  color: var(--white);
  padding: 8px 12px;
  font-size: 13px;
}

.filter-button.selected {
  background-color: var(--black);
  font-family: MontserratBold;
}

.kategori {
  color: var(--primary-color);
  font-size: 0.7rem;
}

/* Style for the primary button */
.primary-button {
  text-align: center;
}
.primary-button button {
  background-color: var(--primary-color);
  border: none;
  color: var(--white);
  padding: 10px 20px;
  margin: 15px;
}
.primary-button button a {
  color: inherit;
  text-decoration: none;
}

/*OM MEG*/
.section {
  /* Set a specific height */
  min-height: 500px;
  /* Create the parallax scrolling effect */
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.parallax-text-box {
  width: 100%;
  padding: 10px;
  text-align: center;
  background-color: white;
}

.parallax-meg-one {
  background-image: url("../assets/images/historie/meg/meg.jpg");
}

.parallax-meg-two {
  background-image: url("../assets/images/historie/meg/1.jpg");
}

.parallax-meg-three {
  background-image: url("../assets/images/historie/meg/2.jpg");
}

.parallax-meg-four {
  background-image: url("../assets/images/historie/meg/3.jpg");
}

.parallax-meg-five {
  background-image: url("../assets/images/historie/meg/4.jpg");
}

.parallax-meg-six {
  background-image: url("../assets/images/historie/meg/5.png");
}

.no-parallax {
  min-height: 10px;
}

.section .parallax-berg-one {
  min-height: 200px;
}

.parallax-berg-one {
  background-image: url("../assets/images/historie/berg/berg.jpg");
}

.parallax-berg-two {
  background-image: url("../assets/images/black.png");
}

.divider {
  padding: 40px 40px;
}
.divider h2 {
  font-family: MontserratBold;
  font-size: 1.2rem;
  text-align: center;
}
.divider h3 {
  text-align: center;
}

.divider-img {
  height: 250px;
  width: auto;
}

figure {
  margin: 0 auto; /* Center the figure horizontally */
  text-align: center;
}

figcaption {
  font-size: var(--smaller-font-size);
  padding: 3px 10px;
}

.gif {
  height: 150px;
  width: auto;
}

/*Kontakt*/
form {
  display: grid;
  grid-gap: 2px;
}

input,
textarea {
  border-radius: var(--border-radius);
  border: 0.1px solid var(--black);
  padding: 7px 5px;
}

input {
  color: black;
  margin-bottom: 20px;
}

textarea {
  height: 200px;
}

button {
  background-color: var(--primary-color);
  border: none;
  color: var(--white);
  padding: 8px 10px;
}

input[type=text],
input[type=email],
textarea {
  width: 100%; /* Inputs take up full width */
}

.input-group {
  display: grid;
  grid-template-columns: auto;
  grid-gap: 5px;
}

.card-contact {
  margin-top: 30px;
}

.contact-info h3 {
  font-size: 1rem;
  color: var(--primary-color);
  text-transform: uppercase;
  margin-bottom: 1px;
}
.contact-info p {
  padding-top: 0;
  padding-bottom: 20px;
}
.contact-info a {
  border-bottom: 1.2px solid var(--black);
}
.contact-info p,
.contact-info a {
  color: var(--black);
  text-decoration: none;
}

.map iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.contact-grid {
  display: grid;
  grid-template-areas: "form" "contact-info" "map";
  grid-gap: 0 25px;
  background-color: var(--secondary-color);
  border-radius: var(--border-radius);
}

.map {
  grid-area: map;
}

.form {
  grid-area: form;
  padding: 20px;
}

.contact-info {
  grid-area: contact-info;
  display: grid;
  grid-auto-columns: 1fr;
  grid-gap: 20px;
  text-align: center;
  background-color: var(--white);
  padding-top: 20px;
  padding-bottom: 20px;
}

.required {
  font-size: 0.8rem;
  font-family: MontserratRegularItalic;
  padding: 0;
  padding-bottom: 20px;
}

/* Media queries for larger screens */
@media only screen and (min-width: 770px) {
  .grid-auto-delesalg {
    display: grid;
    grid-auto-rows: 1fr;
    gap: 10px 20px;
    transition: all 0.3s ease;
  }
  /*tjenester*/
  .grid-auto-tjenester {
    grid-template-columns: repeat(2, 1fr);
  }
  /*delesalg*/
  .grid-auto-delesalg {
    grid-template-columns: repeat(3, 1fr);
  }
  .parallax-text-box {
    width: 40%;
    margin: 0 auto;
    position: absolute;
    left: 30%;
  }
  .divider {
    padding: 60px 250px;
  }
  .divider h2 {
    font-family: MontserratBold;
    font-size: 1.2rem;
    text-align: center;
  }
  .divider h3 {
    text-align: center;
  }
}
@media only screen and (min-width: 860px) {
  .grid-auto-tjenester {
    display: grid;
    grid-auto-rows: 1fr;
    gap: 10px 20px;
    transition: all 0.3s ease;
  }
}
@media only screen and (min-width: 900px) {
  .contact-grid {
    grid-template-areas: "form map" "form map" "contact-info contact-info";
    background-color: var(--secondary-color);
  }
  .contact-info {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr;
    justify-content: center;
    justify-items: center;
    text-align: center;
    background-color: var(--white);
    padding-top: 50px;
  }
  .form {
    padding: 20px;
  }
  .map iframe {
    border-radius: var(--border-radius);
  }
}
footer {
  position: relative;
  background-color: var(--black);
  padding: 0 20px 10px 20px;
  margin-top: 30px;
}
footer a {
  text-decoration: none;
  font-size: 40px;
}
footer p,
footer a {
  color: var(--white);
  font-size: var(--small-font-size);
  text-decoration: none;
}
footer div,
footer img {
  padding: 8px 0;
}
footer p {
  padding: 2px 0;
}

.footer-layout {
  padding-top: 30px;
}

.footer-logo {
  margin-left: -8px;
  height: 75px;
  width: auto;
}

.footer-info a, .copyright a {
  border-bottom: 1.2px solid var(--white);
}

.copyright p, .copyright a {
  font-size: 10px;
}

.social-media {
  display: grid;
  grid-template-columns: repeat(3, auto);
  justify-content: start;
  align-items: center;
  gap: 20px;
}
.social-media img {
  height: 45px;
  width: auto;
}

.scroll {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 45px;
  height: 45px;
  background-color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  cursor: pointer;
}
.scroll a {
  font-size: 23px;
}

.arrow {
  animation: jump 2s infinite alternate ease-in-out;
}

@keyframes jump {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
  100% {
    transform: translateY(0);
  }
}
/* Media queries for larger screens */
@media only screen and (min-width: 850px) {
  footer {
    padding: 0 40px 20px 40px;
  }
  .footer-layout {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
    gap: 10px 80px;
    grid-template-areas: "logo info" "social-media org-number" "copyright copyright";
    max-width: 1000px;
    margin: 0 auto;
  }
  .footer-logo {
    grid-area: logo;
  }
  .org-number {
    grid-area: org-number;
  }
  .footer-info {
    grid-area: info;
    padding-top: 10px;
  }
  .social-media {
    grid-area: social-media;
  }
  .footer-copyright, .copyright {
    grid-area: copyright;
    text-align: center;
    width: 100%;
    padding-top: 30px;
  }
  footer {
    padding-top: 20px;
  }
  footer div {
    padding: 0;
  }
}
:root {
  --primary-color: #ac2022;
  --secondary-color: #f2f2f2; /*#e9e9ea*/
  --black: #000000;
  --white: #ffffff;
  /*base font size */
  font-size: 16px;
  --small-font-size: 0.85rem;
  --smaller-font-size: 0.694rem;
  --border-radius: 10px;
}

/* Reset and default styles for all elements */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: MontserratRegular;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.02em;
  word-spacing: 0.03em;
  /*border: 1px solid red;*/
}

@font-face {
  font-family: "MontserratRegular";
  src: url("../assets/fonts/Montserrat/Montserrat-Regular.ttf");
}
@font-face {
  font-family: "MontserratRegularItalic";
  src: url("../assets/fonts/Montserrat/Montserrat-Italic.ttf");
}
@font-face {
  font-family: "MontserratBlack";
  src: url("../assets/fonts/Montserrat/Montserrat-Black.ttf");
}
@font-face {
  font-family: "MontserratBold";
  src: url("../assets/fonts/Montserrat/Montserrat-Bold.ttf");
}
/* Body and HTML styles */
html {
  margin: 0 auto;
  width: 100%;
  padding: 0;
  scroll-behavior: smooth;
  font-family: MontserratRegular;
}

body {
  font-size: 16px;
}

main {
  margin: 0 auto;
  max-width: 1280px;
}

img {
  max-width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 5px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

h1 {
  font-family: MontserratBlack;
  font-size: 1.728rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

h2 {
  font-family: MontserratBlack;
  font-size: 1.44rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

h3 {
  font-family: MontserratBold;
  font-size: 1.2rem;
}

h4 {
  font-size: 1rem;
}

p {
  font-size: 1rem;
  padding: 2px 0 10px 0;
}

h1,
h2,
h3,
h4 {
  margin: 5px 0;
}

.welcome,
.card-tjeneste,
.card-hvem,
.card-delesalg,
.oppdrag,
.egne-prosjekter,
.historie,
.instagram-preview {
  padding: 10px 20px;
}

.card-hvem img,
.card-delesalg img {
  width: 100%;
  object-fit: cover;
}

a:hover {
  cursor: pointer;
}

.filter-button,
.scroll {
  box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;
}

/*Button styling*/
button {
  border-radius: var(--border-radius);
}

button:hover {
  background-color: var(--black);
  cursor: pointer;
  opacity: 0.8;
}

*:focus {
  outline: 3px solid var(--primary-color);
}

/*active link */
.underline {
  font-family: MontserratBold;
  border-bottom: 3px solid var(--primary-color);
  border-radius: 1px;
  margin-bottom: 10px;
}

/* CSS for fade-in effect */
.fade-in {
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.fade-in.active {
  opacity: 1;
}

/* Media queries for larger screens */
@media only screen and (min-width: 770px) {
  .welcome,
  .card-tjeneste,
  .card-hvem,
  .card-delesalg,
  .oppdrag,
  .egne-prosjekter,
  .card-contact,
  .historie {
    padding: 15px 150px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .fade-in {
    animation: none !important;
  }
}/*# sourceMappingURL=style.css.map */