@media screen and (min-width: 300px) {
    .home-container {
        width: 100%;
        height: 100vh;
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 20px;
        padding: 0px 10px;
        padding-top: 130px;
        padding-bottom: 100px;
        overflow: auto;


        .votes1 {
            height: fit-content;
            gap: 10px;
            border-radius: 10px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1),
                0 0 10px rgba(0, 0, 0, 0.05);

            &:hover {
                transform: scale(1.01);
                transition: all 0.3s ease-in-out;
                cursor: pointer;
            }

            .status {
                width: 100%;
                display: flex;
                justify-content: flex-end;
                align-items: center;
                padding-top: 10px;
                padding-right: 10px;

                p {
                    color: green;
                    background-color: lightgreen;
                    border-radius: 30px;
                    padding: 2px 20px;
                    font-weight: 600;
                    font-size: 11px;
                }
            }

            .top {
                width: 100%;
                height: fit-content;
                padding: 10px;
                display: flex;


                .left-side {
                    width: 22%;
                    display: flex;
                    align-items: center;
                    gap: 10px;

                    img {
                        width: 60px;
                        border-radius: 5px;
                    }
                }

                .right {
                    width: 77%;

                    a {
                        text-decoration: none;
                        color: var(--text1);
                        font-weight: 600;
                        font-size: 13px;

                        &:hover {
                            text-decoration: underline;
                            transition: all 0.3s ease-in-out;
                        }

                        transition: all 0.3s ease-in-out;
                    }
                }


            }

            .middle {
                width: 100%;
                height: fit-content;
                display: flex;
                justify-content: space-between;
                align-items: center;
                padding: 10px;

                button {
                    width: 48%;
                    padding: 5px 10px;

                    span {
                        margin-left: 10px;
                        font-weight: 600;
                    }
                }


                .buy {
                    background-color: lightgreen;
                    color: green;
                    border: none;
                    border-radius: 5px;

                    &:hover {
                        background-color: green;
                        color: white;
                    }

                    transition: all 0.3s ease-in-out;
                }

                .sell {
                    background-color: lightcoral;
                    color: darkred;
                    border: none;
                    border-radius: 5px;

                    &:hover {
                        background-color: darkred;
                        color: white;
                    }

                    transition: all 0.3s ease-in-out;
                }
            }

            .down {
                width: 100%;
                height: fit-content;
                display: flex;
                justify-content: space-between;
                align-items: center;
                padding: 0px 10px 10px;

                button {
                    border: none;
                }

            }
        }

    }
    
    body {
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none;  /* IE 10+ */
}

body::-webkit-scrollbar {
  display: none; /* Chrome, Safari */
}
}

@media screen and (min-width: 700px) {
    .home-container {
        width: 100%;
        height: 100vh;
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 20px;
        padding: 0px 20px;
        padding-top: 130px;
        overflow: auto;


        .votes1 {
            height: fit-content;
            gap: 10px;
            border-radius: 10px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1),
                0 0 10px rgba(0, 0, 0, 0.05);

            &:hover {
                transform: scale(1.01);
                transition: all 0.3s ease-in-out;
                cursor: pointer;
            }

            .status {
                width: 100%;
                display: flex;
                justify-content: flex-end;
                align-items: center;
                padding-top: 10px;
                padding-right: 10px;

                p {
                    color: green;
                    background-color: lightgreen;
                    border-radius: 30px;
                    padding: 2px 20px;
                    font-weight: 600;
                }
            }

            .top {
                width: 100%;
                height: fit-content;
                padding: 10px;
                display: flex;


                .left-side {
                    width: 22%;
                    display: flex;
                    align-items: center;
                    gap: 10px;

                    img {
                        width: 60px;
                        border-radius: 5px;
                    }
                }

                .right {
                    width: 77%;

                    a {
                        text-decoration: none;
                        color: var(--text1);
                        font-weight: 600;
                        font-size: 13px;

                        &:hover {
                            text-decoration: underline;
                            transition: all 0.3s ease-in-out;
                        }

                        transition: all 0.3s ease-in-out;
                    }
                }


            }

            .middle {
                width: 100%;
                height: fit-content;
                display: flex;
                justify-content: space-between;
                align-items: center;
                padding: 10px;

                button {
                    width: 48%;
                    padding: 5px 5px;

                    span {
                        margin-left: 10px;
                        font-weight: 600;
                    }
                }


                .buy {
                    background-color: lightgreen;
                    color: green;
                    border: none;
                    border-radius: 5px;

                    &:hover {
                        background-color: green;
                        color: white;
                    }

                    transition: all 0.3s ease-in-out;
                }

                .sell {
                    background-color: lightcoral;
                    color: darkred;
                    border: none;
                    border-radius: 5px;

                    &:hover {
                        background-color: darkred;
                        color: white;
                    }

                    transition: all 0.3s ease-in-out;
                }
            }

            .down {
                width: 100%;
                height: fit-content;
                display: flex;
                justify-content: space-between;
                align-items: center;
                padding: 0px 10px 10px;

                button {
                    border: none;
                }

            }
        }

    }
}

