@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@500;800&display=swap');@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@500;800&display=swap');
:root{
    --red:hsl(1, 90%, 64%);
    --blue:hsl(219, 85%, 26%);
    
    --white:hsl(0, 0%, 100%);
    --light-grayish-blue:hsl(210, 60%, 98%);
    --grayish-blue1:hsl(211, 68%, 94%);
    --grayish-blue2:hsl(205, 33%, 90%);
    --grayish-blue:hsl(219, 14%, 63%);
    --dark-blue:hsl(219, 12%, 42%);
    --very-dark-blue:hsl(224, 21%, 14%);
}

*{
    font-size: 1rem;
    margin: 0;
    padding: 0;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

body{
    background-color: var(--light-grayish-blue);
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}


.attribution{
    display: none;
}

.notification-container{
    background-color: var(--white);
    width: 650px;
    padding:0 40px;
    border-radius: 1rem;
}


.notification-container>header{
    display: flex;
    flex-direction: row;
    height: 40px;
    align-items: center;
    margin: 20px 0;
}

.notification-container>header>div{
    width: 100%;
    
}
.notification-container>header>div>h2{
    font-size: 1.5rem;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

.notification-container>header>div>h2>span{
    color: var(--white);
    background-color: var(--blue);
    padding: 2.5px 12px;
    border-radius: .3rem;
}

.notification-container>header>p{
    white-space: nowrap;
    width: fit-content;
    color: var(--dark-blue);
}

.notification-container>header>p:hover{
    cursor: pointer;
    color: var(--blue);
}


.notification-list{
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.notification{
    display: flex;
    flex-direction: row;
    border-radius: .5rem;
    gap: 15px;
    padding: 10px;
    transition: background .8s;
}

.notification.unseen{
    background-color: var(--light-grayish-blue);
}

.notification.unseen>.notification-content>p::after{
    content: " ";
    height: 10px;
    width: 10px;
    background-color: var(--red);
    border-radius: 50%;
    display: inline-block;
    margin-left: 5px;
}


.notification>.notification-content{
    width: 100%;
    display: flex;
    flex-direction: column;
}

.notification>.notification-content>p{
    color: var(--dark-blue);
}

.notification>.notification-content>p>span.username{
    margin-right: 5px;
}
.notification>.notification-content>p>span.activity{
    margin-left: 5px;
    margin-right: 0px;
}

.notification>.notification-content>p>span.activity.title{
    color: var(--blue);
}


.notification-content>.notification-message{
    border: 1px solid var(--grayish-blue1);
    padding: 15px;
    margin: 10px 0;
    color: var(--dark-blue);
    border-radius: .3rem;
}

.notification-content>.notification-message:hover{
    background-color: var(--grayish-blue1);
    cursor: pointer;
}


.notification>.notification-content>small{
    color: var(--grayish-blue);
}
.notification>.notification-content>p>.username{
    font-weight: bold;
    color: var(--very-dark-blue);
}

.notification>.notification-content>p>.activity{
    font-weight: bold;
}

.notification>.notification-content>p>.activity:hover{
    color: var(--blue);
    cursor: pointer;
}

.notification>.notification-content>p>.username:hover{
    color: var(--blue);
    cursor: pointer;
}

.notification img{
    width: 50px;
    height: 50px;
    object-position: center;
}

.notification img:hover{
    cursor: pointer;
}


@media screen and (max-width:800px) {
    .notification-container{
        width: 100%;
        height: 100%;
        padding: 0 10px;
        box-sizing: border-box;
    }
    *{
        font-size: .961rem;
    }
    .notification img{
        width: 40px;
        height: 40px;
        object-position: center;
    }
    .notification{
        padding: 15px 10px
    }
}