* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    font-family: Roboto, sans-serif;
}

.container {
        max-width: 1024px;
        width: 100%;
        margin: 0 auto;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header {
    background-color: rgb(59, 59, 214);
    color: #fff;
    padding: 10px;
}

h1, h2 {
    font-style: italic;
}

header nav ul{
    display: flex;
    margin: 15px;
    gap: 15px;
    list-style: none;
}

header nav a{
    text-decoration: none;
    color: #fff;
}

body {
    background-color: rgb(221, 230, 238);
}

.sobre-a-loja .container {
    display: flex;
    margin-top: 35px;
    gap: 35px;
    padding-bottom: 65px;
}

.sobre-a-loja img {
    max-width: 100%;
    width: 450px;
    border-radius: 15px;
    border: 3px solid rgb(59, 59, 214);
}

h2 {
    margin-bottom: 35px;
    padding-bottom: 20px;
    border-bottom: 3px solid rgb(59, 59, 214);
    color:rgb(59, 59, 214);
}

article img {
    max-width: 100%;
    width: 250px;
}

.produtos {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    column-gap: 6px;
    row-gap: 6px;
    margin: 40px 0 0 0;
}

article h3 {
    margin: 25px 0 15px;
}

article button {
    background-color: rgb(59, 59, 214);
    border-radius: 5px;
    border: 3px solid rgb(59, 59, 214);
    color: #fff;
    padding: 8px;
    margin: 20px 0 40px 0;
    cursor: pointer;
}

@media screen and (min-width: 768px) and (max-width: 1023px) {
    .container {
        max-width: 90%;
    }

    .sobre-a-loja img {
        max-width: 90%;
        width: 550px;
        border-radius: 15px;
        border: 3px solid rgb(59, 59, 214);
    }

    .sobre-a-loja .container {
        display: block;
        justify-content: center;
    }

    h2{
        margin-top: 25px;
        max-width: 90%;
    }

    article img {
        max-width: 90%;
        width: 300px;
    }

    .produtos {
        display: grid;
        grid-template-columns: repeat(2, 49%);
        column-gap: 1px;
        row-gap: 2px;
        margin: 40px 0 0 0;
        max-width: 90%;
    }

    p {
        max-width: 90%;
    }
}
    @media screen and (max-width: 767px) {

        .container {
            max-width: 90%;
        }

        .sobre-a-loja .container {
            display: block;
            justify-content: center;
        }
        
        .sobre-a-loja img {
            max-width: 90%;
            width: 550px;
            border-radius: 15px;
            border: 3px solid rgb(59, 59, 214);
        }

        h2{
            margin-bottom: 15px;
            padding-bottom: 10px;
            margin-top: 10px;
            max-width: 90%;
        }

        p {
            max-width: 90%;
        }

        article img {
            max-width: 90%;
            width: 550px;
        }

        .produtos {
            display: grid;
            grid-template-columns: repeat(1, 1fr);
            column-gap: 10px;
            row-gap: 2px;
            margin: 40px 0 0 0;
            max-width: 90%;
        }
    }