:root {
  --darkBlue-color: #04091E;
  --error-color: red;
  --reminderPurple: #580a82;
}

* { 
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

li {
  list-style: none;
  text-decoration: none;
}

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

.wrapper {
  width: 90%;
  margin: 0 auto;
  justify-content: inherit;
  align-items: inherit;
  grid-template-columns: inherit;
}

body {
  display: flex;
  min-height: 100vh;
  flex-wrap: wrap;
  height: 100%;
} 

.hidden {
  visibility: hidden;
  display: none;
}


/* ====== Header ====== */

header {
  position: fixed;
  z-index: 999;
  width: 100%;
  background: var(--darkBlue-color);
  color: #ffffff;
  user-select: none;
}

.container__header {
  display: grid;
  padding: 5px 0;
  grid-template-columns: repeat(2, auto);
  justify-content: space-between;
  align-items: center;
}

.new__note {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 25px;
  font-weight: 600;
  outline: none;
  border: none;
  background: #fff;
  width: 25px;
  height: 25px;
  border-radius: 100%;
  cursor: pointer;
  transition: .3s;
}

.new__note:hover {
  background: lightblue;
  transform: scale(1.1);
}

/* ====== Main ====== */

main {
  width: 100%;
  padding: 70px 0 30px 0;
  position: relative;
  z-index: 1;
}

.container__main {
  display: grid;
  grid-template-columns: 1fr;
  justify-content: center;
  align-items: flex-start;  
  grid-gap: 20px;
}

/* ====== Main: form ====== */

.menu__notes {
  display: grid;
  /* height: 100%; */
  text-align: center;
  grid-gap: 50px;
}

.note__form {
  display: flex;
  flex-direction: column;
  text-align: center;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 0 13px 0px #cdcdcd;
  background: white;
  margin-top: 20px;
}

.note__form h2 {
  margin-bottom: 10px;
  color: var(--darkBlue-color);
}

.note__form textarea {
  height: 100%;
}

.note__form__input {
  width: 100%;
  border: none;
  outline: none;
  margin-bottom: 15px;
  padding: 8px 15px;
  box-shadow: 0 0 8px 0px #cdcdcd;
  border-radius: 10px;
  resize: none;
}

.note__form__select {
  padding: 6px;
  width: 100%;
  border: none;
  outline: none;
  margin-bottom: 15px;
  box-shadow: 0 0 8px 0px #cdcdcd;
  border-radius: 10px;
}

.note__form__submit {
  border: none;
  outline: none;
  margin-bottom: 10px;
  padding: 8px 15px;
  box-shadow: 0 0 13px 0px #cdcdcd;
  border-radius: 15px;
  background: none;
  transition: .6s;
  width: 150px;
  margin: 0 calc(100% - 150px);
  cursor: pointer;
}

.note__form__submit:hover, .note__form__submit:focus {
  transform: scale(1.01);
  box-shadow: 0 0 13px 0px #cdcdcd;
  background: var(--darkBlue-color);
  color: white;
}

.note__form__submit__reminder {
  border: none;
  outline: none;
  margin-bottom: 10px;
  padding: 8px 15px;
  box-shadow: 0 0 13px 0px #cdcdcd;
  border-radius: 15px;
  background: none;
  transition: .6s;
  width: 150px;
  margin: 0 calc(100% - 150px);
  cursor: pointer;
}

.note__form__submit__reminder:hover, .note__form__submit__reminder:focus {
  transform: scale(1.01);
  box-shadow: 0 0 13px 0px #cdcdcd;
  background: var(--reminderPurple);
  color: white;
}

/* ====== Main: list ====== */

.note__list h1 {
  color: var(--darkBlue-color);
  margin-bottom: 5px;
  margin-left: 20px;
}

.note {
  /* display: flex; */
  flex-direction: column;
  padding: 20px ;
  border-radius: 10px;
  box-shadow: 0 0 13px 0px #cdcdcd;
  margin-bottom: 20px;
  background: white;
}

.note__list__edit, .note__list__delete, .note__list__testing {
  border: none;
  outline: none;
  margin: 10px 10px 0 0;
  padding: 8px 15px;
  box-shadow: 0 0 13px 0px #cdcdcd;
  border-radius: 15px;
  background: none;
  transition: .3s;
  cursor: pointer;
}

.note__list__edit:hover, .note__list__edit:focus {
  transform: scale(1.01);
  box-shadow: 0 0 13px 0px #cdcdcd;
  background: var(--darkBlue-color);
  color: white;
}

.note__list__delete:hover, .note__list__delete:focus {
  transform: scale(1.01);
  box-shadow: 0 0 13px 0px #cdcdcd;
  background: var(--error-color);
  color: white;
}

.note__list__reminder:hover, .note__list__reminder:focus {
  transform: scale(1.01);
  box-shadow: 0 0 13px 0px #cdcdcd;
  background: var(--reminderPurple);
  color: white;
}

.note__on__edit {
  background-color: var(--darkBlue-color);
  color: white;
}

.note__on__reminder {
  background-color: var(--reminderPurple);
  color: white;
}

.button__on__edit {
  background: lightblue;
  width: 100px;
  color: var(--darkBlue-color);
  box-shadow: 0 0 12px 0px #273368;
}

.button__on__edit:hover, .button__on__edit:focus {
  background-color: lightblue;
  color: var(--darkBlue-color);
  box-shadow: 0 0 12px 0px #273368;
}

.button__on__reminder {
  background: white;
  color: var(--darkBlue-color);
  box-shadow: 0 0 12px 0px #470380;
}

.button__on__reminder:hover, .button__on__reminder:focus {
  background-color: white;
  color: var(--darkBlue-color);
  box-shadow: 0 0 12px 0px #470380;
}

.container__select {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  justify-content: center;
  align-items: center;
  grid-gap: 10px;
  margin-bottom: 10px;
}


/* ====== Footer ====== */

footer {
  width: 100%;
  padding: 10px 0;
  background: var(--darkBlue-color);
  text-align: center;
  font-size: 12px;
  z-index: 2;
  color: white;
  align-self: flex-end;
}
