* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

body {
    font-size: 16px;
    background-color: hsl(210, 60%, 98%);
}

.container {
    max-width: 1000px;
    margin: 3rem auto;
    padding: 3rem 2.5rem;
    border: none;
    background-color: hsl(0, 0%, 100%);
}

header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2.4rem;
}

header h1 {
    font-size: 1.6rem;
    color: hsl(224, 21%, 14%);
}

.notification {
    padding: 0.001rem .6rem;
    margin-left: 0.4rem;
    border-radius: 0.3rem;
    background-color: hsl(219, 85%, 26%);
    color: hsl(0, 0%, 100%);
}

header h2 {
    font-weight: 500;
    font-size: 1.4rem;
    color: hsl(219, 12%, 42%);
}

.msg-box {
    display: flex;
    padding: 1rem 1.5rem;
    background-color: hsl(210, 60%, 98%);
    margin-bottom: 0.6rem;
    position: relative;
}

.msg-box>div + div {
    margin-left: 1.2rem;
}

.msg-box img {
    height: 3rem;
}

.chess-img {
    position: absolute;
    right: 2rem;
    align-items: center;
}

.msg-box div h3 {
    font-size: 1rem;
    font-weight: 500;
    color: hsl(219, 12%, 42%);
    margin-bottom: 0.2rem;
    display: flex;
    align-items: center;
}

.msg-box div h3 span {
    font-weight: 800;
}

.msg-box>div>h3>span + span {
    margin-left: 0.6rem;
}

.msg-box span {
    color: hsl(219, 12%, 42%);
}

.msg-box div h3 span:nth-child(1) {
    color: hsl(224, 21%, 14%);
}

p {
    font-size: 1.05rem;
    color: hsl(219, 12%, 42%);
    margin: 0.8rem 1.5rem 2rem 6rem;
    padding: 1.2rem;
    border: 1px solid hsl(205, 33%, 90%);
}

span.club {
    color: hsl(219, 85%, 26%);
}

.hiden {
    display: none;
    transtion: display 250ms ease-in-out;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 8px;
    background-color: hsl(1, 90%, 64%);
    margin-left: 0.7rem;
}

.name {
    margin-right: 0.6rem;
}

.name:hover,
h3>span:hover,
header>h2:hover,
p:hover {
    cursor: pointer;
    color: hsl(219, 85%, 26%) !important;
    transition: color ease-in;
    transition-duration: 100ms;
}

p:hover {
    background-color: hsl(205, 33%, 90%);
    transition: background-color ease-in;
    transition-duration: 200ms;
}

.msg-box>div+div>span {
    display: block !important;
}

@media screen and (max-width: 928px) {
    .msg-box>div+div>* , .dot{
        display: inline-block;
    }
}

@media screen and (max-width: 450px) {
    .container {
        padding: 1.8rem 1.3rem;
    }

    p {
        margin-left: 2rem;
        margin-right: 1rem;
    }

}

@media screen and (max-width: 500px) {
    header>h1 {
        font-size: 1.2rem;
    }

    header>h2 {
        font-size: 1rem;
    }
}

@media screen and (max-width: 600px) {
    .chess-img {
        display: none !important;
    }
}
