body {
  background-color: white;
}

.result, .message_box {
  color: green;
  font-size: 1.2rem;
  font-weight: 500;
  position: absolute;
  animation: slideDown 0.6s ease forwards;
  top: 20px;
  right: 50%;
  transform: translateX(50%);
  transition: all 0.3s ease;
  display: none;
  background-color: rgba(137, 241, 192, 0.4);
  padding: 15px 10px;
  border-radius: 8px;
}

.result.show, .message_box {
  display: block;
}

@keyframes slideDown {
  from {
    transform: translate(50%, -200px);
  }
}

.main_card {
  background-color: white;
  max-width: 600px;
  width: 100%;
  margin: 10vh auto;
}
.profile_card {
  display: flex;
  flex-direction: column;
  margin: 10px;
  padding: 10px;
  border: 1px solid rgba(0,0,0,.1);
  border-radius: 20px;
  align-items: center;
  justify-content: center;
}

.profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px;
}

.image {
  font-size: 2.4rem;
  font-weight: 600;
  padding: 15px;
  width: fit-content;
  background-color: hsla(120, 94%, 36%, 0.5);
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(0,0,0,.4);
}

.image_card p {
  font-weight: 600;
  font-size: 1.0rem;
  margin-top: 15px;
  margin-bottom: 15px;
}

.actions {
  display: flex;
  position: relative;
  padding: 10px;
  align-items: center;
  justify-content: center;
  width: fit-content;
  gap: 15px;
  margin: 0 auto 10px auto;
  border-radius: 10px;
  border:  1px solid rgba(0,0,0,.1);
}

.remove_link, .cancel_request {
  position: absolute;
  top: 100%;
  background-color: #030202;
  z-index: 100;
  display: none;
  transition: all 0.3s ease;
  color: white;
}

.remove_link.show, .cancel_request.show {
  display: block;
}

.actions a {
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 1.1rem;
  padding: 8px 10px;
  color: blue;
  border-radius: 5px;
}

.actions button {
  border: none;
  font-size: 1.1rem;
  padding: 8px 10px;
  background-color: transparent;
  cursor: pointer;
  color: white;
  background-color: rgb(3, 3, 46);
  border-radius: 5px;
}

.actions button:hover {
  background-color: rgb(31, 31, 84);
}

.actions a:hover {
  background-color: rgba(0,0,0,.06);
}
.actions #friends_btn, .actions #request_sent_btn {
  background-color: rgba(0,0,0,.2);
  color: black;
  transition: all 0.3s ease;
}

.actions #friends_btn:hover, .actions #request_sent_btn:hover {
  background-color: rgba(0,0,0,.14);
}

.close {
  font-size: 1.0rem;
  padding: 8px 10px;
  border-radius: 8px;
  background-color: rgba(0,0,0,.06);
  border: none;
  cursor: pointer;
  margin: 20px 10px 0 10px;
  transition: all 0.3s ease;
}

.close:hover {
  background-color: rgba(0,0,0,.15);
}