@media screen and (min-width: 1100px) {
    .home-container {
        width: 100%;
        height: 100vh;
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 20px;
        padding: 0px 20px;
        padding-top: 130px;
        padding-bottom: 40px;
        overflow: auto;


        .votes1 {
            height: fit-content;
            gap: 10px;
            border-radius: 10px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1),
                0 0 10px rgba(0, 0, 0, 0.05);

            &:hover {
                transform: scale(1.01);
                transition: all 0.3s ease-in-out;
                cursor: pointer;
            }

            .status {
                width: 100%;
                display: flex;
                justify-content: flex-end;
                align-items: center;
                padding-top: 10px;
                padding-right: 10px;

            }
        

            .top {
                width: 100%;
                height: fit-content;
                padding: 10px;
                display: flex;


                .left-side {
                    width: 23%;
                    display: flex;
                    align-items: center;
                    gap: 10px;

                    img {
                        width: 60px;
                        border-radius: 5px;
                    }
                }

                .right {
                    width: 77%;

                    a {
                        text-decoration: none;
                        color: var(--text1);
                        font-weight: 600;
                        font-size: 13px;

                        &:hover {
                            text-decoration: underline;
                            transition: all 0.3s ease-in-out;
                        }

                        transition: all 0.3s ease-in-out;
                    }
                }


            }

            .middle {
                width: 100%;
                height: fit-content;
                display: flex;
                justify-content: space-between;
                align-items: center;
                padding: 10px;

                button {
                    width: 48%;
                    padding: 5px 5px;

                    span {
                        margin-left: 10px;
                        font-weight: 600;
                    }
                }


                .buy {
                    background-color: lightgreen;
                    color: green;
                    border: none;
                    border-radius: 5px;

                    &:hover {
                        background-color: green;
                        color: white;
                    }

                    transition: all 0.3s ease-in-out;
                }

                .sell {
                    background-color: lightcoral;
                    color: darkred;
                    border: none;
                    border-radius: 5px;

                    &:hover {
                        background-color: darkred;
                        color: white;
                    }

                    transition: all 0.3s ease-in-out;
                }
            }

            .down {
                width: 100%;
                height: fit-content;
                display: flex;
                justify-content: space-between;
                align-items: center;
                padding: 0px 10px 10px;

                button {
                    border: none;
                }

            }
        }
    }

    /* Modal styles */
    .modal {
        display: none;
        position: fixed;
        z-index: 2000;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        overflow: auto;
        background-color: rgba(0, 0, 0, 0.4);
        /* Background color */
        padding-top: 60px;
    }

    .modal-content {
        background-color: #fefefe;
        margin: 15% auto;
        padding: 20px;
        border: 1px solid #888;
        width: 80%;
        max-width: 500px;
        /* Could be more responsive */
    }

    .btn-submit,
    .btn-close {
        padding: 10px 45px;
        background-color: #4CAF50;
        color: white;
        border: none;
        cursor: pointer;
    }

    .btn-submit {
        background-color: #28a745;
    }

    .btn-close {
        background-color: #dc3545;
    }

    input[type="number"] {
        padding: 10px;
        width: 100%;
        margin-bottom: 10px;
        border: 1px solid #ccc;
    }

}

@media screen and (min-width: 1250px) {
    .home-container {
        width: 100%;
        height: 100vh;
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 10px;
        padding: 0px 60px;
        padding-top: 140px;
        padding-bottom: 40px;
        overflow: auto;


        .votes1 {
            height: fit-content;
            gap: 10px;
            border-radius: 10px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1),
                0 0 10px rgba(0, 0, 0, 0.05);

            &:hover {
                transform: scale(1.01);
                transition: all 0.3s ease-in-out;
                cursor: pointer;
            }

            .status {
                width: 100%;
                display: flex;
                justify-content: flex-end;
                align-items: center;
                padding-top: 10px;
                padding-right: 10px;

                .status {
                    width: 100%;
                    display: flex;
                    justify-content: flex-end;
                    align-items: center;
                    padding-top: 10px;
                    padding-right: 10px;
                    font-size: 12px;
                }
                
                
            }

            .top {
                width: 100%;
                height: fit-content;
                padding: 10px;
                display: flex;


                .left-side {
                    width: 23%;
                    display: flex;
                    align-items: center;
                    gap: 10px;

                    img {
                        width: 60px;
                        border-radius: 5px;
                    }
                }

                .right {
                    width: 77%;

                    a {
                        text-decoration: none;
                        color: var(--text1);
                        font-weight: 600;
                        font-size: 13px;

                        &:hover {
                            text-decoration: underline;
                            transition: all 0.3s ease-in-out;
                        }

                        transition: all 0.3s ease-in-out;
                    }
                }


            }

            .middle {
                width: 100%;
                height: fit-content;
                display: flex;
                justify-content: space-between;
                align-items: center;
                padding: 15px 10px;

                button {
                    width: 48%;
                    padding: 5px 5px;

                    span {
                        margin-left: 10px;
                        font-weight: 600;
                    }
                }


                .buy {
                    background-color: lightgreen;
                    color: green;
                    border: none;
                    border-radius: 5px;

                    &:hover {
                        background-color: green;
                        color: white;
                    }

                    transition: all 0.3s ease-in-out;
                }

                .sell {
                    background-color: lightcoral;
                    color: darkred;
                    border: none;
                    border-radius: 5px;

                    &:hover {
                        background-color: darkred;
                        color: white;
                    }

                    transition: all 0.3s ease-in-out;
                }
            }

            .down {
                width: 100%;
                height: fit-content;
                display: flex;
                justify-content: space-between;
                align-items: center;
                padding: 0px 10px 10px;

                button {
                    border: none;
                }

            }
        }
    }
}