* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
.nav {
  background-color: rgb(235, 235, 235);
  padding: 20px 20px;
}
.main {
  height: 100%;
  flex-grow: 1;
  padding: 20px 30px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
#input-form {
  width: fit-content;
  margin: 0 auto;
  display: flex;
  align-items: center;
}
.input-div {
  display: flex;
  width: 300px;
  align-items: center;
  gap: 5px;
  background: white;
  outline: none;
  box-shadow: 0px 1px 1px rgb(222, 222, 222);
  border: 2px solid rgb(222, 222, 222);
  border-radius: 8px;
  border-right: 0px;
  border-top-right-radius: 0px;
  border-bottom-right-radius: 0px;
}

input {
  background: none;
  padding: 13px 10px;
  flex-grow: 1;
  outline: none;
  color: rgb(127, 127, 127);
  font-size: 15px;
  border-radius: 8px;
  border: none;
}

input::placeholder {
  color: rgb(127, 127, 127);
  font-size: 15px;
}

button {
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  background-color: #1abc52;
  padding: 15px 20px;
  border-top-right-radius: 8px;
  border-bottom-right-radius: 8px;
  color: whitesmoke;
  border: none;
}
button:active {
  scale: 0.95;
}
ul {
  margin: 0 auto;
  min-height: 40px;
  width: 1300px;
  list-style: none;
  border: 1px solid rgb(203, 203, 203);
  border-radius: 8px;
  margin-top: 10px;
}
.spfs {
  width: 100%;
  padding: 15px;
  border-bottom: 1px solid rgb(203, 203, 203);
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 15px;
  color: rgb(80, 80, 80);
  font-weight: 600;
}

.spfs:last-child {
  border-bottom: none;
  border-radius: 8px;
}

.dot {
  display: inline-block;
  animation: wave 1.2s infinite;
}

.dot:nth-child(1) {
  animation-delay: 0s;
}
.dot:nth-child(2) {
  animation-delay: 0.2s;
}
.dot:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes wave {
  0%,
  60%,
  100% {
    transform: translateY(0);
  }
  30% {
    transform: translateY(-6px);
  }
}

@media screen and (max-width: 1400px) {
  ul {
    width: auto;
  }
}

@media screen and (max-width: 640px) {
  #input-form {
    flex-direction: column;
    gap: 10px;
  }
  .input-div {
    width: auto;
    border: 2px solid rgb(222, 222, 222);
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
  }
  .main {
    padding: 20px 10px;
  }
  button {
    border-radius: 8px;
  }
}
