/* Grunnleggende */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Raleway', sans-serif;
}

a {
  text-decoration: none;
  color: #555;
}

p {
  color: #555;
}

/* Navigasjon */
.header {
  background-color: #8fbefc;
  padding: 20px 0;
}

.container {
  max-width: 1300px;
  margin: auto;
  padding: 25px;
  padding-right: 25px;
}

.navbar {
  display: flex;
  align-items: center;
  padding: 20px;
}

.logo-red span {
  color: #0fffeb;
}

nav {
  flex: 1;
  text-align: right;
}

nav ul {
  display: inline-block;
  list-style: none;
}

nav ul li {
  display: inline-block;
  margin-right: 20px;
}

.navbar ul {
  list-style: none;
  display: flex;
  gap: 20px;
  justify-content: center;
  padding: 0;
}

.navbar ul li a {
  text-decoration: none;
  color: #333;
  font-weight: 600;
}

.navbar ul li a.active {
  color: #ff523b;
}

/* Layout og kolonner */
.row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-around;
  margin-bottom: 60px;
}

.col-2 {
  flex-basis: 50%;
  min-width: 300px;
}

.col-2 img {
  max-width: 100%;
  padding: 50px 50px;
}

.col-2 h1 {
  font-size: 50px;
  line-height: 60px;
  margin: 25px 0px;
}

/* Knapp */
.btn {
  display: inline-block;
  background-color: #ff523b;
  color: #fff;
  padding: 8px 30px;
  margin: 30px 0px;
  border-radius: 30px;
  transition: background-color 0.5s;
}

.btn:hover {
  background-color: #563434;
}

/* Bøker / Produkter */
.featured {
  margin-bottom: 80px;
}

.col-4 {
  flex-basis: 23%;
  padding: 10px;
  cursor: pointer;
  min-width: 200px;
  margin-bottom: 50px;
  margin: 6px;
  background-color: #f2f2f2;
  transition: transform 0.5s;
}

.col-4 img {
  width: 100%;
}

.col-4:hover {
  transform: translateX(-5px);
}

.title {
  text-align: center;
  margin: 0 auto 80px;
  position: relative;
  line-height: 60px;
  color: #555;
}

.title::after {
  content: '';
  background-color: #ff523b;
  width: 80px;
  height: 5px;
  border-radius: 5px;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

h4 {
  color: #555;
  font-weight: normal;
  margin-bottom: 10px;
}

.col-4 p {
  font-size: 14px;
}

.rating .fa {
  color: orange;
}

/* Footer */
.footer p {
  color: #8a8a8a;
}

.footer h3 {
  color: #fff;
  margin-bottom: 20px;
}

/* ---------- KONTAKT ---------- */
main.wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  text-align: center;
  padding: 4% 0;
}

.kontakt {
  width: 100%;
  max-width: 400px;
  background: #ffffff;
  padding: 20px 25px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.title {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #333;
}

.input_field {
  margin-bottom: 10px;
}

.input_field input[type="text"],
.input_field input[type="email"],
.input_field input[type="tel"],
textarea {
  border: 1px solid #e0e0e0;
  width: 100%;
  padding: 10px;
  border-radius: 6px;
  font-size: 14px;
  box-sizing: border-box;
}

textarea {
  resize: none;
  height: 80px;
}

.submitbtn {
  text-align: center;
}

.submitbtn button {
  border: none;
  cursor: pointer;
  background-color: #ff523b;
  color: #fff;
  padding: 10px 30px;
  margin: 20px 0;
  border-radius: 30px;
  transition: background-color 0.3s;
  font-size: 15px;
}

.submitbtn button:hover {
  background-color: #e14a33;
}

/* Feilmelding */
#error_msg {
  margin-bottom: 15px;
  background: #ff523b;
  color: white;
  padding: 8px;
  text-align: center;
  font-size: 14px;
  border-radius: 5px;
  display: none;
  transition: all 0.5s ease;
}

/* Video / iframe */
aside {
  margin-top: 30px;
  text-align: center;
}

iframe, video {
  border-radius: 10px;
  margin: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* ---------- OM OSS ---------- */
.about-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80vh;
  text-align: center;
  padding: 40px 20px;
  background: #f9f9f9;
}

.about-container {
  max-width: 700px;
  background: #fff;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.about-container .title {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #333;
}

.about-container p {
  font-size: 1rem;
  line-height: 1.6;
  color: #555;
  margin-bottom: 15px;
}
