* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.hamburger {
  display: none;
  cursor: pointer;
  padding: 10px;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: #333;
  margin: 5px 0;
  transition: all 0.3s ease;
}

.menu {
  background-color: #f4f4f4;
  padding: 20px;
}

.menu ul {
  list-style: none;
}

.menu li {
  margin: 10px 0;
}

.menu a {
  text-decoration: none;
  color: #333;
  font-size: 18px;
}

@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  .menu {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    background-color: #f4f4f4;
  }

  .menu.active {
    display: block;
  }
}
  
padding: 0;
  margin:0;
box-sizing: border-box;
}

body {
  padding-top: 100px;
  background:linear-gradient(to right, #66CDAA, #AFEEEE, #F8F8FF);
  color: black;
  text-align: center;
 font-family: 'Courier New', Courier, monospace;
  line-height: 2;
}

#navbar {
  position: sticky;
  top: 0;
  overflow: hidden;
  background-color: #333;
}

#navbar a {
  float: left;
  display: block;
  color: #f2f2f2;
  text-align: center;
  padding: 14px;
  text-decoration: none;
}

.content {
  padding: 16px;
}

nav{
 background-color: #7192e;
  color: black;
  display: flex;
  padding: 1rem;
  align-items:center;
  justify-content: space-between;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
}

nav h2{
  color: #fff0ff;
  margin-left: 5rem;
}

nav h3{
  color: #fff0ff;
  margin-left: 5rem;
}

nav ul{
  list-style: none;
  display: sticky:
}

nav ul li{
  margin-left: 2rem;
}

nav ul li a{
  text-decoration: none;
  color: black;
  transition: color 0.3s ease;
}

nav ul li a:hover{
  color: blue;
}

header{
  background-color: #b57edc;
  color: black;
  margin-top: 80px;
  text-align: center;
padding: 4rem;
}

section{
scroll-margin-top: 80px;
background-color:#dbb6ee;
border-radius: 5px;
color: rgb(65,63,63);
padding: 3rem;
margin: 2rem auto;
max-width: 600px;
box-shadow: black 0 3px 15px;
}

section h2{
text-align: center;
margin-bottom: 2rem;
font-size: xx-large;
}

section p{
  text-align: left;
  margin-bottom: 1rem;
}

#inicio img{
    display: flex;
  max-width: 100%
    height: auto;
    width: auto;
  margin: 0 auto;
  }
  
.card {
  margin-top: 30px;
  z-index: auto;
  width: 300px;
  height: 50px;
  background-color: rgb(117, 88, 184);
  border: 1px solid #ccc;
  box-shadow: 2px 2px 5px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.card:hover {
  transform: scale(1.05);
  cursor: pointer;
}

.card-container {
  display: flex;
  justify-content: center;
  margin-bottom: 50px;
  align-items: center;
  height: 100px;
}

button {
  background-color: #333;
  color: white;
  padding: 10px;
  margin: 5px;
  border: none;
}
  
form {
  margin-top: auto;
  max-width: 400px;
  margin: 30px auto;
  padding: 20px;
  background-color: #2c2c2c;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
  color: #eeeeee;
}

form label {
  display: block;
  text-align: left;
  margin-bottom: 5px;
  font-weight: bold;
}

form input[type="text"],
form input[type="email"],
form input[type="tel"],
form textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #555;
  border-radius: 5px;
  background-color: #444;
  color: #eee;
  font-family: inherit;
}

form input[type="submit"] {
  background-color: rgb(117, 88, 184);
  color: white;
  border: none;
  padding: 12px 20px;
  font-size: 16px;
  border-radius: 5px;
  cursor: pointer;
  width: 100%;
}

form input[type="submit"]:hover {
  background-color: rgb(86, 102, 206);
}

form input[type="text"]:hover,
form input[type="email"]:hover,
form textarea:hover {
  border-color: rgb(117, 88, 184);
  background-color: #555;
}

form input[type="text"]:focus,
form input[type="email"]:focus,
form textarea:focus {
  outline: none;
  border-color: rgb(86, 102, 206);
  box-shadow: 0 0 5px rgb(117, 88, 184);
}

form input[type="submit"].loading {
  background-color: #555;
  color: #aaa;
  cursor: wait;
  position: relative;
}

form input[type="submit"].loading::after {
  content: "";
  position: absolute;
  right: 15px;
  top: 50%;
  width: 15px;
  height: 15px;
  margin-top: -7.5px;
  border: 2px solid #aaa;
  border-top: 2px solid transparent;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
