html {
  box-sizing: border-box;
  font-size: 16px;
}
*,
*:before,
*:after {
  padding: 0;
  margin: 0;
  box-sizing: inherit;
}

*::placeholder {
  color: rgba(0, 0, 0, 0.548);
}

.clearfix::after {
  content: '';
  clear: both;
  display: table;
}

html,
body {

  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: white;
  font-size: 100%;
  height: 100%;
}

main {
  flex: 1;
}

.container {
  width: 100%;
  margin: 0 auto;
}

ol,
ul {
  margin-right: 50px;
  list-style: none;
}
.header-index{
  width: 100%;
  background:#379683;
}

.header {
  width: 100%;
  background:#379683;
  position: fixed;
}

.hidden {
  display: none;
}

.mobile_menu {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background: #379683;
  position: fixed;
}
.mobile_menu .menu__close {
  position: absolute;
  top: 4px;
  right: 15px;
  font-size: 2rem;
  color: #f5ffc3;
  padding: 1px 15px;
  background: transparent;
}
.mobile_menu .nav__menu {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.mobile_menu .nav__menu .menu__item {
  margin-bottom: 30px;
}
.mobile_menu .nav__menu .menu__item a {
  font-size: 3rem;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 60px;
}
.nav__menu {
  display: none;

}
.nav .menu__btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: transparent;
}
.nav .menu__btn:hover > span {
  margin-bottom: 2px;
}
.nav .menu__btn span {
  height: 2px;
  width: 20px;
  background: white;
  margin-bottom: 4px;
  transition: margin-bottom 0.1s ease-in-out;
}
.nav .menu__btn span:last-child {
  margin-bottom: 0;
}
.nav .menu__item {
  display: inline-block;
  padding: 0 5px;

}
.menu__item span {
  margin-left: 150px;
  padding-top: 12px;
  display: inline-block;
  width: 100px;
  height: 40px;
  text-decoration: none;
  transition: color 0.2s ease;
  background: white;
  color: black;
  border-radius: 5px;
  font-size: 0.75rem;
  border: 1px solid black;
  text-align: center;
}
 .menu__item a {
  padding-top: 12px;
  display: inline-block;
  width: 100px;
  height: 40px;
  text-decoration: none;
  transition: color 0.2s ease;
  background: white;
  color: black;
  border-radius: 5px;
  font-size: 0.75rem;
  border: 1px solid black;
  text-align: center;
}
.nav .menu__item span:hover {
  border: 0;
  color: white;
  background: #fc5a36;
  cursor: pointer;
  transform: scale(1.05, 1.05);
  transition: 0.2s;
  box-shadow: 2px 4px 8px 0px rgba(153, 153, 153, 0.5);
}
.nav .menu__item a:hover {
  border: 0;
  color: white;
  background: #fc5a36;
  cursor: pointer;
  transform: scale(1.05, 1.05);
  transition: 0.2s;
  box-shadow: 2px 4px 8px 0px rgba(153, 153, 153, 0.5);
}
.mobile__item span{
  color: black;
  padding: 20px;
  display: inline-block;
  font-size: 4rem;
  text-align: center;
  text-decoration: none;
}
.mobile__item a{
  color: black;
  padding: 40px;
  display: inline-block;
  font-size: 4rem;
  text-align: center;
  text-decoration: none;
}
.mobile__item span:hover {
  border: 0;
  color: white;
  cursor: pointer;
  transform: scale(1.05, 1.05);
  transition: 0.2s;
  box-shadow: 2px 4px 8px 0px rgba(153, 153, 153, 0.5);
  color: white;
  background: #fc5a36;
  width: 400px;
}
.mobile__item a:hover {
  border: 0;
  color: white;
  cursor: pointer;
  transform: scale(1.05, 1.05);
  transition: 0.2s;
  box-shadow: 2px 4px 8px 0px rgba(153, 153, 153, 0.5);
  color: white;
  background: #fc5a36;
  width: 400px;
}
.logo-image{
  margin-left: 50px;
  height: 50px;  
}

