@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@300;400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700&display=swap');

:root {
  --primary-font-color: #d9d9d9;
  --secondary-font-color: #333533;
  --primary-color: #242423;
  --secondary-color: #495057;
  --tertiary-color: #6c757d;
  --note-color: #ffe1a8;
  --btn-primary-color: #3c6e71;
  --btn-danger-color: #e26d5c;
}

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

body {
  font-family: 'Lato', sans-serif;
  color: var(--primary-font-color);
  background-color: var(--primary-color);
}

.main-container {
  min-width: 310px;
  max-width: 1000px;
  height: auto;
  margin: 0 auto;
  padding: 10px;
}

.container {
  /* luego el form estara encima de forma absoluta */
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 310px;
  max-width: 1000px;
  height: auto;
  margin: 10px;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  min-width: 310px;
  max-width: 1000px;
  height: auto;
}

.separator {
  min-width: 310px;
  max-width: 1000px;
  height: 1px;
  margin: 20px 5px;
  border-bottom: 1px solid var(--tertiary-color);
}

.title-one {
  margin: 8px 5px;
  padding: 2px;
  font-size: 3rem;
  line-height: 3rem;
}

.title-three {
  padding: 2px;
  margin: 5px;
  line-height: 1.8rem;
  font-size: 1.8rem;
}

.title-one, .title-three {
  font-family: 'Oswald', sans-serif;
}

.notes {
  list-style: none;
  margin: 0 0 40px 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
}


/* Estilos de la nota */
.note {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  margin: 5px;
  padding: 10px;
  width: 300px;
  height: 320px;
  font-size: 1.2rem;
  font-weight: 400;
  border-radius: 5px;
  overflow: hidden;
  color: var(--secondary-font-color);
  background: var(--note-color);
}

.note__title {
  display: block;
  width: 100%;
  font-size: 16px;
  font-weight: bold;
  letter-spacing: .6px;
  line-height: 1.4;
  font-weight: bold;
}

.note__subtitle {
  display: block;
  width: 100%;
  font-size: 14px;
  letter-spacing: .5px;
  line-height: 1.4;
  font-style: italic;
  font-weight: bold;
}

.note__text {
  display: block;
  width: 100%;
  font-size: 17px;
  letter-spacing: .6px;
  line-height: 1.6;
}

.note__button {
  display: block;
  font-size: 12px;
  line-height: 90%;
  letter-spacing: .6px;
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 5px;
  font-weight: bold;
  text-transform: uppercase;
  cursor: pointer;
  color: var(--secondary-font-color);
  border: 1px solid var(--secondary-font-color);
}

.note__button:hover {
  color: var(--primary-font-color);
  background-color: var(--secondary-font-color);
}

.note__section {
  width: 100%;
  padding: 5px 0;
}

.note__section--header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  height: auto;
  border-bottom: 1px solid var(--primary-color);
}

.note__section--status {
  height: 10%;
}

.note__body {
  height: 100%;
  width: 100%;
}

.note__section--text {
  height: 90%;
  overflow-x: hidden;
  overflow-y: auto;
}

.form {
  position: absolute;
  top: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  min-width: 260px;
  width: 100%;
  max-width: 1000px;
  padding: 10px;
  /* margin: 15px 5px 8px; */
  height: auto;
  border-radius: 10px;
  background:var(--secondary-color);
  font-family: 'Lato', sans-serif;
}

/* show/hide form modal */
.form--hidden {
  display: none;
}

.form__label {
  margin: 5px 0;
  padding: 2px 0;
}

.form__input {
  display: block;
  min-width: 200px;
  width: 100%;
  max-width: 990px;
  height: 40px;
  margin-right: 10px;
  padding: 5px 10px;
  font-size: 1.2rem;
  cursor: pointer;
  border: none;
  border-radius: 10px;
  font-family: 'Lato', sans-serif;
  color: var(--primary-font-color);
  background: var(--primary-color);
}

.form__input--textarea {
  height: auto;
}

.form__buttons-container {
  width: 100%;
  height: auto;
  margin-top: 5px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.form__btn {
  display: block;
  width: 90px;
  height: 40px;
  padding: 14px 10px;
  cursor: pointer;
  border: none;
  border-radius: 10px;
  font-family: 'Lato', sans-serif;
  line-height: 90%;
  font-size: 12px;
  text-align: center;
  text-decoration: none;
  font-weight: bold;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: var(--primary-font-color);
}

.form__btn--danger {
  margin-right: 5px;
  background-color: var(--btn-danger-color);
}

.form__btn--primary {
  background-color: var(--btn-primary-color);
}
