@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600&display=swap');

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

:root {
    /**PRIMARY COLORS**/
    --soft-blue: hsl(215, 51%, 70%);
    --cyan: hsl(178, 100%, 50%);
    /**MAIN BACKGROUND**/
    --very-dark-blue-main: hsl(217, 54%, 11%);
    /**CARD BACKGROUND**/
    --very-dark-blue-card: hsl(216, 50%, 16%);
    /**LINE**/
    --very-dark-blue-ln: hsl(215, 32%, 27%);
    --white: hsl(0,0%,100%); 
}

body {
    background-color: var(--very-dark-blue-main);
    max-width: 100%;
    align-items: center;
    justify-content: center;
}

body main {
    background-color: var(--very-dark-blue-main);
    font-family: "Outfit", sans-serif;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    position: absolute;
    left: 30%;
    top: 15%;
}

#card{
    background-color: var(--very-dark-blue-card);
    padding: 1.25rem;
    border-radius: 0.625rem;
    margin-bottom: 2rem;
    display: flexbox;
    justify-content: center;
    max-width: 300px;
    margin: 1rem;
    margin-left: 34%;
}

#name {
    color: white;
    font-size: 110%;
    margin-top: 1rem;
    font-weight: normal;
}

#description {
    color: var(--soft-blue);
    font-size: 85%;
    margin-top: 1rem;
}

#details {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-top: 1rem;
}

#cripto {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding-right: 3.5rem;
    width: 250px;
}

#etherium {
    color: var(--cyan);
    font-size: 75%;
    padding-left: 0.5rem;
}

#time {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 250px;
}

#date {
    color: var(--soft-blue);
    font-size: 75%;
    padding-left: 0.5rem;
}

body #card .img img {
    max-width: 100%;
    border-radius: 0.625rem;
}


.obj {
  position: absolute;
  bottom: 47.5%;
  height: 236px;
  width: 235px;
  background-color: var(--cyan);
  opacity: 0;
  cursor: pointer;
  overflow: hidden;
}

.view {
    position: absolute;
    top: 38%;
    bottom: 0;
    left: 40%;
    right: 0;
    color: white;
}

.img:hover .obj {
    opacity: 0.5;
    border-radius: 00.625rem;
}

.NFTname {
    text-decoration: none;
}

.NFTname:hover #name {
    color: var(--cyan);
}

#card .line {
    border-top: 1px solid var(--soft-blue);
    height: 2px;
    max-width: 325px;
    padding: 0px;
    margin: 20px auto 0 auto;
}

#card #credits {
    font-size: 15px;
    display: flex;
    flex-direction:row;
    align-items: center;
    margin-top: 1.25rem;
    margin-bottom: 1.25rem;
    color: white;
}

#credits #creator {
    color: var(--soft-blue);
    margin-right: 0.3rem;
    margin-left: 0.5rem;
    font-family: "Outfit", sans-serif;
    font-size: 90%;
    font-weight: lighter;
}

#credits #author a {
    color: white;
    text-decoration: none;
}

#credits #author:hover a {
    color: var(--cyan);
}

#credits #author {
    font-family: "Outfit", sans-serif;
    font-size: 90%;
    font-weight: lighter;
}

#credits #picture {
    max-width: 10%;
    border:0.05rem solid white;
    border-radius: 100%;
    padding: 0%;
}

@media (max-width: 1440px) {
 body main {
    max-width: 375px;
    margin-right: 375px;
    padding: 0;
    margin: 0;
    align-items: center;
    justify-content: center;
 }

 #card {
    width: 275px;
    position: relative;
    right: 15%;
    bottom: 10px;
 }


 .attribution {
    justify-content: center;
    position: relative;
    right: 15%;
    text-align: center;
    color: white;
    font-size: small;
    font-weight: lighter;
    right: -5%;
    bottom: 15px;
 }

 .attribution a {
    color: white;
    text-decoration: none;
    font-weight: bold;
 }
}


@media (max-width:375px) {
    #card {
        position: relative;
        right: 135px;
    }

    .attribution {
        position: relative;
        right: 45px;
    }
}

