body {
  font-family: sans-serif;
  margin: 0;
  padding: 0;
  color: #1A1A1A;
  line-height: 1.6;
}

main p {
  font-size: clamp(0.95rem, 2.5vw, 1.1rem);

}

main li {
  font-size: clamp(1.5rem, 5vw, 2.5rem);

}






h1,
h2,
h3 {

  font-weight: 600;
  margin-bottom: 1rem;
}

h1 {
  font-size: clamp(1.5rem, 5vw, 2.5rem);
  font-weight: 750;
  color: #ff8036;
}

h2 {
  font-size: clamp(1rem, 5vw, 1.4rem);

}

h3 {
  font-size: clamp(1rem, 5vw, 1.);

}



.elastikkLogo {
  width: 200px;
  /* eller det som passer */
  height: auto;
  display: block;
  margin: 2rem;
}


.navbar {
  background-color: #0b0527;
  color: rgb(255, 254, 254);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-direction: row;

  /* navbaren sitter fast */
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 5;
}

.navbar a {
  width: 20%;
}

.navbar-brand {
  font-weight: bold;
  font-size: 1.25rem;
}

.navbar-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 2rem;
  margin: 1rem;
  text-decoration-thickness: 8%;
  text-underline-offset: 0.2em;
}

.navbar-links li:hover {
  text-underline-offset: 0.5em;
  transition: 0.1s ease-in;
}

.navbar-links a {
  color: inherit;
  text-decoration: none;
}


.navbar-links a :hover::after,
.navbar-links a :focus::after {
  opacity: 1;
  transform: translate3d(0, 0.2em, 0);
}

.navbar-links li a {
  color: rgb(255, 254, 254);
  text-decoration: none;
  display: flex;
}

.navbar-links li a:hover {
  text-decoration: underline;
}

.p-menu1 {
  height: 100%;
}

.navbar-kontakt {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
  margin: 1rem;
  text-decoration-thickness: 8%;
  text-underline-offset: 0.2em;
  justify-content: center;
  margin: 0 auto;
}

.nav_knapper button{
  font-size: 0.9rem;
}

.kontaktmetoder{
  display: flex;
  flex-direction: row;
  text-indent: 2rem;
}
.navbar-kontakt .kontakt {
  font-weight: bolder;
  color: #ff8036;
}

.navbar-kontakt a {
  color: white;
  white-space: nowrap;
  /* hindrer at lenken selv brytes */

}

.navbar-kontakt li:hover {
  text-underline-offset: 0.5em;
  transition: 0.1s ease-in;
}

@media (max-width: 600px) {}




/* Hamburger
  .hamburger1 {
    height: 35px;
    margin: 10px;
    display: -ms-grid;
    display: grid;
    grid-template-rows: repeat(3, 1fr);
    justify-items: center;
    z-index: 120;
  }
  
  .hamburger1 div {
    background-color: rgb(245, 245, 245);
    position: relative;
    width: 25px;
    height: 2px;
    margin-top: 3px;
    -webkit-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
    border-radius: 1rem;
  }
  
  #toggle1 {
    display: none;
  }
  
  #toggle1:checked + .hamburger1 .top {
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
    margin-top: 22.5px;
  }
  
  #toggle1:checked + .hamburger1 .meat {
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    margin-top: -2px;
  }
  
  #toggle1:checked + .hamburger1 .bottom {
    -webkit-transform: scale(0);
    transform: scale(0);
  }
  
 Menu
  .menu1 {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #0b0527;
    margin: 0;
    display: -ms-grid;
    display: grid;
    grid-template-rows: 1fr repeat(4, 0.5fr);
    grid-row-gap: 25px;
    padding: 0;
    list-style: none;
    clear: both;
    text-align: center;
    height: 0px;
    overflow: hidden;
    transition: height 0.4s ease;
    z-index: 120;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.3);
  }
  
  #toggle1:checked ~ .menu1 {
    height: 470px;
  }
  
  .menu1 a:first-child {
    margin-top: 40px;
  }
  
  .menu1 a:last-child {
    margin-bottom: 40px;
  } */

.link1 {
  width: 100%;
  margin: 0;
  padding: 10px 0;
  color: #f4f4f4;
  font-weight: bold;
  text-decoration: none;
}

.link1:hover {
  color: rgb(141, 141, 141);
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}


.button {
  background-color: #ffffff00;
  border: #ff9036 0.1em solid;
  border-radius: 8px;
  text-align: right;
  transition: all 0.6s ease;
  margin: 2rem;
}

.button:hover {
  background-color: #ff9036;

  cursor: pointer;
}

.button svg {
  width: 1.6em;
  margin: -0.2em 0.8em 1em;
  position: absolute;
  display: flex;
  transition: all 0.6s ease;

}

