body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #004d40;
    padding: 10px 20px;
}

nav img {
    width: 100px;
    height: auto;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 40px;
    padding-right: 20px;

}

nav ul li {
    display: inline;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}
nav ul li a:hover {
    text-decoration: underline;
}

section h2,p {
    text-align: center;
}
footer{
    display: flex;
    margin-left: 8px;
}

#bakgrund {
    text-align: center;
    padding: 50px;
    background: url('../Bilder/nacka.bakgrund.png') no-repeat center center/cover;
    background: url('../Bilder/nacka.natt.jpg') no-repeat center center/cover;
    background: url('../Bilder/nacka.framtid.jpg') no-repeat center center/cover;
    color: white;
}
#vilkavi{
   text-align: center;
}
.hero .lasmer {
    background-color: #00796b;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    text-align: center;
}


.hero{
    margin-top: 0.75rem;
    text-align: center;
}
.text{
    margin-left: 20px;
}


.grid-container {
    display: grid;
    gap: 20px;
    padding: 20px;
    margin-left: 50px;
    margin-right: 50px;
}

.grid-item {
    background-color: #e0f2f1;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0px 10px 25px -5px rgba(0,0,0,0.6);
    display: grid;
    grid-template-columns: repeat(2, 1fr)
}
.h2 {
    grid-column-start: 1;
    grid-column-end: 2;
}
.p{
    padding-top: 50px;
    grid-column-start: 1;
    grid-column-end: 2;
  margin-bottom: 250px;
}
.imageomoss{
    grid-column-start: 2;
    grid-column-end: 3;
    margin-left: 10px;
    margin-right: 10px;
    border-radius: 5px;
    justify-self: end;
}
.lasmer{
    transition: box-shadow 0.5s ease;

}
.lasmer:hover {
    box-shadow: 0px 10px 25px -5px rgba(0,0,0,0.6);
}

@media (max-width: 768px) {
    nav {
        flex-direction: column;
        text-align: center;
    }

    .grid-container {
        margin-left: 35px;
        margin-right: 35px;
    }
    .imageomoss{
        width: 200px;
    }

}

@media (max-width: 480px) {
    nav {
        flex-direction: column;
        text-align: center;
    }

    .grid-container {
        margin-left: 20px;
        margin-right: 20px;
        
    }
    .imageomoss{
        width: 100px;
    }

}
