.projects__container{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}

.project{
  /* border: 1px solid; */
  border-radius: 5%;
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.2), 0 3px 10px 0 rgba(0, 0, 0, 0.19);
  padding: 2rem;
  /* position: relative; */
  transition: all 1s;
}

.project .subtitle{
  margin: 0 auto 1rem auto;
}

/* .project:hover{
  transform: scale(1.1);
} */

/* ******************    MODAL   ********************* */
.project__wrapper {
  align-items: center;
  display: flex;
  justify-content: center;
}

.project__wrapper a {
  background-color: var(--color-blue);
  border-radius: 3px;
  color: var(--color-dark-pink);
  display: inline-block;
  font-weight: 500;
  margin-top: 2rem;
  padding: 12px;
  /* position: absolute; */
  text-decoration: none;
  text-transform: uppercase;
}

.project__wrapper:hover a {
  background-color: var(--color-dark-pink);
  color: var(--color-blue);
}

.project__modal {
  visibility: hidden;
  opacity: 0;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(77, 77, 77, 0.7);
  transition: all 0.4s;
}

.project__modal:target {
  visibility: visible;
  opacity: 1;
}

.modal__content {
  background: var(--color-white);
  border-radius: 4px;
  height: 100vh;
  padding: 2.5rem;
  position: relative;
  text-align: justify;
}

.modal__close {
  position: absolute;
  top: 10px;
  right: 10px;
  color: #585858;
  text-decoration: none;
  font-size: 4rem;
}


/* ICONES PAGES E REPOSITÓRIO */

.link-github {
  display: flex;
  flex-direction: row;
  justify-content: center;
}




/* **************MEDIAS QUERIES *************************************************************** */
@media screen and (min-width: 0px) {
  .icones {
    font-size: 2.6rem;
    /* text-shadow: 2px 2px 5px black;  */
  }

  .project__paragraph--link img {
    width: 25%;
  }

  .projects__container{
    gap: 2.5rem;
  }
  
  .modal__content {
    max-width: 90%;
  }
  .modal__content h4, .fa-plus{
    font-size: 1.4rem;
  }

}

@media screen and (min-width: 1024px) {

  .project{
    width: 40%;
  }
  
  .projects__container{
    gap: 1.5rem;
  }

  .modal__content h4, .fa-plus{
    font-size: 1.9rem;
  }

  .tooltip .tooltiptext {
    visibility: hidden;
    width: 15%;
    background-color: #233057;
    color: #fffff6;
    font-size: 1rem;
    text-align: center;
    border-radius: 6px;
    padding: 1% 0;

    /* Position the tooltip */
    position: absolute;
    z-index: 1;
  }

  .tooltip:hover .tooltiptext {
    visibility: visible;
  }

  .project__paragraph--link img {
    width: 35%;
  }
  
}
