* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --soft-blue: hsl(215, 51%, 70%);
    --cyan: hsl(178, 100%, 50%);
    --cyan-light: hsla(178, 100%, 50%, 0.5);
    --main-bg: hsl(217, 54%, 11%);
    --card-bg: hsl(216, 50%, 16%);
    --line-color: hsl(215, 32%, 27%);
    --White: hsl(0, 0%, 100%);
}

body {
    background-color: var(--main-bg);
    font-family: "Outfit", serif;
    font-weight: 300;
    font-size: 18px;
}

.nft-container {
    padding: 1rem;
}

.nft-card {
    width: 100%;
    max-width: 420px;
    background-color: var(--card-bg);
    padding: 1rem;
    margin: 5rem auto;
    border-radius: 5px;
    transition: all 0.15s;
}

.nft-card:hover {
    box-shadow: 0px 0px 15px 5px rgb(0 0 0 / 46%);
}

.nft-card__header {
    position: relative;
    border-radius: 5px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.15s;
}

.nft-card__header .main-image {
    width: 100%;
    height: 100%;
}

.nft-card__header .view-image {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--cyan-light);
    display: none;
    align-items: center;
    justify-content: center;

    transition: all 0.15s;

}

.nft-card__header:hover .view-image {
    animation: slideUp 0.5s ease-in-out;
    display: flex;
}

@keyframes slideUp {
    0% {
        height: 0;
    }

    100% {
        height: 100%;
    }
}

.nft-card__title {
    color: var(--White);
    margin: 15px 0;
    cursor: pointer;

    transition: all 0.15s;
}

.nft-card__title:hover {
    color: var(--cyan);
}

.nft-card__text {
    color: var(--soft-blue);
    margin-bottom: 15px;
}

.nft-card__info {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nft-card__info__price,
.nft-card__info__time {
    display: flex;
    align-items: center;
    gap: 5px;
}

.nft-card__info__price {
    color: var(--cyan);
}

.nft-card__info__time {
    color: var(--soft-blue);
}

.nft-card__footer {
    border-top: 2px solid var(--line-color);
    margin: 15px 0;
    padding: 15px 0;
    display: flex;
    align-items: center;
    color: var(--soft-blue);
}

.nft-card__footer img {
    border-radius: 100%;
    width: 65px;
    border: 2px solid #fff;
    margin-right: 15px;
}

.nft-card__footer .creator span {
    color: var(--White);
    cursor: pointer;

    transition: all 0.15s;
}

.nft-card__footer .creator span:hover {
    color: var(--cyan);
}