@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@100..900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

body {
    background-color: hsl(217, 54%, 11%);
    color: white;
    font-family: "Outfit", sans-serif;
    font-size: 18px;
}

.nftCard {
    background-color: hsl(216, 50%, 16%);
    display: flex;
    flex-direction: column;
    width: 300px;
    padding: 20px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 1rem;
    box-shadow:  0 30px 0 15px  hsl(217, 35%, 11%),
    0 40px 0 50px  hsl(217, 45%, 11%);
}

.cardImg, .cardImg img {
    height: 260px;
    width: 260px;
    border-radius: 1rem;
    margin-bottom: 1rem;
}

.cardImg::before, .cardImg::after {
    content: "";
    position: absolute;
    border-radius: 1rem;
    height: 260px;
    width: 260px; 
    opacity: 0; 
    transition: opacity 0.3s ease; 
}

.cardImg::before {  
    z-index: 1; 
    background-color: rgb(0, 255, 247);
}

.cardImg::after {
    z-index: 1; 
    background-image: url("images/icon-view.svg");
    background-position: center center;
    background-repeat: no-repeat;
    transform: translate(-100%);
}

.cardImg:hover::before {
    cursor: pointer;
    opacity: 0.5;
}

.cardImg:hover::after {
    cursor: pointer;
    opacity: 1;
}



h3,.cardImg,.description,hr {
    margin-bottom: 1rem;
}

h3 {
    font-weight: 500;
}

.description,.timeLeft,.creator span {
    color:rgba(139, 172, 218, 0.8);
}

.priceTime {
    display: flex;
    justify-content: space-between;
    font-size: medium;
    margin: 0.5rem 0 1.5rem 0;

}

.price {
    color: hsl(178, 100%, 50%);
}

hr {
    height: 1px;
    background-color: hsl(215, 32%, 27%);
    border: 0;
}

.creatorImg {
    height: 25px;
    width: 25px;
    border-radius: 50%;
    border: 1px solid ;
    margin-right: 10px;
}

.creatorDes {
    display: flex;
    align-items: center;
    font-size: small;
}

.creator:hover, h3:hover {
    color: hsl(178, 100%, 50%);
    cursor: pointer;
}
