body {
    font-family: Arial, sans-serif;
    margin: 0;
    background: #bdc4d3;
    color: rgb(0, 0, 0);
    font-family: Georgia, 'Times New Roman', Times, serif;
}

header {
    background: linear-gradient(90deg, #0b6fa4, #59c0cb);
    padding: 30px;
    text-align: left;
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: end;
    align-items: center;
    width: 100%;
    position: relative;
    left: 10px;
    top: -40px;
}

ul li a {
    padding: 16px 22px;
    font-size: 20px;
    color: rgb(0, 0, 0);
    text-decoration: none;
    font-weight: bold;
}

ul li a:hover {
    background-color: rgba(59, 142, 170, 0.8);
    text-decoration: none;
}
.I {
    text-align: center;
    position: relative;
    top: 80px;
}

.container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;

    gap: 10px;
    padding: 100px;
}

.card {
    background: #cedff9;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.4);
    width: 450px;
    margin-bottom: 100px;
}

.card h2 {
    margin: 0;
    padding: 15px;
    background: #50c2ff;
}

.image-box {
    width: 100%;
    height: 180px;
    background: #334155;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    text-align: center;
    padding: 10px;
}

.content {
    padding: 15px;
    display: none;
}

button {
    width: 100%;
    padding: 10px;
    border: none;
    background: #3394d0;
    color: rgb(0, 0, 0);
    font-weight: bold;
    cursor: pointer;
}

#insulin {
    grid-column: 1;
}

#historia {
    grid-column: 3;
}

#genterapi {
    grid-column: 1;
}

#stamceller {
    grid-column: 3;
}

.bild {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.gap {
    grid-column: 2;
}

footer {
    text-align: center;
    padding: 20px;
    background-color: #abafb9;
    color: black;
    width: 100%;
}
.genterapi-rubrik {
    text-align: center;
    margin-top: -30px;
    margin-bottom: 50px;
    font-size: 40px;
}

.linje {
    border: none;
    height: 3px;
    background: black;
    width: 80%;
    margin: auto;
    margin-bottom: 20px;
}
 .G-container {
            grid-column: 1 / -1; /* Gör att rubriken spänner över alla kolumner */
            text-align: center;
            margin-bottom: 20px;
        }

        hr {
            border: 0;
            height: 3px;
            background: #333;
            margin-bottom: 10px;
        }

@media (max-width: 800px) {
    .container {
        grid-template-columns: 1fr;
    }

    #insulin,
    #historia,
    #genterapi,
    #stamceller {
        grid-column: 1;
    }
}