* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-family: "Patrick Hand", cursive;
}

header,
footer {
  background-image: url("https://media.istockphoto.com/vectors/magic-mermaid-seamless-pattern-candy-color-pastel-backdrop-mermaid-vector-id868766730?b=1&k=6&m=868766730&s=170667a&w=0&h=wP6Y4QJeGJAvYlnW7eZcO5fXQENzBE40qMpBaxASd6o=");
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

h1 {
  font-size: 50px;
  margin: 0px 0px 30px 0px;
}

h2 {
  font-size: 30px;
  text-align: center;
  color: #793a92;
  margin-bottom: 10px;
}
.parrafos-informativos {
  font-size: 24px;
  font-family: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif;
  width: 60%;
  color: #0c6453;
  text-align: center;
}
.imagen-codigo {
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}
section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 50px;
}
nav {
  width: 50%;
}

ul {
  display: flex;
  justify-content: space-around;
  list-style: none;
  padding: 0;
  font-size: 30px;
  margin: 0px 0px 30px 0px;
}

a {
  text-decoration: none;
  color: black;
  padding: 10px;
}

textarea {
  width: 400px;
  margin-top: 10px;
  margin-bottom: 30px;
  border: solid 2px #0c6453;
  border-radius: 3px;
}

textarea:focus {
  outline: none;
  border: solid 2px #793a92;
}

label {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #0c6453;
  font-size: 20px;
}

.hecho-por {
  text-align: center;
  font-size: 18px;
}

footer {
  padding: 50px;
  margin-top: 50px;
}

a:hover {
  border: solid 2px rgba(201, 165, 241, 0.767);
  border-radius: 30px;
}

@media screen and (max-width: 780px) {
  h1 {
    font-size: 40px;
  }
  nav {
    width: 80%;
  }
  ul {
    font-size: 25px;
  }
  .parrafos-informativos {
    width: 80%;
  }
}

@media screen and (max-width: 500px) {
  h1 {
    font-size: 30px;
  }
  nav {
    width: 90%;
  }
  ul {
    font-size: 20px;
  }
  .parrafos-informativos {
    width: 90%;
  }
}

@media screen and (max-width: 410px) {
  h1 {
    font-size: 25px;
  }
  ul {
    font-size: 14px;
  }
  textarea {
    width: 300px;
  }
  .imagen-codigo img {
    width: 300px;
  }
}
