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

.project-details h1{
  font-size: 3rem;
}

body{
  font-family:  "Space Grotesk";
}

main::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: linear-gradient(
    45deg,
    rgba(156, 40, 40, 0.7),
    rgba(24, 31, 67, 0.7),
    rgba(126, 37, 111, 0.7),
    rgba(72, 21, 81, 0.7)
  );

  background-size: 300% 300%;
  animation: color 4s ease-in-out infinite;
}

@keyframes color {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.project-details a {
  width: 10rem;
  text-align: center;
  margin: 2em 0 0;
  border-top: 2px solid rgba(0, 0, 0, 0.7);
  border-radius: 50%;
  text-transform: uppercase;
  font-weight: 600;
  padding: 1em 1em;
  transition: all 0.5s ease;
  text-decoration: none;
  color: white;
  animation: aparecer1 2s ease 1 backwards;
}

.project-details a:hover {
  background: rgb(150, 0, 130);
  color: white;
  transform: scale(1.1);
  transition: 0.5s;
}

.project {
  width: 100%;
  height: 99vh;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: aparecer1 2s ease 1 both;
  border-bottom: 2px solid rgba(0, 0, 0, 0.7);
  border-top: 2px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 0 100px rgba(255, 255, 255, 0.7);
}
.project-content {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  margin: 0 4rem;
}

.project-content p {
  font-size: 1.2rem;
  color: white;
  text-align: center;
}

 h1 {
  font-size: 2rem;
  color: rgb(255, 245, 193);
  margin-bottom: 2rem;
  text-align: center;
}



.project-content h2 {
  font-size: 2rem;
  color: rgb(255, 245, 193);
  text-align: center;
}

.project-content ul {
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 0.5rem;
  margin-top: 2rem;
}
.project-content ul li {
  font-size: 1rem;
  color: white;
  text-align: center;
}

.technologies {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
}
.technologies img {
  width: 50px;
  height: 50px;
}

.git-hub:hover {
  cursor: pointer;
}

.gallery {
  width: 60%;
  height: 100%;
  display: flex;
  overflow-x: scroll;
  margin: auto;
}

.gallery div {
  width: 100%;
  flex: none;
}

.gallery div img {
  width: 100%;
  transition: transform 0.5s;
}

.gallery::-webkit-scrollbar {
  display: none;
}
.gallery-wrap {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.backBtn,
.nextBtn {
  width: 50px;
  height: 50px;
  cursor: pointer;
  margin: 40px;
}
.gallery div img:hover {
  cursor: pointer;
  transform: scale(1.1);
}

.project-info {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.project-photos {
  display: flex;
  margin-bottom: 4rem;
}

.project-details {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.project-details p {
  color: white;
  font-size: 1.2rem;
  text-align: center;
  margin: 0 2.5rem;
}

li {
  align-items: center;
  list-style: none;
}

@keyframes aparecer1 {
  from {
    opacity: 0;
    transform: translateY(50%);
  }
  to {
    opacity: 1;
    transform: translateY(0%);
  }
}