.button:hover svg {
  transform: translateX(5px);

}

.mote_nav_knapp {
  padding: 0.7rem 2rem;
  border: none;
  background-color: #ff9036;
  color: white;
  cursor: pointer;
  border-radius: 8px;
  transition: background-color 0.3s ease;
  margin-left: auto;
  /* skyver denne gruppen til høyre */

}

.mote_nav_knapp:hover {
  background-color: rgb(216, 113, 29);


}

.knapp-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 20vh;
  /* Full høyde på skjermen */
  margin-top: 3rem;

}

.mote_nav_knapp_bunn {
  padding: 0.8rem 2rem;
  border: none;
  background-color: #ff9036;
  color: white;
  cursor: pointer;
  border-radius: 10px;
  transition: background-color 0.3s ease;
  font-size: large;
}

.mote_nav_knapp_bunn:hover {

  background-color: #ff7e14;
}



.text {
  padding: 0.6rem 2rem;
  color: #f4f4f4;
}

.text a {
  color: #f4f4f4;
  text-decoration: none;

}

.text-book-knapp {
  margin: 0 1.5em;
  color: #1A1A1A;
}



.input-container {
  position: relative;
  width: 200px;
  padding-right: 6rem;
}

.input-container input[type="text"] {
  font-size: 20px;
  width: 100%;
  border: none;
  border-bottom: 2px solid #ccc;
  padding: 5px 0;
  background-color: transparent;
  color: #ccc;
  outline: none;
}

.input-container .label {
  position: absolute;
  top: 0;
  left: 0;
  color: #ccc;
  transition: all 0.3s ease;
  pointer-events: none;
}

.input-container input[type="text"]:focus~.label,
.input-container input[type="text"]:valid~.label {
  top: -20px;
  font-size: 16px;
  color: #f59f2e;
  z-index: 1;
}

.input-container .underline {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 100%;
  background-color: #f59f2e;
  transform: scaleX(0);
  transition: all 0.3s ease;
}

.input-container input[type="text"]:focus~.underline,
.input-container input[type="text"]:valid~.underline {
  transform: scaleX(1);
}





.hero-section {
  position: relative;
  background-image: url('media/sunrise.jpg');
  background-size: cover;
  background-position: center;
  height: 100vh;
  /* full høyde */
  display: flex;
  align-items: center;
  color: white;
}

.hero-overlay {
  padding: 3rem 8rem;
  max-width: 900px;
  border-radius: 12px;
  transition: 1s ease;
}

.hero-section h1 {
  margin-bottom: 1rem;
  text-shadow: 1px 1px 1px rgb(83, 83, 83);
}

.hero-section h3 {
  margin-bottom: 1rem;
  text-shadow: 1px 1px 1px rgb(83, 83, 83);

}

.hero-section p {
  line-height: 1.9;
  width: 50%;
  text-shadow: 1px 1px 1px rgb(83, 83, 83);

}

.secondary-text {
  margin-top: 2rem;
  font-size: 1rem;
  opacity: 0.9;
}

.hero-section button {
  margin-top: 5%;
  padding: 0.8rem 2rem;
  border: none;
  background-color: #ff9036;
  color: white;
  cursor: pointer;
  border-radius: 8px;
  transition: background-color 0.3s ease;
  font-size: larger;
}

.hero-section button:hover {
  background-color: #e67820;
}





.forside {
  display: flex;
  width: 80%;
  flex-direction: row;
  flex-wrap: wrap;
  align-content: space-between;
  justify-content: space-evenly;
  align-items: center;
  margin: 0 auto;
  margin-top: 14rem;
}



.forsidebilde {
  width: 600px;
  margin: 2rem;

}

.alt-section-nett-under-press {
  width: 100%;
  margin: 0 auto;
  margin-top: 10rem;
}

.nett_under_press_wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 500px;
  /* juster etter bildet */
  overflow: hidden;
}

.nett_under_press_img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.6);
}

.nett_under_press_text {
  position: absolute;
  color: white;
  text-align: center;
  max-width: 80%;
  z-index: 1;
}

.nett_under_press_text h2 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.nett_under_press_text p {
  font-size: 1.2rem;
}



.hero1 {
  text-align: center;
  color: rgb(0, 0, 0);
  text-align: start;
  width: 40%;



}


.hero1 button {
  color: #000000;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid#ff8036;
  padding: 10px 20px;
  font-size: 17px;
  cursor: pointer;
  font-weight: bold;
  background: transparent;
  position: relative;
  transition: all 1s;
  overflow: hidden;
  border-radius: 1rem;
  margin-top: 2rem;

}