.btn {
  margin-right: 20px;
  display: inline-block;
  position: relative;
  font-family: inherit;
  border: none;
  outline: none;
  font-size: 15px;
  padding: 10px;
  border-radius: 3px;
  transition: padding-right 0.3s ease;
  box-shadow: 0 1px 1px 1px rgba(0, 0, 0, 0.1);
}
  

.form-signup{
  width: 50%;  
  box-shadow: 0 5px 20px -5px rgba(0, 0, 0, 0.5);
  margin-right: auto;
  margin-left: auto;
  margin-top: 120px;
}
.form { 
  width: 50%;  
  box-shadow: 0 5px 20px -5px rgba(0, 0, 0, 0.5);
  margin: auto;
  margin-top: 170px;
}
.form-header {
  margin-bottom: 15px;
  padding: 15px;
  text-align: center;
  font-size: 1.5em;
  font-weight: 300;
  color: black;
  text-shadow: 0px 2px 3px rgba(255, 255, 255, 1);
}

.form-control {
  margin-bottom: 10px;
}
.form-input-signup{
  margin-left: 10%;
  padding: 10px 10px;
  width:80%;
  margin-top: 5px;
  border: none;
  outline: none;
  border: 1px solid #eee;
  font-size: 0.9em;
}
.form-input {
  margin-left: 10%;
  padding: 10px 10px;
  width:80%;
  margin-top: 5px;
  border: none;
  outline: none;
  border: 1px solid #eee;
  font-size: 0.9em;
}
.form-input:focus {
  border-color:  #379683;
}
.btn {
  background-color: #fc5a36;
  color: #fff;
  margin-left: 10%;
  display: inline-block;
  position: relative;
  border: none;
  outline: none;
  font-size: 15px;
  padding: 10px;
  border-radius: 5px;
  box-shadow: 0 1px 1px 1px rgba(0, 0, 0, 0.1);
}
.btn:hover {
  background-color: #fc6e4f;
}
.signup-link{
  padding-bottom: 4%;
  margin-left: 10%;
  color: white;
  font-size: 20px;
  text-shadow: 0px 2px 3px rgba(0, 0, 0, 0.7);
}
.signup-link a{
   color: white;
   text-decoration: none;
   font-weight: 600;
   font-size: 25px;
   text-shadow: 0px 2px 3px rgba(0, 0, 0, 0.5);
}
.signup-link :hover{
  color: #fc5a36;
}
.background-img{
  padding: 40px 0;
  height: 100%;
  background-image: url('../images/journal.jpg');
  background-repeat: no-repeat;
  background-size: cover;
}



.read-more-btn{
  background: #379683;
  margin-right: 20px;
  display: inline-block;
  position: relative;
  font-family: inherit;
  border: none;
  font-size: 15px;
  padding: 10px;
  border-radius: 3px;
  box-shadow: 0 1px 1px 1px rgba(0, 0, 0, 0.1);
}
.read-more-btn:hover{
  color: white;
  background:#fc5a36;
  cursor: pointer;
  transform: scale(1.05, 1.05);
  transition: 0.2s;
  box-shadow: 2px 4px 8px 0px rgba(153, 153, 153, 0.5);
  
}
#all-entries {

  height: 100%;
}
.entries {
  margin-top: 50px;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
  grid-gap: 10px;
  justify-content: space-evenly;
  background: white;

}
.title-story{
  font-size: 1.5rem;
  text-align: center;
  margin-top: 25px;
  font-family:'Arial Narrow Bold', sans-serif;
  font-weight: 700;
  line-height: 1.5;
  color: black;
  padding: 10px;
  text-shadow: 0px 2px 3px rgba(0, 0, 0, 0.0);
}
.entry-item {
  width: 80%;
  margin: 0 auto;
  padding: 10px;
  font-size: 1rem;
  border-bottom: #444 solid 1px;
}
.entry-item .date {
  float: right;
  font-size: 0.75rem;
  font-weight: 400;
  margin-bottom: 10px;
}
.entry-item p {
  font-size: 1.3rem;
  margin-bottom: 5px;
}



