body {
    margin: 0;
    background-color: rgb(31, 33, 44);
}

header {
    text-align: center;
    background-color: rgb(38, 40, 51);
    color: rgb(216, 226, 231);
    padding: 10px;
    margin-bottom: 150px;
    margin-top: 10px;
}

main {
    text-align: center;
    /* margin-bottom: 5%; */
    margin-top: 50px;
}

h2 {
    color: #1879b9;
    font-size: clamp(0px,4vw,768px);
}

p {
    color: rgb(101, 116, 192);
     font-size: clamp(0px,3vw,768px);
}

main button a {
    text-decoration: none;
    color: #1879b9;
    font-size: 0.6rem;
}

button a:hover {
    color: black;
}

hr {
    margin-top: 150px;
    width: 250px;
}

.item7 {
    grid-area: span 1 / span 2;
}

.product {
    margin: auto;
    /* background-color: #d7d7d7; */
    display: grid;
    grid-template-columns: repeat(2, 4fr);
    grid-auto-flow: row dense;
    gap: 1px;
}

.product img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

footer {
    margin-top: 150px;
    background-color: rgb(41, 43, 56);
    padding: 10px;
    text-align: center;
}

footer span h6 {
    color: white;
}

footer span {
    display: flex;
    justify-content: space-between; 
/* margin-top: 200px; */
}

footer span a {
    text-decoration: none;
    color: #1879b9;
}

footer span a:hover {
    color: white;
}


@media screen and (min-width: 768px) {
    main {
        text-align: center;
        /* margin-bottom: 5%; */
        margin-top: 70px;
    }

    hr {
        margin-top: 200px;
        width: 450px;
    }

    h2 {
        color: #1879b9;
        font-size: clamp(0px,3vw,30px);
    }

    p {
        color: rgb(101, 116, 192);
        font-size: clamp(0px,2vw,20px);
    }

    main button a {
        font-size: 0.7rem;
    } 

}


@media  screen and (min-width: 1024px) {
    header {
        text-align: center;
        background-color: rgb(38, 40, 51);
        color: rgb(216, 226, 231);
        padding: 10px;
        margin-bottom: 200px;
        margin-top: 10px;
    }
    
    main {
        text-align: center;
        /* margin-bottom: 5%; */
        margin-top: 50px;
    }

    h2 {
        color: #1879b9;
        font-size: clamp(0px,4vw,30px);
    }

    p {
        color: rgb(101, 116, 192);
         font-size: clamp(0px,2vw,20px);
    }

    main button a {
        text-decoration: none;
        color: #1879b9;
        font-size: 0.9rem;
    }

    button a:hover {
        color: black;
    }
    
    hr {
        margin-top: 200px;
        width: 800px;
    }
    
    .item7 {
        grid-area: span 1 / span 2;
    }

    .product {
        max-width: 100vw;
        min-height: 100vh;
        margin: auto;
        /* background-color: #d7d7d7; */
        display: grid;
        grid-template-columns: repeat(2, 4fr);
        /* grid-template-rows: repeat(6, 2fr); */
        /* grid-auto-rows: minmax(100px, 50px); */
        grid-auto-flow: row dense;
        gap: 16px;
    }

    .product img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }
    
    footer {
        margin-top: 300px;
        background-color: rgb(41, 43, 56);
        padding: 100px;
        text-align: center;
    }

    footer span h6 {
        color: white;
    }

    footer span {
        display: flex;
        justify-content: space-between; 
    /* margin-top: 200px; */
    }
    
    footer span a {
        text-decoration: none;
        color: #1879b9;
    }
    
    footer span a:hover {
        color: white;
    }
}