* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: arial, sans-serif;
}

/* Layout med CSS Grid */
.container {
    display: grid;
    grid-template-rows: auto 1fr auto;
    height: 100vh;
}

/* Header */
header {
    background: linear-gradient(90deg, #89baef, #0b69e4);
    color: white;
    padding: 5px 0;
    text-align: center;
    position: relative;
    display: block;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 0;
    margin: 0;
}

nav ul li {
    display: flex;
    align-items: center;
}

nav ul li.logo {
    display: flex;
    justify-content: center;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 17px;
    padding: 10px 20px;
    transition: 0.3s;
    border-radius: 3px;
    width: 140px;
}

nav ul li a:hover {
    background:linear-gradient(rgb(49, 87, 192), rgba(255, 255, 255, 0));
    border-radius: 5px;
    transform: translateY(-3px);
}

nav ul li.logo img {
    width: 65px;
    border-radius: 3px;
}

/* Main Content */
main {
    position: relative;
    width: 100%;
    min-height: 100vh;
    overflow: hidden;
}

.main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
}

/* Text-overlay */
.overlay {
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    background: rgba(67, 126, 245, 0.452);
    padding: 20px;
    border-radius: 10px;
}

.overlay h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.overlay p {
    font-size: 1rem;
}

/* Footer */
footer {
    background: linear-gradient(90deg, #0572e6, #82b1ee);
    color: white;
    text-align: center;
    padding: 10px;
}

/* Dropdown meny (dold på stora skärmar) */
.menu-toggle {
    display: none;
    font-size: 30px;
    cursor: pointer;
    position: absolute;
    left: 20px;
    top: 10px;
    background: none;
    border: none;
}

/* Kod för att hemsidan ska vara responsiv */
@media (max-width: 768px) {
    header {
        display: block;
    }

    /* Visa dropdown hamburgermenyn */
    .menu-toggle {
        display: block;
        color: white;
        z-index: 10001;
    }

    /* Dölj menyn först */
    .nav-links {
        display: flex;
        flex-direction: column;
        background: linear-gradient(90deg, #89baef, #0b69e4);
        position: absolute;
        top: 10px;
        left: -250px;
        width: 200px;
        height: 100vh;
        padding-top: 0px;
        transition: left 0.3s ease;
        z-index: 1000;
        transition: all 0.3s ease;
        box-shadow: 5px 0 10px rgba(0, 0, 0, 0.5);
        padding-bottom: 100px;
        border-radius: 12px;
    }

    /* När menyn är aktiv */
    .nav-links.active {
        left: 0;
    }

    .nav-links li {
        padding: 0px;
        text-align: left;
    }

    /*Tar bort texten på sidan*/
    .overlay {
        display: block;
        z-index: 1;    
    }
}

.kallor {
    background-color: #f2f2f2;
    padding: 20px;
    margin: 40px auto;
    border-radius: 10px;
    width: 700px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    font-size: 16px;
    line-height: 1.6;
  }

  .kallor h3 {
    font-size: 22px;
    margin-top: 0;
    border-bottom: 2px solid #ccc;
    padding-bottom: 6px;
  }

  .kallor ul {
    list-style: none;
    padding-left: 0;
  }

  .kallor li {
    margin-bottom: 12px;
  }

  .kallor a {
    color: #0066cc;
    text-decoration: none;
  }

  .kallor a:hover {
    text-decoration: underline;
  }