* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
:root {
  --main: #458a87;
  --second: #9a8677;
  --text: #f2f2f2;
}
::selection {
  color: white;
  background: var(--main);
}
body {
  background-image: url(../img/bg.jpg);
  background-repeat: repeat;
  background-position: 0% 70%;
  font-family: "Almarai";
  text-align: right;
  background-attachment: fixed;
}
a {
  all: unset;
  color: inherit;
  cursor: pointer;
}
p {
  line-height: 1.7;
}
.hide {
  display: none;
}
/* 
=
nav 
=
*/

.nav-container {
  display: flex;
  justify-content: space-around;
  align-items: center;
  width: 85vw;
  margin: 20px auto 30px;
}
.nav-container a:first-of-type {
  color: white;
  background-color: var(--second);
  position: absolute;
  right: 0;
  padding: 8px 20px;
  border-radius: 5px 0px 0px 5px;
  box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.1);
  cursor: pointer;
}
.nav-container a:last-of-type {
  color: white;
  background-color: #458a87;
  position: absolute;
  left: 0;
  padding: 8px 20px;
  border-radius: 0px 5px 5px 0px;
  box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.1);
  cursor: pointer;
}
/* 
=
onboard 
=
*/
.on-board {
  display: flex;
  flex-direction: column;
  width: 70vw;
  justify-content: center;
  align-items: center;
  margin: 180px auto 0;
}
.btn {
  text-decoration: none;
  color: #f5f5f5;
  background-color: var(--main);
  padding: 10px 30px;
  margin-top: 30px;
  border-radius: 30px;
}
.btn.btn-analytics {
  background-color: var(--second);
}
/* 
=
projects page 
=
*/
.projects-list ul {
  list-style: none;
}
.projects-list ul li {
  position: relative;
  width: 85vw;
  margin: 0px auto 30px;
}
.projects-list ul li .card {
  box-shadow: 0px 7px 14px rgba(26, 34, 29, 0.027);
  border: 1px solid #e4e1e1;
  border-radius: 5px;
  padding: 20px;
  cursor: pointer;
  transition: 0.3s ease-in-out;
  background-color: rgba(255, 255, 255, 0.7);
}
.projects-list ul li .card > p {
  line-height: 1.7;
  background: white;
  background-image: linear-gradient(to bottom, transparent, white);
  position: relative;
  height: 120px;
  overflow: hidden;
}
.projects-list ul li .card > p:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: linear-gradient(to bottom, transparent, white);
}
.projects-list ul li .stat-icon {
  display: flex;
  justify-content: space-between;
  text-align: center;
  flex-direction: row-reverse;
  margin-top: 20px;
}
.projects-list ul li .l-project-title {
  margin-bottom: 10px;
  color: #535252 !important;
}
.projects-list ul li .stat-icon div {
  width: 33%;
}
.projects-list ul li .stat-icon svg {
  color: #458a87;
  font-size: 24px;
}
.projects-list ul li.prime .stat-icon svg {
  color: #9a8677;
}
.actions {
  background-color: var(--main);
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  width: 5px;
  overflow: hidden;
  justify-content: center;
  border-radius: 0px 5px 5px 0px;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
  transition: 0.3s ease-in-out;
}
.prime .actions {
  background-color: var(--second);
}

.actions .btn {
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
  width: 70%;
  margin: 5px auto;
  font-size: 14px;
  padding: 3px;
  text-align: center;
  background-color: var(--second);
  opacity: 0;
  transition: 0.2s ease-in-out;
}
.prime .actions .btn {
  background-color: var(--main);
}
.btn.details {
  background-color: white;
  color: #111;
}
.btn.delete {
  background-color: #ef4b4b;
}
.prime .actions .btn.delete {
  background-color: #ef4b4b;
}
.prime .actions .btn.details {
  background-color: white;
  color: #111;
}

.open .card {
  transform: translateX(-180px);
}
.open .actions {
  width: 180px;
}
.open .actions .btn {
  opacity: 1;
}

/* 
=
project-details 
=
*/

