:root {
  --primary: #3d272a;
  --dark: #0000;
  --bg__color: #cfa494;
  --transpt__dark: rgba(0, 0, 0, 0.4);
  --light: rgba(216, 204, 192, 0.4);
  --shadow: 0 1px 5px rgba(104, 104, 104, 0.8);
  --card-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

html {
  box-sizing: border-box;
  font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
  -webkit-text-size-adjust: 100%
}

body {
  margin: 0;
  height: 100vh;
  overflow-x: hidden;
  background-color: var(--bg__color);
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  line-height: 1.4;
  background: linear-gradient(rgb(0, 0, 0, 0.3), rgb(0, 0, 0, 0.7)), url(./UI/img/background-image.jpeg) no-repeat center center;
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
}

nav {
  position: relative;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
}

img {
  max-width: 100%;
  border-style: none
}

ul {
  padding: 0;
  list-style: none;
}

*,
*:before,
*:after {
  box-sizing: border-box;
}

a,
a:hover,
a:active {
  text-decoration: none;
  font-size: 1.5rem;
  color: black;
  transition: all 0.1s ease-in-out;
}

a:hover {
  text-shadow: 0 2p 0 rgb(0, 0, 0, 0.7);
}

a:active {
  color: white;
}

button,
textarea,
input,
select {
  outline: none;
  border: none;
  font: inherit;
  margin: 0;
  -webkit-appearance: none;
}

textarea {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  width: 100%;
}

.quote {
  color: white;
}

.quote::before {
  content: open-quote;
  font-size: 3.5rem;
}

.quote::after {
  content: close-quote;
  font-size: 3.5rem;
}

.container {
  display: grid;
  height: 100vh;
  grid-template-rows: auto 1fr;
  grid-gap: 20px;
  min-width: 480px;
}

.l-main__nav {
  display: grid;
}

.l-header__content {
  display: grid;
  grid-template-columns: 1fr;
  grid-auto-flow: column;
  margin: 0 70px 0 50px;
}

.showcase__card {
  display: grid;
  grid-gap: 20px;
  grid-template-columns: repeat(4, 1fr);
}

.l-card__wrapper {
  display: grid;
  margin-right: 20px;
  grid-template-columns: 1fr;
  grid-auto-flow: column;
  grid-gap: 20px;
  margin-top: 50px;
}

.l-form__area {
  display: grid;
  grid-template-columns: repeat(2, 400px);
  grid-gap: 20px;
  justify-content: center;
  align-items: center;
}

.l-form {
  display: grid;
  grid-template-rows: repeat(5, 1fr);
  height: 450px;
  margin-left: 10px;
  max-width: 400px;
}

.l-dashboard__wrapper {
  display: grid;
  justify-items: center;
}

.l-dashboard__content {
  display: grid;
  grid-auto-rows: auto, 1fr;
  max-width: 80%;
  margin-bottom: 50px;
}

.l-dashboard__content-body {
  display: grid;
  width: 70%;
  grid-template-rows: auto 1fr auto;
  max-height: 85vh;
}

.l-title__wrapper {
  display: grid;
  justify-content: center;
  align-items: center;
  margin-bottom: 10px;
}

.l-title__wrapper>span {
  font-family: inherit;
  font-weight: bold;
  font-size: 2rem;
}

.l-content__body {
  display: grid;
  grid-gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.l-story__body {
  display: grid;
  grid-template-rows: repeat(auto-fit, 1f);
  min-height: auto;
}

.l-content__card {
  display: grid;
  grid-template-rows: auto 1fr auto;
  height: 300px;
  background: rgba(255, 255, 255, 0.4);
  box-shadow: var(--card-shadow);
  transition: all .3s ease-in-out;
}

.l-content__card:hover {
  transform: scale(1.1);
}

.l-post__area {
  display: grid;
  grid-template-rows: auto 1fr auto;
  grid-template-columns: repeat(auto-fit, max(100%, 1fr));
}

.l-buttons__area {
  display: grid;
  grid-gap: 10px;
  align-items: right;
  padding: 3px;
  justify-content: right;
  grid-auto-flow: column
}

.l-buttons__area>button {
  font-size: 1.2rem;
  font-style: inherit;
}

.l-text__area {
  display: grid;
  padding: 5px;
  height: 150px;
}

.l-display__area {
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: auto;
  margin-top: 20px;
  justify-content: center;
}

.l-display__area>span {
  display: grid;
  font-family: inherit;
  font-size: 2.3rem;
  font-weight: bold;
  justify-content: center;
  text-transform: uppercase
}

.l-story__option {
  display: grid;
  margin-top: 10px;
  grid-template-columns: 1fr;
  grid-auto-flow: column;
  height: 40px;
  margin-bottom: 20px;
}

@font-face {
  font-family: duintas;
  src: url(./fonts/duintas_diary.otf)format("truetype");
}

.logo {
  font-family: duintas;
  margin: 5px;
  font-size: 2.5rem;
}

.header {
  height: 65px;
  background: var(--light);
  box-shadow: var(--shadow);
}

.main__nav ul {
  display: grid;
  grid-template-columns: 1fr;
  grid-auto-flow: column;
  grid-gap: 10px;
}

.main__menu>li>a {
  display: inline-block;
}

.main__menu>li {
  position: relative;
  display: flex;
  justify-content: center;
}

.token__wrapper {
  display: grid;
  justify-items: center;
}

.invalid__token {
  display: grid;
  align-content: center;
  justify-content: center;
  width: 50%;
  height: 15%;
  padding: 3px;
  border-radius: 10px;
  color: red;
  font-family: inherit;
  font-size: 1.2rem;
  background: rgba(255, 255, 255, 0.5);
  box-shadow: var(--shadow);
}

.entries__btn ul {
  position: relative;
  display: grid;
  grid-template-rows: 1fr 1fr;
  background: white;
  padding: 10px;
  font-family: inherit;
  font-size: 1rem;
  margin-top: 10px;
}

.entries__btn ul {
  display: none;
}

.entries__btn {
  display: none;
}

.entries__btn:hover ul {
  display: grid;
}

.entries__btn ul li a {
  font-size: 1rem;
}

.entries__btn ul li {
  border-bottom: solid 2px black;
}

nav ul {
  display: flex;
  justify-content: center;
}

.menu__user ul {
  display: none;
}

.menu__user {
  cursor: pointer;
}

.user__profile {
  opacity: 1;
  display: grid;
  position: absolute;
  background: #fffeff;
  border-radius: 4px;
  box-shadow: var(--card-shadow);
  padding: 10px;
  justify-items: center;
  align-content: center;
  transition: all 0.3s, opacity 0.1s, translate 0.2s;
  z-index: 1;
}

.user__profile>img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
}

.profile__option {
  display: grid;
  grid-auto-flow: row;
  grid-gap: 2px;
  justify-items: center;
}

.user__name {
  font-family: inherit;
  font-size: 1.5rem;
}

.caption {
  justify-content: start;
  letter-spacing: 4px;
}

.caption>p {
  font-weight: bold;
  font-size: 3rem;
  padding: 0;
  margin: 0;
  color: white;
}

.button {
  color: white;
  border-radius: 5px;
  background: var(--primary);
  padding: 5px 30px;
  cursor: pointer;
}

.button__trasp {
  border: solid 2px var(--primary);
  padding: 2px 3px;
  border-radius: 10px;
  font-size: 1.1rem;
  box-shadow: var(--card-shadow);
}

.left__arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: end;
  min-height: 40px;
  min-width: 32px;
}

