@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@500;800&display=swap');
/*- Red: hsl(1, 90%, 64%)
- Blue: hsl(219, 85%, 26%)

### Neutral

- White: hsl(0, 0%, 100%)
- Very light grayish blue: hsl(210, 60%, 98%)
- Light grayish blue 1: hsl(211, 68%, 94%)
- Light grayish blue 2: hsl(205, 33%, 90%)
- Grayish blue: hsl(219, 14%, 63%)
- Dark grayish blue: hsl(219, 12%, 42%)
- Very dark blue: hsl(224, 21%, 14%)*/
* {
    font-family:  'Plus Jakarta Sans', sans-serif;
    --red: hsl(1, 90%, 64%);
    --blue: hsl(219, 85%, 26%);
    --white: hsl(0, 0%, 100%);
    --very-light-gray: hsl(210, 60%, 98%);
    --light-gray-1: hsl(211, 68%, 94%);
    --light-gray-2: hsl(205, 33%, 90%);
    --grayish-blue: hsl(219, 14%, 63%);
    --dark-grayish-blue: hsl(219, 12%, 42%);
    --very-dark-blue: hsl(224, 21%, 14%);
    transition: all 0.3s ease-in-out;
}

body {
    min-height: 100vh;
    padding: 0;
    margin: 0;
}

main  {
    padding: 1em;
    width: 100;
    background-color: var(--white);
    margin: auto;
}

main > header h1 {
    font-size: 1.3em;
}

main > header h1 span {
    font-size: 0.8em;
    position: relative;
    margin-left: 0.1em;
    top: -0.1em;
    background-color: var(--blue);
    color: var(--white);
    padding: 0.2em 0.6em;
    border-radius: 0.2em;
}

header {
    display: flex;
    justify-content: space-between;
}

button {
    background-color: transparent;
    border: none;
    cursor: pointer;
    font-size: 1.05em;
    color: var(--grayish-blue);
}

ul {
    list-style: none;   
    padding: 0;
}

li {
    display: flex;
    margin-bottom: 0.5em;
    padding: 1em;
    border-radius: 0.5em;
}

li.new  {
    background-color: var(--very-light-gray);

}

li.new header h2::after {
    content: '';
    width:  0.5em;
    border-radius: 50%;
    height: 0.5em;
    margin-top: 0.5em;
    margin-left: 5px;
    background: var(--red);
    position: absolute;

}

li div {
    width: 3em;
    height: 3em;
}

li div img {
    width: 3em;
    height: 3em;
}

section {
    padding-left: 1em;
}

section header h2 {
    font-size: 1em;
    margin-top: 0;
    font-weight: 500;
    color: var(--dark-grayish-blue)
}

section header h2 strong {
    color: var(--very-dark-blue);
}

.title {
    font-weight: 800;
}

.group {
    color: var(--blue);
    font-weight: 800;

}

section header {
    display: block; 
}

section h2 {
    margin-bottom: 0;
}

section p {
    color: var(--grayish-blue);
    margin-top: 0.2em;
    margin-bottom: 0;
}

button:hover, h2 strong:hover {
    color: var(--blue);
    cursor: pointer;
}

.group:hover {
    cursor: pointer;
    color: hwb(219 4% 60%);
}

.message {
    border: 1px solid var(--grayish-blue);
    color: var(--dark-grayish-blue);
    margin-top: 1em;
    padding: 1em;
    border-radius: 0.2em;
}

.image {
    display: flex;
    width: 100%;
    justify-content: space-between;
}

.image img {
    width: 3em;
    height: 3em;
    padding: 0.2em;
    margin-left: 1em;
}
.image img:hover {
    background-color: var(--light-gray-2);
    cursor: pointer;
    border-radius: 0.4em;
}
main {
    max-width: 42.5rem;
}

@media screen and (min-width: 45rem) {
    main {
        width: 95%;
        margin: auto;
        border-radius: 0.5em;
        overflow: hidden;
    }
    body {
        display: flex;
        background-color: var(--light-gray-1) !important;
        flex-direction: column;
    }
}

body {
    background-color: var(--white);
}

.attribution {
    padding-bottom: 2em;
}