* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  text-decoration: none;
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", "Lato", "Viga";
  line-height: 1;
  color: #fff;
  background-color: #0a1e32;
  text-wrap: pretty;
}
html {
  font-size: 100%;
}

a {
  text-decoration: none;
  color: #fff;
}

a:hover {
  color: #d68c1d;
}
h1,
h2,
h3 {
  color: #fff;
  font-family: "Poppins";
}

h1 {
  font-size: 3rem;
  font-weight: 500;
}

h2 {
  font-size: 1.5rem;
  font-weight: 300;
}

h3 {
  font-size: 1.25rem;
  font-weight: 450;
}

h4 {
  font-size: 1rem;
  font-weight: 400;
  font-family: "Lato";
}
p {
  font-size: 1.25rem;
  font-family: "Lato";
}

.btn-solid {
  background-color: #d68c1d;
  padding: 10px 25px;
  border-radius: 50px;
  width: fit-content;
  border: 2px solid transparent;
  color: #fff;
  font-family: "Poppins";
  font-size: 1rem;
  font-weight: 400;
}

.btn-solid:hover {
  border: 2px solid #d68c1d;
  background-color: transparent;
}
.btn-solid a {
  text-decoration: none;
  color: #fff;
}
.btn-outline {
  color: #fff;
  border: 2px solid #d68c1d;
  padding: 10px 25px;
  border-radius: 50px;
  width: fit-content;
  font-family: "Poppins";
  font-size: 1rem;
  font-weight: 400;
  background-color: transparent;
}

.btn-outline:hover {
  background-color: #d68c1d;
  color: #fff;
}

.btn-outline a {
  text-decoration: none;
  color: #fff;
}
.btn-text:hover {
  color: #fff;
}
/**** Main Navigation ****/

#hero {
  width: 100%;
  background: linear-gradient(
      to right,
      rgba(159, 170, 181, 0.1) 10%,
      rgba(8, 26, 43, 0.75) 80%
    ),
    url(https://enske.no/nicki-eliza-schinow-mg3nB1l2KdM-unsplash-01.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  padding-top: 2rem;
  height: 100vh;
  margin: auto;
}

.logo img {
  max-width: 250px;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 3rem 9rem;
}

@media (width >= 40em) {
  .topnav button {
    display: none;
  }
}

.topnav__links {
  font-family: "Poppins";
  font-size: 1rem;
  font-weight: 400;
  display: flex;
  gap: 1rem;
  align-items: center;
  margin: 0;
  padding: 0;
}

.topnav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-block: 1.5rem;
}

.topnav__links {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin: 0;
  padding: 0;
}

.topnav__item {
  list-style-type: none;
}
.hero-box {
  width: 40%;
  margin-top: 150px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-left: auto;
}

.hero-box .hero-title {
  padding-bottom: 1rem;
  line-height: 1.25;
}
@media (width >= 40em) {
  .hero-btns {
    display: flex;
    flex-direction: row;
  }

  .kurs-home-btn {
    margin-left: 1.5rem;
  }
}

.hero-box .hero-subtext {
  max-width: 50%;
  line-height: 1.25;
  padding-bottom: 2rem;
}

.plan-home-btn {
  width: 140px;
  text-align: center;
}
.kurs-home-btn {
  width: 140px;
  text-align: center;
}

/****Quote Section***/

#quote {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 140px;
  row-gap: 100px;
  margin: 180px 140px;
  line-height: 1.5;
}

.quote-img {
  grid-column-start: 1;
  grid-column-end: 3;
  width: 100%;
  border-radius: 20px;
}

/****Tjenester****/

#tjenester h1 {
  text-align: center;
}

.tjenester-section-grid {
  display: flex;
  margin: 80px 140px 180px 180px;
}

.tjenester-grid {
  display: grid;
  grid-template-columns: repeat(3, 225px);
  column-gap: 32px;
  row-gap: 50px;
  padding-right: 64px;
}

.item-icon {
  display: grid;
  justify-content: center;
  align-items: center;
}
.item-icon i {
  display: flex;
  font-size: 36px;
  height: 75px;
  width: 75px;
  background-color: #d68c1d;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
}

.item {
  justify-items: center;
  align-items: center;
}

.item-text {
  text-align: center;
  padding-top: 1rem;
}

.kurs-grid {
  display: flex;
  flex-direction: column;
  justify-items: start;

  row-gap: 24px;
  background-color: #264059;
  padding: 40px;
  border-radius: 10px;
}

.kurs-grid h2 {
  font-size: 2rem;
  font-weight: 400;
}
.kurs-grid p {
  line-height: 1.25;
  text-align: left;
}
.kurs-grid .btn-solid {
  height: fit-content;
}
/*****Team*****/

#om-oss h1 {
  text-align: center;
}

.team {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  column-gap: 1rem;
  row-gap: 1rem;
  margin: 80px 140px 180px 140px;
}

