body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
}
#pin-card {
  width: 300px;
  height: 360px;
  margin-left: auto;
  margin-right: auto;
  margin-top: auto;
  margin-bottom: auto;
  position: relative;
  top: 20vh;
  overflow: hidden;
  border-radius: 5%;
}
#pin-card img {
  width: 100%;
  height: 100%;
  cursor: pointer;
}
#save {
  background-color: #e60022;
  color: white;
  position: absolute;
  top: 0;
  right: 0;
  border-radius: 30px;
  margin-top: 1em;
  margin-right: 1em;
  padding: 1em;
  transform: translateY(-100px);
  transition: transform 0.5s ease-in;
  user-select: none;
  cursor: pointer;
}
#pin-card:hover #save {
  transform: translateY(5%);
}
#bottom-control {
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  position: absolute;
  bottom: 0;
  width: 100%;
  transform: translateY(100px);
  margin-bottom: 15px;
  transition: transform 0.5s ease-in;
}
#pin-card:hover #bottom-control {
  transform: translateY(-5%);
}
#text i {
  margin-right: 0.3em;
}
#text {
  width: 50%;
  border-radius: 30px;
  font-weight: bold;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding-top: 15px;
  padding-bottom: 10px;
  padding-left: 1em;
  user-select: none;
  cursor: pointer;
}
#upload {
  height: 28.4px;
  width: 28.4px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  padding: 10px;
}
#ellipsis {
  height: 28.4px;
  width: 28.4px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  padding: 10px;
}
.white {
  background-color: rgba(255, 255, 255, 0.852);
}
#overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  opacity: 0;
  transition: opacity 0.5s ease-in;
  cursor: pointer;
}
#overlay:hover {
  background-color: rgba(0, 0, 0, 0.4);
  opacity: 100%;
}
