@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap');
* {
  margin: 0;
  padding: 0;
  font-family: "DM Sans", "PingFang SC";
  box-sizing: border-box;
}

body {
  background-color: #def0ff;
  height: 100vh;
  display: flex;

  align-items: center;
  flex-direction: column;

  /* Dotted Background */
  background-image: radial-gradient(
    rgba(66, 66, 66, 0.306) 2px,
    transparent 0%
  );
  background-size: 25px 25px;
}

.navigation {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100vw;
  margin-top: 30px;
  font-size: larger;
  padding: 5px;
}
img {
  transform: rotateZ(-15deg);
}

.navigation h2 {
  margin-right: 20px;
}

.input-box {
  border: 2px solid black;
  width: 45vw;
  height: 60px;
  margin-top: 30px;
  border-radius: 12px;
  overflow: hidden;
  background-color: white;
  box-shadow: 2px 4px 0 #333;
  transition: box-shadow 0.4s ease;
}

.input-box:hover {
  box-shadow: none;
}

.input-box input {
  width: 85%;
  height: 100%;
  border: 2px solid black;
  padding: 12px 16px;
  border: none;
  outline: none;
  background: white;
  font-size: large;
}

.input-box button {
  height: 100%;
  width: 14%;
  border: none;
  background-color: #ffe5ec;
  font-size: large;
  cursor: pointer;
  border-left: 2px solid #333;
}

.list-box {
  margin-top: 50px;
  width: 45vw;
  height: 500px;
  border: 2px solid black;
  border-radius: 12px;
  background-color: white;
  overflow: hidden;
  flex-direction: column;

  position: relative;
  
}

.upper {
  display: flex;
  height: 40px;
  border-bottom: 2px solid black;
  align-items: center;
  cursor: pointer;
  transition: background-color 0.4s ease;
}

.upper:hover{
  background-color: #f9f3e5;
}

.done {
  width: 28%;
  font-size: medium;
  border-right: 2px solid black;
  outline: none;
  border: none;
  background-color: aquamarine;
  height: 100%;
  border-right: 2px solid black;
  cursor: pointer;
}

.upper div {
  padding-left: 12px;
  font-weight: 500;
}

.middle {
  display: flex;
  align-items: center;
  padding: 35px 10px;
  flex-direction: column;
  overflow-y: auto;
  height: 450px;


}
.card {
  border: 2px solid black;
  display: flex;
  /* justify-content: center; */
  box-shadow: 2px 4px 0 #333;
  transition: box-shadow 0.4s ease;

  border-radius: 12px;
  height: 65px;
  width: 90%;
  align-items: center;
  background-color: #f9f3e5;
  gap: 10px;
  padding-left: 24px;
  margin-top: 12px;
  position: relative;
  justify-content: space-between;
  flex-shrink: 0;
}

.card:hover {
  box-shadow: none;
}

.bottom {
  position: absolute;
  border-top: 2px solid black;
  bottom: 0;
  left: 0;
  z-index: 1;
  width: 100%;
  background-color: white;
}
.bottom p {
  margin-left: 24px;
}

.card div{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

/* -------- */
.button {
  --main-focus: #f02d2d;
  --font-color: #323232;
  --bg-color-sub: #ff8484;
  --bg-color: #ff8484;
  --main-color: #323232;
  position: relative;
  width: 150px;
  height: 40px;
  cursor: pointer;
  display: flex;
  align-items: center;
  border: 2px solid var(--main-color);
  box-shadow: 2px 4px var(--main-color);
  transition: box-shadow 0.4s ease;
  background-color: var(--bg-color);
  border-radius: 10px;
  overflow: hidden;
  margin-right: 16px;
}

.button,
.button__icon,
.button__text {
  transition: all 0.3s;
}

.button .button__text {
  transform: translateX(33px);
  color: var(--font-color);
  font-weight: 600;
}

.button .button__icon {
  position: absolute;
  transform: translateX(109px);
  height: 100%;
  width: 39px;
  background-color: var(--bg-color-sub);
  display: flex;
  align-items: center;
  justify-content: center;
}

.button .svg {
  width: 20px;
  fill: var(--main-color);
}

.button:hover {
  background: var(--bg-color);
  box-shadow: none;
}

.button:hover .button__text {
  color: transparent;
}

.button:hover .button__icon {
  width: 148px;
  transform: translateX(0);
}

.button:active {
  transform: translate(3px, 3px);
  box-shadow: 0px 0px var(--main-color);
}
/* ---------- */

.animations {
  animation: slidedown 0.5s ease;
}

@keyframes slidedown {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.downanimation{
  animation: slideup 0.5s ease;
}

@keyframes slideup {
  from{
    transform: translateY(0px);
    opacity: 1;
  }
  to{
    transform: translateY(-50px);
    opacity: 0;
  }
}

