body {
    padding: 0px;
    margin: 0px;
    background-color: rgb(245, 177, 85);
    font-family: Bevan;
    color: rgb(255, 217, 167);

}

h1 {
    margin: 0px;
}


.navbar {
    display: flex;
    justify-content: center;
    justify-content: space-evenly;



}

.nav-button {
    background-color: rgb(179, 112, 21);
    padding: 10px;
    border-radius: 12px;
    box-shadow: 2px 3px rgb(223, 148, 48);
    transition: rotate 0.15s;
    height: 30px;
    width: auto;
    margin-top: 10px;

}

.nav-button:hover {
    scale: 1.1;
    cursor: pointer;
    rotate: 5deg;
    background-color: rgb(223, 148, 48);
    box-shadow: 2px 3px rgb(179, 112, 21);

}

.nav-button a {
    color: rgb(255, 217, 167);
    text-decoration: none;
}

.navbar img {

    position: absolute;

}



#logga {
    width: 240px;
    height: 160px;
    position: absolute;
    left: 220px;
    top: -30px;
}



#intro-grid {
    display: grid;
    grid-template-columns: 400px 200px 300px;
    grid-template-rows: 50px 450px;
    grid-template-areas:
        'item1 item3 item3'
        'item2 item3 item3';
    background-color: rgb(223, 148, 48);
    justify-content: space-around;
    align-items: center;


}


/*Välkommen*/
#item1 {
    grid-area: item1;
}

#item1 h1 {
    text-align: center;
}


#item2 {
    grid-area: item2;
}


#item3 {
    grid-area: item3;
}

/*Bilden på kon*/
#item3 img {
    width: 640px;
    height: 427px;
    border-radius: 20px;
    box-shadow: 15px 15px rgb(179, 112, 21);
}

#produkt-grid {
    display: grid;
    grid-template-columns: 300px 300px 300px;
    grid-template-rows: 400px;
    justify-content: space-around;
    gap: 40px;
    justify-content: center;
}

.produkt-box {
    background-color: rgb(179, 112, 21);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    box-shadow: 10px 10px rgb(223, 148, 48);
    transition: scale 0.5s, opacity 0.2s;

}

.produkt-box:hover {
    scale: 1.1;

}

.produkt-bild {

    width: 250px;
    height: 250px;
}


.produkt-bild img {
    border-radius: 12px;
    width: 250px;
    height: 250px;
}

.produkt-knapp {
    background-color: rgb(223, 148, 48);
    padding: 10px;
    border-radius: 12px;
    box-shadow: 2px 3px rgb(245, 177, 85);
    height: 30px;
    width: auto;
    margin-bottom: 10px;

}

.produkt-knapp a {
    color: rgb(255, 217, 167);
    text-decoration: none;
    font-family: Bevan;
}

.produkt-knapp:hover {
    scale: 1.1;
    cursor: pointer;
    background-color: rgb(245, 177, 85);
    box-shadow: 2px 3px rgb(223, 148, 48);

}



main h1 {
    text-align: center;
    background-color: rgb(179, 112, 21);
    box-shadow: 10px 10px rgb(223, 148, 48);
}


.footer-container {
    width: 100%;
    height: 100px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    color: rgb(179, 112, 21);



}

.footer-container a {
    text-decoration: none;
    color: rgb(179, 112, 21)
}

.footer-container a:hover {
    text-decoration: underline;

}


/*Mobil*/
@media (max-width: 760px) {

    body {
        padding: 0px;
        margin: 0px;
        background-color: rgb(245, 177, 85);
        max-width: 760px;
        font-family: Bevan;
        color: rgb(255, 217, 167);
    }



    .navbar {
        display: flex;
        flex-direction: column;
        justify-content: center;
        justify-content: space-between;
        margin-top: 10px;
        align-items: center;
        gap: 1em;
    }

    .nav-button {
        background-color: rgb(179, 112, 21);
        padding: 10px;
        border-radius: 12px;
        box-shadow: 2px 3px rgb(223, 148, 48);
        transition: rotate 0.15s;
        height: 30px;
        width: auto;
    }



    #logga {
        width: 150px;
        height: auto;
        position: absolute;
        left: -40px;
        top: 65px;
    }

    #intro-grid {
        display: flex;
        flex-direction: column;
        gap: 3em;



    }


    /*Välkommen*/
    #item1 {
        grid-area: item1;
    }

    #item1 h1 {
        text-align: center;
    }


    #item2 {
        grid-area: item2;
    }


    #item3 {
        grid-area: item3;
    }

    /*Bilden på kon*/
    #item3 img {
        width: 300px;
        height: 200px;
        border-radius: 20px;
        box-shadow: 15px 15px rgb(179, 112, 21);
        justify-content: center;
    }


    #produkt-grid {
        display: grid;
        grid-template-columns: 300px;
        grid-template-rows: 400px 400px 400px;
        justify-content: space-around;
        gap: 30px;
    }

    .produkt-box {
        background-color: rgb(179, 112, 21);
        border-radius: 10px;
        flex-direction: column;
        justify-content: space-around;
        box-shadow: 10px 10px rgb(223, 148, 48);


    }

    .produkt-box:hover {
        scale: 1.1;

    }

    .produkt-bild {

        width: 250px;
        height: 250px;
    }

    .produkt-bild img {
        width: 250px;
        height: 250px;
        border-radius: 12px;
    }

    .produkt-knapp {
        background-color: rgb(223, 148, 48);
        padding: 10px;
        border-radius: 12px;
        box-shadow: 2px 3px rgb(245, 177, 85);
        height: 30px;
        width: auto;

    }

    .produkt-knapp a {
        color: rgb(255, 217, 167);
        text-decoration: none;
        font-family: Bevan;
    }

    .produkt-knapp:hover {
        scale: 1.1;
        cursor: pointer;
        rotate: 3deg;
        background-color: rgb(245, 177, 85);
        box-shadow: 2px 3px rgb(223, 148, 48);

    }


    .footer-container {
        width: 100%;
        height: 100px;
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        align-items: center;
        color: rgb(179, 112, 21);


    }

    .footer-container a {
        text-decoration: none;
        color: rgb(179, 112, 21)
    }

    .footer-container a:hover {
        text-decoration: underline;

    }






}