.view-specific-general{
  background: white;
}
.entry {
  height: 93%;
  margin-top: 80px;
  background: white;

}
.view-entry-item {
  font-size: 1.3rem;
  width: 80%;
  margin: 0 auto;
  padding: 10px;
}
.btn-c{
  margin-left: 11%;
  margin-top: 30px;
}


.read-btn{
  background: #379683;
  margin-right: 20px;
  display: inline-block;
  position: relative;
  font-family: inherit;
  border: none;
  font-size: 15px;
  padding: 10px;
  border-radius: 3px;
  box-shadow: 0 1px 1px 1px rgba(0, 0, 0, 0.1);
}
.read-btn:hover{
  color: white;
  background:#fc5a36;
  cursor: pointer;
  transform: scale(1.05, 1.05);
  transition: 0.2s;
  box-shadow: 2px 4px 8px 0px rgba(153, 153, 153, 0.5);
  
}
.delete-btn{

  background: #379683;
  margin-right: 20px;
  display: inline-block;
  position: relative;
  font-family: inherit;
  border: none;
  font-size: 15px;
  padding: 10px;
  border-radius: 3px;
  box-shadow: 0 1px 1px 1px rgba(0, 0, 0, 0.1);
}
.delete-btn:hover{
  color: white;
  background:#fc5a36;
  cursor: pointer;
  transform: scale(1.05, 1.05);
  transition: 0.2s;
  box-shadow: 2px 4px 8px 0px rgba(153, 153, 153, 0.5);
  
}


.entry-title{
  margin-left: 50%;
  font-size: 1.5rem;
}
.entry-editor{
  border: solid black;
  border-radius: 5px;
  margin: 10px 15%;
  width: 80%;
  height: 350px;
  padding: 20px;
  font-size: 1.2rem;
}

.entry-editor-container{
  overflow: hidden;
  margin-top: 100px;
  margin-left: -50px;
 
}
.edit-title{
  border-radius: 5px;
  border: solid black;
  font-size: 1.5rem;
  width: 80%;
  margin: 10px 15%;
  padding: 5px;
}

.update-btn{
  margin-bottom: 20px;
  background: #379683;
  margin-left: 15%;
  border: none;
  font-size: 15px;
  padding: 10px;
  border-radius: 3px;
  box-shadow: 0 1px 1px 1px rgba(0, 0, 0, 0.1);
}
.update-btn:hover{
  color: white;
  background:#fc5a36;
  cursor: pointer;
  transform: scale(1.05, 1.05);
  transition: 0.2s;
  box-shadow: 2px 4px 8px 0px rgba(153, 153, 153, 0.5);
  
}



.diary__title, .diary__content {

  background: transparent;
  width: 100%;
  border: none;
  outline: none;
  font-family: Arial, Helvetica, sans-serif;
}

.diary__title {
  padding-right: 50px;
  padding-left: 50px;
  font-size: 2.3rem;
  font-weight: 800;
  display: block;
  font-family: Arial, Helvetica, sans-serif;
}
.diary__content::placeholder{
color: rgb(53, 51, 51);
font-family: Arial, Helvetica, sans-serif;
}
.diary__title::placeholder{

  color: rgb(85, 84, 84);
  font-family: Arial, Helvetica, sans-serif;
}
.diary__content {
  padding-right: 50px;
  padding-top: 30px;
  padding-left: 50px;
  box-sizing: border-box;
  font-family: inherit;
  line-height: 1.5;
  font-weight: 400;
  font-size: 1em;
  font-family: Arial, Helvetica, sans-serif;
}

