:root {
  --main-color: #49a6e9;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: sans-serif;
}
h1,
h2,
h3,
h4,
h5,
h6,
p,
body,
div {
  padding: 0;
  margin: 0;
}
*,
::after,
::before {
  box-sizing: border-box;
}
img {
  width: 100%;
}
button,
input,
textarea {
  border: none;
  background-color: transparent;
  outline: none;
}
a {
  text-decoration: none;
  color: inherit;
}
ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

/* -- Project Five -- */
.pro-5 {
  min-height: 100vh;
  background-color: #ecf5fc;
  padding: 100px 0;
}
.pro-5 .p5-con {
  width: calc(100% - 30px);
  max-width: 500px;
  background-color: #fff;
  margin: 80px auto;
  padding: 40px 10px 20px;
  box-shadow: 1px 1px 2px 2px rgba(0, 0, 0, 0.1),
    -1px -1px 1px 1px rgba(0, 0, 0, 0.1);
  border-radius: 5px;
}
.pro-5 .alert-box {
  font-size: 13px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  font-weight: 300;
  letter-spacing: 2px;
}
.pro-5 .p5-head {
  text-align: center;
  color: #103956;
  font-size: 28px;
  letter-spacing: 1px;
  margin: 20px 0 15px;
}
.pro-5 .form-5 .input-con {
  display: flex;
  margin: 30px 0;
}
.pro-5 .form-5 [type="text"] {
  background-color: #eaf5fd;
  padding: 4px 4px 4px 8px;
  font-size: 15px;
  border-bottom-left-radius: 5px;
  border-top-left-radius: 5px;
  flex-grow: 1;
  border: 2px solid transparent;
}
.pro-5 .form-5 [type="text"]:focus {
  border: 2px solid;
}
.pro-5 .form-5 [type="submit"] {
  background-color: #7abded;
  padding: 7px 12px;
  font-size: 14px;
  border-bottom-right-radius: 5px;
  border-top-right-radius: 5px;
  cursor: pointer;
  font-weight: 300;
  transition: 0.3s;
  width: 68px;
}
.pro-5 .form-5 [type="submit"]:hover {
  background-color: #1e80c7;
  color: white;
}
.pro-5 .task-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 8px;
  margin: 15px 0;
  border-radius: 5px;
  transition: 0.2s;
}
.pro-5 .task-item:hover {
  background-color: #ecf5fc;
}
.pro-5 .task-item .task-value {
  font-size: 15px;
  color: rgb(62, 62, 62);
}
.pro-5 .task-item button {
  font-size: 15px;
  padding: 4px;
  margin-left: 4px;
  cursor: pointer;
}
.pro-5 .task-item .task-control button {
  transition: 0.2s;
}
.pro-5 .task-item .edit-task {
  color: rgb(130, 222, 130);
}
.pro-5 .task-item .edit-task:hover {
  color: rgb(16, 161, 16);
}
.pro-5 .task-item .delete-task {
  color: rgb(253, 90, 90);
}
.pro-5 .task-item .delete-task:hover {
  color: rgb(241, 7, 7);
}
.pro-5 .clear-items {
  cursor: pointer;
  letter-spacing: 3px;
  font-size: 14px;
  color: rgb(253, 90, 90);
  transition: color 0.2s;
  font-weight: 200;
  text-align: center;
  margin: 15px 0;
  display: none;
}
.pro-5 .clear-items:hover {
  /* color: rgb(255, 192, 192); */
  color: rgb(241, 7, 7);
}
@media (min-width: 768px) {
  .pro-5 .p5-con {
    width: 500px;
    padding: 40px 30px 20px;
  }
}
