@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@100..900&display=swap');

:root {
    --soft-blue: hsl(215, 51%, 70%);
    --cyan: hsl(178, 100%, 50%);
    --cyan-background: hsl(178, 100%, 50%, 50%);

    --main-bg-color: hsl(217, 54%, 11%);
    --card-bg-color: hsl(216, 50%, 16%);
    --line-color: hsl(215, 32%, 27%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', serif;
    color: white;
    transition: .4s ease;
}
body {
    background-color: hsl(217, 54%, 11%);
    height: 100vh;
    place-content: center;
}
p {
    font-size: 18px;
}
.transparency {
    color: var(--soft-blue);
}
hr {
    height: 1px;
    background-color: var(--line-color);
    border: none;
}
main {
    display: flex;
    flex-direction: column;
    width: 360px;
    margin: 0 auto;
    padding: 25px;
    border-radius: 15px;
    background-color: var(--card-bg-color);
}
main .images {
    position: relative;
}
main .images .equilibrium {
    width: 100%;
    border-radius: 10px;
}
main .images .view-image {
    position: absolute;
    background-color: var(--cyan-background);
    top: 0;
    width: 100%;
    height: 99%;
    border-radius: 10px;
    opacity: 0;
}
main .images .view-image:hover {
    opacity: 1;
    cursor: pointer;
}
main .images .view {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
}
main h1 {
    margin: 20px 0;
    font-size: 1.4em;
    font-weight: 500;
    cursor: pointer;
}
main h1:hover {
    color: var(--cyan);
}
main .description {
    line-height: 1.5;
    font-weight: 300;
    margin-bottom: 20px;
}
main .texts {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}
main .ethereum {
    color: var(--cyan);
    font-weight: 500;
    position: relative;
    margin-left: 20px;
}
main .ethereum::before {
    content: url('images/icon-ethereum.svg');
    position: absolute;
    right: 91px;
    top: 2px;
}
main .clock {
    font-weight: 500;
    position: relative;
}
main .clock::before {
    content: url('images/icon-clock.svg');
    position: absolute;
    top: 2px;
    left: -23px;
}
main .creation {
    display: flex;
    align-items: center;
    margin: 20px 0 10px;
}
main .creation .avatar {
    width: 30px;
    border: 1px solid white;
    border-radius: 50%;
}
main .creation .name {
    margin-left: 10px;
    cursor: pointer;
}
main .creation .name span:hover {
    color: var(--cyan);
}