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

body {
  background: url("../images/bg.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  font-family: sans-serif;
}

nav {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 10px;
}

nav .logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

nav .logo img {
  height: 80px;
}

nav .logo h3 {
  color: lightgrey;
  margin-top: 10px;
  text-align: center;
  font-size: 1.2rem;
}

.container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  padding: 40px 20px;
  gap: 30px;
}

.container a {
  height: 250px;
  width: 250px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 15px;
  text-decoration: none;
  box-shadow: 0px 10px 10px rgba(0, 0, 0, 0.5);
  transition: all 0.3s ease-in-out;
  backdrop-filter: blur(10px);
  background-color: rgba(255, 255, 255, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.container a:hover {
  box-shadow: 0px 5px 5px rgba(0, 0, 0, 0.5);
  transform: scale(1.1);
}

.container a:active {
  transform: scale(1.05);
}

.container a img {
  width: 70%;
  max-height: 80%;
  object-fit: contain;
}

footer {
  padding: 20px 10px;
  text-align: center;
}

footer h3 {
  color: black;
  font-size: 1rem;
}

footer h3 a {
  margin-left: 5px;
  display: inline-block;
  text-decoration: none;
  color: lightgrey;
  word-break: break-word;
}

/* Responsividade para tablets e celulares */
@media (max-width: 768px) {
  nav .logo img {
    height: 60px;
  }

  .container a {
    height: 180px;
    width: 180px;
  }

  .container {
    gap: 20px;
    padding: 20px 10px;
  }

  nav .logo h3 {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .container {
    flex-direction: column;
    align-items: center;
  }

  .container a {
    width: 180px;
    height: 180px;
  }

  nav {
    padding: 10px 5px;
  }

  footer h3 {
    font-size: 0.9rem;
  }
}
