* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    font-family: var(--font-family);
    font-size: var(--font-size);
    font-weight: 300;
    color: var(--color-primary);
}

body {
    background-color: var(--bg-main);
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: default
}

a {
    text-decoration: none;
}

.container {
    background-color: var(--bg-card);
    display: flex;
    flex-direction: column;
    max-width: 400px;
    width: 90%;
    padding: 20px;
    border-radius: 20px;
    box-shadow: rgba(0, 0, 0, 0.525) 0px 2px 4px 0px, rgba(0, 0, 0, 0.204) 0px 2px 16px 0px;
}

header {
    position: relative;
}

header img {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    transition: 0.25s;
}

header .view__hover {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -60%);
    width: 15%;
    height: 15%;
    opacity: 0;
    transition: 0.25s;
}

main h1 {
    color: var(--color-white);
    font-size: 20px;
    font-weight: 600;
    margin: 20px 0;
}

main p{
    margin-bottom: 20px;
}

main section {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

main section .value__eth {
    display: flex;
    align-items: center;
}

main section .value__eth img {
    vertical-align: middle;
    margin-right: 5px;
}

main section .value__eth .eth {
    color: var(--color-secondary); 
    font-size: 16px;
    font-weight: 600;
}

main section .days__left {
    display: flex;
    align-items: center;
}

main section .days__left img{
    vertical-align: center;
    margin-right: 5px;
}

main section .days__left .date {
    font-size: 16px;
    font-weight: 400;
}

.horizontal__line {
    width: 100%;
    height: 1px;
    background-color: var(--color-primary);
    margin: 20px 0;
}

footer {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
}

footer img {
    width: 15%;
    border: 2px solid var(--color-white);
    border-radius: 100%;
    vertical-align: center;
    margin-right: 15px;
}

footer p, p .author__nft {
    font-size: 16px;
}

footer p {
    margin: auto 0;
}

footer p .author__nft {
    color: var(--color-white);
}

.attribution { 
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    font-size: 11px;
    text-align: center;
    color: var(--color-primary);
}
.attribution a { 
    color: hsl(228, 45%, 44%); 
    font-size: 12px;
}

.attribution a:hover {
    color: var(--color-secondary);
    text-decoration: underline;
}

@media (min-width: 1024px) {
    header img {
        transition: 0.25s;
        cursor: pointer;
    }

    
    header::after {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: var(--bg-view-hover);
        border-radius: 10px;
        opacity: 0;
        transition: opacity 0.25s ease-in-out;
    }
    
    header:hover::after {
        opacity: 1;
    }

    header:hover .view__hover {
        opacity: 1;
        z-index: 2;
    }

    main h1 {
        transition: 0.25s;
        cursor: pointer;
    }

    
    footer p .author__nft {
        transition: 0.25s;
        cursor: pointer;
    }
    
    main h1:hover,
    footer p .author__nft:hover {
        color: var(--color-secondary);
    }
}
