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

html{
    height: 100%;
}

body{
    min-height: 100vh;
    background-color: hsl(217, 54%, 11%);
    font-size: 18px;
    font-family: 'Outfit', sans-serif;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.container{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    height: 100vh;
}

.card{
    max-width: 20.5rem;
    background-color: hsl(216, 50%, 16%);
    position: relative;
    border-radius: 3%;
    padding: 1.5rem 1.3rem 2.5rem 1.3rem;
    margin: auto;
    align-self: center;
    place-self: center;
}

.img{
    width: 100%;
    border-radius: 8px;
    position: relative;
    display: block;
    overflow: hidden;
}

.img:hover.img::after{
    opacity: 1;
}

.img::before{
    content: '';
    display: block;
    padding-top: 100%;
}

.img::after{
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 100%;
    z-index: 100;
    background-color: rgba(0, 255, 248, 0.5);
    background-image: url("/images/icon-view.svg");
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: all 0.3s ease-in-out;
    cursor: pointer;
}

.img-div:hover{
    cursor: pointer;
    background-color: rgba(0, 255, 255, 0.531);
    background-image: url(images/icon-view.svg);
    background-repeat: no-repeat;
    background-position: center;
}

.img img{
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    object-fit: cover;
}

.title{
    color: hsl(0, 0%, 100%);
    font-weight: 600;
    font-size: 1.3rem;
    margin-top: 1.5rem;
}

.title:hover{
    cursor: pointer;
    color: cyan;
    transition: all 0.3s ease-in-out;
}               

.paragraph{
    color: hsl(215, 51%, 70%);
    padding: 1rem 0;
    line-height: 1.6rem;
    opacity: 0.7;
    font-size: 1rem;
}

.price-time{
    display: flex;
    justify-content: space-between;
    padding: 0px 0.1rem 0rem 0;
}

.price{
    display: flex;
}

.icon-ethereum{
    height: 95%;
    width: auto;
}

.value{
    color: hsl(178, 100%, 50%);
    font-size: 15px;
    white-space: nowrap;
    padding: 0 6px;
}

.time{
    display: flex;
}

.icon-clock{
    width: 100%;
    height: 85%;
    width: auto;
}

.time-text{
    color: hsl(215, 51%, 70%);
    white-space: nowrap;
    padding-left: 5px;
    font-size: 15px;
}

.line{
    color: hsl(215, 51%, 70%);
    margin: 1.1rem 0.5rem 8px 0.3rem;
    opacity: 0.15;
}

.creation{
    color: hsl(215, 51%, 70%);
    display: inline;
    font-size: 16px;
}

.avatar{
    height: 33px;
    width: auto;
    margin-right: 15px;
    border-radius: 50%;
    border: 1px white solid;
    position: relative;
    top: 10px;
}

.name{
    color: white;
    display: inline;
    font-size: 16px;
}

.name:hover{
    cursor: pointer;
    color: cyan;
    transition: all 0.3s ease-in-out;
}

.attribution{
    font-size: 11px;
    text-align: center;
    color: hsl(215, 51%, 70%);
    margin-top: auto;
}

.attribution a{
    color: cyan;
}

@media (min-width: 1025px) {

    .card{
        max-width: 24vw;
    }

    .img{
        margin-bottom: 1rem;
    };

    .title{
        margin-bottom: 1rem;
    }

    .paragraph{
        font-size: 1.13rem;
        padding-top: 0rem;
        margin-top: 0rem;
        margin-bottom: 0.5rem;
    }

    .price-time{
        padding-top: 0rem;
        padding-bottom: 0rem;
    }
    
}

@media (min-width: 1900px){

    .img{
        height: 25rem;
    }

    .img-div{
        height: 25rem;
    }
}

@media (min-width: 2500px){

    .img{
        height: 35rem;
    }

    .img-div{
        height: 35rem;
    }
}