.right__arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  min-width: 32px;
}

.card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 180px;
  min-width: 180px;
  background: var(--primary);
  box-shadow: var(--shadow);
  transition: all 0.3s ease-in-out;
}

.form__wrapper {
  box-sizing: border-box;
  padding: 0 30px;
  align-items: center;
  background: white;
  box-shadow: var(--shadow);
}

.form__wrapper>span {
  font-size: 3rem;
}

.caption__wrapper {
  max-width: 450px;
}

.caption__wrapper p {
  letter-spacing: -1px;
  font-size: 20px;
  color: white;
}

.caption__wrapper p::first-letter {
  font-size: 30px;
  font-weight: bold;
}

.input__group {
  position: relative;
  width: 100%;
  padding: 0;
}

.input__group input {
  width: 100%;
  border: none;
  outline: 0;
  background: transparent;
  box-shadow: none;
  border-bottom: solid 3px var(--primary);
}

.input__group label {
  position: absolute;
  pointer-events: none;
  bottom: 2px;
  font-size: 20px;
  transition: 0.2s ease-in-out;
}

.number__notified {
  color: white;
  font-size: 1.0rem;
  padding: 1px;
  top: 5px;
  left: 20px;
  min-width: 24px;
  min-height: 24px;
  border: solid 2px;
  border-radius: 100px;
  position: absolute;
}