#diary-btn {
  width: 120px;
  height: 30px;
  color: white;
  border: 0;
  border-radius: 4px;
  font-size: 0.75rem;
  margin-left: 45%;
  position: relative;
  background:  #379683;
  top: 30px;
}
#diary-btn:hover{
  color: white;
  background:#fc5a36;
  cursor: pointer;
  transform: scale(1.05, 1.05);
  transition: 0.2s;
  box-shadow: 2px 4px 8px 0px rgba(153, 153, 153, 0.5);
  
}
.newstory-form{
  height: 0px;
  width: 100%;
  margin-top: 100px;
}


.popup-text{
  margin-left: 20%;
  width: 50%;
  background-color: #fc5a36;
  color: #fff;
  text-align: center;
  border-radius: 8px;
  position: absolute;
  font-size: 1rem;
  box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.1);
  top: 50px;
  padding: 10px;


}
.popup-text::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 8px;
  border-style: solid;
  border-color: #fc5a36 transparent transparent transparent;
}




.card-list {
  margin-top: 5%;
  text-align: center; 
  height: 500px;
  width: 100%;
}
.button {
  border:black;
  display: inline-block;
  width: 30%;
  height: 30px;
  margin: 10px;
  color: black;
  border-radius: 10px;
  outline: none;
  background: white;
  box-shadow: 2px 4px 8px 0px rgba(153, 153, 153, 0.5);
}
.button:hover {
  color: white;
  background: #fc5a36;
  cursor: pointer;
  border: none;
  transform: scale(1.05, 1.05);
  transition: 0.4s;
  box-shadow: 2px 4px 8px 0px rgba(153, 153, 153, 0.5);
}
.profile-image {
  border-radius: 50%;
  margin-top: 30px;
  margin-bottom: 20px;
  height: 150px;
  width: 150px;
}


  .centre-btn {
    margin-top: 80px;
    display: flex;
    justify-content: center;
  }
  .getStarted-btn {
    text-decoration: none;
    background: #fc5a36;
    color: #0d0d0d;
    font-size: 1.1rem;
    margin-right: 10px;
    padding: 12px 30px;
    border-radius: 3px;
  }
  .getStarted-btn:hover {
    color: #fff;
  }

  .footer {
    
    text-shadow: 0px 2px 3px rgba(0, 0, 0, 0.5);
    width: 100%;
    text-align: center;
    font-size: 15px;
    color:white;
    position: absolute;
    bottom: 20px;
  }
  .footerReadMore {
    width: 100%;
    text-align: center;
    font-size: 15px;
    color:black;
    position: absolute;
    bottom: 20px;
  }



  .general-background {
    padding: 120px 0px;
    height: 100vh;
    background-image: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.6)),url('../images/journal.jpg');
    background-repeat: no-repeat;
    background-size: cover;
  }

  h3{
    text-align: center;
    margin-top: 25px;
    font-family:'Arial Narrow Bold', sans-serif;
    font-size: 1.3rem;
    font-weight: 300;
    line-height: 1.5;
    color: white;
    padding: 10px;
    text-shadow: 0px 2px 3px rgba(0, 0, 0, 0.5);
  }
  .dot{
    color: #fc5a36;
  }
  h1{
  margin-top: 60px;
  font-size: 3.4rem;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  width: auto;
  color: white;
  padding: 10px;
  text-shadow: 0px 2px 3px rgba(0, 0, 0, 0.5);
  } 



@media screen and (min-width: 480px) {
  .form {
    width: 95%;
  }

@media screen and (min-width: 600px) {
  .form {
    width: 60%;
  }

  .profile {
    width: 70%;
  }
}
@media screen and (min-width: 768px) {
  .nav .menu__btn {
    display: none;
  }

.nav__menu {
  display: block;
}
}
@media screen and (min-width: 1024px) {
  .form {
    width: 30%;
  }

  .diary__cards {
    grid-template-columns: 1fr 1fr 1fr;
    grid-gap: 30px;
  }

}
@media screen and (min-width: 320px){
  h3{
  line-height: 1.3;
}
h1{
  margin-top: 5px;
}
}

}



