body {
  color: hsl(0, 0%, 32%);
  background-color: hsl(210, 100%, 95%);
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  font-size: 1rem;
}

h1 {
  color: hsl(216, 90%, 39%);
  font-size: 2rem;
  text-align: center;
}

h2 {
  color: hsl(216, 90%, 39%);
  font-size: 1.5rem;
  text-align: center;
}

.generic-button {
  border: hsl(216, 90%, 39%) 0.1rem solid;
  border-radius: 0.5rem;
  background: hsl(210, 100%, 90%);
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  padding-top: 0.2rem;
  padding-bottom: 0.2rem;
}

.generic-button:hover {
  background: hsl(210, 100%, 95%);
}

.validation-summary {
  color: hsl(216, 90%, 39%);
  font-weight: bold;
}

.form-group {
  margin-bottom: 0.5rem;
}

.delete-button-picture{
  width: 1rem;
  height: 1rem;
}

.delete-button{
  width: 1rem;
  height: 1rem;
  margin-bottom: auto;
  border: none;
  background-color: transparent;
}

.add-comment-button {
  background-color: hsl(193, 25%, 44%);
  border: none;
  color: white;
  padding: 0.5rem 0.5rem;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 0.95rem;
}

.add-comment-button:hover {
  background-color: hsl(193, 25%, 24%);
  font-size: 1rem;
}

.flex-display {
  display: flex;
}

.flex-display.gapped-flex-display {
  gap: 1rem;
}

/* Good name */
.good-name {
  font-size: 2rem;
}

/* Good description */
.good-description {
  font-size: 0.8rem;
}

.good {
  background-color: hsl(190, 88%, 57%);
  border: #0a58ca 0.1rem dashed;
  border-radius: 0.5rem;
  margin: 1rem;
  padding-left: 1rem;
  padding-right: 1rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.comment{
  background-color: hsl(176, 26%, 74%);
  border: #0a58ca 0.1rem dashed;
  border-radius: 0.5rem;
  margin: 1rem;
  padding-left: 1rem;
  padding-right: 1rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.flex-display{
  display: flex;
}

.last-comment{
  background-color: hsla(257, 14%, 64%, 0.25);
  width: auto;
  border: #0a58ca 0.1rem dashed;
  border-radius: 0.5rem;
  padding-left: 1rem;
  padding-right: 1rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.max-width{
  width: 100%;
}

.add-good-elements {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.2rem;
}

/* Centrally-aligned text */
.centrally-aligned {
  text-align: center;
}

.right-aligned {
  text-align: right;
}

.time-span-and-add-comment-link {
    margin-left: auto;
    margin-bottom: auto;
}

.margin-left-bottom-auto {
  margin-left: auto;
  margin-top: auto;
  text-align: right;
}

.add-comment-form {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.2rem;
}

.full-width {
  width: 100%;
}

.empty-div {
  height: 1rem;
  width: auto;
}

.star-used {
  cursor: default;
}

.star-not-used {
  opacity: 0.3;
  cursor: default;
}

.star-not-used:hover {
  opacity: 0.5;
  cursor: default;
}

.place-for-stars {
  padding-bottom: 0.5rem;
}

.signature {
  font-size: 0.8rem;
  color: hsl(216, 90%, 39%);
}

.good-image-small {
  width: 5rem;
  height: 5rem;
  border: 0.2rem solid hsl(240, 100%, 50%);
  border-radius: 0.5rem;
}

.good-image-big {
  width: 20rem;
  height: 20rem;
  border: 0.2rem solid hsl(240, 100%, 50%);
  border-radius: 1.0rem;
}

.margin-header {
  margin-right: 1rem;
}

.header {
  overflow: hidden;
  background-color: hsla(240, 89%, 45%, 0.51);
}

/* Style the header links */
.header a {
  float: left;
  color: black;
  text-align: center;
  padding: 12px;
  text-decoration: none;
  font-size: 18px;
  line-height: 25px;
  border-radius: 4px;
}

.header a.logo {
  font-size: 25px;
  font-weight: bold;
}

.header a:hover {
  background-color: #ddd;
  color: black;
}

.header a.active {
  background-color: dodgerblue;
  color: white;
}

.header-right {
  float: right;
}

@media screen and (max-width: 45rem) {
  .header a {
    float: none;
    display: block;
    text-align: left;
  }
  .header-right {
    float: none;
  }
}

.text-flex{
  overflow-wrap: break-word;
}