@import url('https://fonts.googleapis.com/css2?family=Cal+Sans&display=swap');

body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  background-color: #f3e5f5; 
}

header.hero {
  background-color: #7b1fa2; 
  font-family: "Cal Sans", sans-serif;
  letter-spacing: 1px;
  color: #ffffff;
  text-align: center;
  padding: 2rem;
  box-shadow: 0 10px 60px rgba(0, 0, 0, 0.1);
}

header.hero .imge {
  height: 100px;
  width: 100px;
  margin-top: 5px;
  margin-bottom: 1px;
}

header.hero .cta {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.5rem 1rem;
  transition: background-color 0.3s ease, transform 0.2s ease;
  background-color: #4a0072; 
  color: white;
  text-decoration: none;
  border-radius: 5px;
  animation: shake 0.8s infinite;
}

header.hero .cta:hover {
  background-color: #b952f9; 
}

@keyframes shake {
      0% { transform: rotate(0deg); }
      25%  { transform: rotate(2deg); }
      50%  { transform: rotate(0deg); }
      75%  { transform: rotate(-2deg); }
      100% { transform: rotate(0deg); }
}


section {
  padding: 2rem;
  margin: 1rem auto;
  max-width: 800px;
}

section h2 {
  color: #8e24aa; 
}

.form {
  display: flex;
  flex-direction: column;
  align-items: center; 
  background-color: #f3e5f5; 
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); 
  max-width: 600px;
  margin: 2rem auto; 
}

.form label {
  margin-top: 1rem;
  font-weight: bold;
  color: #7b1fa2; 
}

.form input, 
.form select, 
.form button {
  margin-top: 0.5rem;
  padding: 0.75rem;
  font-size: 1rem;
  border: 1px solid #7b1fa2;
  border-radius: 5px;
  width: 100%; 
  max-width: 500px; 
  box-sizing: border-box;
}

.form input:focus, 
.form select:focus {
  outline: none;
  border-color: #4a0072; 
  box-shadow: 0 0 5px rgba(74, 0, 114, 0.5); 
}

.form .cta {
  background-color: #4a0072; 
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.form .cta:hover {
  background-color: #6a1b9a;
  transform: scale(1.05); 
}

.card-container {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  justify-content: center;
  margin-top: 1rem;
}

.card {
  background-color: #d1c4e9; 
  color: #333;
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: 250px;
  text-align: center;
  cursor: pointer;
  display: flex;
  flex-direction: column; 
  justify-content: center;
}


.card:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2);
}

footer {
  text-align: center;
  padding: 1rem;
  background-color: #7b1fa2; 
  color: #ffffff;
}

footer .policy {
  color: #eab3f8;
}

@media (max-width: 720px) {

  #sobre {
    text-align: justify;
  }

  section {
    padding: 1rem;
  }

  .card-container {
    flex-direction: column; 
    align-items: center;
  }

  .card {
    width: 90%; 
  }
}

@media (min-width: 769px) {
  .card-container {
    justify-content: space-between;
  }
}