
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #F2F4F6;
  line-height: 1.5;
  text-align: center;
}



.creative-header {
  position: relative;
  height: 300px;
  background: linear-gradient(to bottom, rgba(110, 164, 191, 0.8), rgba(228, 166, 195, 0.8)), url('bilde.png') center/cover no-repeat;
  color: #fff;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

.creative-header .overlay {
  padding: 20px;
  border-radius: 15px;

}

.creative-header h1 {
  font-size: 3rem;
  color:#6e0457;
  margin-bottom: 10px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
}

.creative-header p {
  font-size: 1.2rem;
  font-style: italic;
  margin: 0;
}


.creative-header:hover .overlay {
  transform: scale(1.05);
  transition: 0.3s ease;
}


h1 {
  text-align: center;
  margin-top: 20px;
  text-shadow:#6e0457;
}

h3 {
  color: #3C6478;
  text-align: center;
}

h4 {
  color:#e28bbc; 
  text-align: center;
}

.bilde img {
  width: 100%;
  height: auto;
}

.tips-og-øvelser {
  display: flex;
  justify-content: space-between; 
  gap: 20px; 
  padding: 0 20px;
  flex-wrap: wrap; 
  margin-bottom: 40px; 
}

.contact {
  clear: both; 
  padding: 40px 20px;
  text-align: center;
  margin-top: 20px;
}

.contact-box {
  background-color: white;
  width:auto;
  margin: 0 auto;
  padding: 40px;
  border-radius: 25px; 
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); 
  transition: all 0.3s ease; 
}

.contact-box:hover {
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3); 
  transition: 0.5s;
}

.tips {
  width: 45%; 
  height: 45%;
}

.øvelser {
  width: 50%; 
  display: flex;
  flex-direction: column; 
  gap: 20px; 
  height: 50%;
}


.boks {
  background-color: #fff;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.boks:hover {
  box-shadow: 0px 8px 12px rgba(0, 0, 0, 0.2); 
  transform: translateY(-5px); 
}


@media screen and (max-width: 768px) {
  .tips-og-øvelser {
    flex-direction: column; 
  }

  .tips, .øvelser {
    width: 100%; 
  }
}

.navbar {
  width: 100%;
  padding: 20px;
  text-align: center;
  background-color: transparent;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.navbar ul {
  list-style-type: none;
  background: transparent;
}

.navbar ul li {
  display: inline;
  margin: 0 15px;
}

.navbar ul li a {
  color: white;
  font-size: 1.2rem;
  text-transform: uppercase;
}

a {
  color: white;  
  text-decoration: none; 
}

a:hover {
  color: #3C6478;  
  text-decoration: underline; 
  transition: 0.3s;
}


.navbar.sticky {
  background-color: #6e0457;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); 
}

#hoved {
  width: 100%;
  margin-top: 20px;
}

#hoved .info {
  margin: 0 auto;
  max-width: 900px;
}

h1 {
  font-size: 2.5em;
  color: #3C6478;
  padding: 20px;
}


.contact-box:hover {
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  transition: 0.5s;
}

.contact-box h2 {
  font-size: 2rem;
  color: #E4A6C3;
}

.contact-box form {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-box input,
.contact-box textarea {
  width: 80%;
  padding: 10px;
  margin: 10px 0;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.contact-box button {
  margin-top: 20px;
  background-color: #E4A6C3;
  color: white;
  padding: 10px 20px;
  border: none;
  cursor: pointer;
}

.contact-box button:hover {
  background-color: #1e749f;
}

footer {
  background-color: #6e0457;
  color: #f3d5e6;
  text-align: center;
  padding: 20px;
}

footer h3 {
  color: #ffffff;
  text-align: center;
}

footer h1 {
  font-size: 40px;
  color: rgb(149, 195, 236);
}

footer p {
  color: #f3d5e6;
}

#ig {
  background: url("ig-logo.png");
  width: 150px;
  height: 150px;
  background-size: cover;
  background-position: center;
  transition: 0.3s;
  margin: auto;
  margin-bottom: 30px;
}

#ig:hover {
  background: url("ig-logo-farget.png");
  width: 150px;
  height: 150px;
  background-size: cover;
  background-position: center;
  transition: 0.3s;
}

footer > a {
  width: 400px;
}
