/* Variables */
:root {
    --cyan: #00FFF8;
    --transparent-cyan: #00fff880;
    --soft-blue: #8BACD9;
    --very-dark-blue-card: #15263f;
    --very-dark-blue-line: #2E405A;
    --very-dark-blue-main: #0D192C;
    --white: #FFFFFF;
}

/* Fonts */
@font-face {
    font-family: "Outfit";
    src: url("../fonts/Outfit/Outfit.ttf");
}

/* General */
html, body {
    margin: 0;
    padding: 0;
}

body {
    align-items: center;
    background-color: var(--very-dark-blue-main);
    display: flex;
    flex-direction: column;
    height: 100vh;
    justify-content: center;
}

/* Content */
* {
    font-family: "Outfit";
}

/* Card */
.card {
    background-color: var(--very-dark-blue-card);
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    padding: 24px;
    width: 350px;
}

/* Image */
.card-img {
    position: relative;
}
.card-img:hover .card-img-hover {
    cursor: pointer;
    opacity: 1;
}

.card-img-nft {
    border-radius: 8px;
    display: block;
    height: 350px;
    margin: auto;
    width: 350px;
}

.card-img-hover {
    align-items: center;
    background-color: var(--transparent-cyan);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: center;
    opacity: 0;
    position: absolute;
    text-align: center;
    top: 0;
    transition: 0.5s;
    width: 100%;
}

.card-img-hover-eye {
    width: fit-content;
}

/* Title */
.card-title {
    color: var(--white);
    font-size: 22px;
    margin-top: 20px;
    transition: 0.5s;
}
.card-title:hover {
    color: var(--cyan);
    cursor: pointer;
}

/* Description */
.card-description {
    color: var(--soft-blue);
    font-size: 18px;
    line-height: 26px;
    margin: 5px 0 20px 0;
}

/* Price / Expire */
.price-expire {
    border-bottom: 1px solid var(--very-dark-blue-line);
    display: flex;
    justify-content: space-between;
    margin-bottom: 18.5px;
    padding-bottom: 18.5px;
}

.card-price-eth {
    display: block;
    margin-right: 8px;
}

.card-price {
    align-items: center;
    color: var(--cyan);
    display: flex;
    font-size: 16px;
    font-weight: bold;
}

.card-expire-clock {
    display: block;
    margin-right: 8px;
}
.card-expire {
    align-items: center;
    color: var(--soft-blue);
    display: flex;
    font-size: 16px;
}

/* Author */
.card-author {
    align-items: center;
    display: flex;
}

.card-author-img {
    border: 1px solid var(--white);
    border-radius: 50%;
    height: 33px;
    margin-right: 10px;
    width: 33px;
}

.card-author-name {
    color: var(--soft-blue);
    font-size: 16px;
}

.card-author-link {
    color: var(--white);
    text-decoration: none;
    transition: 0.5s;
}
.card-author-link:hover {
    color: var(--cyan);
}

/* Attribution */
.attribution {
    color: var(--white);
    margin: 25px auto;
    text-align: center;
}

.attribution > a {
    color: var(--cyan);
    display: block;
    margin-bottom: 10px;
}
.attribution > a:last-of-type {
    margin-bottom: 0;
}

/** Responsive **/
@media screen and (max-width: 425px) {
    /* Card */
    .card {
        width: 252px;
    }

    /* Image */
    .card-img-nft {
        height: 252px;
        width: 252px;
    }
}