@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@500;700;800&display=swap');

*{
    box-sizing: border-box;
}

:root{
    --very-dark-gray:#1C202B;
    --blue:#0A327B;
    --red:#F65552;
    --dark-gray:#5E6778;
}

body{
    width: 100%;
    min-height: 100vh;
    font-family: 'Plus Jakarta Sans', sans-serif;
    display: flex;
    flex-direction: column;
    justify-content:center;
    align-items: center;
    padding: 0 16px;
    gap: 24px;
}

header{
    display: flex;
    width: 343px;
    justify-content: space-between;
    align-items: center;
    margin-top: 24px;
}

.header-container{
    display: flex;
    align-items: center;
    gap: 9px;
}

h1{
    color: var(--very-dark-gray);
    font-size: 20px;
    font-weight: 800;
    line-height: 25px;
}

.notification-quantity{
    background-color: var(--blue);
    width: 32px;
    height: 25px;
    border-radius: 6px;
    display: flex;
    justify-content:center;
    align-items: center;
    font-size: 16px;
    line-height: 20.1px;
    font-weight: 800;
    color: white;
}

button{
    border: none;
    background-color: white;
    font-size: 14px;
    line-height: 17.65px;
    font-weight: 500;
    color: var(--dark-gray);
    cursor: pointer;
}

button:hover{
    color: #0A327B;
}

main{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 343px;
    gap: 10px;
}

/* general styels  */

.notifications{
    display: flex;
    padding: 16px;
    width: 343px;
    gap: 13px;
    border-radius: 8px;
}

img{
    width: 39px;
    height: 39px;
}

.text-container{
    display: flex;
    flex-direction: column;
    width: 343px;
    gap: 3px;
}

h2{
    width: 248px;
    font-size: 14px;
    font-weight: 800;
    line-height: 18px;
    color: var(--very-dark-gray);
}

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

span{
    font-size: 14px;
    font-weight: 500;
    line-height: 18px;
    color: var(--dark-gray);
    margin-left: 6px;
}

a{
    text-decoration: none;
    color: var(--dark-gray);
    font-size: 14px;
    font-weight: 700;
    line-height: 18px;
    margin-left: 6px;
}

.text-content{
    display: flex;
    gap: 6px;
}

.unread .dot{
    background-color: var(--red);
    border-radius: 50%;
    width: 8px;
    height: 8px;
    margin-top: 6px;
}

.time{
    font-size: 14px;
    line-height: 17.65px;
    font-weight: 500;
    color: var(--dark-gray);
}

.unread{
    background-color: #F7FAFD;
    border-radius: 8px;
}

/*  */

.chess{
    text-decoration: none;
    color: var(--blue);
    font-size: 14px;
    font-weight: 700;
    line-height: 18px;
    margin-left: 6px;
    cursor: pointer;
}

.private-message{
    padding: 16px;
    width: 263px;
    border: 1px solid #DDE7EE;
    margin-top: 9px;
    border-radius: 5px;
}

.private-message:hover{
    cursor: pointer;
    background-color: #E5EFFA;
}

.private{
    font-size: 14px;
    line-height: 17.65px;
    font-weight: 500;
    color: var(--dark-gray);
}

.chess-h2{
    width: 195px;
}

.chess-girl{
    margin-top: 3px;
    margin-left: 29px;
}

@media screen and (min-width:1024px) {

    body{
        padding: 0 30px;
        gap: 31px;
    }

    header{
        width: 670px;
        margin-top: 33px;
    }

    h1{
        font-size: 24px;
        line-height: 30px;
    }

    .header-container{
        gap: 11px;
    }

    .notification-quantity{
        width: 35px;
    }

    button{
        font-size: 16px;
        line-height: 20px;
    }

    .notifications{
        width: 670px;
        padding: 19px;
        gap: 19px;
    }

    img{
        width: 45px;
        height: 45px;
    }

    .text-container{
        width: 520px;
    }

    h2{
        width: 500px;
    }
    
    .mark{
        min-width: 540px;
    }

    .marks{
        margin-left: -35px;
    }

    .angela{
        width: 205px;
    }

    .jacob{
        width: 390px;
    }

    .nathan{
        width: 100%;
    }

    h2, span{
        font-size: 16px;
        line-height: 20.16px;
    }

    .chess-h2{
        width: 340px;
    }

    .private-message{
        width: 566px;
    }

    .private{
        font-size: 16px;
        line-height: 20px;
    }

    .chess-girl{
        width: 45px;
        height: 45px;
        margin-right: -55px;
    }

    .Kimberly-content{
        justify-content: space-between;
    }
    
}