/* Box sizing rules */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Remove default margin */
body,
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
ul[role="list"],
ol[role="list"] {
  list-style: none;
}

/* Set core root defaults */
html:focus-within {
  scroll-behavior: smooth;
}

/* Set core body defaults */
body {
  min-height: 100vh;
  text-rendering: optimizeSpeed;
  line-height: 1.5;
}

/* A elements that don't have a class get default styles */
a:not([class]) {
  text-decoration-skip-ink: auto;
}

/* Make images easier to work with */
img,
picture {
  max-width: 100%;
  display: block;
}

/* Inherit fonts for inputs and buttons */
input,
button,
textarea,
select {
  font: inherit;
}

/* Remove all animations, transitions and smooth scroll for people that prefer not to see them */
@media (prefers-reduced-motion: reduce) {
  html:focus-within {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* VARIABLES */
:root {
  --primary-color: #14213d;
  --secondary-color: #fca311;
  --gray-color: #e5e5e5;
  --black-color: #000000;
  --white-color: #ffffff;
  --text-color: #333333;
  --font-family: "Poppins", sans-serif;
}

/* GENERAL */
html {
  scroll-behavior: smooth;
}

.index-body {
  font-family: var(--font-family);
  color: var(--primary-color);
  /* background-image: url(assets/Group\ 1.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center; */
  background-position: 0px 45rem;
}

.personvern-body {
  font-family: var(--font-family);
  color: var(--primary-color);
  background-position: 0px 45rem;
}

.privacy-page {
  display: flex;
  flex-direction: column;
  padding-inline: 3.75rem;
  padding-bottom: 5rem;
}

.bottom-personvern {
  padding-bottom: 5rem;
}
.thank-you-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  gap: 1rem;
  padding-inline: 3.75rem;
}

.thank-you-p {
  padding-bottom: 5rem;
}

/* HEADER */

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 3.75rem;
  height: 100vh;
  margin-bottom: 6rem;
}

.main-header {
  display: flex;
  width: fit-content;
  align-items: center;
  flex-direction: column;
}

.heading {
  font-size: 6rem;
  letter-spacing: -10px;
}
.heading-2 {
  position: relative;
  font-weight: 200;
  letter-spacing: -2px;
  font-size: 1.3rem;
  top: -40px;
  color: var(--primary-color);
}

.img-div {
  width: 100%; /* fyller tilgjengelig plass */
  max-width: 600px; /* valgfritt: begrenser størrelse */
  min-width: 20rem;
  padding-left: 2rem;
}

.header-img {
  width: 100%;
  height: auto;
  padding: 2rem;
  border: 3px solid var(--secondary-color);
  border-radius: 30px;
}

.header-list {
  font-weight: 200;
}

.header-list li {
  list-style: circle;
}

.header-p {
  width: 30rem;
  margin-top: 1rem;
  margin-bottom: 2rem;
}

.CTA-btn {
  border: var(--secondary-color) 3px solid;
  color: var(--primary-color);
  padding: 0.75rem 1.5rem;
  border-radius: 30px;
  font-size: 1rem;
  cursor: pointer;
  background-color: transparent;
  text-decoration: none;
  transition: all 0.3s ease;
}

.CTA-btn:hover {
  background-color: var(--secondary-color);
}

/* FEAUTURES SECTION */
.feautures-section {
  position: relative;
  display: flex;
  flex-direction: column;
  padding-inline: 3.75rem;
  /* height: 100vh; */
  margin-bottom: 10rem;
}

.features-bg {
  position: absolute;
  z-index: -1;
  top: -15rem;
  left: 0;
  right: 0;
  bottom: 0; /* fyller til bunnen av seksjonen */
  width: 100%;
  height: calc(100% + 33rem); /* fyller høyden av seksjonen + toppen */
}

.feautures-div {
  display: flex;
  align-items: center;
  width: 100%;
  height: 25rem;
  border-radius: 30px;
  margin-block: 4rem;
}

.feautures-img-div {
  display: flex;
  justify-content: center;
  flex: 1;
  width: 100%; /* fyller tilgjengelig plass */
  max-width: 450px; /* valgfritt: begrenser størrelse */
  min-width: 20rem;
  padding: 1rem;
}

.feautures-img {
  width: 100%;
  height: auto;
  padding: 2rem;
  border: var(--secondary-color) solid 3px;
  border-radius: 30px;
}

.features-txt-div {
  flex: 1;
  padding-inline: 5rem;
  padding-block: 1rem;
  color: var(--gray-color);
}

.features-heading {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

/* how-section */

.how-section {
  display: flex;
  flex-direction: column;
  /* align-items: center; */
  padding-inline: 3.75rem;
  margin-bottom: 10rem;
  padding-top: 5rem;
}

.how-section-heading {
  text-align: center;
}

.list-div {
  display: flex;
  flex-direction: column;
  align-self: center;
  width: fit-content;
}

.how-list-header {
  text-align: left;
}

.how-list-header {
  font-size: 1rem;
  font-weight: 200;
}

.why-choose-div {
  display: flex;
  flex-direction: column;
}

.how-cta-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-top: 3rem;
}

.cta-p {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

/* form-section */

.form-section {
  background-color: var(--primary-color);
}

.form-top-txt {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-inline: 3.75rem;
  padding-top: 2rem;
}

.form-p {
  width: 20rem;
  color: var(--white-color);
  font-weight: 200;
}

.form-p-big {
  width: fit-content;
  color: var(--white-color);
  font-size: 2.5rem;
}

.form-header {
  color: var(--secondary-color);
}

.form {
  display: flex;
  flex-direction: column;
}

.submit-btn {
  background-color: var(--secondary-color);
  border: none;
  width: fit-content;
}

.submit-btn:hover {
  background-color: transparent;
  box-shadow: inset 0 0 0 3px var(--secondary-color);
  color: var(--secondary-color);
  margin-bottom: 1rem;
}

.email-input {
  padding-block: 0.75rem;
  padding-inline: 1rem;
  border-radius: 30px;
  border: 3px solid var(--secondary-color);
  margin-bottom: 1rem;
  width: 40rem;
  background-color: transparent;
  color: var(--white-color);
}

.email-input:focus {
  outline: none;
  box-shadow: 0 0 0 3px var(--secondary-color);
}

.disclaimer {
  padding-top: 0.5rem;
  font-size: 0.75rem;
  color: var(--white-color);
}

.disclaimer a {
  color: var(--secondary-color);
}

.form-list-div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 3.75rem;
}

.form-list {
  color: var(--white-color);
  gap: 0.5rem;
}

/* FOOTER */

.footer {
  display: flex;
  justify-content: space-between;
  padding: 3.75rem;
  background-color: var(--gray-color);
}

.footer-ul {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  list-style: none;
  font-size: 0.75rem;
}

.footer-ul h4 {
  font-size: 1rem;
  color: var(--primary-color);
}

.footer-ul a {
  color: var(--primary-color);
  text-decoration: none;
}

.footer-ul a:hover {
  text-decoration: underline;
}

.footer-list-div {
  display: flex;
  gap: 10rem;
}
