/* # Front-end Style Guide

## Layout

The designs were created to the following widths:

- Mobile: 375px
- Desktop: 1440px

## Colors

### Primary

- Soft blue: hsl(215, 51%, 70%)
- Cyan: hsl(178, 100%, 50%)

### Neutral

- Very dark blue (main BG): hsl(217, 54%, 11%)
- Very dark blue (card BG): hsl(216, 50%, 16%)
- Very dark blue (line): hsl(215, 32%, 27%)
- White: hsl(0, 0%, 100%)

## Typography

### Body Copy

- Font size (paragraph): 18px

### Font

- Family: [Outfit](https://fonts.google.com/specimen/Outfit)
- Weights: 300, 400, 600 */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600&display=swap');

:root {
    --softblue: hsl(215, 51%, 70%);
    --cyan: hsl(178, 100%, 50%);
    --verydarkblue: hsl(217, 54%, 11%);
    --kindadarkblue: hsl(216, 50%, 16%);
    --darkblue: hsl(215, 32%, 27%);
    --white: hsl(0, 0%, 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    font-size: 18px;
    background-color: var(--verydarkblue);
    color: var(--white);
}

h1, h2 {
    font-size: 19px;
}

.container {
    width: 350px;
    height: 600px;
    background-color: var(--kindadarkblue);
    border-radius: 10px;
    margin: 150px auto;
    position: relative;
    box-shadow: 0px 30px 0 50px rgba(0, 0, 0, .07), 0px 20px 0 20px rgba(0, 0, 0, .15);
}

.img-container {
    background-image: url(images/image-equilibrium.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    height: 310px;
    width: 310px;
    margin: 0 auto;
    border-radius: 5px;
    position: relative;
    top: 20px;
}

.text-container {
    height: 50%;
    width: 90%;
    margin: 2em 1em;
    border-radius: 10px;
}

.text-container p{
    font-weight: 300;
    margin: 1em 0;
    color: var(--softblue);
}

.atrib-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    border-bottom: 1px solid var(--darkblue);
    padding-bottom: 1em;
    
}

.eth-text {
    color: cyan;
    font-weight: 600;
}

.eth-text::before {
    content: url(images/icon-ethereum.svg);
    margin-right: .3em;
    vertical-align: middle;
    zoom: 1.3;
}

.time-text {
    color: var(--softblue);
    font-weight: 400;
}

.time-text::before {
    content: url(images/icon-clock.svg);
    margin-right: .3em;
    vertical-align: middle;
    zoom: 1.3;
}

.creator-text {
    color: var(--softblue);
    margin: 2em 0em;
    font-weight: 300;
    font-size: 18px;
    text-align: left;
}

.creator-text strong {
    color: var(--white);
    font-weight: 300;
}

.creator-text::before {
    content: '';
    background-image: url(images/image-avatar.png);
    height: 30px;
    width: 30px;
    display: inline-block;
    background-size: contain;
    border: 1px solid var(--white);
    border-radius: 50%;
    margin-right: 1em;
    vertical-align: middle;
}

.attribution {
    font-size: 11px;
    text-align: center;
}

.attribution a {
    text-decoration: none;
    color: var(--darkblue)
}

.title:hover, .attribution a:hover, .creator-text strong:hover {
    color: var(--cyan);
    cursor: pointer;
    transition: .3s ease-in-out;
}

.img-overlay {
    background-image: url(images/icon-view.svg);
    background-repeat: no-repeat;
    background-position: center;
    height: 310px;
    width: 310px;
    border-radius: 5px;
    position: absolute;
    right: 20px;
    top: 20px;
    background-color: rgba(0, 255, 247, .5);
    opacity: 0;
    transition: .3s ease-in;
}

.img-overlay:hover{
    opacity: 100%;
    cursor: pointer;
}