.team-card {
  background-color: #264059;
  border-radius: 10px;
  height: fit-content;
}
.team-pic {
  width: 100%;
  height: 100%;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

.team-text {
  display: flex;
  padding: 1rem;
  line-height: 1.5rem;
  flex-direction: column;
  white-space: no-wrap;
}

.team-text a {
  font-size: 0.9rem;
  font-weight: 400;
  line-height: 2rem;
  text-decoration: none;
  color: #fff;
}

.team-text a:hover {
  color: #d68c1d;
}

.team-text p {
  font-size: 0.9rem;
  font-weight: 400;
  line-height: 2rem;
}
.team-text i {
  padding-right: 1rem;
}
.team-text .phone {
  padding-top: 2rem;
}

.full-team {
  display: flex;
  justify-content: center;
  margin: 80px 140px;
}

.full-team img {
  border-radius: 20px;
  width: 100%;
}

/****Kunder****/

#kunder {
  text-align: center;
}

.marquee {
  overflow: hidden;

  gap: var(--gap);
  block-size: var(--marquee-item-height);
  margin-top: 80px;
  position: relative;
  overflow-x: hidden;
  mask-image: linear-gradient(
    to right,
    hsl(0 0% 0% / 0),
    hsl(0 0% 0% / 1) 20%,
    hsl(0 0% 0% / 1) 80%,
    hsl(0 0% 0% / 0)
  );
}

.marquee--8 {
  display: grid;
  align-items: center;
  align-content: center;
  --marquee-item-width: 250px;
  --marquee-item-height: 200px;
  --marquee-duration: 60s;
  --marquee-items: 8;
}

.marquee__item {
  max-width: 250px;
  --marquee-item-offset: max(
    calc(var(--marquee-item-width) * var(--marquee-items)),
    calc(100% + var(--marquee-item-width))
  );
  --marquee-delay: calc(
    var(--marquee-duration) / var(--marquee-items) *
      (var(--marquee-items) - var(--marquee-item-index)) * -1
  );
  position: absolute;
  inset-inline-start: var(--marquee-item-offset);

  animation: go linear var(--marquee-duration) var(--marquee-delay, 0s) infinite;
}

.marquee__item img {
  display: grid;
  align-items: center;
  max-width: 250px;
}

.marquee--8 .marquee__item:nth-of-type(1) {
  --marquee-item-index: 1;
}

.marquee--8 .marquee__item:nth-of-type(2) {
  --marquee-item-index: 2;
}

.marquee--8 .marquee__item:nth-of-type(3) {
  --marquee-item-index: 3;
}

.marquee--8 .marquee__item:nth-of-type(4) {
  --marquee-item-index: 4;
}

.marquee--8 .marquee__item:nth-of-type(5) {
  --marquee-item-index: 5;
}

.marquee--8 .marquee__item:nth-of-type(6) {
  --marquee-item-index: 6;
}

.marquee--8 .marquee__item:nth-of-type(7) {
  --marquee-item-index: 7;
}

.marquee--8 .marquee__item:nth-of-type(8) {
  --marquee-item-index: 8;
}

@keyframes go {
  to {
    inset-inline-start: calc(var(--marquee-item-width) * -1);
  }
}

/*****Footer****/

footer {
  background-color: #264059;
  margin-top: 180px;
  padding: 40px 140px 40px 140px;
}
.footer-box {
  display: flex;
  flex-direction: row;
}

.footer-box a {
  font-size: 14px;
  line-height: 1.5;
  text-decoration: none;
  color: #fff;
}

.footer-box a:hover {
  color: #d68c1d;
}
.footer-box p {
  font-size: 14px;
  line-height: 1.5;
}
.logo-footer img {
  width: 100px;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  padding-left: 40px;
}

.footer-nav a {
  text-decoration: none;
  color: #fff;
  font-size: 14px;
  line-height: 1.5;
}

.footer-nav a:hover {
  color: #d68c1d;
}

/*****Kurs Page****/

.kurs-subhead {
  margin: 2rem 140px;
  text-align: center;
}

.kurs-text-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 2rem;
  margin: 80px 140px;
}

.kurs-text {
  background-color: #264059;
  padding: 2rem;
  border-radius: 20px;
  line-height: 1.25;
}

.kurs-text h2 {
  padding-bottom: 1rem;
}

.kurs-calendar {
  margin-top: 80px auto;
}

.kurs-calendar h1 {
  text-align: center;
}

.kurs-button {
  margin: 0 140px;
  display: flex;
  justify-content: flex-end;
}

#kurs-temp {
  margin: 80px 140px;
  padding: 2rem;
  text-align: left;
}

.questions {
  padding-top: 2rem;
}

#kurs-temp ul {
  padding-top: 2rem;
}
#kurs-temp li {
  padding-top: 1rem;
}

.kurs-temp-calendar table {
  margin: 80px auto;
  border-spacing: 0;
}
.kurs-temp-calendar table thead {
  background-color: #264059;
  text-align: left;
}

.kurs-temp-calendar table th {
  text-align: left;
  padding: 1rem 0.5rem;
}

.kurs-temp-calendar table td {
  padding: 10px;
  text-align: left;
}
