.hahmot-img {
  width: 190px;
  height: 260px;
  user-select: none;
  -moz-user-select: none;
  -webkit-user-drag: none;
  -webkit-user-select: none;
  -ms-user-select: none;

  border: 5px solid #ffee51;
  outline: 2px solid rgb(82, 82, 82);
  border-radius: 6px;
}


.group-1 .hahmot-img {
  border-color: #ffee51;
}

.group-2 .hahmot-img {
  border-color: purple;
}




@media (max-width: 500px) {
  .hahmot-img {
    height: 190px;
  }
}

@media (max-width: 400px) {
  .hahmot-img {
    height: 180px;
  }
}

.hahmo-card {
  text-align: start;


  margin-left: 10px;
  margin-right: 10px;
  margin-bottom: 20px;


  user-select: none;
  font-family: "Poppins", sans-serif !important;
  color: black;
}

.hahmot-img:hover {
  box-shadow: 0 4px 8px 0 #111111;
}

@media (max-width: 500px) {
  .hahmo-card {
    width: 150px;
  }

  .hahmot-img {
    height: 200px;
    width: 150px;
  }

  .card-text {
    font-size: 12px !important;
  }
}

@media (max-width: 400px) {
  .hahmo-card {
    width: 120px;
  }

  .hahmot-img {
    height: 160px;
    width: 120px;
  }

  .hahmo-card p {
    font-size: 13px !important;
  }

  .hahmo-tulostus {
    justify-content: center;
    align-items: center;
  }
}

.hahmo-otsikko {
  padding: 5px;
  border-bottom: 2px solid grey;

  margin: 0 auto;
  margin-bottom: 10px;
}

.characters-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.group-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-bottom: 0px;
}

.group-title {
  font-family: "Poppins", sans-serif;
  font-size: 26px;
  font-weight: 600;
  text-align: center;
  margin: 20px 0 30px 0;
}

a {
  text-decoration: none;
  color: inherit;
  display: inline-block;
}

hr {
  border: none;
  border-top: 2px solid #ccc;
  margin: 20px auto;
  width: 80%;
}