.card__header {
  display: grid;
  padding: 10px;
  background: #fffeff;
  align-content: center;
  justify-items: center;
  font-size: 1.3rem;
  font-style: inherit;
  height: 70px;
}

.l-password__wrapper {
  display: grid;
  justify-items: center;
  height: 40%;
}

.password__card {
  display: grid;
  width: 60%;
  justify-items: center;
  background: #fffeff;
  border-radius: 10px;
  box-shadow: var(--card-shadow);
}

.card__body-password {
  display: grid;
  grid-template-rows: repeat(auto, 4);
  height: 230px;
  grid-gap: 5px;
  font-size: 1.2rem;
  padding: 10px;
}

.reset_pass-input {
  font-family: inherit;
  font-size: 1.5rem;
  text-indent: 10px;
  width: 100%;
  height: 40px;
  outline: none;
  border: none;
  text-indent: 10px;
  background-color: var(--light);
  font-size: 1.3rem;
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.reset_pass-btn {
  height: 40px;
}

.card__title-password {
  display: grid;
  width: 100%;
  justify-content: center;
  align-items: center;
  font-family: inherit;
  font-weight: bold;
  font-size: 1.5rem;
  height: 70px;
  border-radius: 10px 10px 0px 0px;
  background: rgba(216, 204, 192, 0.4);
}

.message {
  display: grid;
  justify-items: center;
  color: #3d272a;
}

.card__footer {
  display: grid;
  grid-auto-flow: column;
  grid-gap: 10px;
  justify-content: center;
  margin-bottom: 10px;
}

.card__body {
  display: grid;
  padding: 10px;
  align-content: center;
  justify-items: center;
  font-family: inherit;
  font-size: 1rem;
}

.change__photo>input {
  display: none;
}

.change__photo {
  box-shadow: var(--shadow);
  padding: 7px;
}

.set__reminder>input {
  background: var(--shadow);
}

.total__entries {
  display: grid;
  justify-items: center;
  background: #dddddd;
  box-shadow: var(--shadow);
}

.total__entries>span {
  font-family: inherit;
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--primary);
}

.profile__options {
  display: grid;
  grid-gap: 10px;
  font-family: inherit;
  font-size: 1.1rem;
}

.profile__options> {
  width: 100%;
}

.btn__logout {
  padding: 7px;
  box-shadow: var(--shadow);
}

.title__area {
  padding: 5px;
  color: white;
  width: 100%;
}

/* .title__area>input {
  border-radius: 5px;
  text-indent: 10px;
  background: white;
  box-shadow: var(--shadow);
} */

.story__text {
  border-radius: 5px;
  text-indent: 10px;
  font-family: inherit;
  font-size: 1.3rem;
  resize: none;
  box-shadow: var(--shadow);
}

.story__title {
  font-family: inherit;
  font-size: 1.5rem;
  border-radius: 5px;
  font-weight: bold;
  text-indent: 10px;
  width: 100%;
  padding: 3px;
  box-shadow: var(--shadow);
}

.title__display {
  background: white;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
}

