*{
    scrollbar-width: none;
}
.nav-list ul{
    width: 100%;
    top: 10%;
    background: transparent;
    transform: translateX(10px);
    height: 50px;
    transition: 1s ease-in-out;
    will-change: opacity;
    right: 0;
}
i{
    cursor: pointer;
}
.z-80{
    z-index: 80;
}
.z-90{
    z-index: 90;
}
.z-100{
    z-index: 100;
}
.main-color{
    background: lightblue;
}
.nav-list{
    width: 1px;
    transition: 1s ease-in-out;
    will-change: width;
}
.nav-list.shown{
    width: 600px;
    transition: 1s ease-in-out;
    will-change: width;
}
.nav-list.shown ul{
    background: lightblue;
    transition: 1s ease-in-out;
    box-shadow: -4px -2px 10px grey;
}
.nav-list ul li{
    opacity: 0;
    will-change: opacity;
    transition-delay: 1s;
}
.nav-list ul.shown li{
    opacity: 1;
    will-change: opacity;
}
#home .hero-footer{
    bottom: -20%;
    height: 60px;
    left: 50%;
    transform: translateX(-50%);
}
#home .hero{
    height: 200px;
}
.hero{
    height: 20px;
}
.hero .icons{
    top: 0;
    right: 0;
}
.hero-footer{
    width: 75%;
    bottom: -100%;
    height: 60px;
    left: 50%;
    transform: translateX(-50%);
}
.hero-body button{
    position: absolute;
    bottom: -10%;
    left: 50%;
    z-index: 1000;
    transform: translateX(-50%);
}
.article-card{
    width: 300px;
    height: 455px;
    margin-bottom: 20px;
}
.article-content{
    min-width: 300px;
    min-height: 300px;
}
.image{
    width: 300px;
    height: 300px;
}
.article-image{
    width: 400px;
    height: 400px;
    margin: auto;
}
#itemForm.article-image{
    width: 300px;
    height: 300px;
    margin: auto;
}
img{
    width: 100%;
    height: 100%;
    border-radius: 10px;
    object-fit: cover;
    object-position: center;
}
.hover-icons{
    bottom: 0;
    left: 0;
    cursor: pointer;
}
article .show-seller-contacts{
    transform: translateX(-150px);
    bottom: 5px;
    cursor: pointer;
    left: 5px;
    transition: 0.3s ease-in-out;
    will-change: transform;
    z-index: 100;
}
.featured-listings .backface .bid{
    transform: translateX(180px);
    transition: 0.3s ease-in-out;
    top: 5px;
    cursor: pointer;
    will-change: transform;
    right: 5px;
}
.featured-listings .backface .bid-input{
    transform: translateX(480px);
    transition: 0.3s ease-in-out;
    will-change: transform;
    top: 35px;
    right: 5px;
}
.back-flip{
    bottom:1px;
    right:1px;
    z-index: 90;
}
.article-card .backface:hover >.show-seller-contacts, .article-card .backface:hover >.bid, .article-card .backface:hover >.bid-input{
    transform: translateX(0px);
    will-change: transform;
    transition: 0.3s ease-in-out;
}
.article-card .backface{
    height: 100%;
    width: 100%;
}
/*Start of animation css*/
#home .article-card {
  perspective: 1200px;
  transition: transform 1.8s cubic-bezier(.22, 1.5, .36, 1);
  will-change: transform;
}

.flip-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 1.8s cubic-bezier(.25, 1.5, .5, 1);
}

.article-card.flipped .flip-inner {
  transform: rotateY(180deg);
}

.front-face, .backface {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  box-shadow: 0 12px 30px rgba(0,0,0,0.2);
  border-radius: 10px;
  overflow: hidden;
}

.front-face {
  transform: rotateY(0deg);
  z-index: 2;
}

