@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap");
* {
  box-sizing: border-box;
  color: black;
  list-style: none;
  margin: 0px;
  font-family: "Roboto", sans-serif;
  font-weight: 200;
  font-size: 18px;
  letter-spacing: 4px;
}
form {
  max-width: 500px;
  margin: 50px auto;
  padding: 20px;
  background-color: white;
  display: flex;
  flex-direction: column;
  gap: 20px;
  font-weight: 200;
  font-size: 18px;
  letter-spacing: 2px;
  font-family: "Roboto", sans-serif;
}

input,
textarea {
  font-weight: 200;
  font-size: 14px;
  letter-spacing: 2px;
  font-family: "Roboto", sans-serif;
  width: 100%;
  padding: 12px 15px;
  border: 2px solid black;
  background-color: #f9f9f9;
  color: #333;
  outline: none;
  resize: vertical;
  transition: border 0.3s ease;
}

input:focus,
textarea:focus {
  font-family: "Roboto", sans-serif;
  border-color: black;
  background-color: #fff;
}

::placeholder {
  color: #aaa;
  font-family: "Roboto", sans-serif;
}

button {
  margin-left: auto;
  padding: 12px 20px;
  font-size: 16px;
  background-color: black;
  color: white;
  border: none;
  cursor: pointer;
  transition: background 0.3s ease;
  font-family: "Roboto", sans-serif;
}
button2 {
  font-weight: 400;
  margin-left: auto;
  padding: 12px 20px;
  font-size: 16px;
  background-color: transparent;
  color: black;
  border: none;
  cursor: pointer;
  transition: background 0.3s ease;
  font-family: "Roboto", sans-serif;
}

button:hover {
  background-color: gray;
}

nav {
  background-color: white;
  display: flex;
  witdh: 100%;
  display: flex;
  justify-content: space-between;
}
nav-right {
  background-color: white;
  width: auto;
  text-decoration: none;
}
nav-right a {
  background-color: white;
  width: auto;
  text-decoration: none;
}
nav-right:hover {
  text-decoration: line-through;
  color: black;
  font-weight: bold;
}
nav-center {
  background-color: white;
  width: auto;
  color: black;
}
nav-center a {
  background-color: white;
  width: auto;
  text-decoration: none;
}
nav-center:hover {
  text-decoration: line-through;
  color: black;
  font-weight: bold;
}
nav-left {
  background-color: white;
  width: auto;
}
nav-left a {
  background-color: white;
  width: auto;
  text-decoration: none;
}
nav-left:hover {
  text-decoration: line-through;
  color: black;
  font-weight: bold;
}
.dropdown-content {
  display: none;
  position: absolute;
  background-color: white;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1;
  font-weight: bold;
}

.dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

.dropdown-content a:hover {
  background-color: #ddd;
}

nav-right:hover .dropdown-content {
  display: block;
}
nav-center:hover .dropdown-content {
  display: block;
}
nav-left:hover .dropdown-content {
  display: block;
}
thanks {
  font-weight: 200;
  max-width: 500px;
  margin: 50px auto;
  padding: 20px;
  background-color: transparent;
  display: flex;
  flex-direction: column;
  gap: 15px;
  font-size: 18px;
  letter-spacing: 2px;
  font-family: "Roboto", sans-serif;
  text-align: center;
  position: relative;
  bottom: 2em;
}

.icon-group {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 100px auto;
  width: fit-content;
  position: relative;
  bottom: 7.5em;
}

.icon-group i {
  font-size: 30px;
  vertical-align: middle;
  line-height: 1;
}
.containerIMG {
  width: 500px;
  height: auto;
  position: relative;
  bottom: 13em;
  display: block;
  margin-left: auto;
  margin-right: auto;
}
@media screen and (max-width: 768px) {
  * {
    font-size: 14px;
    letter-spacing: 1px;
  }
  nav {
    flex-direction: row;
    width: 90%;
    align-items: center;
    position: fixed;
    top: 0;
    right: 4em;
    background-color: white;
    z-index: 10;
  }
  nav-right {
    background-color: white;
    width: auto;
    text-decoration: none;
  }
  nav-right a {
    background-color: white;
    width: auto;
    text-decoration: none;
  }
  nav-right:hover {
    text-decoration: line-through;
    color: black;
    font-weight: bold;
  }
  nav-center {
    background-color: white;
    width: auto;
    color: black;
    white-space: nowrap;
  }
  nav-center a {
    background-color: white;
    width: auto;
    text-decoration: none;
    white-space: nowrap;
  }
  nav-center:hover {
    text-decoration: line-through;
    color: black;
    font-weight: bold;
  }
  nav-left {
    background-color: white;
    width: auto;
  }
  nav-left a {
    background-color: white;
    width: auto;
    text-decoration: none;
  }
  nav-left:hover {
    text-decoration: line-through;
    color: black;
    font-weight: bold;
  }
  .dropdown-content {
    display: none;
    position: absolute;
    background-color: white;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
    font-weight: bold;
  }

  .dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
  }

  .dropdown-content a:hover {
    background-color: #ddd;
  }

  nav-right:hover .dropdown-content {
    display: block;
  }
  nav-center:hover .dropdown-content {
    display: block;
  }
  nav-left:hover .dropdown-content {
    display: block;
  }

  form {
    margin: 20px auto;
    padding: 15px;
    gap: 10px;
  }

  input,
  textarea {
    font-size: 14px;
    padding: 10px;
  }

  button,
  button2 {
    width: 100%;
    margin-left: 0;
    padding: 10px;
    font-size: 16px;
  }

  nav {
    flex-direction: row; /* mantiene todo en fila */
    flex-wrap: wrap; /* permite que se bajen si no caben */
    justify-content: center; /* centra horizontalmente */
    width: 100%;
    margin: 0 auto;
    gap: 10px; /* espacio entre elementos (opcional) */
    padding: 10px;
  }

  .dropdown {
    width: 100%;
    text-align: center;
  }

  .dropdown-content {
    min-width: 100%;
  }

  .icon-group {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    margin: 40px auto;
    gap: 15px;
    bottom: 2em;
  }

  .icon-group i {
    font-size: 30px;
  }

  thanks {
    padding: 15px;
    font-size: 16px;
    letter-spacing: 1px;
    margin: 30px auto;
    bottom: 1em;
  }
  .containerIMG {
    width: 500px;
    height: auto;
    position: relative;
    bottom: 4.8em;
    display: block;
    margin-left: auto;
    margin-right: auto;
  }
}
