:root {
  --font-primary: "Baloo Da 2", serif;
  --font-secundary: "Josefin Slab", serif;
  --font-action: "Mulish", serif;
}

.sessao-projetos {
  margin-bottom: 2rem;
  min-height: 100vh;
}

.projetos {
  display: flex;
  justify-content: space-evenly;
}

.card {
  margin-top: 5rem;
  width: 18rem;
  height: 25rem;
  position: relative;
}

.card-img-wrapper {
  width: 100%;
  height: 100%;
  background-color: #262626;
  border-radius: 0.5rem;
}

.card-img-wrapper img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  border-radius: 0.5rem;
  opacity: 0.5;
  transition: opacity 0.3s;
}

.card:hover .card-img-wrapper img {
  opacity: 0.5;
}

.card-info {
  position: absolute;
  bottom: 0;
  opacity: 0;
  visibility: hidden;
  padding: 2rem;
  text-shadow: 0.3rem 0.2rem 0.3rem rgba(0, 0, 0, 0.6);
  transition: all 0.3s;
}

.card-info h2 {
  font-family: var(--font-primary);
  font-size: 1.6rem;
  font-weight: 500;
  color: #eee;
}
.card-info h3 {
  font-family: var(--font-action);
  font-weight: bolder;
  color: #d46621;
  margin-bottom: 1.5rem;
}

.card-info p {
  font-family: var(--font-secundary);
  color: #eee;
  font-weight: 400;
  width: 90%;
  margin-bottom: 2rem;
  text-align: justify;
}

.card-info button {
  width: 8rem;
  height: 2.5rem;
}

.card-info button:hover {
  cursor: pointer;
}

.card:hover .card-info {
  bottom: 2rem;
  opacity: 1;
  visibility: visible;
}

.card-info > button > a {
  list-style: none;
  text-decoration: none;
  color: #eee;
}

.card-info > button > a:hover {
  color: #000;
}
