@font-face {
  font-family: "Matrix";
  src: url("../fonts/matrix.ttf") format("truetype");
}

body {
  font-family: "Matrix", sans-serif;
  background-image: url("https://media.giphy.com/media/v1.Y2lkPTc5MGI3NjExNWw2eXF4eXRzYzdwcmxpZHNoMzI4NmgxZGVzcmV4dHRobHJ6cDJhNCZlcD12MV9naWZzX3NlYXJjaCZjdD1n/AOSwwqVjNZlDO/giphy.gif");
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background-size: cover;
  background-position: center;
  min-height: 100vh;
}

h1 {
  text-align: center;
  color: #08ff32;
}
h3 {
  text-align: center;
  color: white;
}
label {
  color: #08ff32;
  display: block;
  margin-top: 10px;
  font-weight: bold;
}

input,
textarea,
select {
  background-color: black;
  color: white;
  padding: 10px;
  margin-top: 5px;
  border: 1px solid #08ff32;
  border-radius: 15px;
}

input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-right: 8px;
  accent-color: #08ff32;
  cursor: pointer;
}

.container {
  max-width: 600px;
  padding: 20px;
  background: #000000bd;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.contact-form {
  display: flex;
  flex-direction: column;
}

.form-buttons {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
}

.btn {
  padding: 10px 15px;
  border: none;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
}

.enviar {
  background: #08ff32;
  color: black;
}

.limpiar {
  background: #08ff32;
  color: black;
}

input:valid,
textarea:valid,
select:valid {
  border-color: #4caf50;
  background-color: black;
  color: white;
}

input:invalid,
textarea:invalid,
select:invalid {
  border-color: red;
}

.btn:hover {
  opacity: 0.9;
}

input:focus {
  outline: 3px solid #08ff32;
}

::placeholder {
  color: white;
}

label::after {
  color: #08ff32;
}

h1::first-letter {
  color: #08ff32;
  font-size: 2rem;
}

.terminos {
  display: flex;
  margin-top: 15px;
}

.form-buttons {
  gap: 10px;
}

.contact-form textarea {
  min-height: 50px;
}

#titulo-form {
  margin-bottom: 20px;
}

#btn-enviar,
#btn-limpiar {
  transition: background 0.3s ease;
}