.hero1 button::before {
  content: "";
  position: absolute;
  height: 100%;
  width: 0%;
  top: 0;
  left: -40px;
  transform: skewX(45deg);
  background-color: #ff8036;
  z-index: -1;
  transition: all 1s;
}

.hero1 button:hover {
  color: white;
}

.hero1 button:hover::before {
  width: 160%;
}

hr {
  width: 40%;
  margin-top: 2rem;
  margin-bottom: 2rem;
  border: 1px solid rgb(231, 231, 231);
}

.oransjeSplitt {
  width: 500px;
  height: 500px;
}

.vet-kursiv {
  font-style: italic;
}


.cta-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  margin: 0 auto;
  width: 40%;
}

.cta-buttons button {
  flex: 1;
  padding: 1.1rem;
  color: rgb(29, 28, 28);
  background-color: #ffe5ad;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: 1s ease;
}

.cta-buttons button:hover {
  background-color: #fcd582;
}

.losnings_knapper_wrap {
  display: flex;
  align-items: baseline;
}

.vaarLosning {
  display: flex;
  flex-direction: row;
  gap: 2rem;
}

.vaarLosning a {
  display: flex;
  flex-direction: row;
  gap: 5rem;
}



.vaarLosningStyle {
  width: 100%;
  overflow: hidden;
  transition: transform 1s ease;
  border-radius: 2rem;

}




.simulering {
  height: 100%;
  width: auto;
  max-width: 60%;
  transition: transform 1s ease;
  padding-top: 10rem;
  /* Ensures the image transitions smoothly */
}



.tariff-style {
  display: flex;
  flex-direction: row;
}

.tariff-tekst {
  margin-left: 2rem;
  margin-top: 4rem;
  width: 50%;
}

.tariff_img {
  width: 70%;
  margin-top: 5rem;
   border: 10px solid rgba(206, 206, 206, 0.116);
   border-radius: 2rem;
   box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px, rgba(0, 0, 0, 0.3) 0px 7px 13px -3px, rgba(0, 0, 0, 0.2) 0px -3px 0px inset;

}

.demo_knapp {
  padding: 1rem 5rem;
  margin-top: 10rem;
  border: none;
  background-color: #ff9036;

  color: white;
  cursor: pointer;
  border-radius: 8px;
  transition: background-color 0.3s ease;
  width: 40%;
}

.demo_knapp:hover {

  background-color: #ee5c07;

}

.testimonials {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 2rem;
}

.testimonial-card {
  background: #f4f4f4;
  padding: 1.5rem;
  border-radius: 1rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  font-style: italic;
}

.testimonial-card h4 {
  margin-top: 1rem;
  font-style: normal;
}

.bygg_fremtiden_style {
  width: 60%;
}

.alt-section {
  padding: 3rem 2rem;
  max-width: 70%;
  margin: auto;

}

.vaare-partnere {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  gap: 7rem;
  flex-wrap: wrap;
  /* Gjør det responsivt */
  padding: 2rem;
  padding-top: 4rem;
}

.alt-section_vaare_partnere {
  padding: 3rem 2rem;
  max-width: 70%;
  margin: auto;
}

.partner {
  flex: 1;
  min-width: 250px;
  max-width: 400px;
  text-align: center;
}

.partner-divider {
  width: 1px;
  height: 300px;
  background-color: #d6d4d4;
  margin: 0 1rem;
}

.partner-logo {
  width: 80%;
  max-width: 500px;
  height: auto;
  margin-bottom: 1rem;
}


.footer {
  background-color: #0b0527;
  color: white;
  padding: 2rem 1rem;
  margin-top: 4rem;
}

.footer-content {
  max-width: 1200px;
  margin: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
  font-size: clamp(0.4rem, 5vw, 0.7rem);

}

.footer-logo img {
  width: 190px;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: white;
  text-decoration: none;
  font-weight: 500;
}

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

.footer-copy {
  opacity: 0.7;
}

@keyframes highlight {
  to {
    background-position: 0;
  }
}


mark {

  background-color: #ff9736;
  background-position: 100%;
  background-size: 200% 100%;
  border-radius: 0.125rem;
  padding-inline: 0.125rem;
}

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

@media (max-width: 600px) {
  nav ul {
    flex-direction: column;
    align-items: center;
  }

  nav ul li {}

  .card {
    padding: 1rem;
  }


}




