#omoss {
  margin: 40px 0;
}

#omoss h1 {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 30px;
}
#kontakt {
  display: flex;
  justify-content: center;
  padding: 2rem 0;
  margin-bottom: 50px;
 flex-wrap: wrap; 
}

.contact-info {
  flex: 1;
  box-sizing: border-box;
  padding: 15px; /* lägg till lite padding för estetik */
  min-width: 33.33%; /* Garanterar att varje div tar upp åtminstone en tredjedel av den tillgängliga bredden. */
  border: 1px solid #e0e0e0; /* En enkel gräns för visuell separation. */
  margin: 5px; /* Lägger till lite marginal mellan varje kontakt-info div. */
}

.contact-info a {
  color: #007BFF; /* En grundläggande blå färg för e-postlänkarna. */
  text-decoration: none; /* Tar bort understrykningen. */
}

.contact-info a:hover {
  text-decoration: underline; /* Lägger till understrykning när muspekaren hovrar över länken. */
}

.form-container {
  flex-basis: 100%; /* Detta ser till att formulärbehållaren tar upp hela radens bredd och därmed börjar på en ny rad. */
  margin-top: 20px; /* Lägger till lite marginal ovanför formuläret för bättre separation. */
}

#tjanster {
  margin-top: 40px;
}

#tjanster {
  max-width: 800px;
  margin: 0 auto;
  padding: 1rem;
}

#tjanster h2 {
  text-align: center;
  margin-bottom: 30px;
}

.services-container {
  max-width: 800px;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 auto;
}

.services-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 30px;
}

.service-block {
  width: calc(25% - 15px);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.service-block img {
  width: 100%;
  height: auto;
  object-fit: cover;
  margin-bottom: 10px;
}

.service-block h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.service-block p {
  font-size: 1rem;
  text-align: justify;
}

.omoss-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 800px;
  margin: 0 auto;
  padding: 40px;
  background-color: #f5f5f5;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border-radius: 4px;
  line-height: 1.6;
}

.profile-pictures {
  display: flex;
  justify-content: space-around;
  width: 100%;
  margin-bottom: 30px;
}

.profile-picture {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
}

.omoss-text {
  width: 100%;
}

.omoss-text p {
  margin-bottom: 15px;
  text-align: justify;
}

.form-container {
  width: 100%;
  max-width: 600px;
  margin: 2rem auto;
  padding: 2rem;
  background-color: #f9f9f9;
  border-radius: 10px;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}

.form-title {
  text-align: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.form-control {
  margin-bottom: 1.5rem;
  position: relative;
}

.form-control label {
  position: absolute;
  top: 0;
  left: 10px;
  color: #999;
  font-size: 0.9rem;
  transition: 0.3s;
}

.form-control input,
.form-control textarea {
  display: block;
  width: 100%;
  padding: 0.5rem 0.5rem 0.5rem 2rem;
  border: 2px solid #ccc;
  border-radius: 5px;
  outline: none;
  transition: 0.3s;
  font-size: 1rem;
}

.form-control input:focus,
.form-control textarea:focus {
  border-color: #0078d4;
}

.form-control input:focus + label,
.form-control textarea:focus + label {
  color: #0078d4;
  font-size: 0.75rem;
  top: -15px;
  left: 5px;
}

.form-control textarea {
  height: 150px;
  resize: none;
}

button[type="submit"] {
  display: block;
  width: 100%;
  padding: 0.75rem;
  background-color: #0078d4;
  color: #fff;
  font-size: 1rem;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s;
}

button[type="submit"]:hover {
  background-color: #005a9e;
}
.menu {
  list-style-type: none;
  padding: 0;
  margin: 0;
  display: flex;
}

.menu li {
  margin-left: 1rem;
}

.menu a {
  color: white;
  text-decoration: none;
  text-transform: uppercase;
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  transition: background-color 0.3s;
}

.menu a:hover {
  background-color: rgba(255, 255, 255, 0.1);
}
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #f0f0f0;
  }
  
  header {
    background-color: #333;
    padding: 1rem;
  }
  
  nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .hamburger {
    background-color: transparent;
    border: none;
    font-size: 1.5rem;
    color: white;
    display: none;
  }
  
  .menu {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
  }
  
  .menu li {
    margin-left: 1rem;
  }
  
  .menu a {
    color: white;
    text-decoration: none;
  }
  
  #kontakt {
    background-color: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    margin: 2rem auto;
  }
  
  h2 {
    text-align: center;
    margin-bottom: 1rem;
  }
  
  form {
    display: grid;
    gap: 1rem;
    max-width: 400px;
    margin: auto;
  }
  
  input, textarea {
    padding: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 0.25rem;
  }
  
  textarea {
    resize: vertical;
    min-height: 150px;
  }
  
  button[type="submit"] {
    background-color: #333;
    color: white;
    border: none;
    border-radius: 0.25rem;
    padding: 0.5rem 1rem;
    cursor: pointer;
    font-size: 1rem;
    display: block;
    margin: 0 auto;
    text-align: center;
  }
  
  button[type="submit"]:hover {
    background-color: #444;
  }
  
  @media (max-width: 768px) {
    .hamburger {
      display: block;
      
    }
  
    .menu {
      display: none;
      flex-direction: column;
    }
  
    .menu.open {
      display: flex;
    }
  }
  nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #333;
    z-index: 999;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .logo-link {
    display: flex;
    align-items: center;
  }
  
  .logo {
    max-height: 50px; /* Anpassa detta värde efter din logotyps storlek */
    margin-left: 1rem;
  }
  .center-logo {
    display: block;
    max-width: 50%;
    margin: 0 auto;
    padding: 1rem 0;
    margin-top: 4rem;
  }
  
  .content-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 1rem;
  }
  .flex-container {
    display: flex;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
  }
  
  .escavator-image {
    max-width: 20%;
    height: auto;
    margin-right: 2rem;
    margin-top: 10rem;
  }
  
  .content-container {
    max-width: 800px;
    padding: 1rem;
  }
  .omoss-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px;
    background-color: #f5f5f5;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    line-height: 1.6;
  }
  
  footer {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    background-color: #333;
    color: #fff;
    padding: 10px 0;
  }
  
  .footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
    gap: 20px;
  }
  
  .footer-container p {
    margin: 0;
  }
  
  .footer-container a {
    color: #fff;
    text-decoration: none;
  }
  
  .footer-container a:hover {
    text-decoration: underline;
  }

  .spacer {
    height: 50px;
  }