/* ===============================
   WONDERING MINDS ORGANIZATION
   Accessible & Professional CSS
   =============================== */

/* BASIC RESET */
* {
  box-sizing: border-box;
}

/* BODY */
body {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 18px;
  line-height: 1.7;
  margin: 0;
  background-color: #f5f7fa;
  color: #222;
}

/* HEADER */
header {
  background-color: #1e4fbf;
  color: #ffffff;
  padding: 20px;
  text-align: center;
}

header img {
  max-width: 120px;
  height: auto;
  margin-bottom: 10px;
}

header h1 {
  margin: 10px 0 0 0;
  font-size: 28px;
}

/* NAVIGATION */
nav {
  background-color: #2c6bed;
  padding: 12px;
  text-align: center;
}

nav a {
  color: #ffffff;
  text-decoration: none;
  margin: 0 12px;
  font-weight: bold;
}

nav a:focus,
nav a:hover {
  text-decoration: underline;
  outline: none;
}

/* MAIN CONTENT */
section {
  max-width: 1000px;
  margin: 25px auto;
  background-color: #ffffff;
  padding: 30px;
  border-radius: 6px;
}

/* HEADINGS */
h2 {
  color: #1e4fbf;
  margin-top: 0;
}

h3 {
  color: #2c6bed;
}

/* PARAGRAPHS & LISTS */
p {
  margin-bottom: 15px;
}

ul {
  padding-left: 20px;
}

/* BUTTONS */
button,
.button {
  background-color: #1e4fbf;
  color: #ffffff;
  padding: 12px 22px;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  cursor: pointer;
}

button:hover,
.button:hover {
  background-color: #163a8c;
}

/* FORMS */
label {
  display: block;
  font-weight: bold;
  margin-top: 15px;
}

input,
textarea {
  width: 100%;
  padding: 10px;
  margin-top: 6px;
  font-size: 16px;
}

textarea {
  min-height: 120px;
}

/* FOOTER */
footer {
  background-color: #1e4fbf;
  color: #ffffff;
  text-align: center;
  padding: 20px;
  margin-top: 30px;
}

footer a {
  color: #ffffff;
  text-decoration: underline;
}

/* ACCESSIBILITY HELPERS */
a:focus,
button:focus,
input:focus,
textarea:focus {
  outline: 3px solid #ffbf47;
}
