@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap");
@import url("/styles/global.css");

* {
  margin: 0;
  padding: 0;
  /* box-sizing: border-box; */
}

html {
  scroll-behavior: smooth;
}

body,
button,
input,
textarea {
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
}

body {
  background-color: #ffffff;
  color: var(--text-color);
}

.container {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 30% 70%;
  height: 100vh;
  align-items: center; /* alinha verticalmente */
  justify-items: center; /* alinha horizontalmente */
  /* background-color: blue; */
}

/* .grid {
  display: grid;
  gap: 1.5rem;
} */

/* .container_deploy {
  display: grid;
  grid-template-columns: 30% 70%;
  height: 40%;
  margin-bottom: 5rem;
  margin-top: 5rem;
} */

.block1 {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-right: 2rem;
  /* background-color: bisque; */
}

.deploy__img {
  background: url(../../assets/img/about.jpg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  box-shadow: inset 0 0 0 6px rgba(255, 255, 255, 0.302);
  margin-bottom: 1rem;
  width: 13rem;
  height: 13rem;
  animation: profile__animation 5s ease-in-out infinite;
}

@keyframes profile__animation {
  0% {
    border-radius: 60% 40% 30% 70%/60% 30% 70% 40%;
  }
  50% {
    border-radius: 30% 60% 70% 40%/50% 60% 30% 60%;
  }
  100% {
    border-radius: 60% 40% 30% 70%/60% 30% 70% 40%;
  }
}

.home__title {
  font-size: var(--h3-font-size);
  margin-bottom: var(--mb-0-25);
}

.home__description {
  max-width: 400px;
  margin-bottom: var(--mb-1);
}

.social {
  display: flex;
  /* justify-content: center; */
  column-gap: 0.5rem;
  margin-bottom: var(--mb-1);
}

.social-link2 {
  color: var(--text-color);
  font-size: 0.9rem;
  font-weight: bold;
  text-decoration: underline 0;
  text-underline-offset: 4px; /* Ajusta a distância do sublinhado em relação ao texto */
}

.button_about {
  display: flex;
  background-color: var(--preto-secundario);
  width: 100%;
  height: 2rem;
  border-radius: 0.3rem;
  text-align: center;
}

.button_about a {
  text-decoration: none;
  color: var(--branco-secundario);
  font-weight: bold;
  margin: auto auto;
}

.button_about a:hover {
  color: var(--branco-primario);
}

/* --------------------- deploys -------------------- */
.container_deploy {
  /* background-color: red; */
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.block {
  /* color: white; */
  /* background-color: red; */
  text-align: center;
}

.work__button {
  text-decoration: none;
}

.work__card {
  display: flex;
  flex-direction: column;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  background-color: rgb(255, 255, 255);
  text-align: start;
  box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.098);
  border: solid 1px rgba(0, 0, 0, 0.159);
  box-sizing: border-box;
  transition: border-color 0.3s;
  height: 100%;
}

.work__card:hover {
  transform: scale(1.03);
  transition: transform 0.1s linear; /* Transição mais lenta */
}

.work__img {
  margin: 0 auto;
  width: 100%;
  height: auto;
  border-radius: 0.3rem;
  margin-bottom: var(--mb-0-5);
  border: solid 1px rgba(163, 163, 163, 0.531);
}

.work__title {
  color: var(--text-color);
  font-size: var(--small-font-size);
  font-weight: var(--font-semi-bold);
  margin-bottom: var(--mb-0-5);
}
.work__technology {
  font-size: var(--tiny-font-size);
  font-weight: bold;
  color: var(--button-inactive-color);
}

.work__description {
  font-size: var(--small-font-size);
  font-weight: 200;
  color: var(--text-color);
  max-width: 100%;
  display: block;
}

/* =============== FOOTER ================ */
.footer {
  text-align: center;
  margin-top: -1.2rem;
}

.footer__copy {
  display: block;
  /* margin-top: 2rem; */
  color: var(--title-color);
  font-size: var(--smaller-font-size);
}

/*=============== BREAKPOINTS ===============*/
/* For large devices */
@media screen and (max-width: 992px) {
  /* .container-deploy {
    gap: 2rem;
  }
  .block1 {
    padding-left: 1rem;
  }

  .work__container {
    gap: 1.25rem;
  }

  .work__img {
    margin-bottom: 0.75rem;
  }

  .work__title {
    margin-bottom: 0.25rem;
  } */
}

/* For medium devices */
@media screen and (max-width: 768px) {
  .container {
    grid-template-columns: 1fr;
    padding-top: 2rem;
    height: 100%;
  }

  .block1 {
    /* background-color: red; */
    align-items: center; /* centraliza na horizontal */
    justify-content: center; /* centraliza na vertical */
    text-align: center;
    margin-bottom: 2rem;
    padding-inline: 2rem;
  }

  .container_deploy {
    grid-template-columns: 1fr;
    /* padding-inline: 2rem; */
    gap: 15px;
  }

  .button_about {
    background-color: var(--preto-secundario);
    width: 50%;
  }

  .work__container {
    grid-template-columns: 1fr;
  }

  .block {
    padding-inline: 1rem;
    /* background-color: aqua; */
    /* width: 90%; */
    /* height: 60%; */
  }

  .work__button {
    font-size: var(--medium-font-size);
  }

  .footer {
    margin-top: 2rem;
  }
}

/* For small devices */
@media screen and (max-width: 350px) {
  .work__item {
    font-size: var(--small-font-size);
  }

  .work__filters {
    column-gap: 0.25rem;
  }
}
