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;
}

.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;
    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);

}



main h1 {
    text-align: center;
    background-color: rgb(179, 112, 21);
    box-shadow: 10px 10px rgb(223, 148, 48);
}


.footer-container {
    width: 100%;
    background-color: rgb(179, 112, 21);
    height: 100px;
    display: flex;
    justify-content: space-around;
    align-items: end;
    border-top: solid 10px rgb(223, 148, 48);


}

.footer-container a {
    text-decoration: none;
    color: rgb(255, 217, 167);

}

.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;
    }

    .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: -55px;
        top: 45px;
    }

    #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: 400px;
        height: 300px;
        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%;
    background-color: rgb(179, 112, 21);
    height: 100px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    border-top: solid 10px rgb(223, 148, 48);


}

.footer-container a {
    text-decoration: none;
    color: rgb(255, 217, 167);

}

.footer-container a:hover {
    text-decoration: underline;

}






}