/* Reset */
*, *::after, *::before {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

html, body {
    line-height: 1.5;
    scroll-behavior: smooth;
}

body {
    -webkit-font-smoothing: antialiased;
}

img, video, picture, canvas, svg {
    display: block;
    max-width: 100%;
}

input, button, textarea, select {
    font: inherit;
}

p, h1, h2, h3, h4, h5 {
    overflow-wrap: break-word;
}

p {
    text-overflow: pretty;
}

h1, h2, h3, h4, h5 {
    text-overflow: balance;
}

/* Default */

body {
    font-family: "Outfit", sans-serif;
    line-height: 1.5;
    background-color: hsl(217, 54%, 11%);
    color: hsl(0, 0%, 100%);
}

/* Styles - Utilities */
.section {
    display: grid;
    place-content: center;
    height: 100vh;
}

.container {
    max-width: 1440px;
    margin: 0 auto;
}

.section__container {
    padding: 0 16px;
}

.section__card {
    display: flex;
    flex-direction: column;
    gap: 24px;
    background-color: hsl(216, 50%, 16%);
    padding: 24px;
    border-radius: 16px;
    max-width: 350px;
    cursor: pointer;
}

.section__card-img {
    isolation: isolate;
    position: relative;
}

.section__card-icon {
    display: none;
}

.section__card-image {
    border-radius: 16px;
}

.section__details-title {
    font-weight: 600x;
    font-size: 1.375rem;
    line-height: 1.25;
    margin-bottom: 16px;
}

.section__details-text {
    font-weight: 300;
    font-size: 1rem;
    line-height: 1.45;
    color: hsl(215, 51%, 70%);
    margin-bottom: 24px;
}

.section__content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 24px;
    border-bottom: 1px solid hsl(215, 51%, 70%);
}

.section__group {
    display: flex;
}

.section__group-svg {
    flex-shrink: 0px;
    margin-right: 8px;
}

.section__group-title {
    font-weight: 600;
    font-size: 1rem;
    color: hsl(178, 100%, 50%);
}

.section__group-text {
    font-weight: 300;
    font-size: 1rem;
    color: hsl(215, 51%, 70%);
}

.section__creation {
    display: flex;
    align-items: center;
    margin-top: 24px;
}

.section__avatar-icon {
    margin-right: 16px;
    border: 1px solid white;
    border-radius: 50%;
}

.section__avatar-name {
    font-size: 1rem;
    font-weight: 400;
}

.section__avatar-name--style {
    font-size: 1rem;
    font-weight: 400;
    color: hsl(215, 51%, 70%);  
}

.section__card:hover {
    border: 1px solid hsl(178, 100%, 50%);

    .section__avatar-name {
        color: hsl(178, 100%, 50%);
    }
    .section__details-title {
        color: hsl(178, 100%, 50%);
    }
    .section__overlay {
        position: absolute;
        inset: 0;
        background-color: hsla(178, 100%, 50%, 0.489);
    }
    .section__card-icon {
        display: revert;
        position: absolute;
        top: 43%;
        left: 43%;
    }
}




