
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Raleway', sans-serif;
}

a {
  text-decoration: none;
  color: #ff0000;
}

p {
  color: #000000;
}

/* Navigasjon */
.header {
  background-color: #0f71e2;

}

.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;
}


/* 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;
}

.featured {
  margin-bottom: 80px;
}




.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%);
}








.about-wrapper {
  display: flex;
  flex-direction: column; 
  align-items: center;
  min-height: 80vh;
  background: #f9f9f9;
}


.projects {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.project {
  background-color: #f4f4f4;
  padding: 25px;
  width: 260px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
}

.project h3 {
  margin-bottom: 15px;
  font-size: 1.2rem;
}

.project-btn {
  display: inline-block;
  text-decoration: none;
  background-color: #ff4d4d;
  color: white;
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: 600;
  transition: 0.3s;
}

.project-btn:hover {
  background-color: #e63939;
  transform: scale(1.05);
}
