* {
 box-sizing: border-box;
}

html {
 scroll-behavior: smooth;
 height: 100%;
}

body {
 font-family: Roboto, sans-serif;
 background-color: #F0FCFC;
 margin: 0;
 padding: 0;
 overflow-x: hidden;
 display: flex;
 flex-direction: column;
 min-height: 100vh;
}

header {
 background-color: #98C1D9;
 padding: 0.5rem 0;
 position: relative;
 height: 120px;
 z-index: 1000;
}

.logo {
 position: absolute;
 left: 0;
 top: 50%;
 transform: translateY(-50%);
 margin-left: 1rem;
 width: 100px;
 height: 100px;
 background-color: #E4B4A5;
 color: black;
 font-family: Arial, Helvetica, sans-serif;
 font-size: 15px;
 display: flex;
 flex-direction: column;
 align-items: center;
 justify-content: center;
 text-align: center;
 border-radius: 50%;
 box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
 line-height: 1.2;
 cursor: pointer;
}

.list {
 position: absolute;
 left: 50%;
 top: 50%;
 transform: translate(-50%, -50%);
 list-style-type: none;
 padding: 0;
 margin: 0;
 display: flex;
 gap: 10rem;
 white-space: nowrap;
 text-decoration: none;
 color: inherit;
 cursor: pointer;
}

.dropdown {
 position: relative;
}

.dropdown-menu {
 display: none;
 position: absolute;
 top: 100%;
 left: 0;
 background-color: #98C1D9;
 list-style: none;
 padding: 0.5rem 0;
 margin: 0;
 border-radius: 5px;
 box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
 z-index: 2000;
}

.dropdown-menu li {
 padding: 0.5rem 1rem;
 white-space: nowrap;
}

.dropdown-menu li a {
 text-decoration: none;
 color: inherit;
}

.dropdown-menu li:hover {
 background-color: #efcabe;
}

.dropdown:hover .dropdown-menu {
 display: block;
}

@media (min-width: 769px) {
  .dropdown:hover .dropdown-menu{
    display: block;
  }

  .dropdown > label::after {
    content: " ▼";
    font-size: 0.8rem;
  }
}

#menu-toggle {
  display: none;
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  cursor: pointer;
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1100;
}

.hamburger .bar {
  display: block;
  height: 3px;
  background: #333;
  border-radius: 3px;
  transition: 0.3s;
}

.list {
  display: flex;
  gap: 10rem;
  justify-content: center;
  align-items: center;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  background: rgba(0, 0, 0, 0.7);
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  padding: 2rem 1rem;
  z-index: 1500;
  overflow-y: auto;
  text-align: center;
}

.mobile-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-menu li {
  padding: 1rem;
  border-bottom: 1px solid #ccc;
}

.mobile-menu li a {
  color: #fff;
  text-decoration: none;
  font-size: 1.5rem;
}

.info-section {
 display: flex;
 align-items: flex-start;
 gap: 2rem;
 margin: 2rem 0;
 flex-wrap: wrap;
}

.info-image {
 flex: 1;
 min-width: 250px;
 display: flex;
 justify-content: center;
}

.info-image img {
 width: 100%;
 max-width: 400px;
 border-radius: 10px;
 object-fit: cover;
 transform: translateY(7px);
}

.info-text {
 flex: 2;
 min-width: 300px;
}

.wrapper {
 max-width: 1440px;
 margin: 0 auto;
 padding: 1rem;
 flex: 1;
}

.button {
 display: inline-block;
 padding: 10px 20px;
 background-color:#E4B4A5;
 color: black;
 text-decoration: none;
 border: none;
 border-radius: 5px;
 font-family: Arial, sans-serif;
 font-size: 14px;
 cursor: pointer;
}

.button:hover {
 background-color:#efcabe;
}

.lenke {
 text-decoration: none;
 color: inherit;
 cursor: pointer;
}

.lenke i {
 margin-left: 5px;
}

h1 {
 color: #E4B4A5;
}

h2 {
 color: #FE94E7;
}

footer {
 background-color: #98C1D9;
 width: 100%;
 padding: 2rem 1rem;
}

.footer-top {
 display: flex;
 justify-content: space-between;
 align-items: center;
 flex-wrap: wrap;
 text-align: center;
}

.footer-top h3 {
 flex: 1;
}

.footer-bottom {
 text-align: center;
 margin-top: 2rem;
 max-width: 800px;
 margin-left: auto;
 margin-right: auto;
}

.center i {
 margin-left: 10px;
 font-size: 1.2rem;
 color: #4267B2;
 cursor: pointer;
}

.center i.fa-instagram {
 color: #C13584;
 cursor: pointer;
}

.right:hover {
 color:#E4B4A5;
}

@media (max-width: 768px) {
  .section {
    flex-direction: column;
    align-items: center;
  }

  .section-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
  }

  .hamburger {
    display: flex;
  }

  .list {
    display: none;
    flex-direction: column;
    gap: 0;
    position: static;
    transform: none;
    width: 100%;
    padding: 1rem 0;
  }

  #menu-toggle:checked ~ .nav-container .list {
    display: flex;
  }

  .list > li {
    width: 100%;
    text-align: center;
    padding: 1rem;
    border-bottom: 1px solid rgba(0,0,0,0.1);
  }

  .dropdown-menu {
    position: static;
    box-shadow: none;
    display: none;
    width: 100%;
    background-color: rgba(0,0,0,0.05);
  }

  .dropdown-checkbox:checked ~ .dropdown-menu {
    display: block;
  }

  .dropdown > .dropdown-label {
    display: block;
    width: 100%;
    cursor: pointer;
  }

  .dropdown > .dropdown-label::after {
    content: " ▼";
    font-size: 0.8rem;
  }

  #menu-toggle:checked ~ .hamburger .bar:nth-child(1) { 
    transform: translateY(8px) rotate(45deg);
  }

  #menu-toggle:checked ~ .hamburger .bar:nth-child(2) {
    opacity: 0;
  }

  #menu-toggle:checked ~ .hamburger .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .nav-container {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #98C1D9;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.5s ease;
  }

  #menu-toggle:checked ~ .nav-container {
    max-height: 1000px;
    padding: 1rem 0;
  }

  .info-section {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    margin: 2rem 0;
    flex-wrap: wrap; /* gjør den responsiv */
  }

}