#list {
  margin-top: 3rem;
  justify-content: space-around;
  width: 100%;
  height: auto;
  border-top: 3px solid black;
  cursor: pointer;
}

.itemhead {
  display: flex;
  justify-content: space-around;
  text-align: center;
  font-size: 1.5rem;
  border-bottom: 3px solid black;

}

.item {
  padding-top: 1rem;
  display: flex;
  text-align: center;
  justify-content: space-around;
  align-items: center;
  font-size: 1.2rem;
  cursor: pointer;
  border-bottom: .5px solid #E2E2E2;
}

.item .checkbox {
  width: 20%;
}

.defaultcheckbox {
  cursor: pointer;
}

.che {
  cursor: pointer;
}

.item .noncheckbox {
  width: 20%;
}

.item .image {
  width: 20%
}

img {
  width: 150px;
  height: 150px;
}

.item .name,
.item .group {
  width: 20%;
}

.item:hover img{
  transform: scale(1.3);
}

@media ( max-width: 1023px ) {
  #list {
    margin-top: 3rem;
    justify-content: space-around;
    width: 100%;
    height: auto;
    border-top: 3px solid black;
    cursor: pointer;
  }
  
  .itemhead {
    display: flex;
    justify-content: space-around;
    text-align: center;
    font-size: 1.5rem;
    border-bottom: 3px solid black;
  
  }
  
  .item {
    padding-top: 1rem;
    display: flex;
    text-align: center;
    justify-content: space-around;
    align-items: center;
    font-size: 1.2rem;
    cursor: pointer;
    border-bottom: .5px solid #E2E2E2;
  }
  
  .item .checkbox {
    width: 20%;
  }
  
  .defaultcheckbox {
    cursor: pointer;
  }
  
  .che {
    cursor: pointer;
  }
  
  .item .noncheckbox {
    width: 20%;
  }
  
  .item .image {
    width: 20%
  }
  
  img {
    width: 150px;
    height: 150px;
  }
  
  .item .name,
  .item .group {
    width: 20%;
  }

  .item:hover img{
    transform: scale(1.3);
  }
  
}

@media ( max-width: 767px ) {
  #list {
    margin-top: 2rem;
    justify-content: space-around;
    width: 100%;
    height: auto;
    border-top: 3px solid black;
    cursor: pointer;
  }
  
  .itemhead {
    display: flex;
    justify-content: space-around;
    text-align: center;
    font-size: .7rem;
    border-bottom: 3px solid black;
  
  }
  
  .item {
    padding-top: 1rem;
    display: flex;
    text-align: center;
    justify-content: space-around;
    align-items: center;
    font-size: .5rem;
    cursor: pointer;
    border-bottom: .5px solid #E2E2E2;
  }
  
  .item .checkbox {
    width: 20%;
  }
  
  .defaultcheckbox {
    cursor: pointer;
  }
  
  .che {
    cursor: pointer;
  }
  
  .item .noncheckbox {
    width: 20%;
  }
  
  .item .image {
    width: 20%
  }
  
  img {
    width: 5rem;
    height: 5rem;
  }
  
  .item .name,
  .item .group {
    width: 20%;
  }
  .item:hover img{
    transform: scale(1.3);
  }
  
}