@media screen and (min-width: 1101px) {
    body {
        background-color: #0000ff00;
        display: flex;
        flex-direction: column;
        min-height: 100vh;
        margin: 0;
        background-image: linear-gradient(rgba(0, 0, 0, 100), rgba(0, 0, 0, 0.5)), url(assets/webdev2.jpg);
        background-attachment: fixed;
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;
        font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    }

    .header {
        background-color: rgb(255, 255, 255);
        width: 100vw;
        height: 60px;
        margin: 0;
        padding: 0;
        display: flex;
        align-items: center;
        flex-direction: column;
        position: fixed;
    }

    .navigationsbar {
        height: 60px;
        width: 90vw;
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin: 0;
        padding: 0;
        box-sizing: border-box;
        padding-right: 20px;
        position: sticky;
        background-color: rgb(255, 255, 255);
        text-align: center;
    }

    .btn-navbar {
        /* margin-top: 10px; */
        width: 300px;
        box-sizing: border-box;
        position: relative;
    }

        #menu {
            display: none;
        }
    .ul-btn {
        display: flex;
        margin: 0;
        padding: 0;
        box-sizing: border-box;
        list-style: none;
        position: relative;
        display: flex;
        justify-content: center;
    }

    .logotyp {
        height: 150px;
        width: auto;
        margin-top: 10px;
    }

    .style-knappar {
        color: rgb(0, 0, 0);
        font-size: 17px;
        padding-inline: 30px;
        margin-inline: 20px;
        line-height: 30px;
        text-decoration: none;
    }

    .cv-knapp {
        background-color: rgb(204, 0, 204);
        padding-inline: 20px;
        margin-inline: 20px;
        font-size: 15px;
        color: rgb(255, 255, 255);
        border: none;
        border-radius: 20px;
        padding: 10px 35px;
        text-decoration: none;
        letter-spacing: 0.1em;
    }

    .cv-knapp:hover {
        background-color: rgb(237, 0, 237);
        transition: linear background-color 0.1s;
        transform: rotate(Y);
    }

        #barmeny {
            display: none;
        }

    .main {
        background-color: rgba(240, 248, 255, 0);
        flex-grow: 1;
        min-height: 100vh;
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: row;
    }

.container {
    height: 100%;
    width: 100vw;
    color: white;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
    }

.heading-kompetens{
    font-size: 35px;
    text-decoration: underline;
    text-align: center;
    margin-right: 30px;
    margin-bottom: 30px;
    font-weight: 100;
}

.p-stack{
    margin-right: 30px;
    font-size: 20px;
}

.lista-kompetenser{
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 50px;
}

.kompetenser-p{
    font-size: 15px;
    margin-right: 10px;
    background-color: rgb(204, 0, 204);
    border-radius: 8px;
    padding: 6px;
    letter-spacing: 1px;
    border: 1px solid rgb(204, 0, 204);

}

.kompetenser-div{
    margin: 50px;
}

.logo-kompetenser{
    margin: 8px;
}
    .footer {
        display: flex;
        justify-content: center;
        flex-direction: column;
        align-items: center;
        background-color: rgb(255, 255, 255);
        height: 300px;
        width: 100vw;
        margin: 0;
        padding: 0;
    }

    .footer {
        display: flex;
        justify-content: center;
        flex-direction: column;
        align-items: center;
        background-color: rgb(255, 255, 255);
        height: 300px;
        width: 100vw;
        margin: 0;
        padding: 0;
    }

    .btn-footer {
        height: 100%;
        text-align: center;
        font-size: 30px;
        display: flex;
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }

    .sociala-ikoner {
        margin-top: 50px;
        font-weight: 400;
        height: 30px;
        width: 30px;
        padding: 15px;
        border-radius: 50%;
        box-shadow: 3px 3px 3px 3px rgba(0, 0, 0, 0.2);
        display: flex;
        justify-content: center;
        align-items: center;
    }
        .copyright {
            font-size: 10px;
            margin-top: 40px;
        }
}