.backface {
  transform: rotateY(180deg);
  z-index: 1;
}
/*End of animation css*/
.rate-icons{
    top: 0%;
    cursor: pointer;
    transform: translateY(-50px);
    transition: 0.3s ease-in-out;
    right: 0;
    color: white;
    background: linear-gradient(60deg,  lightblue, blue);
}
.article-card .image:hover >.rate-icons{
    transform: translateY(0px);
    transition: 0.3s ease-in-out;
}
.trust-score-div{
    display: flex;
}
.icons i{
    margin: 0 12px;
}
.additionals{
    width: 95%;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    left: 50%;
    pointer-events: none;
    opacity: 0;
    height: 0px;
    transform: translateX(-50%);
    bottom: -100px;
    transition: 1s ease-in-out;
    will-change: opacity;
    transition: bottom 0.4s cubic-bezier(.4,2,.6,1);
    z-index: 29000;
    background: lightblue;
}
.additionals.details{
    height: 400px;
    padding: 5px;
    bottom: 0;
    pointer-events: auto;
    opacity: 1;
    transition: 1s ease-in-out;
    will-change: opacity;
}
.additionals.notification{
    height: 200px;
    padding: 5px;
    bottom: 0;
    pointer-events: auto;
    opacity: 1;
    transition: 1s ease-in-out;
    will-change: opacity;
}
.additionals.notification.short{
    height: 100px;
    transition: 1s ease-in-out;
    will-change: opacity;
}
h5.section-title{
    color: rgb(0, 0, 34);
    text-shadow: -1px -2px 2px lightblue;
    font-weight: bold;
    font-size: larger;
    letter-spacing: 1.5px;
}
label.form-label{
    font-weight: bold;
    font-size: larger;
}
.bids-output{
    height: 150px;
    overflow-y: scroll;
}
.bids-output .col-12:nth-child(even){
    background: lightblue;
}
.bids-filter{
    top: 0;
    right: 0;
}
.additionals-close{
    top: -5px;
    right: 0;
    cursor: pointer;
}
.image-change{
    bottom: 10px;
    right: 10px;
}
@media screen and (max-width: 980px){
    .nav-list.shown{
    width: 200px;
    }
    .nav-list ul{
    height: 150px;
}
.icons i{
    margin: 0 6px;
}
}
@media screen and (max-width: 720px){
    .nav-list.shown{
    width: 250px;
    }
    .nav-list ul{
    height: 150px;
}
.hero-footer{
    width: 50%;
    height: 40px;
    bottom: -50%;
}
.article-card{
    width: 200px;
    height: 350px;
    margin-bottom: 20px;
}
.image{
    width: 200px;
    height: 200px;
}
.article-content{
    min-width: 250px;
    min-height: 250px;
}
.article-image{
    width: 300px;
    height: 300px;
}
.icons i{
    margin: 0 8px;
}
}
@media screen and (max-width: 420px){
.article-card{
    width: 180px;
    height: 320px;
    margin-bottom: 20px;
}
.image{
    width: 180px;
    height: 180px;
}
.item-reason-for-sale{
    display: none;
}
.featured-listings .backface .bid-input{
    transform: translateX(480px);
    transition: 0.3s ease-in-out;
    will-change: transform;
    top: 35px;
    right: 5px;
}
.bid-input input{
    width: 75%;
}
.show-seller-contacts{
    width: 50%;
}
.icons i{
    margin: 0 7px;
}
}
@media screen and (max-width: 380px){
.article-card{
    width: 170px;
    height: 315px;
    margin-bottom: 20px;
}
.image{
    width: 170px;
    height: 170px;
}
.icons i{
    margin: 0 5px;
}

}
@media screen and (max-width: 350px){
    .nav-list.shown{
    width: 230px;
    }
    .nav-list ul{
    height: 130px;
}
.article-card{
    width: 150px;
    height: 290px;
    margin-bottom: 20px;
}
.image{
    width: 150px;
    height: 150px;
}
.trust-score-div{
    display: none;
}
.icons i{
    margin: 0 3px;
}
}