/* Projects CSS */

/* new start */

body {
 background-color: var(--theme-primary);
 color: var(--theme-secondary);
  margin: 0;
  padding: 0;
  min-height: 100vh;
  position: relative;
  z-index: 0;
}

#projects {
  padding-top: 3rem;
  /* background-color: #e9e4df; */
  display: flex;
  flex-direction: column;
  margin-bottom: 0;
}

.page#projects,
.page.pending {
  height: auto;
  min-height: 100vh;
}

#projects .h2-text {
  border-bottom: 1px dashed var(--theme-tertiary);
  margin-bottom: 1rem;
  color: var(--theme-tertiary);
}

.project-category {
  width: 100%;
  /* background-color: #b0ba99; */
  height: 6%;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  /* padding-top: 1rem; */
  margin-bottom: 2rem;
  gap: 0.5rem;
}

.category {
  background-color: var(--theme-primary);
  border: 1px dashed var(--theme-tertiary);
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 18px;
  padding: 6px 1rem;
  max-width: 20%;
  color: var(--theme-tertiary);
}


.category:hover {
  background-color: var(--theme-quaternary);
  border: 1px solid var(--theme-tertiary);
  /* color: var(--theme-tertiary); */
}
.category:active,
.category.is-selected {
  background-color: var(--theme-tertiary);
  border: 1px solid var(--theme-tertiary);
  color: var(--theme-primary);
}

.project-field {
  /*   background-color: var(--theme-primary); */
  width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 380px), 380px));
  grid-auto-rows: auto;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
  /* space-between: 1rem; */
}

.card-container {
  /*   background-color: transparent; */
  height: 640px;
  width: 100%;
  min-width: min(100%, 380px);
  max-width: 380px;
  border-radius: 10px;
  border:none;
}
.card {
  height: 640px;
  min-height: 640px;
  max-height: 640px;
  width: 100%;
  min-width: min(100%, 380px);
  max-width: 380px;
  display: flex;
  flex-direction: column;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  cursor: pointer;
  overflow: hidden;
  background-color: #EEF3EA;
  color: var(--theme-primary);
  border:none;
}

.card:hover {
  transform: translateY(-1px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
  border: solid 2px var(--theme-secondary);
}

.card-head {
  display: flex;
  flex-direction: column;
  align-items: start;
  /* background-color: pink; */
  flex: 0 0 340px;
  height: 340px;
  min-height: 340px;
  max-height: 340px;
  overflow: hidden;
}

.card-image-container {
  width: 100%;
  height: 200px;
  min-height: 200px;
  max-height: 200px;
  overflow: hidden;
  flex-shrink: 0;
  margin-bottom: 5px;
}

.card-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card-head-tag-title {
  /* background-color: orange; */
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 0.6rem;
  gap: 0.5rem;
}

.card-tag {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  background-color: var(--theme-primary);
  color: #EEF3EA
;
  border: 1px solid var(--theme-primary);
  width: fit-content;
  min-height: 30px;
  max-height: none;
  max-width: 65%;
  border-radius: 7px;
  padding: 0.25rem 0.5rem 0.15rem;
}

.card-tag b {
  font-size: 0.7rem;
  font-weight: 650;

  /* Add these to center the text: */
  margin: 0;
  line-height: 1;
  text-align: center;
  display: flex;
  align-items: center;
}

.card-title {
  max-height: none;
  max-width: 100%;
  height: fit-content;
  width: fit-content;
  overflow: visible;
  /* background-color: white; */
  margin: 0;
}

.card-title h3 {
  font-size: 0.8rem;
  font-weight: 800;
  line-height: 1.3;
  margin: 0;
  padding: 0.25rem;
}

.card-body {
  flex: 0 0 300px;
  display: flex;
  flex-direction: column;
  /* background: #e9e4df; */
  padding-top: 0.5rem;
  /* background-color: blue; */
  height: 300px;
  min-height: 300px;
  max-height: 300px;
  overflow: hidden;
  gap: 0.5rem;
  text-align: justify;
}


.card-text {
  border-top: 1px dashed black;
  border-bottom: 1px dashed black;
  font-size: 13px;
  width: 100%;
  padding: 0.5rem;
  min-height: 50%;
  background-color: white;
  margin: 0;
  font-weight: 600;
}

.tag-used {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: flex-start;
  max-width: 100%;
  min-height: 30%;
  max-height: 30%;
  /* background-color: red; */
  gap: 10px;
  margin: 0;
  padding: 0.25rem 0;
}

.tag-used .card-tag {
  height: 100%;
}

.btn-group {
  /* background-color: aqua; */
  display: grid;
  grid-template-columns:fit-content(100%) fit-content(100%) fit-content(100%) ;
  grid-template-rows: 30px;
  gap: 5px;
  width: 100%;
  /* background-color:yellow; */
  margin:0;

}

.btn-group > .btn {
  float: none;
  margin: 0;
  background-color: var(--theme-secondary);
  border: 1px dashed var(--theme-primary);
  border-radius: 7px;
  display: flex;
  flex-direction: row;
  width: fit-content;
  min-width: 0;
  height: 100%;
  padding: 0 0.5rem;
  gap: 0.5rem;
  justify-content: center;
  align-items: center;
}

.btn p {
  font-size: 12px;
  margin: 0;
  color: var(--theme-primary);
  font-weight: 900;
}

.btn p:hover {
  color: green;
}

.btn img {
  width: 18px;
  height: 18px;
}

.category:hover {
  border: 1px solid var(--theme-secondary);
}
.btn:hover {
  border: 1px solid var(--theme-primary);
}



/* Pending */
.pending {
  flex-direction: column;
  /* background: rgba(255, 255, 255, 0.04); */
  width: 100%;
  height: 100%;
  flex-wrap: wrap;
  /* background-color: #2c2119; */
  
}

.pending .h2-text {
  color: #EEF3EA;
  margin-top: 5rem;
  margin-bottom: 2rem;
  
}

.pending-project {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  width: 100%;
  max-width: 100%;
  margin: 0;
}

.pending-card {
  background-color: #EEF3EA;
  color: var(--theme-primary);
  width: 100%;
  max-width: 450px;
  padding: 1rem;
  border: 20px dashed var(--theme-primary);
  border-radius: 8px;
  box-sizing: border-box;
  text-align: justify;
}

.pending-card-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 1rem;
  gap: 0.75rem;
}

.pending-card-head .card-title {
  flex: 1 1 220px;
}

.pending-card-head .card-tag {
  margin-left: auto;
}

.pending-card-body {
  /* background-color: orangered; */
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-height: 0;
}

.pending-card-body .card-text {
  /* background-color: bisque; */
  font-size: 13px;
  width: 100%;
  min-height: 140px;
  margin: 0;
  box-sizing: border-box;
  /* color: #EEF3EA */

}

main > .container > footer {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  border-top: 1px solid rgba(178, 199, 171, 0.35);
  background: rgba(106, 13, 6, 0.12);
  backdrop-filter: blur(2px);
  padding: 0.9rem 0 1rem;
}

main > .container > footer .container {
  color: var(--theme-secondary);
  align-items: center;
}

main > .container > footer a {
  color: var(--theme-secondary);
}

main > .container > footer a:hover {
  color: var(--theme-secondary);
}
footer a:hover {
    color: var(--theme-secondary);
}

.tags{
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: flex-start;
  width: 100%;
  height: auto;
  background-color: transparent;
  margin: 0;
  padding: 0;
}

.card-body .card-tag {
width: fit-content;
height: fit-content;
}