.projetos {
  display: flex;
  flex-direction: column;
  margin: 8% auto;

  h1 {
    color: blueviolet;
    text-align: center;
  }
}
.texto {
  width: 50%;
  display: block;
  padding: 5px;

  h4 {
    font-size: 20px;
  }

  p {
    font-size: 16px;
  }
}
.texto h1 {
  color: blueviolet;
  font-size: 28px;
}
.texto span {
  color: #838383;
}
.card1,
.card2 {
  background-color: #121212;
  justify-content: space-between;
  width: 70%;
  padding: 10px;
  border-radius: 10px;
  margin: auto;
  margin-bottom: 100px;
  box-shadow: 0 5px 10px rgba(137, 43, 226, 0.651);
  transition: 0.2s ease-in-out;
}
.card1:hover,
.card2:hover {
  
  box-shadow: 0 12px 15px rgba(137, 43, 226, 0.651);
  .texto span {
    color: rgb(102, 57, 145);
  }
}
.base {
  display: flex;
  justify-content: space-between;
}
.link {
  display: flex;
  margin-top: 10px;
  padding: 20px;
  align-items: center;
  text-align: center;
  justify-content: center;
}
.link a {
  padding: 5px 10px;
  margin: 0 10px;
  border-radius: 10px;
}
.link h2 {
  font-size: 17px;
}
.deploy {
  border: 4px solid blueviolet;
  transition: 0.1s ease-in-out;
}
.deploy:hover {
  color: #fff;
  background-color: blueviolet;
  transform: scale(1.05);
}
.git {
  border: 4px solid #000;
  transition: 0.1s ease-in-out;
}
.git:hover {
  color: #fff;
  background-color: #000;
  transform: scale(1.05);
}
.imagem img {
  width: 100%;
  border-radius: 10px;
  border: 3px solid blueviolet;
  margin: auto;
}

[data-anime] {
  opacity: 0;
  transition: .8s;
}
[data-anime="top"] {
  transform: translate3d(0, -100%, 0);
}
[data-anime="left"] {
  transform: translate3d(-100%, 0, 0);
}
[data-anime="right"] {
  transform: translate3d(100%, 0, 0);
}
[data-anime="bottom"] {
  transform: translate3d(0, 100%, 0);
}
[data-anime].animated {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

@media (max-width: 1200px) {
  .projetos {
    margin: 30% auto;
  }
  .base {
    display: flex;
    flex-wrap: wrap;
  }
  .card1,
  .card2 {
    width: 90%;
    text-align: center;
    align-items: center;
  }
  .link h2 {
    font-size: 12px;
  }
  .texto {
    width: 100%;
  }
  .imagem {
    padding: 15px;
    width: 100%;
  }
}
