body {
  display: flex;
  flex-direction: column;
  background: linear-gradient(-45deg, #1a2ca3, #0d1a63, #2845d6, #92a4fe);
  background-size: 400% 400%;
  animation: animationBackground 15s ease infinite;
}

@keyframes animationBackground {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 60px;
  margin-top: 50px;
}

#login {
  background-color: var(--bg);
  color: #ffff;
}

.projects-containers {
  width: 75%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}

.projects {
  flex: 1;
  max-width: 320px;
  height: 420px;
  border-radius: 20px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  transition: 0.3s ease;
}
.projects:hover {
  transform: translateY(-10px);
  box-shadow: 0 4px 10px rgba(223, 223, 223, 0.2);
}
.musicMatch {
  background-color: #f68048;
  color: white;
  button {
    border-radius: 10px;
    width: 100px;
    height: 30px;
    background-color: #0d1a63;
  }
}
.project-a {
  background-color: #5168da;
  color: white;
  button {
    border-radius: 10px;
    width: 150px;
    height: 30px;
    background-color: #94a3ec;
    color: rgb(86, 86, 86);
  }
}
.project-b {
  background-color: #94a3ec;
  button {
    border-radius: 10px;
    width: 150px;
    height: 30px;
    background-color: #f68048;
    color: rgb(86, 86, 86);
  }
}
.images {
  width: 300px;
  height: auto;
  border-radius: 10px;
}
.message {
  color: white;
}

/* mobile  */
@media (max-width: 600px) {
  main {
    padding: 1rem;
  }
  .projects-containers {
    flex-direction: column;
  }
  .projects {
    gap: 1rem;
  }
}

/* tablet */
@media (min-width: 601px) and (max-width: 1024px) {
  main {
    margin: 1rem;
  }
  .projects-containers {
    padding: 1rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    grid-template-areas:
      "top-left top-right"
      "bottom bottom";
    gap: 15px;
  }
  .project-b {
    grid-area: bottom;
    justify-self: center;
  }
}
