@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

* {
  padding: 0;
  margin: 0;
}

:root {
  --primary-color: #fcfdff;
  --secondary-color: #333343;
  --accent-2-color: #f47a6e;
  --accent-1-color: #47b5a0;

  font-family: 'Inter', sans-serif;
  font-size: 1.2em;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--primary-color);
  color: var(--secondary-color);
}

a {
  color: var(--accent-1-color);
  text-decoration: none;
}

a:visited {
  color: var(--accent-1-color);
}

.ui-button {
  background-color: var(--accent-1-color);
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  border-radius: 50%;
  padding: 0.5rem;
  cursor: pointer;
  max-height: 2.5rem;
  max-width: 2.5rem;
  transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 2.275);
}

.ui-button:hover {
  transform: scale(1.3) rotate(16deg);
}

.ui-button:active {
  transform: scale(1.1) rotate(8deg);
}

.ui-button svg {
  width: 1.5rem;
  height: 1.5rem;
}

button {
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1rem;
}

.like {
  background-color: var(--accent-1-color);
  color: white;
}

.liked {
  background-color: var(--accent-2-color);
  color: white;
}

.follow {
  background-color: var(--accent-1-color) !important;
  color: white;
}

.unfollow {
  background-color: var(--accent-2-color) !important;
  color: white;
}

/* =============== ANIMATIONS =============== */

.slide-in-bottom {
  animation: slideInBottom 0.5s ease-in-out;
}

.slide-in-top {
  animation: slideInTop 0.5s ease-in-out;
}

.slide-out-bottom {
  animation: slideOutBottom 0.5s ease-in-out;
}

.slide-out-top {
  animation: slideOutTop 0.5s ease-in-out;
}

@keyframes slideInBottom {
  from {
    transform: translateY(20px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes slideInTop {
  from {
    transform: translateY(-20px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes slideOutBottom {
  from {
    transform: translateY(0);
    opacity: 1;
  }

  to {
    transform: translateY(20px);
    opacity: 0;
  }
}

@keyframes slideOutTop {
  from {
    transform: translateY(0);
    opacity: 1;
  }

  to {
    transform: translateY(-20px);
    opacity: 0;
  }
}
