
h2 {
    text-align: center;
    width: 100%;
    margin-bottom: 20px;
    font-size: 2em;
}

.kontakt-container {
    background: #fff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.1);
    max-width: 600px;
    width: 100%;
    box-sizing: border-box;
}

.kontaktform {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.kontaktform input,
.kontaktform textarea,
.kontaktform button {
    width: 100%;
    padding: 12px;
    font-size: 1em;
    border-radius: 5px;
    border: 1px solid #ccc;
    box-sizing: border-box;
}

.kontaktform textarea {
    resize: vertical;
    min-height: 120px;
}

.kontaktform button {
    background-color: #007bff;
    color: #fff;
    border: none;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.3s;
}

.kontaktform button:hover {
    background-color: #0056b3;
}

.kontakt-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 20px;
    gap: 10px;
}

.kontakt-knapp {
    text-decoration: none;
    color: #fff;
    background-color: #28a745;
    padding: 10px 20px;
    border-radius: 5px;
    display: inline-block;
    transition: background 0.3s;
}

.kontakt-knapp:hover {
    background-color: #1e7e34;
}

/* Responsivitet */
@media (min-width: 768px) {
    .kontakt-info {
        flex-direction: row;
        justify-content: center;
        gap: 20px;
    }
}



@media (max-width: 768px) {
  .section, #bakgrund, #spraktjanster, #priser, #miljo, #uppdrag, #links {
    max-width: 95%;       /* nästan full bredd */
    margin-left: auto;
    margin-right: auto;
    padding-left: 5%;
    padding-right: 5%;
  }
  .uppdrag-grid {
    grid-template-columns: 1fr; /* en kolumn istället för två */
    gap: 20px;
  }
}
.contact-form {
  display: flex;
  flex-direction: column; /* staplar fälten vertikalt */
  gap: 15px;
  width: 100%;            /* fyller hela förälderns bredd */
}
.contact-form input,
.contact-form textarea {
  width: 100%;            /* fyller hela fältets bredd */
  padding: 10px;
  font-size: 1rem;
}
