* before,
* after,
* {
    margin: 0px;
    padding: 0px;
    border: 0;
    box-sizing: border-box;
}





html,
body {
    max-height: 100%;
}





body {
    font-family: 'Outfit', sans-serif;
    font-size: 18px;
    line-height: 1.5;
    color: hsl(0, 0%, 100%);
    background-color: hsl(217, 54%, 11%);
}





.wrapper {
    position: relative;
    display: flex;
    min-height: 100vh;
    overflow: hidden;
    flex-direction: column;
    justify-content: center;
}





main {
    position: relative;
}





.container {
    max-width: 325px;
    margin: 30px auto;
    padding: 20px;

    background-color: hsl(216, 50%, 16%);
    border-radius: 20px;
}


@media (max-width: 365px) {
    .container {
       margin: 30px 20px; 
    }
    span {
        display: block;
    }
}






/*---/ Image /---*/

.image {
    position: relative;
    max-height: 100%;
}





.card-image {
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}





.overlay {
    height: 100%;
    width: 100%;

    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;

    border-radius: 10px;
    background-color: hsl(178, 100%, 50%);
    transition: all 0.2s linear;
}





.image:hover .overlay {
    opacity: 0.4;
    cursor: pointer;
}





.view {
    font-size: 100px;
    margin-top: -24px;
    margin-left: -24px;

    position: absolute;
    top: 50%;
    left: 50%;
    opacity: 0;

    transition: all 0.2s linear;
}





.image:hover .view {
    opacity: 1;
    cursor: pointer;
}






/*---/ Info /---*/

.title {
    display: inline-block;
    margin: 15px 0px;
    font-weight: 600;
    transition: all 0.2s linear;
}





.title:hover {
    color: hsl(178, 100%, 50%);
    cursor: pointer;
}





.text {
    font-weight: 300;
    color: hsl(215, 51%, 70%);
}





.price-info {
    display: flex;
    justify-content: space-between;
    margin: 15px 0px;
    font-weight: 400;
}





.price {
    display: flex;
    font-weight: 600;
    font-size: 1rem;
    color: hsl(178, 100%, 50%);
}





.ethereum,
.clock {
    margin-top: 2.5px;
    margin-right: 7px;
}





.time {
    display: flex;
    font-weight: 300;
    color: hsl(215, 51%, 70%);
    font-size: 0.99rem;
}






/*---/ Creator /---*/

.creator {
    position: relative;
    display: flex;
    border-top: 2px solid hsl(215, 32%, 27%);
    padding: 20px 0px 15px;
}





.avatar {
    margin-right: 20px;
    max-height: 40px;
    max-width: 40px;
    border-radius: 50%;
    border: 1.6px solid hsl(0, 0%, 100%);
}





.creator p {
    font-size: 1.1rem;
    padding-top: 5px;
    transition: all 0.2s linear;
}





.creator p:hover {
    color: hsl(178, 100%, 50%);
    cursor: pointer;
}





span {
    color: hsl(215, 51%, 70%);
}






/*---/ Footer /---*/

.attribution {
    display: flex;
    position: absolute;
    bottom: 5px;
    left: 5px;

    color: #60a9a2;
}


@media (max-height: 700px) {
    .attribution {
        position: relative;
    }
}





a {
    text-decoration: none;
    color: hsl(178, 100%, 50%);
    transition: all 0.2s linear;
}





.link {
    margin-right: 20px;
}


@media (max-width: 432px) {
    .attribution {
       flex-direction: column;
    }
}





a:hover {
    text-decoration: underline;
    color: hsl(178, 79%, 42%);
}
















































