@media screen and (min-width: 1101px) {
    body {
        background-color: rgba(0, 0, 255, 0);
        display: flex;
        flex-direction: column;
        min-height: 100vh;
        margin: 0;
        font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
        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;
    }

    .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;
    }

    #barmeny{
        display: none;
    }

    #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);
    }

    .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: column;

    }

    .container{
        height: 300px;
        width: 900px;
        background-color: rgb(255, 255, 255);
        border-radius: 20px;
        border: 5px rgb(204, 0, 204) solid;
        border-style: hidden;
        margin-top: 40px;
    }

    .container:hover{
        border-style: solid;
    }

    .text-om{
        text-align: center;
        padding-bottom: 100px;

    }

    .cv-knapp-main{
        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;
    }

    .knapp-div{
        height: fit-content;
        margin-top: 60px;
    }

    .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;
    }
}

@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;
            background-color: lightblue;
            padding: 10px;
            /* width: 100vw; */
    /* } */
    */ .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;
    }


        .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: column;


        }

        .container {
            height: 300px;
            width: 80vw;
            background-color: rgb(255, 255, 255);
            border-radius: 20px;
            border: 5px rgb(204, 0, 204) solid;
            border-style: hidden;
            margin-top: 100px;
            font-size: 13px;
            padding: 10px;
        }

        .container:hover {
            border-style: solid;
        }

        .text-om {
            text-align: center;
            padding-bottom: 100px;

        }

        .cv-knapp-main {
            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;
        }

        .knapp-div {
            height: fit-content;
            margin-top: 60px;
        }

                .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;
                }

}
