body {
    background-image: url("images/productsscreen.png");
    background-size: 1920px;
    background-position: top center;
    background-repeat: no-repeat;
}

.products-content {
    width: 1290px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 100px;
    font-family: "Montserrat";
}

.products-content h1 {
    font-size: 55px;
    font-weight: 800;
    color: #6EF100;
}

.products-content div {
    font-size: 32px;
    font-weight: 400;
    color: white;
    margin-top: 100px;
    width: 800px;
}

.products { 
    user-select: none;
    width: 1290px;
    margin-right: auto;
    margin-left: auto;
    margin-top: 300px;
    letter-spacing: 72px;
}

.product-item {
    padding-top: 32px;
    border-radius: 5px;
    box-sizing: border-box;
    display: inline-block;
    width: 377px;
    height: 555px;
    border: 1px solid wheat;
    background-color: #EDFFDD4A;
    margin-bottom: 100px;
    text-align: center;
    font-family: "Montserrat";
    transition-duration: 0.2s;
}

.product-item:hover {
    background-color: #EDFFDD;
    transition-duration: 0.2s;
    box-shadow: 0px 5px 5px 1px rgba(0,0,0,0.1)
}

.product-item .name { 
    letter-spacing: normal;
    text-align: center;
    font-size: 28px;
    font-weight: 600;
    color: black;
    border-top:1px solid #6EF100;
    border-bottom:1px solid #6EF100;
    width: 100%;
}

.product-item img {
    border-radius: 5px;
    width: 75%;
    height: 60%;
    margin-top: 50px;
}

.product-item a {
    display: flex;
    align-items: center;
    justify-content: center;
    letter-spacing: normal;
    text-align: center;
    font-size: 23px;
    font-weight: 400;
    color:white;
    background-color: #6EF100;
    width: 282px;
    height: 40px;
    margin: 0 auto;
    border-radius: 5px;
    margin-top: 50px;
    transition-duration: 0.2s;
}

.product-item a:hover {
    background-color: #ABFF65;
    transition-duration: 0.2s;
}

.product-item a:active {
    background-color: #4BA500;
    transition-duration: 0.2s;
}

.product-item a span {
    user-select: none;
}
@media only screen and (max-width: 819px) {
    html {
        min-width: 280px;
    }

    body {
        background-image: url("images/productsscreen.png");
        background-size: 100% 32%;
        background-repeat: no-repeat;
        height: 100vh;
        width: 100vw;
        min-width: 300px;
        margin: 0;
    }

    .products-content {
        width: 95%;
        min-height: 200px;
        margin-top: 25vw;
        margin-right: 0;
    }

    .products-content h1 {
        font-size: 20px;
        margin-bottom: 40px;
    }

    .products-content div {
        width: 80%;
        margin-top: 20px;
        font-size: 14px;
        font-weight: 200;
    }

    .products {
        width: 80%;
        margin-top: 15vw;
        letter-spacing: normal;
    }

    .product-item {
        width: 100%;
        height: auto;
        margin-bottom: 50px;
        padding: 20px;
    }

    .product-item .name {
        font-size: 20px;
        border-top: none;
        border-bottom: none;
        margin-bottom: 20px;
    }

    .product-item img {
        margin-top: 20px;
        width: 90%;
        height: auto;
    }

    .product-item a {
        width: 100%;
        font-size: 14px;
        margin-top: 20px;
    }
}
@media only screen and (max-width: 379px) {
    .products-content {
        margin-top: 10vh;
    }
}
@media only screen and (max-width: 320px) {
    body {
        min-width: 280px;
        max-width: 320px;
        width: 100%;
    }
    .products-content div {
        font-size: 12px;
    }
}
@media only screen and (max-width: 717px) and (max-height: 512px){
.products-content {
margin-top: 10vw;
}
.products {
margin-top: 2vw;
}
}