/*Typography*/
html {
  font: 16px "Lobster", serif;
}
/*BASE*/
html,
body {
  width: 100%;
  margin: 0;
}
/*Layout*/
* {
  box-sizing: border-box;
}
/*Navigation*/
nav {
  position: fixed;
  width: 6em;
  height: 100%;
  background: #fd5c63;
}

ul {
  width: 100%;
  padding-left: 0;
  margin-left: 0;
  margin-top: 0;
}

.nav a {
  display: block;
  color: #fff;
  font-weight: bold;
  text-decoration: none;
  padding: 1em 0.5em;
}

h1 {
  color: #fd5c63;
}

li {
  list-style: none;
}

/*Pages*/
section {
  padding-top: 50px;
  height: 100vh;
  overflow: hidden; /*hide all on 0% width*/
}

section .content {
  margin: 1em auto;
  max-width: 900px;
  width: 60%;
  color: #555;
}

section h1,
section h2,
section h3 {
  margin-bottom: 0.5em;
  text-align: center;
}

p,
h2,
h3,
nav {
  font-family: "Roboto Condensed", sans-serif;
}

input,
textarea {
  display: block;
}

textarea {
  width: 300px;
}
input,
button,
textarea {
  margin-top: 5px;
}

input,
button {
  height: 30px;
}

button {
  background-color: salmon;
  color: white;
  outline: none;
  border: none;
  border-radius: 3px;
  cursor: pointer;
}

.form-content {
  display: flex;
}

form {
  flex-grow: 1;
  flex-basis: 0;
  max-width: 300px;
  margin-right: 10px;
}

@media screen and (max-width: 415px) {
  nav {
    position: sticky;
    top: 0;
    width: 100%;
    height: auto;
  }

  nav ul {
    display: flex;
    justify-content: flex-end;
  }

  .nav a,
  li {
    display: inline-block;
  }
}