/* Surfplattor*/

@media (min-width: 768px) and (max-width: 1180px) {
    body {
        padding: 0px;
        margin: 0px;
        background-color: rgb(245, 177, 85);
        min-width: 768px;
        max-width: 1180px;
        font-family: Bevan;
        color: rgb(255, 217, 167);
    }


    .navbar {
        display: flex;
        flex-direction: row;
        justify-content: center;
        justify-content: space-around;
        margin-top: 10px;
        align-items: center;
        gap: 1em;
    }

    .nav-button {
        background-color: rgb(179, 112, 21);
        padding: 10px;
        border-radius: 12px;
        box-shadow: 2px 3px rgb(223, 148, 48);
        transition: rotate 0.15s;
        height: 30px;
        width: auto;
    }

    .nav-button:hover {
        scale: 1.1;
        cursor: pointer;
        rotate: 5deg;
        background-color: rgb(223, 148, 48);
        box-shadow: 2px 3px rgb(179, 112, 21);

    }



    #logga {
        width: 180px;
        height: auto;
        position: absolute;
        left: 70px;
        top: -5px;
    }


    #intro-grid {
        display: grid;
        grid-template-columns: 400px;
        grid-template-rows: 50px 450px;
        grid-template-areas:
            'item1'
            'item2'
            'item3';
        background-color: rgb(223, 148, 48);
        justify-content: space-around;
        align-items: center;


    }


    /*Välkommen*/
    #item1 {
        grid-area: item1;
    }

    #item1 h1 {
        text-align: center;
    }


    #item2 {
        grid-area: item2;
    }


    #item3 {
        grid-area: item3;
    }

    /*Bilden på kon*/
    #item3 img {
        width: 400px;
        height: px;
        border-radius: 20px;
        box-shadow: 15px 15px rgb(179, 112, 21);

    }


    #produkt-grid {
        display: grid;
        grid-template-columns: 300px;
        grid-template-rows: 400px 400px 400px;
        justify-content: space-around;
        gap: 30px;
    }

    .produkt-box {
        background-color: rgb(179, 112, 21);
        border-radius: 10px;
        flex-direction: column;
        justify-content: space-around;
        box-shadow: 10px 10px rgb(223, 148, 48);
        transition: scale 0.5s, opacity 0.2s;

    }

    .produkt-box:hover {
        scale: 1.1;
        opacity: 0.75;
    }

    .produkt-bild {
        background-color: black;
        width: 100%;
        height: 60%;
    }

    .produkt-knapp {
        background-color: rgb(223, 148, 48);
        padding: 10px;
        border-radius: 12px;
        box-shadow: 2px 3px rgb(245, 177, 85);
        transition: rotate 0.2s;
        height: 30px;
        width: auto;

    }

    .produkt-knapp a {
        color: rgb(255, 217, 167);
        text-decoration: none;
        font-family: Bevan;
    }

    .produkt-knapp:hover {
        scale: 1.1;
        cursor: pointer;
        rotate: 3deg;
        background-color: rgb(245, 177, 85);
        box-shadow: 2px 3px rgb(223, 148, 48);

    }


    .footer-container {
        width: 100%;
        height: 100px;
        display: flex;
        flex-direction: row;
        justify-content: space-around;
        align-items: center;
        color: rgb(179, 112, 21);


    }

    .footer-container a {
        text-decoration: none;
        color: rgb(179, 112, 21)
    }

    .footer-container a:hover {
        text-decoration: underline;

    }

}