* {
    padding: 0;
    margin: 0;
    font-family: 'Josefin Sans', sans-serif;
    box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  width: 100%;
  background-color: #1a1a1a;
  font-family: Arial, sans-serif;
  color: #f0f0f0;
  text-align: center;
}

h1 {
  color: #00ff99;
  margin-bottom: 30px;
}

.grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  justify-items: center;
  padding: 10px;
  max-width: 1000px;
  margin: 0 auto;
}

.card {
  background-color: #2c2c2c;
  border: 1px solid #444;
  border-radius: 12px;
  padding: 20px;
  width: 100%;
  max-width: 200px;
  box-shadow: 0 0 10px rgba(0, 255, 153, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 15px rgba(0, 255, 153, 0.3);
}

.card h2 {
  margin-top: 0;
  color: #00ffcc;
}

.card p {
  font-size: 14px;
  margin: 10px 0;
}

.card a {
  text-decoration: none;
  background-color: #00ffcc;
  color: #1a1a1a;
  padding: 8px 12px;
  border-radius: 6px;
  display: inline-block;
  margin-top: 10px;
  font-weight: bold;
}

.card a:hover {
  background-color: #00ccaa;
}

.btn-voltar {
  display: inline-block;
  margin-top: 40px;
  color: #ff6666;
  border: 2px solid #ff6666;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  transition: 0.3s;
}

.btn-voltar:hover {
  background-color: #ff6666;
  color: #1a1a1a;
}

footer {
    position: relative;
    width: 100%;
    height: 400px;
    background: #101010;
    display: flex;
    flex-direction: column;
    align-self: center;
    justify-content: center;
}

    footer p:nth-child(1) {
        font-size: 30px;
        color: white;
        margin-bottom: 20px;
        font-weight: bold;
        justify-content: center;
        text-align: center;
    }

    footer p:nth-child(2) {
        color: white;
        font-size: 17px;
        text-align: center;
        line-height: 26px;
    }

.social {
    display: flex;
    justify-content: center;
}

    .social a {
        align-items: center;
        width: 45px;
        height: 45px;
        display: flex;
        justify-content: center;
        background: #f9004d;
        border-radius: 50%;
        margin: 22px 10px;
        color: white;
        text-decoration: white;
        text-decoration: none;
        font-size: 20px;
    }

        .social a:hover {
            transform: scale(1.3);
            transition: .3s;
        }

.end {
    position: absolute;
    color: #f9004d;
    bottom: 35px;
    font-size: 14px;
}