@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,300;0,400;0,700;1,300;1,400;1,700&family=Work+Sans&family=Secular+One&display=swap');
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Variáveis */
  font-family: 'Montserrat', sans-serif;
  --ff-workSans: 'Work Sans', sans-serif;
  --ff-secularOne: 'Secular One', sans-serif;
}

body {
  margin: 0px;
  padding: 0px;
  background: #a07cda;
}

h1 {
  font-weight: 600;
  margin: 0px;
  text-align: center;
}

h2 {
  font-weight: 400;
  text-align: center;
  color: #1c1c1e;
}

h3 {
  font-weight: 400;
  color: #1c1c1e;
}

a {
  text-decoration: none;
  font-weight: 600;
  color: inherit;
}

main {
  max-width: 100%;
  font-weight: 300;
  padding: 1rem;
  margin: 10rem auto;
}

/* ====== Divider Top ====== */
.shape__wrapper {
  position: relative;
}

.shape__divider--top {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  transform: rotate(180deg);
}

.shape__divider--top svg {
  position: relative;
  display: block;
  width: calc(150% + 1.3px);
  height: 200px;
}

.shape__divider--top .shape-fill {
  fill: #f4effc;
}

.button {
  position: fixed;
  bottom: 50px;
  right: 30px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #8b76e9;
  color: #fff;
  font-size: 16px;
  border: none;
  box-shadow: 0 5px 5px rgba(0, 0, 0, 0.3);
  z-index: 100;
  cursor: pointer;

  transition: 0.2s;

  overflow: hidden;
}

.button span {
  display: none;
  opacity: 0;
  transition: 2s;
}

.button:hover{
  width: 150px;
  border-radius: 20px;
  padding: 5px;

  display: flex; 
  gap: 12px;
  align-items: center;
  justify-content: center;

}

.button:hover span {
  display: inline;
  opacity: 1;
}

/* ====== Container ====== */
.container {
  width: 100%;
  max-width: 90%;
  margin: 0 auto;
}


/* ====== Header ====== */
.titulo {
  position: relative;

  text-align: center;
  color: #1f1135;

  margin-bottom: 36px;

  padding: 36px 24px;
}

.header__titulo {
  position: absolute;
  top: 60%;

  font-family: var(--ff-secularOne);
  font-size: clamp(1.5rem, 1.2692rem + 0.641vw, 2rem);
}


/* ====== Projetos Cards ====== */
.projects__cards {
  width: 100%;
  
  display: grid;
  grid-template-columns: repeat(3, minmax(260px, 1fr));
  gap: 1rem;
}

@media (max-width: 874px) {
  .projects__cards {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  }
  
}

.card {
  border-radius: 14px;
  padding: 16px 24px;
  margin-bottom: 1rem;
  position: relative;
  overflow: hidden;
  background-color: #e2daeb;

  display: grid;
  gap: 1rem;
  grid-template-rows: 3rem 1fr;
  align-items: center;
}

.card:hover {
  transition: all 0.3s linear;
  transform: scale(1.03);
}

.card::before {
  content: '';
  position: absolute;
  bottom: -50%;
  right: -20%;
  width: 0;
  height: 0;
  transition: all 0.8s ease-in-out;
  z-index: -1;
  border-radius: 999999px;
}

.card:hover::before {
  width: 1000px;
  height: 1000px;
  background-color: #8b76e9;
}

.card:hover * {
  transition: color 1s ease;
  color: white;
}

.card__titulo {
  margin-bottom: 0.1rem;
  font-weight: bold;
  color: #1f1235;
}

.card > p {
  font-size: 1.4ch;
  margin-bottom: 2rem;
  color: #1b1325;
}

.card__link {
  width: 10rem;

  text-align: center;
  font-size: 1.4ch;
  color: #f6f8fa;

  padding: 1rem;

  border-radius: 0.875rem;
  background-color: #c4b0f5;

}

.card__link:hover {
  color: #f6f8fa;
  background-color: #67568c;

  transition: all 0.6s ease-in-out;
  -webkit-transition: all 0.6s ease-in-out;
}

footer {
  width: 100%;
  position: relative;
}

.credits {
  position: absolute;
  bottom: 1rem;
  right: 15%;

  /* font-size: 1.5rem; */

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.credits > p {
  font-size: 0.875rem;
}

.contribution__group {
  display: flex;
  gap: 1rem;
}

/* ====== Divider Bottom ====== */
.shape__divider--bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.shape__divider--bottom svg {
  position: relative;
  display: block;
  width: calc(150% + 1.3px);
  height: 100px;
}

.shape__divider--bottom .shape-fill {
  fill: #f4effc;
}

.modal {
  position: fixed;
  top: 25%;
  left: 20%;
  width: 600px;
  background-color: #fff;
  border: none;
  border-radius: 8px;
  box-shadow: 0 5px 5px rgba(0, 0, 0, 0.3);
}

.modal-header {
  width: 100%;
  border-bottom: 1px solid rgba(0, 0, 0, 0.3);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 18px;
}

.modal-header .modal-title {
  font-size: 18px;
  font-weight: bold;
  
}

.btn-close {
  background-color: transparent;
  border: none;
  width: 20px;
  height: 20px;
  font-size: 16px;
  cursor: pointer;
  transition: 0.5s;
}

.btn-close:hover {
  transform: scale(1.2);
}

.modal-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  font-size: 16px;
}

.modal-body input, .modal-body textarea {
  width: 100%;
  padding: 16px 12px;
  border: none;
  outline: none;
  background-color: #ece4f9;
  border-radius: 4px;
  margin-bottom: 5px;
}

menu {
  padding: 18px;
  display: felx;
  gap: 1rem;
}

.btn {
  padding: 10px 18px;
  border: none;
  cursor: pointer;
  border-radius: 4px;
  transition: 0.6s;
}

.btn:hover {
  filter: brightness(0.9);
}


.btn.btn-primary {
  background: blue;
  color: #fff;
}

@media (max-width: 600px) {
  .card {
    margin: 0.625rem;
  }

  /* .shape__divider--top {
    width: 180%;
  }

  .shape__divider--bottom {
    width: 180%;
  } */

  .credits {
    bottom: 0rem;
    right: 15%;
  }
}
/*# sourceMappingURL=style.css.map */

