#section {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  justify-content: space-evenly;
  gap: 10px;
  width: 90%;
  margin: auto;
  margin-top: 50px;
}

.section-cards {
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
  border-radius: 20px;
  padding: 20px;
}

.section-cards > img {
  width: 100%;
}

/* #edit-form>form {
    display: flex;
    flex-direction: column;
    padding: 20px 25px 20px 20px;
}

#edit-form>form>input {
    width: 100%;
}

#edit-form {
    border: 2px solid black;
    width: 30%;
} */

#add-form, #edit-form {
  display: flex;
  flex-direction: column;
  width: 30%;
  margin: auto;
  box-shadow: 0px 8px 24px 0 rgb(29 140 242 / 16%);
  padding: 20px 30px;
  border: 0.5px solid black;
  border-radius: 20px;
  font-size: 20px;
  position: fixed;
  left: 0;
  right: 0;
  background-color: whitesmoke;
}

#add-form> #add-description, #edit-form > #description {
  height: 200px;
}

#add-form > label, #edit-form > label {
  margin-top: 10px;
  margin-bottom: 10px;
}

#search-div > input,
#search-div > select,
#description,
#edit-form > input,
#add-form > input,
#add-form > select {
  padding: 10px;
  font-size: 18px;
}

#search-div > select {
  margin-bottom: 20px;
}

button,
#edit-form > input[type="submit"],
#add-form > input[type="submit"] {
  margin-top: 20px;
  align-items: center;
  border: none;
  padding: 15px 25px;
  color: white;
  background-color: #359391;
  border: 2px solid white;
  cursor: pointer;
  border-radius: 20px;
}

button:hover,
#edit-form > input[type="submit"]:hover,
#add-form > input[type="submit"]:hover {
  color: #359391;
  background-color: white;
  border: 2px solid #359391;
}

#nav {
  display: flex;
  justify-content: space-evenly;
  padding: 0 30px;
  background-color: whitesmoke;
  position: fixed;
  top: 0;
  height: 70px;
  width: 100%;
}

#nav > button {
  margin-top: auto;
  margin-bottom: auto;
}

#main {
  margin-top: 100px;
}

#search-div {
  display: flex;
  flex-direction: column;
  width: 30%;
  margin: auto;
}

.div-for-btn {
  display: flex;
  justify-content: space-evenly;
}

a > button,
a {
  margin-top: auto;
  margin-bottom: auto;
}
/* medium-screen */
@media (max-width: 900px) {
  #section {
    grid-template-columns: repeat(3, 1fr);
  }
}
/* small-screen */
@media (max-width: 672px) {
  #section {
    grid-template-columns: repeat(2, 1fr);
  }
}
