html {
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  background-color: #fefefe;
}

#teals {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
  margin: 1rem;
}

@media (max-width: 600px) {
  #teals {
    grid-template-columns: 1fr;
  }
}

.teal {
  border-radius: 30px;
  border: 5px solid #63e6b3;
  display: flex;
  flex-direction: column;
  height: 35vh;
  padding: 1rem;
}

.teal:hover {
  background-color: #f4f4f4;
}

.teal__header {
  min-height: 1.5em;
  overflow: hidden;
  padding-bottom: 0.3rem;
  text-overflow: ellipsis;
  text-wrap: nowrap;
}

.teal__content {
  border-bottom: 1px solid #212427;
  flex-grow: 1;
  margin-bottom: 10px;
  overflow-y: auto;
  padding-bottom: 10px;
  padding-right: 10px;
  text-align: justify;
}

.teal__content a {
  border-bottom: 1px solid #63e6b3;
  color: #63e6b3;
  text-decoration: none;
}

.teal__content a:hover {
  border-bottom: 0;
}

.teal__footer {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.capsule {
  border-radius: 10px;
  border: 1px solid #212427;
  cursor: text;
  min-width: 80px;
  padding: 0.25em 0.75em;
  user-select: text;
}

.capsule--css {
  background-color: #66309a;
  color: #fefefe;
}

.capsule--game-dev {
  background-color: #016ecb;
  color: #fefefe;
}

.capsule--git {
  background-color: #413000;
  color: #fefefe;
}

.capsule--java {
  background-color: #5283a2;
  color: #fefefe;
}

.capsule--physics {
  background-color: silver;
}

.capsule--selenium {
  background-color: #00b400;
  color: #fefefe;
}

.capsule--spring {
  background-color: #6db33f;
  color: #fefefe;
}
