@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;
        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;
    }
    #barmeny{
        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: 40rem;
        width: 100%;
        background-attachment: fixed;
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;
        margin-top: 100px;
    }

    .container{
        height: 100%;
        width: 100vw;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
    }

    .heading-kontakt{
        color: white;
        margin-top: 40px;

    }

    .underrubrik-kontakt{
        color: white;
        font-size: medium;
        margin-bottom: 20px;
    }

    .input-div{
        display: flex;
        flex-direction: column;
    }
    .input-kontakt{
        margin-bottom: 20px;
        padding: 18px;
        width: 300px;
        border-radius: 10px;
        font-size: 18px;
        color: rgb(204, 0, 204);
    }
    #meddelande{
        height: 100px;
        resize: none;
        font-size: 18px;
        padding: 18px;
        border-radius: 10px;
        color: rgb(204, 0, 204);
    }

    .consent-text{
        color:white;
        font-size: 20px;
    }

    .label-consent{
        margin-top: 20px;
    }

    .input-consent{
        accent-color: rgb(204, 0, 204);
        width: 3rem;
        height: 1.2em;

    }

    .submit-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: 30px;
            padding: 10px 35px;
            text-decoration: none;
            margin-top: 20px;
    }

    .submit-knapp:hover{
        background-color: rgb(253, 96, 253);
            transition: linear background-color 0.3s;
            transform: rotate(Y);
    }

    .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;
            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: 40rem;
            width: 100%;
            background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(assets/webdev.jpg);
            background-attachment: fixed;
            background-size: cover;
            background-repeat: no-repeat;
            background-position: center;
            margin-top: 100px;
        }

    .container {
        height: 100%;
        width: 100vw;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
    }

    .heading-kontakt {
        color: white;
        margin-top: 40px;

    }

    .underrubrik-kontakt {
        color: white;
        font-size: 13px;
        margin-bottom: 20px;
    }

    .input-div {
        display: flex;
        flex-direction: column;
    }

    .input-kontakt {
        margin-bottom: 20px;
        padding: 18px;
        width: 40vw;
        border-radius: 10px;
        font-size: 18px;
        color: rgb(204, 0, 204);
    }

    #meddelande {
        height: 100px;
        resize: none;
        font-size: 18px;
        padding: 18px;
        border-radius: 10px;
        color: rgb(204, 0, 204);
        width: 40vw;
    }

    .consent-text {
        color: white;
        font-size: 13px;
        /* text-align: center; */
    }

    .label-consent {
        margin-top: 20px;
    }

    .input-consent {
        accent-color: rgb(204, 0, 204);
        width: 3rem;
        height: 1.2em;

    }

    .submit-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: 30px;
        padding: 10px 35px;
        text-decoration: none;
        margin-top: 20px;
    }

    .submit-knapp:hover {
        background-color: rgb(253, 96, 253);
        transition: linear background-color 0.3s;
        transform: rotate(Y);
}


.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;
}
}