/* Ekstra små skjermer */
@media (max-width: 600px) {
  h1  {
    font-size: 1.7rem;
    margin-top: 1rem;
    width: 110%;

  }

  h2 {
    font-size: 1.5rem;


  }

  p {
    font-size: 1.3rem;
  }

  .partner-divider {
    display: none;
  }

  .button {
    text-align: center;
  }

  /* Logo */
  .elastikkLogo {
    width: 180px;
    /* Justert for mobil */
    height: auto;
    display: block;
    margin: 0 auto;
  }

  .kontakt{
    font-size: large;
  }
    .kontakt span{
    font-size: large;
    display: none;
  }

  /* Mote knapp */
  .mote_nav_knapp {
    margin: 0.5rem 0;
  }

  /* Navbar */
  .navbar {
    background-color: #0b0527;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem 0;
    position: static;
    top: 0;
    width: 100%;
    margin: 0 auto;

    z-index: 5;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    /* Legger til en liten skygge for å skille navbar fra innhold */
  }

  .navbar-kontakt {
    gap: 1rem;
    font-size: 0.9rem;
    display: flex;
    padding: 0;
    flex-direction: column;
    align-items: center;
    margin-top: 1rem;

  }

  .navbar a {
    width: auto;
  }

  .kontaktmetoder {
    display: flex;
    flex-direction: row;
  }

    .kontaktmetoder li {
    text-indent: 1rem;
    margin: 0 auto;

    
  }

.nav_knapper {
  position: fixed;
  bottom: 0;
  width: 100%;
  padding: 0.7rem 1rem;
  background: rgba(48, 48, 65, 0.75); /* semi-transparent background */
  backdrop-filter: blur(1px); /* frosted glass effect */
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 -8px 20px rgba(0, 0, 0, 0.4);
  z-index: 9999;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Buttons inside */
.nav_knapper button {
  border: none;
  color: white;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 500;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;

}

/* Hover Effect */
.nav_knapper button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
}

/* Optional: make the login link inside look good too */
.nav_knapper button .text a {
  color: white;
  text-decoration: none;
}

.nav_knapper button .text a:hover {
  text-decoration: underline;
}


  .nav_knapper .button,
  .nav_knapper .mote_nav_knapp {
    flex: 1;
    margin: 0 5px;
    max-width: 50%;
border: solid 2px rgb(235, 151, 56);
  }

  .navbar-brand {
    font-weight: bold;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
  }

  /* Navbar links */
  .navbar-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin: 0;
    padding: 0;
    width: 100%;
    margin: 0 auto;

  }

  .navbar-links li {
    width: 100%;
    text-align: center;
  }

  .navbar-links li a {
    color: #fff;
    text-decoration: none;
    display: inline-block;
    padding: 0.5rem 1rem;
    /* Øker padding for lettere trykk */
    width: 100%;
    font-size: 1rem;
    /* Øker lesbarheten */
  }

  .navbar-links li a:hover {
    text-decoration: underline;
  }

  .navbar-links a:hover::after,
  .navbar-links a:focus::after {
    opacity: 1;
    transform: translate3d(0, 0.2em, 0);
  }

  /* Eventuell ekstra justering for mobil meny */
  .navbar-links {
    padding: 1rem 0;
    /* Økt padding for å gjøre linkene mer tilgjengelige på mobil */
  }

  .hero-overlay {
    padding: 3rem 1rem;
    width: 80%;
    max-width: 100%;
    transition: 1s ease;
    margin: 0 auto;
  }

  .hero-section p {
    line-height: 1.9;
    width: 100%;
    text-shadow: 1px 1px 1px rgb(83, 83, 83);
    font-size: 16px;
  }

  .hero-section button {
    margin-top: 0rem;
  font-size:90%;
  
}

.hero-section{
  background-position:40%;
  height: 100%;
  
}

  .vaarLosning {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 0%;
  }

  .tariff_img {
    width: 85%;
  }

  .tariff-style {
    display: flex;
    flex-direction: column-reverse;
  }

  .tariff_img_wrap {
padding-left: 1em;

}

  .alt-section {
    max-width: 100%;
    margin: 0 auto;
    padding: 1rem 2rem;
  }

  .tariff-tekst {
    margin: 0;
    width: 100%;
  }

  .simulering {
    height: 100%;
    width: auto;
    max-width: 100%;
    transition: transform 1s ease;
    padding-top: 0rem;
  }

  .demo_knapp {
    padding: 1rem 0rem;
    margin-top: 4rem;
    border: none;
    background-color: #ff9036;
    color: white;
    cursor: pointer;
    border-radius: 8px;
    transition: background-color 0.3s ease;
  }

  .cta-buttons button {
    flex: 1;
    padding: 1rem 0rem;
    color: rgb(29, 28, 28);
    background-color: #ffe5ad;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: 1s ease;
  }

  hr {
    display: none;
  }

  .bygg_fremtiden_style {
    width: 100%;
  }

  .footer-content {

    margin-bottom: 3rem;
    
}

}