* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
}

body {
  font-family:
    "relaway",
    fira sans;
  font-size: 2rem;
  background: fuchsia;
  color: greenyellow;
  display: flex;
  flex-direction: column;
  height: 100vh;
}
main {
  width: 80%;
  margin: auto;
  padding-bottom: 2rem;
  flex: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}
h1 {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.15;
  margin: 3rem 0;
}

h2 {
  color: aqua;
  font-size: 2.4rem;
  line-height: 1.2;
  text-align: center;
  margin: 3rem 0;
}

.btn {
  border: none;
  font-size: 1.6rem;
  font-weight: bold;
  line-height: 1.2;
  text-align: center;
  padding: 1.6;
  border-radius: 1rem;
}

header,
footer {
  background-color: bisque;
  color: blueviolet;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.div-logo {
  margin-left: 2rem;
  font-weight: bold;
}

.footer-list img {
  width: 5rem;
}

.logo.header-nav ul li a {
  text-decoration: none;
  font-size: 3rem;
  color: inherit;
  display: inline-block;
  padding: 2rem;
}

.header-nav ul {
  list-style: none;
  display: flex;

  gap: 2rem;
}

.footer-list img {
  width: 5rem;
}
.footer-list li {
  padding: 2rem;
}
.bg-primary {
  background-color: antiquewhite;
}
.bg-secondary {
  background-color: aquamarine;
}

.text-light {
  background-color: black;
}
.text-dark {
  background-color: navajowhite;
}
.text-secondary {
  background-color: red;
}

.parrafo {
  width: 80%;
  text-align: center;
  font-size: 2rem;
  padding: 3rem;
}
.contenedor-de-tarjetas {
  background-color: rosybrown;
  color: black;
  width: 40rem;
  border-radius: 1rem;
  overflow: hidden;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  width: 100%;
  align-items: center;
  gap: 1rem;
  padding-bottom: 2rem;
}

.card {
  margin-top: 2rem;
  display: flex;
  flex: 1 1 350px;
  flex-direction: column;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
}
.card img {
  width: 100%;
  height: 10rem;
  object-fit: cover;
}

.titulo-contacto {
  margin: 2rem 0;
}

.form-contacto {
  background-color: aquamarine;
  color: tomato;
  width: 100%;
  max-width: 50rem;
  font-size: 2 rem;
  padding: 2rem;

  border-radius: 1rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}
.grupo-input,
.grupo-input textarea {
  display: flex;
  flex-direction: column;

  gap: 0.8rem;
  margin-bottom: 3rem;
}

.grupo-input textarea {
  min-height: 10rem;
  resize: vertical;
}

@media (max-width: 600px) {
  header,
  footer {
    flex-direction: column;
  }
}