.story__display {
  display: grid;
  padding: 10px;
  background: white;
  border-bottom-right-radius: 5px;
  border-bottom-left-radius: 5px;
  font-family: inherit;
  font-size: 1.2rem;
  align-items: center;
}

.date__posted {
  font-family: inherit;
  font-size: 1.1rem;
  color: white;
  margin: 5px;
  padding: 3px;
}

.edit__post {
  font-family: inherit;
  font-size: 1.2rem;
}

.contact__form {
  width: 100%;
  height: 100%;
  Border-radius: 5px;
  text-indent: 10px;
  font-family: inherit;
  font-size: 1.3rem;
  resize: none;
  background: rgb(224, 224, 224);
  box-shadow: var(--shadow);
  border-bottom: solid 2px var(--primary);
}

.err__display {
  height: 20px;
  color: red;
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.submit__options {
  display: grid;
  grid-template-columns: 1fr;
}

.is-hidden {
  display: none;
}

/* .trigger-enter .dropdown {
  display: block;
}

.trigger-enter-active .dropdown {
  opacity: 1;
}

.dropdown__background .open {
  opacity: 1;
} */

.h-center {
  text-align: center;
  justify-content: center;
}

.h-font__size {
  font-size: 1.5rem;
  margin-bottom: 30px;
}

.h-margin__left {
  margin-left: 30%;
}

.h-margin__h-form__modbot {
  margin-bottom: 15px;
}

.h-font__sm {
  font-size: 0.9rem !important;
}

.h-form__mod {
  min-width: 350px;
}

.h-color__white {
  color: white;
  font-family: inherit;
}

.h-user__icon::before {
  content: url(./UI/img/User.png);
  margin-right: 10px;
  ;
}

.h-email__icon::before {
  content: url(./UI/img/GMail.png);
  margin-right: 10px;
}

.h-phone__icon::before {
  content: url(./UI/img/Phone.png);
  margin-right: 10px;
}

.h-password__icon::before {
  content: url(./UI/img/Lock.png);
  margin-right: 10px;
}

.h-icon__size {
  min-width: 32px;
  min-height: 32px;
}

.h-trasp__background {
  background: transparent;
}

.h-center {
  align-content: center;
  justify-items: center;
}

/* Media query for responsiveness */

@media(max-width: 900px) {
  .h-margin__left {
    margin-left: 10%;
  }
  .caption {
    margin-top: 50px;
  }
  .l-card__wrapper>* {
    display: none;
  }
  .logo {
    margin: 5px;
    font-size: 2rem;
  }
  .l-form__area {
    grid-template-columns: repeat(2, 1fr);
  }
  .l-form__area>br {
    display: none;
  }
  .h-user__icon {
    width: 15px;
    height: 15px;
  }
  .h-password__icon {
    width: 15px;
    height: 15px;
  }
  .h-email__icon {
    width: 15px;
    height: 15px;
  }
  .h-phone__icon {
    width: 15px;
    height: 15px;
  }
  .input__field {
    text-indent: 2.2rem;
  }
  .l-entries__content {
    grid-template-columns: 1fr;
  }
  .l-middle__pane {
    grid-gap: 0;
  }
}

@media(max-width: 400px) {
  .caption {
    margin-top: 70px;
  }
  .caption>p {
    font-size: 1.5rem;
    line-height: 3.5rem;
  }
}

@media(max-width: 620px) {
  .l-form__area {
    grid-template-columns: subgrid;
  }
  .caption__wrapper {
    display: none;
  }
  .main__nav>ul>li>a {
    font-size: 1rem !important;
  }
  .l-dashboard__content {
    max-width: 90%;
  }
  .l-dashboard__content-body {
    max-width: 90%;
  }
}

@media(max-width: 530px) {
  .logo {
    margin: 5px;
    font-size: 2rem;
  }
  .view__entries-btn {
    display: none;
  }
  .new__entries-btn {
    display: none;
  }
  .entries__btn {
    color: white;
    font-size: 1.3rem;
    display: grid;
  }
  .menu__user>* {
    position: relative;
  }
}