body {
    background-color: hsl(217, 54%, 11%);
    font-family: 'outfit';
    

}

.tocenter {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 10%;
}

.textbox {
    margin-left: 20px;
}
.card {
    border-radius: 25px;
    padding: 0;
    align-content: center;
    background-color: hsl(216, 50%, 16%);
}

.main-img{
    display: block;
    border-radius: 25px;
    width: 300px;
    height: 300px;
    position: relative;
    padding: 15px;
}


.container-img {
    position: relative;
}

.hover-img {
    display: flex;
    position: absolute;
    border-radius: 5%;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: hsl(178, 100%, 50%);
    background-image: url("images/icon-view.svg");
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease;
}

.container-img:hover .hover-img {
    opacity: .5;
}


h1 {
    margin-top: 0px;
}
h1 a {
    color: white;
    font-size: 18px;
    font-weight: 400;
    text-decoration: none;
}

.description p {
    font-size: .9em;
    color: hsl(215, 51%, 70%);
    font-weight: 100;
}

/* Mobile-first design for smaller screens */
.eth { 
    display: flex;
    margin-right: 20px;
    }
.eth-value {
    position: relative;
    color: hsl(178, 100%, 50%);
    font-size: .8em;
    font-weight: 100;
    margin-left: 20px;
}

.eth-img {
    margin-right: 5px;
    position: absolute;
}

.clock {
    position: absolute;
    margin-left: 80px;
    margin-right: 5px;
}
.clocktxt {
    position: absolute;
    color: hsl(215, 51%, 70%);
    font-size: .8em;
    font-weight: 100;
    margin-left: 100px;
}

.breakline {
    border-top: 0.3px solid hsl(215, 32%, 27%);
    margin-right: 20px;
}

.credit img {
    display: flex;
    object-fit: cover;
    border: 1px solid white;
    border-radius: 50%;
    margin-right: 10px;
    width: 25px;
    height: 25px;
}
.credit p {
    display: flex;
    position: left;
	padding: 0px;
    color: hsl(215, 51%, 70%);
    font-size: .8em;
    font-weight: 100;
    align-items: center;
    padding-bottom: 10px;
}
.JW a {
    color: white;
    margin-left: 2px;
    text-decoration: none;
}

a:hover {
    color: hsl(178, 100%, 50%);
    cursor: pointer;
}

.attribution {
    margin-top: 20px;
    margin-bottom: 10%;
    color: white;
    font-size: 11px; 
    text-align: center; 
}

.attribution a {
    color: hsl(228, 45%, 44%);
}
