/* === Bakgrunnsbilde === */
#imgWeather {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    filter: brightness(1.1); /* gjør bakgrunnen mørkere for bedre lesbarhet */
}

/* === Yr.no inspirert værapp stil === */

body {
    font-family: "Segoe UI", Roboto, Arial, sans-serif;
    background: linear-gradient(to bottom, #e9f1fb, #ffffff);
    color: #003366;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
}

.container {
    margin-top: 40px;
    margin-bottom: 20px;
    width: 90%;
    max-width: 500px;
    background-color: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-radius: 16px;
    padding: 20px 30px;
}

.info {
    margin-top: 40px;
    width: 90%;
    max-width: 500px;
    background-color: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-radius: 16px;
    padding: 20px 30px;
}

.sokOgTittel {
    text-align: center;
    margin-bottom: 20px;
}

input {
    color: #003366;
}

h1 {
    color: #004a99;
    font-size: 2rem;
    margin-bottom: 8px;
}

p {
    margin: 6px 0;
}

input[type="text"] {
    width: 80%;
    padding: 10px 14px;
    border: 1px solid #b3cde0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    outline: none;
}

input[type="text"]:focus {
    border-color: #004a99;
    box-shadow: 0 0 5px rgba(0, 74, 153, 0.3);
}

/* === Værdata === */
#append {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

#append div {
    background-color: #f4f8fc;
    border-left: 4px solid #0077cc;
    border-radius: 10px;
    padding: 15px 20px;
    width: 100%;
    text-align: center;
    transition: transform 0.2s ease;
}

#append div:hover {
    transform: scale(1.03);
}

#append p:first-child {
    font-weight: bold;
    color: #003366;
    font-size: 1.1rem;
}

#append p:nth-child(2) {
    font-size: 2rem;
    color: #004a99;
    margin: 5px 0;
}

#append p:nth-child(3) {
    text-transform: capitalize;
    font-style: italic;
    color: #336699;
}

#append p:nth-child(4),
#append p:nth-child(5) {
    font-size: 0.95rem;
    color: #003366;
}

/* === Små skjermer === */
@media (max-width: 500px) {
    .container {
        padding: 15px 20px;
    }

    h1 {
        font-size: 1.6rem;
    }

    input[type="text"] {
        font-size: 0.9rem;
    }
}
