* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

header {
    background-color: rgb(29, 29, 29);
    opacity: 0.8;
    font-size: 4vh;
    text-align: center;
    padding: 0.5vh;
    color: white;
}

nav {
    background-color: rgb(29, 29, 29);
    opacity: 0.8;
    font-size: 2vh;
    text-align: center;
    padding: 0.5vh;
    position: sticky;
    top: 0;
}

:any-link {
    padding: 0 5%;
    text-decoration: none;
    color: white;
}

footer {
    background-color: rgb(29, 29, 29);
    opacity: 0.8;
    font-size: 2vh;
    text-align: center;
    padding: 0.5vh;
    color: white;
}

body {
    background-color: rgb(0, 94, 94);
}

section {
    margin: 0 10%;
}

h1 {
    margin-top: 3vh;
}

p {
    margin-bottom: 3vh;
}

.gruppmedlemmar {
    font-size: 12px;
}


#bilder {
    display: grid;
    grid-template-columns: repeat(2, 100px);
    grid-template-rows: repeat(2, 100px);
    grid-gap: 5px;
    grid-template-areas: "1a 1b"
                         "1c 1d";
    justify-content: center;
}

#foreefter {
    display: grid;
    grid-template-columns: repeat(2, 145px);
    justify-content: center;
    grid-gap: 5px;
}

#bildspel, .mid, .lar {
    display: none;
}





@media only screen and (min-width: 600px) {
    .min, .lar, #bildspel {
        display: none;
    }

    .mid {
        display: block;
    }

    #bilder {
        grid-template-columns: repeat(2, 250px);
        grid-template-rows: repeat(2, 250px);
    
    }

    #foreefter {
        grid-template-columns: repeat(2, 300px);
    }
}





@media only screen and (min-width: 769px) {

    #bilder, .min, .mid {
        display: none;
    }

    #bildspel, .lar {
        display: block;
    }

    #bildspel {
        text-align: center;
    }
    #bildspelImg {
        width: 450px;
    }

    #foreefter {
        grid-template-columns: repeat(2, 450px);
    }

    p {
        font-size: 24px;
    }

    nav {
        font-size: 32px;
    }

    header, footer {
        font-size: 40px;
    }

}