

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

html {
  font-family: system-ui;
}

body {
  padding: 0 16px;
  background: beige;
}

a {
  text-decoration: none;
  color: none;
}

/* for all */

.section-center {
  padding-top: 50px;
  width: 90vw;
  margin: 0 auto;
  max-width: 1170px;
  display: grid;
  gap: 3rem 2rem;
  justify-items: center;

}

.section-center2 {
  padding-top: 50px;
  width: 65vw;
  margin: 0 auto;
  max-width: 1170px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem 2rem;
  justify-items: center;

}

.grid1x2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  justify-content: center;
  align-items: center;
  height: 100%
}

.grid1x1 {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 10px;
  justify-content: center;
  align-items: center;
  height: 100%
}

.search {
  width: 70%;
  border: 2px solid tan;
  padding: 5px;
  height: 30px;
  border-radius: 5px;
  outline: none;
}

/* note and tools area */


.card {
  background: #fff;
  border-radius: 7px;
  box-shadow: 0 2px 5px #ccc;
  padding: 10px;
  width: 90%;
  margin: 16px;
  float: left;
}

.card h1 {
  font-size: 1.1em;
  margin-bottom: 6px;
}

.card p {
  font-size: 1.1em;
  margin-bottom: 10px;
  white-space: pre-wrap;
  word-wrap: break-word;
}

.card button {
  position: relative;
  float: right;
  margin-right: 10px;
  color: tan;
  border: none;
  width: 15%;
  height: 50px;
  cursor: pointer;
  outline: none;
}

/* create note area */

.form {
  position: relative;
  width: 60%;
  height: 280px;
  margin: 30px auto 20px auto;
  background: #fff;
  padding: 15px;
  border-radius: 12px;
  box-shadow: 0 1px 5px grey;
}

.form-input,
.form-textarea {
  width: 100%;
  border: none;
  padding: 4px;
  outline: none;
  resize: none;
}

.form-button {
  position: absolute;
  right: 18px;
  bottom: -18px;
  background: tan;
  color: white;
  border: none;
  border-radius: 5%;
  width: 20%;
  height: 50px;
  box-shadow: 0 1px 3px black;
  cursor: pointer;
  outline: none;
}



/* Nav bar header container and buttons */

.header {
  background-color: tan;
  margin: auto -16px;
  padding: 16px 16px;
  box-shadow: 0 0 10px 0 grey;
}


.title {
  color: white;
  font-weight: 200;
  text-align: center;
  font-size: 3em;
}

.btn-container{
  margin-bottom: 1rem;
  display: flex;
  justify-content: center;
  color: white;
}

.filter-btn {
  background: transparent;
  border-color: transparent;
  text-transform: capitalize;
  margin: 0 0.5rem;
  letter-spacing: 1px;
  padding: 0.375rem 0.75rem;
  color: white;
  cursor: pointer;
  border-radius: 0.25rem;
  font-size: 1.5em;
}

/* Footer */

footer {
  position: absolute;
  text-align: center;
  bottom: 0;
  width: 100%;
  height: 2.5rem;
  font-family: "Monaco", Monospace;
}

footer p {
  color: tan;
}

/*contact dev*/
.grid1x1 input[type='email'] {
  border: 0;
  border-bottom: 1px solid tan;
  width: 100%;
  padding: 3px;
}

.grid1x1 textarea {
  border: 0;
  border-bottom: 1px solid tan;
  height: 200px;
  width: 100%;
  padding: 3px;
}

.grid1x1 button {
  color: white;
  background: tan;
  border: transparent;
  border-radius: 0.25rem;
  width: 100%;
  cursor: pointer;
}

.grid1x1 button:hover {
  color: tan;
  background: white;
  border: tan;
}


/* responsiveness */

@media (max-width: 500px) {
  .grid1x1 {
    grid-template-columns: repeat(1, 1fr);

  }
  .grid1x2 {
    grid-template-columns: repeat(1, 1fr);

  }

  .section-center2 {
    grid-template-columns: repeat(1, 1fr);
  }


}