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


body{
    background-color: hsl(0, 0%, 100%);
    font-size: 16px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    display: grid;
    place-items: center;
    min-height: 100vh;
}

.container-nav{
    width: 100%;
    margin-bottom: 3rem;
  
}

nav{
   display: flex;
   flex-flow: row nowrap;
   justify-content: space-between;
   align-items: flex-end;
}

nav > h2{
    font-size: 1.3rem;
    font-weight: 800;
    line-height: 1.5rem;
    color: hsl(224, 21%, 14%);
    position: relative;
}

.counter{
    background-color: hsl(219, 85%, 26%);
    position: absolute;
    display: inline-block;
    margin-left: 0.5rem;
    font-size: 0.9rem;
    border: none;
    border-radius: 5px;
    width: 1.8rem;
    line-height: 1.5rem;
    text-align: center;
    color: hsl(0, 0%, 100%);
}


.readBtn{
    border: none;
    background-color: transparent;
    font-size: 1rem;
    cursor: pointer;
    color:  hsl(219, 12%, 42%);
}




.container{
    background-color: hsl(0, 0%, 100%);
    width: 100%;
    padding: 2rem 0.5rem;
    
}

.row{
    --bs-gutter-x: 1rem;
    --bs-gutter-y: 0;
    display: flex;
    flex-wrap: wrap;
    margin-top: calc(var(--bs-gutter-y) * -1);
    margin-right: calc(var(--bs-gutter-x) * -.5);
    margin-left: calc(var(--bs-gutter-x) * -.5);
    margin-bottom: 1rem;
    background-color:  hsl(210, 60%, 98%);
}

.row > *{
    flex-shrink: 0;
    width: 100%;
    max-width: 100%;
    padding-right: calc(var(--bs-gutter-x) * .5);
    padding-left: calc(var(--bs-gutter-x) * .5);
    margin-top: var(--bs-gutter-y);
    
}

.col-2{
    width: 20%;
    flex: 0 0 auto;
   
}
.col-10{
    width: 80%;
    flex: 0 0 auto;
}

.col-9{
    width: 63.33%;
    flex: 0 0 auto;
}
.col-1{
    width: 16.67%;
    flex: 0 0 auto;
}
.avatar-icon{
    max-width: 50px;
    margin: 0 auto;
    cursor: pointer;

 
}

.avatar-icon img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 100%;
}


.text p{
    font-size: 0.85rem;
    color: hsl(219, 12%, 42%);
    text-wrap: wrap;

}


.name{
    display: inline-block;
    color: hsl(224, 21%, 14%);
    font-weight: 800;
    line-height: 1.3rem;
    font-size: 0.95rem;
    margin-right: 0.2rem;
    cursor: pointer;
    transition: all 0.15s;
}

strong{
    margin-left: 0.2rem;
    cursor: pointer;
    transition: all 0.15s;
}
small{
    font-size: 0.75rem;
    color: hsl(219, 14%, 63%);
}

.read-icon{
    display: inline-block;
    background-color: hsl(1, 90%, 64%);
    border: none;
    margin-left: 0.3rem;
    width: 0.5rem;
    border-radius: 50%;
    height: 0.5rem;
    transition: all 0.15s;
}
.chess-blue{
    font-weight: 800;
    margin-left: 0.2rem;
    cursor: pointer;
    color:  hsl(219, 85%, 26%);
    transition: all 0.15s;
}

.message{
    text-overflow: ellipsis;
    display: none;
    margin-top: 0.5rem;
    border-radius: 6px;
    border: 1.3px solid hsl(205, 33%, 90%);
    padding: 1rem 1rem;
    font-size: 0.85rem;
    color: hsl(219, 12%, 42%);
    cursor: pointer;
    transition: all 0.15s;
}

.chess-img{
    max-width: 50px;
    cursor: pointer;
    margin-left: auto;
  
}
   
.chess-img > img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 100%;
}



.name:hover, .name:active, strong:hover, strong:active{
    color:  hsl(219, 85%, 26%);

}

.readBtn:hover, .readBtn:active{
    color:  hsl(219, 85%, 26%);
    border: none;
    outline: 0;
    background-image: linear-gradient(to right,
    hsl(211, 68%, 94%) 0%,
    hsl(211, 68%, 94%) 50%,
    hsl(205, 33%, 90%)
 )

}

.message:hover, .message:active{
    outline: 0;
    border: none;
    background-color:  hsl(211, 68%, 94%);
}


.chess-blue.read{
    color: hsl(219, 12%, 42%);
  
}
.chess-blue.read:hover, .chess-blue.read:active{
    color:  hsl(219, 85%, 26%);

}



.attribution{
    text-align: center;
    color:  hsl(219, 85%, 26%);
}
/* Desktop Design */
@media screen and (min-width:1400px) {
     .container{
        width: 605px;
        padding: 1rem 2rem;
    }

    .row{
        margin-bottom: 1.5rem;
    }
   .col-2{
      width: 10%;
   }

   .col-10{
     width: 90%;
   }

   .col-1{
     width: 8.335%;
   }

   .col-9{
    width: 81.665%;
   }

}