*{
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  transition: all 0.3s ease-in-out;
}

body {
  background-image: linear-gradient(315deg, #537895 0%, #09203f 74%);
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  height: 100vh;
}

header {
  background-image: linear-gradient(315deg, #29539b 0%, #1e3b70 74%);
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 1.5rem;
  text-transform: uppercase;
  box-shadow: 0px 0px 20px 3px #313131;
}

header h1 {
  text-shadow: 0 0 6px black;
}

main {
  width: 100%;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
}

form {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 15px;
  margin: 1.5rem 0;
}

@media (min-width: 1200px) {
  form {
    width: 60%;
  }
}

@media (min-width: 992px) and (max-width: 1200px) {
  form {
    width: 75%;
  }
}

@media (min-width: 720px) and (max-width: 991px) {
  form {
    width: 85%;
  }
}

form button {
  padding: 8px 15px;
  display: none;
  background-image: linear-gradient(315deg, #537895 0%, #09203f 74%);
  color: white;
  font-weight: bold;
  cursor: pointer;
  width: 20%;
  border-radius: 5px;
  color: white;
}

form button:hover {
  opacity: 0.8;
  border: 2px solid white;
}

form button i {
  font-size: 1rem;
}

#main-input {
  padding: 10px;
  width: 80%;
  font-size: 1rem;
  font-weight: 400;
  outline: 0;
  border: 0;
  border-radius: 5px;
}

#edit-input {
  padding: 10px;
  width: 80%;
  background-color: white;
  font-size: 1rem;
  font-weight: 400;
  outline: 0;
  border: 0;
  border-radius: 5px;
  display: none;
}

#btn {
  padding: 10px;
  font-weight: bold;
  cursor: pointer;
  width: 20%;
  border-radius: 5px;
  background-image: linear-gradient(315deg, #29539b 0%, #1e3b70 74%);
  color: white;
  transition: all 0.3s ease-in-out;
}

#btn:hover {
  opacity: 0.8;
  border: 2px solid white;
}

section {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

ul {
  width: 100%;
  list-style: none;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  flex-wrap: wrap;
}

@media (min-width: 1200px) {
  ul .box {
    width: calc(97% / 4);
  }
}

@media (min-width: 992px) and (max-width: 1200px) {
  ul .box {
    width: calc(97% / 3);
  }
}

@media (min-width: 720px) and (max-width: 991px) {
  ul .box {
    width: calc(97% / 2);
  }
}

.box {
  width: 90%;
  padding: 20px;  
  border-radius: 5px;
  margin: 5px 0;
  background-color: #6daddb;
  background-image: linear-gradient(315deg, #6daddb 0%, #313131 74%);
  color: #e9faff;
  text-transform: capitalize;
  font-weight: bold;
  font-size: 1.2rem;
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.box li {
  width: 80%;
}

.box i {
  padding: 10px;
  cursor: pointer;
}

.edit:hover {
  border-radius: 50%;
  background-color: #313131;
}

.delete:hover {
  border-radius: 50%;
  background-color: #313131;
}