* {
  border: none;
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  text-decoration: none;
  font-family: Poppins, sans-serif;
}

header {
  display: flex;
  padding: 0.2rem 5%;
  justify-content: space-between;
  align-items: center;
}

header > div {
  padding: 0 0.25rem;
  flex-grow: 1;
}

header > div:first-child, header > div:last-child {
  padding: 1.5rem 2rem;
}

.header-btns {
  text-align: right;
}

.profile, .profile * {
  display: none;
}

.profile {
  display: none;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.profile img {
  width: 50px;
  height: 50px;
  border-radius: 100%;
  background-color: green;
  border: none;
}

.profile span {
  background-color: brown;
  margin-top: 0.25rem;
}

.header-btns a.report-btn {
  color: white !important;
  padding: 0.25rem 2rem;
  background-color:#0193D6;
  border-radius: 0.5rem;
}

.header-btns a.auth-btn {
  margin: 0 1rem;
  padding: 0.2rem;
  text-decoration: underline;
  cursor: pointer;
}

/* Banner */
section.banner {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 450px;
  background: url(../assets/images/banner.png) no-repeat;
  background-size: cover;
  background-position: center;
}

.banner .overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: #02020266;
}

.banner div.title h1{
  text-align: right;
  padding: 0rem 5rem;
  color: #0193D6;
  z-index: 10000;
  font-size: 32px;
}
.banner div.title span{
    text-align: right;
    padding: 0rem 5rem;
    color: white;
    z-index: 10000;
    font-size: 32px;
  }

/* Search Bar */
.search {
  max-width: 600px;
  min-width: 200px;
  position: relative;
  top: -2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
}

.search > i {
  padding: 0.5rem 1.5rem
}

.search > input#search-item {
  flex-grow: 1;
}

.search > input.search-btn {
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
}

/* Most Recent Section */
section.recent {
  padding: 4rem 7.5%;
}

/* Section on issues */
section.issues {
  padding: 4rem 7.5%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5rem;
}

/* sections on reports */
section.report {
  padding: 4rem 5%;
}

.report-form-container {
  margin: auto;
  max-width: 350px;
}

.report-form-container h4 {
  text-align: center;
  font-size: 1.2rem;
  opacity: 0.5;
}
.report-form-container p {
    text-align: center;
    font-size: 1.0rem;
    opacity: 0.5;
  }
  
.report-form-container input, .report-form-container textarea {
  border: #707070 solid 1px;
  border-radius: 0.3rem;
  padding: 0.2rem 0.5rem;
}

.form-input label {
  font-size: 0.9rem;
  opacity: 0.5;
}

.form-input {
  display: flex;
  flex-direction: column;
  padding: 0.5rem 1rem;
  width: 100%;
  text-align: left;
}

footer {
  height: 20px;
  background-color: black;
}


/* Generics */
.card {
  background-color: white;
  padding: 0.5rem;
  margin: 0.5rem;
  border-radius: 0.75rem;
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

.issue-card {
  display: flex;
}

.issue-card.column {
  flex-direction: column;
}

.issue-card .content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
}

.issue-card .content > span {
  font-size: 1rem;
  line-height: 1.5rem;
}

.issue-card .display {
  position: relative;
}

.issue-card:not(.column) .display, .issue-card:not(.column) .display img {
  width: 400px;
}

.issue-card .display img {
  display: block;
  border-radius: 2rem;
  background-color: aquamarine;
  width: 100%;
  height: 100%;
}

.heart, .share {
  position: absolute;
  color: white;
  right: 1.5rem;
  transition: all .2s ease-in-out;
  cursor: pointer;
}

.issue-card .display .heart {
  top: 1.5rem;
}

.issue-card .display .share {
  bottom: 1.5rem;
}

.issue-card .display .heart:hover, .issue-card .display .share:hover {
  font-size: 1.5rem;
}

.issue-card h3.title {
  font-size: 1.5rem;
  line-height: 2rem;
}

.issue-card.column h3.title {
  font-size: 1rem;
  line-height: 1.5;
}

.issue-card p.text {
  font-size: 1rem;
  line-height: 24px;
  color: rgba(0, 0, 0, 0.6);
  padding: 1rem 0;
  flex-grow: 1;
}

.issue-card.column p.text {
  font-size: 0.9rem;
  flex-grow: 0;
}

.issue-card div.likes {
  display: flex;
  align-items: flex-end;
  font-size: 0.5rem;
  line-height: 0.9rem;
  color: #707070;
}

.issue-card div.likes > div {
  font-size: 1rem;
  padding: 0 0.5rem 2.5px;
}

.issue-card div.likes > div > .digit {
  font-weight: 600;
}

.issue-card div.comments {
  padding: 2rem;
  font-size: 0.7rem;
}

.issue-card.column div.comments {
  padding: 0.5rem;
}

.issue-card div.comments .name {
  font-weight: 600;
  line-height: 0.9rem;
}

.issue-card div.comments .text {
  line-height: 0.9rem; 
  color: rgba(0, 0, 0, 0.8);
  padding-left: 0.2rem;
}
