html { box-sizing: border-box; }
*, *::before, *::after { box-sizing: inherit; }
body {
  font-family: 'Segoe UI', sans-serif;
  margin: 0;
  background: linear-gradient(180deg, #d0f0ff 0%, #ffffff 100%);
  color: #333;
}
a {
  color: #fff;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  background: rgba(0, 0, 0, 0.2);
  padding: 20px 5px;
  width: 100%;
  transition: 0.3s;
}
a:hover {
  background: rgba(0, 0, 0, 0.4);
}
.wrapper {
  max-width: 1350px;
  margin: 0 auto;
  padding: 50px;
}
.top {
  text-align: center;
  margin-bottom: 20px;
}
.toggleNav {
  display: none;
}
.flex-nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  border: 1px solid #ccc;
  background: #555;
}
.flex-nav li {
  flex: 3;
}
.flex-nav .social {
  flex: 1;
}
.banner img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}
section, footer {
  text-align: center;
  background: rgba(255, 255, 255, 0.8);
  color: #222;
  padding: 30px;
  margin: 20px 0;
  border-radius: 10px;
}
.signUp input[type="text"],
.signUp input[type="email"] {
  padding: 10px;
  margin: 10px;
  width: 250px;
  max-width: 90%;
  border: 1px solid #ccc;
  border-radius: 5px;
}
.signUp input[type="submit"] {
  padding: 10px 20px;
  background: #0099cc;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}
.signUp input[type="submit"]:hover {
  background: #0077aa;
}
.fa {
  padding-right: 10px;
}
@media (max-width: 700px) {
  .toggleNav {
    display: block;
    padding: 15px;
    background: #444;
    color: #fff;
    cursor: pointer;
    text-align: center;
  }
  .flex-nav ul {
    display: none;
    flex-direction: column;
  }
  .flex-nav.open ul {
    display: flex;
  }
  .flex-nav li {
    flex-basis: 100%;
  }
  .wrapper {
    display: flex;
    flex-direction: column;
  }
  .flex-nav { order: 1; }
  .top { order: 2; }
  .content { order: 3; }
  .signUp { order: 4; }
  .banner { order: 5; }
  footer { order: 6; }
}
