/* Grunnleggende stil */
body {
    font-family: "Poppins", sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: #caad84;
}

/* Header */
.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-size-adjust: 100%;
    position: relative;
    background-color: #FFF7F1;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    height: 115px;
}

.logo {
    max-width: 115px;
    height: auto;
    margin-right: 5px;
}

.social-icon {
    width: 30px;
    height: 30px;
    margin: 15px 0;
}
.nav {
    display: flex;
    gap: 15px;
    list-style: none;
    margin: 0;
    padding: 0;
    justify-content: space-evenly;
    flex-grow: 1;
}

.nav li {
    list-style: none;
}

.nav a {
    height: 50px;
    line-height: 50px;
    font-size: 22px;
    font-weight: 550;
    color: black;
    text-decoration: none;
    padding: 0 10px;
    white-space: nowrap;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    margin-left: 5px;
    transition: all 0.3s ease;
}

.nav a:hover {
    color: white;
    background-color: #333;
    border-radius: 5px;
    padding: 5px;
}

/* Kontaktkort */
.container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Responsiv layout */
    gap: 24px;
    padding: 32px;
}

.form-card {
    background: #fff; /* Bakgrunnsfarge for kortene */
    padding: 24px;
    border-radius: 8px; /* Runde hjørner */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Skygge for dybde */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.form-card:hover {
    transform: translateY(-5px); /* Løfter kortet litt ved hover */
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2); /* Større skygge ved hover */
}

h2 {
    color: #8b2525; /* Farge for overskrifter på kort */
    margin-bottom: 16px;
    text-align: center;
}

/* Inputs og textarea */
input, textarea {
    margin-bottom: 16px;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
    width: calc(100% - 16px);
    box-sizing: border-box;
    background-color: #f9f9f9;
}

input:focus, textarea:focus {
    border-color: #8b2525; /* Marker farge ved fokus */
    outline: none;
}

/* Knappstil */
button {
    background-color: #caad84;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 12px;
    font-size: 16px;
    cursor: pointer;
    width: 100%;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #8b2525;
}

/* Footer */
.footer {
    display: flex;
    justify-content: space-around;
    align-items: center;
    background-color: #FFF7F1;
    padding: 10px;
    margin-top: 20px;
    position: fixed;
    height: 25px;
    bottom: 0;
    left: 0;
    right: 0;
    font-size: 1rem;
    font-weight: 550;
    color: black;
}

.footer p {
    margin: 0;
    display: flex;
    align-items: center;
}

.footer a {
    color: white;
    text-decoration: none;
    margin-left: 5px;
}
