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

:root {
    --soft-blue: hsl(215, 51%, 70%);
    --cyan: hsl(178, 100%, 50%);
    --cyan-hover: hsla(178, 100%, 50%, 0.4);
    --main-blue: hsl(217, 54%, 11%);
    --card-blue: hsl(216, 50%, 16%);
    --line-blue: hsl(215, 32%, 27%);
    --white: hsl(0, 0%, 100%);
    --transparent: hsla(0, 0%, 100%, 0);
}

* {
    margin: 0;
    padding: 0;
}

body {
    height: 100vh;
    background-color: var(--main-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: var(--soft-blue);
    font-family: 'Outfit', sans-serif;
    font-size: 18px;
    font-weight: 300;
}

a, h1 {
    text-decoration: none;
    color: var(--white);
}

h1 {
    font-size: 1.4rem;
    font-weight: 600;
}

a:hover , h1:hover , a:active, h1:active{
    color: var(--cyan);
}

.card {
    background-color: var(--card-blue);
    max-width: 300px;
    display: flex;
    flex-direction: column;
    padding: 20px;
    border-radius: 20px;
}

.thumbnail-container {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
}

.thumbnail-container img {
    display: block;
    width: 100%;
    height: auto;
}

.thumbnail-hover{
    position: absolute;
    width: 100%;
    height: 100%;
    
    top: 0;
    left: 0;

    background-color: none;
    
    display: flex;
    align-items: center;
    justify-content: center;
    
    transition: all 0.5s;
}

.thumbnail-hover path {
    fill: var(--transparent);
    transition: fill 0.5s ease;
}

.thumbnail-container:hover .thumbnail-hover, .thumbnail-container:active .thumbnail-hover{
    background-color: var(--cyan-hover);
}

.thumbnail-container:hover path:last-child, .thumbnail-container:active path:last-child {
    fill: var(--white);
    transition: fill 0.5s ease;
}

.data-container {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.icon-text {
    font-weight: 400;
    display: flex;
    align-items: center;
}

.icon-text > svg {
    margin-right: 5px;
}

.data-container .icon-text:first-of-type {
    font-weight: 600;
    color: var(--cyan);
}

.creator-container {
    display: flex;
    align-items: center;
    font-weight: 400;
    position: relative;
    border-top: solid 0.11em var(--line-blue);
    padding-top: 10px;
}

.creator-container img {
    margin-right: 10px;
    height: 20px;
    width: auto;
    border: solid 1.5px var(--white);
    border-radius: 100%;
}

[class $= "container"]:not(.thumbnail-container) {
    margin-top: 20px;
}