
@media screen and (min-width: 1101px) {


    body{
        background-color: rgba(0, 0, 255, 0);
        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;
    text-align: center;
}

.btn-navbar{
    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(250, 81, 250);
    transition: linear background-color 0.1s;
    transform: rotate(Y);
}

.main{
    background-color: rgba(240, 248, 255, 0);
    flex: 1;
    min-height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.namn-portfolio{
    background-color: purple;
    border-radius: 20px;
    border-width: 20px;
    width: fit-content;
    padding: 10px;
}

.info-main-text{
    color: aliceblue;
    margin: 0;
    padding: 0;
    width: 300px;
    margin-right: 100px;
    display: flex;
    flex-direction: column;
}

.heading-main-utvecklare
{
    margin: 0;
    font-size: 40px;
    color: rgb(204, 0, 204);
    font-weight: 100;
}

.heading-main{
    margin: 0;
    font-size: 40px;
    font-weight: 100;
}

.text-main{
    font-size: 20px;
}

.profile-pic{
    height: 300px;
}

.info-knappar{
    width: 600px;
    margin-top: 20px;
    text-align: start;
}

.kontakt-cv{
    background-color: rgb(204, 0, 204);
    padding-inline: 20px;
    font-size: 15px;
    color: rgb(255, 255, 255);
    border: 5px solid purple;
    border-radius: 10px;
    padding: 8px 35px;
    text-decoration: none;
    letter-spacing: 0.1em;
    border: none;
    margin-right: 20px;
}

.kontakt-cv:hover{
    background-color: rgb(253, 54, 253);
}

.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;
}

.sociala-ikoner:hover{
    height: 50px;
    width: 50px;
    padding: 15px;
    cursor: pointer;
}
#barmeny{
    display: none;
}

.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;
        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;
    }

    .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: 1;
        min-height: 80vh;
        width: 100vw;
        display: flex;
        justify-content: center;
        flex-direction: column-reverse;
        text-align: center;
        padding-top: 50px;
    }

    .namn-portfolio {
        background-color: purple;
        border-radius: 20px;
        border-width: 20px;
        padding: 10px;
        font-size: 13px;
        width: 200px;
    }

    .portfolio-text-div{
        width: 100vw;
        display: flex;
        justify-content: center;
    }

    .info-main-text {
        color: aliceblue;
        margin: 0;
        padding: 0;
        width: 100vw;
        display: flex;
        flex-direction: column;
    }

    .header-fullstack{
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .heading-main-utvecklare {
        margin: 0;
        font-size: 30px;
        color: rgb(204, 0, 204);
        font-weight: 100;
        text-align: center;
    }

    .heading-main {
        margin: 0;
        font-size: 30px;
        font-weight: 100;
        text-align: center;
    }

    .text-main {
        font-size: 15px;
        text-align: center;
        margin: 10px;
        width: 80%;

    }

    .main-text-div{
    width: 100vw;
    display: flex;
    justify-content: center;
    }

    .profile-pic {
        height: 200px;
    }

    .info-knappar {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100vw;
        margin-top: 20px;
    }

    .kontakt-cv {
        background-color: rgb(204, 0, 204);
        padding-inline: 20px;
        font-size: 10px;
        color: rgb(255, 255, 255);
        border: 5px solid purple;
        border-radius: 10px;
        padding: 8px 35px;
        text-decoration: none;
        letter-spacing: 0.1em;
        border: none;
        /* margin-right: 20px; */
    }

    .kontakt-cv:hover {
        background-color: rgb(236, 0, 236);
    }

    .profile-div{
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .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: 70px;
    }

    .copyright{
        font-size: 10px;
    }

}
