/* ================================= 
Base Element Styles
==================================== */

@import url("https://fonts.googleapis.com/css?family=Nunito|Roboto+Mono");

html * {
  box-sizing: border-box;
}

body,
input,
button {
  font-family: "Nunito", sans-serif;
}

body {
  font: 1em/1.5;
  color: rgba(6, 49, 68, 0.9);
  background: #cde0fb;
}

header {
  text-align: center;
}

h1 {
  font-size: 2.5em;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.85);
  margin: 0;
}

a {
  text-decoration: none;
}

/* ================================= 
  Form Element Styles
==================================== */

form {
  padding: 0.875em 1.875em 1.875em;
  background: #9bbeef;
  border: 2px solid rgba(8, 63, 87, 0.7);
  border-radius: 3px;
}

fieldset,
legend,
button {
  padding: 0;
  border: none;
}

fieldset {
  margin-top: 1.5em;
}

legend,
button {
  font-size: 1.25em;
}

legend {
  font-weight: bold;
  padding-top: 0.5em;
  border-top: 2px solid rgba(8, 63, 87, 0.6);
  margin-bottom: 1.125em;
}

input[type="text"],
input[type="email"],
legend {
  width: 100%;
}

label {
  color: #000;
  display: block;
  margin-bottom: 0.5em;
}

input,
select {
  margin-bottom: 1.125em;
}

input {
  font-size: 1em;
  font-weight: 500;
  padding: 0.8em;
  background: #e9f6fb;
  border: 2px solid #6f9ddc;
  border-radius: 3px;
  outline: none;
}

input:focus {
  background: #fff;
  border-color: #5e97b0;
  transition: border-color 0.4s, background-color 0.4s;
}

input[type="checkbox"],
input[type="radio"] {
  display: inline-block;
}

button {
  color: #fff;
  padding: 0.55em 1.25em;
  background: #083f57;
  margin: 1.25em 0 0.5em;
  cursor: pointer;
  border: 2px solid black;
  border-radius: 4px;
  transition: all 0.5s;
}

button:hover {
  background: #6f9ddc;
}

input,
select,
option {
  font-family: "roboto", sans-serif;
}

.grey {
  color: grey !important;
}

.warning {
  color: red;
  /* font-weight: bold; */
}

p.warning {
  margin-top: -0.5em;
}

/* ================================= 
  Page Styles
==================================== */

.container {
  margin: auto;
  max-width: 680px;
}

.shirt div {
  float: left;
  margin-right: 0.85em;
}

.interests input {
  margin-bottom: 0;
}

.credit-card {
  margin-top: 1.25em;
}

/* ================================= 
  Helper Classes
==================================== */

.is-hidden {
  display: none;
}

.clearfix::after {
  content: " ";
  display: table;
  clear: both;
}

/* ================================= 
  Media Queries
==================================== */

@media (min-width: 0) and (max-width: 679px) {
  header {
    padding: 2em 0;
  }
  button {
    width: 100%;
  }
}

@media (min-width: 680px) {
  header {
    padding: 4.65em 0 2.5em;
  }
  .col {
    float: left;
  }
  .col + .col {
    margin-left: 2.5%;
  }
  .col-3 {
    width: 23%;
  }
  .col-6 {
    width: 49%;
  }

  label {
    clear: both;
  }
}
