.img-btn{
    width: 3rem; 
    height: 3rem;
    margin : 0.2rem;
    min-width: 3rem; 
    min-height: 3rem;
    background-size: cover; 
    background-position: center;
}
#desc{
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    max-width: 50rem;
}
#post-div, #seller-div{
    background-color: var(--primaryLight);
    box-shadow: 1rem 1rem 1rem rgba(0, 0, 0, 0.2);
    padding: 1rem;

}
#img-main img{
    cursor: zoom-in;
    max-width: 36rem;
    max-height: 36rem;
    /* max-width: 38.4rem;
    max-height: 25.6rem; */
    /* width: auto;
    height: auto; */
    width: 36rem;
    height: 36rem;
    object-fit: contain;
    display: none;
}
#img-main{
    display: flex;
    flex-direction: row;
    justify-content:center;
    align-items: center;
}
.sold{
    color : red;
    font-size: 2rem;
    background-color: rgba(1, 1, 1, 0.5);
    width: 10rem;
    align-self: center;
    margin: auto;
    text-align: center;
}
#edit-buttons .pseudo-btn, #edit-buttons button{
    margin-right: 1rem;
}
#post-wrapper{
    justify-content: center;
    display: flex;
    width: 80vw;
}
#post-wrapper div{

    margin: 1rem;
}
#warning-message{
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    padding: 1rem;
    max-width: 80vw;
    background-color: rgb(214, 198, 24);
}
#desc{
    max-width: 60%;
}
.arrow{
    background-color: var(--secondary);
    height: 4rem;
    max-width: 2rem;
    margin-top: 2rem;
}
.arrow p{
    text-align: center;
    font-size: 2rem;
}
#large-img{
    max-height: 40vh;
    max-width: 50vw;
    display: none;
    position: absolute;
    top : 30vh;
    left: 30vw;
    align-self: center;
    box-shadow: 1.2rem 1.2rem 1rem rgba(0, 0, 0, 0.5);
    
}

@media only screen and (max-width: 1500px) {
    #post-wrapper div{
        width : 50vw;
    }
}

@media only screen and (max-width: 900px) {
    #post-wrapper{
        flex-direction: column;
    } 

    

    #post-wrapper div{
        width : 80vw;
    }

    #img-main img{
        max-width: 85vw;
        max-height: 100vw;
    }

    #large-img{
        width: 0;
        height: 0;
        
    }
    #post-div, #seller-div{
        max-width: unset;
    }

}