@media screen and (min-width: 320px) and (max-width: 1100px) {
    body {
            background-color: rgba(0, 0, 255, 0);
            display: flex;
            flex-direction: column;
            min-height: 100vh;
            width: 100vw;
            margin: 0;
            background-image: linear-gradient(rgba(0, 0, 0, 100), rgba(0, 0, 0, 0.5)), url(assets/webdev2.jpg);
            background-attachment: fixed;
            background-size: cover;
            background-repeat: no-repeat;
            background-position: center;
            font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
        }


        .header {
            background-color: rgb(255, 255, 255);
            width: 100vw;
            height: 50px;
            margin: 0;
            padding: 0;
            display: flex;
            align-items: center;
            flex-direction: column;
            position: fixed;

        }

        .navigationsbar {
            height: 50px;
            width: 90vw;
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            padding-right: 20px;
            position: sticky;
            background-color: rgb(255, 255, 255);
            text-align: center;
        }

    /* .btn-navbar {
        display: none;
    } */
.menu {
    display: none;
}

#menu.open {
    display: block;
}


.btn-navbar {
    display: none;
    /* Dölj navigeringen som standard */
}

.btn-navbar.open {
    display: block;
    /* Visa navigeringen när klassen 'open' är på */
    background-color: #ffffff;
    /* Valfri bakgrundsfärg */
    /* position: absolute; */
    top: 30;
    bottom: 100;
    /* Anpassa beroende på headerns höjd */
    right: 0;
    width: 100vw;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    /* margin-top: 100px; */

}

.ul-btn {
    list-style-type: none;
    padding: 0;
    margin: 0;
    background-color: #ffffff;
    /* margin-top: 100px; */
    /* width: 50vw; */


}

.ul-btn li {
    margin: 10px 0;
    text-align: center;
    color: purple;
}

.uil-bars {
    cursor: pointer;
    font-size: 30px;
    /* Större ikon för mobil */
}



#barmeny {
    /* font-size: 35px; */
    cursor: pointer;
}

/* .ul-btn {
        display: none
    } */

    .logotyp {
        height: 70px;
        width: auto;
        margin-top: 10px;
    }

.style-knappar {
    color: rgb(0, 0, 0);
                font-size: 15px;
                padding-inline: 30px;
                margin-inline: 20px;
                line-height: 30px;
                text-decoration: none;
        }

    .cv-knapp {
        display: none;
    }

    .cv-knapp:hover {
        background-color: rgb(237, 0, 237);
        transition: linear background-color 0.1s;
        transform: rotate(Y);
    }

    .main {
        background-color: rgba(240, 248, 255, 0);
        flex-grow: 1;
        height: 100vh;
        width: 100%;
        display: flex;
        /* justify-content: center; */
        /* align-items: center; */
        flex-direction: row;
    }

    .container {
        height: 100%;
        width: 100vw;
        color: white;
        display: flex;
        /* justify-content: center; */
        flex-direction: column;
        align-items: center;
        box-sizing: border-box;
        margin-top: 100px;
    }

    .heading-kompetens {
        font-size: 35px;
        text-decoration: underline;
        text-align: center;
        font-weight: 100;
    }

    .p-stack {
        font-size: 20px;
    }

    .lista-kompetenser {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap:wrap;
        width: 100vw;
        gap: 5px;
    }

    .kompetenser-p {
        font-size: 15px;
        margin-right: 10px;
        background-color: rgb(204, 0, 204);
        border-radius: 8px;
        padding: 6px;
        letter-spacing: 1px;
        border: 1px solid rgb(204, 0, 204);

    }

    .kompetenser-div {
        margin: 50px;
    }

    .logo-kompetenser {
        margin: 8px;
    }

    .footer {
        display: flex;
        justify-content: center;
        flex-direction: column;
        align-items: center;
        background-color: rgb(255, 255, 255);
        height: 300px;
        width: 100vw;
        margin: 0;
        padding: 0;
    }

    .footer {
        display: flex;
        justify-content: center;
        flex-direction: column;
        align-items: center;
        background-color: rgb(255, 255, 255);
        height: 300px;
        width: 100vw;
        margin: 0;
        padding: 0;
    }

    .btn-footer {
        height: 100%;
        text-align: center;
        font-size: 30px;
        display: flex;
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }

    .sociala-ikoner {
        margin-top: 50px;
        font-weight: 400;
        height: 30px;
        width: 30px;
        padding: 15px;
        border-radius: 50%;
        box-shadow: 3px 3px 3px 3px rgba(0, 0, 0, 0.2);
        display: flex;
        justify-content: center;
        align-items: center;
        margin-bottom: 30px;
    }
        .copyright {
            font-size: 10px;
        }
}