.project-title {
  text-align: center;
  margin-bottom: 20px;
}
.project-details {
  position: relative;
}
.am-holder {
  margin: 0px auto;
  width: 80vw;
  background-color: rgba(69, 138, 135, 0.89);
  padding: 30px 20px;
  border-radius: 50px 50px 0px 0px;
  color: #f2f2f2;
  padding-bottom: 100px;
}
.project-details h3,
.project-details h4,
.project-details span {
  color: #c7c7c7;
}
.main-info {
  display: flex;
  justify-content: space-between;
  text-align: center;
  flex-direction: row-reverse;
  margin: 15px auto;
}
.main-info > div {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.main-info span {
  margin: 5px 0;
}
.info-para,
.causes-para {
  margin-top: 30px;
}
.info-para h3,
.causes-para h3 {
  margin-bottom: 10px;
}
.main-info svg {
  font-size: 25px;
}
.big-info {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  text-align: center;
}
.big-info > div {
  width: 50%;
  margin-top: 30px;
}
.big-info svg {
  font-size: 27px;
}

.downloadble {
  text-align: center;
  margin: 35px 0 10px;
}
.downloadble svg {
  font-size: 27px;
  cursor: pointer;
}
.project-actions {
  display: flex;
  justify-content: center;
  flex-direction: column;
}
.project-actions button {
  border: 0;
  box-shadow: 0px 3px 10px rgba(0, 0, 0, 0.1);
  font-family: "El Messiri";
  background-color: var(--second);
  cursor: pointer;
}

/* 
=
project-details / Comments
=
*/

.comments {
  width: 80vw;
  background-color: #f5f5f5;
  padding: 0px 0px 20px;
  border-radius: 50px 50px 0px 0px;
  color: #111;
  text-align: center;
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  height: calc(100vh - 170px);
  transition: 0.4s ease-in-out;
  box-shadow: 0px 0px 10px rgb(0 0 0 / 10%);
  overflow: hidden;
}
.comments.closed {
  height: 63px;
}
.comments.closed .typing {
  bottom: -100vh !important;
}
.comments .head {
  border-radius: 50px 50px 0px 0px;
  border-bottom: 1px solid;
  padding-bottom: 4px;
  padding-top: 10px;
  cursor: pointer;
  position: relative;
  z-index: 3333;
  background: #f5f5f5;
}
.comments .head svg {
  font-size: 20px;
  transition: 0.3s ease-in-out;
}
.comments.closed .head svg {
  transform: rotate(180deg);
}
.comments .typing {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  overflow: hidden;
  border-radius: 7px 7px 0px 0px;

  transition: 0.4s ease-in-out;
}
.comments .typing a {
  background-color: var(--main);
  color: white;
  line-height: 300%;
  padding: 3px;
  cursor: pointer;
  width: 10%;
}
.comments .typing textarea {
  padding: 15px;
  width: 90%;
  border: none;
  text-align: right;
}
.comment {
  padding: 15px;
}
.comment-holder {
  display: flex;
  flex-direction: row-reverse;
  text-align: right;
}
.comment-holder-not-mine {
  display: flex;
  flex-direction: row;
  text-align: right;
}
.comment-holder-not-mine h6 {
  text-align: left;
}
.comment-holder img {
  width: 35px;
  height: 35px;
  border-radius: 50%;
}
.comment-holder p {
  background-color: #ffffff;
  padding: 5px;
  font-size: 14px;
  line-height: 1.8;
  border-radius: 0px 10px 10px 10px;
  box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.07);
  border: 1px solid var(--main);
  white-space: pre-wrap;
}
.my-comment .comment-holder p {
  border-radius: 10px 0px 10px 10px;
}
.comment-holder div {
  padding: 0px 10px;
}
.coms-container {
  overflow: scroll;
  height: 100%;
  position: absolute;
  width: 100%;
  bottom: 60px;
}
.inner-coms-container {
  position: relative;
  top: 125px;
}
/* 
=
project-details / Comments / message 
=
*/

.message {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 33;
}
.inner-message {
  background-color: white;
  width: 80vw;
  padding: 30px 10px;
  text-align: center;
  border-radius: 10px;
}
.inner-message p {
  margin-bottom: 20px;
}
.inner-message .btn {
  border: 0;
  font-family: "El Messiri";
  outline: 0;
  cursor: pointer;
}
.inner-message .btn.second {
  background-color: var(--second);
}
.files {
  text-align: right;
  line-height: 2.5;
  font-size: 20px;
}
.files li {
  cursor: pointer;
  font-size: 16px;
}
.files a {
  text-decoration: none;
}
.files svg {
  margin-left: 10px;
  color: var(--main);
}
.files .center {
  text-align: center;
}
/* signin page */
.signin {
  align-items: normal;
  text-align: right !important;
}
.signin label {
  display: block;
  margin: 10px;
}
.signin img {
  display: block;
  position: relative;
  top: -30px;
}
.signin input {
  padding: 15px 10px;
  margin: 5px 0px;
  border: 1px solid #11111133;
  border-radius: 5px;
  text-align: right;
  display: block;
  width: 100%;
}
.signin input:last-of-type {
  margin-top: 10px;
  text-align: center;
  font-family: "El Messiri";
  background-color: var(--main);
  color: white;
  cursor: pointer;
  border: 0;
  box-shadow: 0px 5px 30px rgba(59, 59, 59, 0.137);
}

.popup {
  position: fixed;
  background-color: rgba(0, 0, 0, 0.8);
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}
.popup div {
  background-color: seashell;
  height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 30px 10px;
  border-radius: 10px;
  text-align: center;
  width: 80vw;
  position: relative;
}
.popup div span {
}

.popup div > svg {
  font-size: 50px;
  color: #458a87;
  padding: 10px;
  box-sizing: content-box;
  background-color: seashell;
  border-radius: 50%;
  position: absolute;
  top: -30px;
}
.popup div p {
  margin-top: 20px;
}

#loading {
  visibility: hidden;
  position: absolute;
  background-color: rgba(255, 255, 255, 0.7);
  z-index: +100 !important;
  width: 100%;
  height: 100%;
}

#loading img {
  position: relative;
  top: 35%;
  right: 40%;
  width: 15%;
}
