* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: url('dt.jpg') no-repeat center center fixed;
  background-size: cover;
  color: white;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(0,0,0,0.6);
  padding: 15px 30px;
  position: sticky;
  top: 0;
}

.registro-btn {
  background: rgb(255, 251, 0);
  color: black;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
}

main {
  padding: 40px 20px;
  text-align: center;
}

.empleos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.empleo {
  background: rgba(255,255,255,0.1);
  padding: 20px;
  border-radius: 10px;
  backdrop-filter: blur(10px);
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.modal-content {
  background: rgb(255, 255, 255);
  padding: 30px;
  border-radius: 12px;
  width: 90%;
  max-width: 400px;
  color: black;
  text-align: center;
  position: relative;
}

.modal-content input {
  width: 100%;
  padding: 10px;
  margin: 15px 0;
  border: 1px solid #000000;
  border-radius: 6px;
}

.modal-content button {
  padding: 10px 20px;
  background: #1713f0;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.cerrar {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 22px;
  cursor: pointer;
}
