:root {
  --color-primary: #ffd700;
  --color-secondary: #4682b4;
  --color-tertiary: #333;
  --color-accent: #ff3400;
  --color-text: white;
  --color-transparent: rgba(70, 130, 180, 0.5);
  --border-radius: 5px;
}

*,
*::after,
*::before {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

/* Typography*/
body {
  background-color: var(--color-primary);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  font-size: 1.1rem;
}

h1,
h2 {
  color: var(--color-secondary);
  padding: 0;
  margin: 0;
}

h2 {
  font-size: 2rem;
  letter-spacing: 0.5px;
  font-weight: 300;
  line-height: 1.1;
}

h1 {
  font-size: 3.5rem;
  font-weight: 400;
  line-height: 1;
}

h3 {
  font-size: 1.25rem;
}

h4 {
  font-size: 0.8rem;
}

p {
  margin-top: 0;
}

.techne p {
  font-weight: 350;
}

a {
  color: none;
  text-decoration: none;
}

.techne a {
  color: var(--color-secondary);
  text-decoration: none;
  font-weight: 500;
}

a:hover {
  color: none;
}

.lead {
  font-size: 1.1rem;
  line-height: 1.3;
  font-weight: normal;
  color: var(--color-tertiary);
}

.lead__color {
  font-size: 1.1rem;
  line-height: 1.3;
  font-weight: normal;
  color: var(--color-secondary);
}

.hire h3 {
  color: var(--color-secondary);
  padding: 0;
  margin: 0;
  font-size: 2rem;
  letter-spacing: 0.5px;
  font-weight: 300;
  line-height: 1.1;
}

.hire h4 {
  color: var(--color-secondary);
  padding: 0;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
  font-size: 1.5rem;
  letter-spacing: 0.5px;
  font-weight: 400;
  line-height: 1.1;
}

.hire p {
  margin-bottom: 1rem;
  color: #677788;
}

@media screen and (min-width: 768px) {
  h2 {
    font-size: 3.5rem;
    font-weight: 400;
  }

  h1 {
    font-size: 4.5rem;
    font-weight: 400;
  }

  .hire h3 {
    font-size: 2rem;
    font-weight: 400;
  }

  .lead {
    font-size: 1.5rem;
    font-weight: normal;
    line-height: 1.3;
  }

  .lead__color {
    font-size: 1.5rem;
    font-weight: normal;
    line-height: 1.3;
  }
}

/* Cards */
.card {
  background-color: var(--color-text);
  color: var(--color-tertiary);
  border-radius: 0.625rem;
  box-shadow: 0 0.1875rem 0.625rem rgba(0, 0, 0, 0.2);
  padding: 0.9375rem;
  margin: 0.625rem;
}

.card__form {
  background-color: var(--color-primary);
  border-radius: 0;
  box-shadow: none;
}

.card__hire {
  background-color: var(--color-primary);
}

/* Navigation Bar */
.nav {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 0 0.5rem;
  align-items: center;
  /*background: white;*/
}

.nav__list {
  width: 100%;
}

.nav__item {
  padding: 0.5rem 0.5rem;
  border-bottom: 1px solid var(--color-secondary);
}

.nav__item > a {
  color: var(--color-secondary);
  transition: color 0.3s;
}

.nav__item > a:hover {
  color: #677788;
}

.nav__toggler {
  opacity: 0.5;
  cursor: pointer;
}

.nav__active {
  display: none;
}

.nav.collapsible--expanded .nav__toggler {
  opacity: 1;
}

.nav h2 {
  font-size: 2.5rem;
  padding-top: 0.8rem;
  padding-bottom: 0.5rem;
}

.nav a {
  color: var(--color-secondary);
  text-decoration: none;
}

@media screen and (min-width: 768px) {
  .nav {
    padding: 0 1rem;
  }
  /*
  .nav__toggler {
    display: none;
  }

  .nav__list {
    width: auto;
    display: flex;
    font-size: 1.4rem;
    max-height: 100%;
    opacity: 1;
  }

  .nav__item {
    border: 0;
  }*/
}

@media screen and (min-width: 1024px) {
  .nav {
    padding: 0 5rem 0 1rem;
  }
}

/* Collapsible */
.collapsible__content {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: all 0.4s;
}

.collapsible--expanded .collapsible__content {
  max-height: 100vh;
  opacity: 1;
}

/* General */
.container {
  max-width: 100%;
  margin: 0 auto;
  overflow: auto;
  padding: 0;
}

.flex {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.centering {
  text-align: center;
}

/* Logo */
.logo {
  width: 100%;
  padding-top: 5.5rem;
}
.inside .logo {
  padding-top: 1.5rem;
}

.logo--nav {
  padding-top: 1rem;
}

@media screen and (min-width: 768px) {
  .logo {
    width: 55%;
    display: block;
    margin-left: auto;
    margin-right: auto;
  }

  .logo--nav {
    padding-top: 1rem;
    width: 20%;
  }

  .logo__container {
    justify-content: center;
  }

  .inside .logo {
    width: 90%;
    padding-top: 2rem;
    display: block;
    margin-left: auto;
    margin-right: auto;
  }
}

/* Site info */
.siteinfo {
  padding-top: 15rem;
}

@media screen and (min-width: 768px) {
  .siteinfo {
    display: block;
    margin-left: auto;
    margin-right: auto;
    padding-top: 20rem;
  }
}

/* Icons */
.icon {
  font-size: 0.5rem;
  padding-top: 1rem;
}
.icon__hire {
  font-size: 1rem;
  color: var(--color-secondary);
  padding-top: 1.5rem;
}

.icon--secondary {
  color: var(--color-secondary);
}

.icon--green {
  color: green;
}

.icon--nav {
  color: var(--color-secondary);
  margin-top: 1rem;
  margin-right: 0.5rem;
  margin-bottom: 0.6rem;
  /*border: 1px solid var(--color-secondary);*/
  border-radius: 0.225rem;
  padding: 0.5rem;
}

.icon--accent {
  color: var(--color-accent);
}

.icon i {
  font-size: 1.5rem;
}

.icon span {
  font-size: 2rem;
}

/*@media screen and (min-width: 1024px) {
  .icon {
    font-size: 4rem;
  }
}*/

/* Lists */
.list {
  list-style: none;
  padding-left: 0;
  color: #677788;
  font-size: 1rem;
}

.list--inline .list__item {
  display: inline-block;
  margin-right: 2rem;
}

.list--tick {
  padding-left: 0.3rem;
}

.list--tick .list__item {
  padding-left: 0.3rem;
  position: relative;
  margin-bottom: 0.3rem;
  clear: both;
}

.list__item i {
  float: left;
  padding-right: 0.8rem;
  padding-top: 0.35rem;
  font-size: 0.8rem;
}

@media screen and (min-width: 1024px) {
  .list__item i {
    padding-right: 0.5rem;
  }
}

/* Buttons */
.btn {
  border-radius: var(--border-radius);
  border: 0;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  margin: 0.05rem 0;
  padding: 0.4rem 2rem;
  text-align: center;
  white-space: nowrap;
}

.btn__file {
  margin: 0.2rem 0;
}

.btn--table {
  margin: 0;
}

.btn--secondary {
  background: var(--color-secondary);
  color: var(--color-text);
}

.btn--secondary:hover {
  background: var(--color-transparent);
  color: var(--color-text);
}

.btn--primary {
  background: var(--color-primary);
  color: var(--color-secondary);
  border: 2px var(--color-secondary) solid;
  transition: color 0.3s;
}

.btn--primary:hover {
  background: var(--color-transparent);
  color: var(--color-text);
}

.btn--outline {
  background: transparent;
  border: 2px var(--color-secondary) solid;
  color: var(--color-secondary);
  transition: color 0.3s;
}

.btn--outline:hover {
  background: var(--color-secondary);
  color: var(--color-text);
}

.btn--block {
  width: 100%;
  display: inline-block;
}

.btn--nav {
  text-align: left;
  padding: 0.4rem 0.5rem;
}

/* Services */
.services .flex {
  flex-wrap: wrap;
}

.services h3 {
  margin-bottom: 0;
  margin-top: 0.2rem;
  font-size: 1.2rem;
  color: var(--color-tertiary);
  font-weight: 400;
}

.services .card {
  text-align: center;
  margin: 1.125rem 0.625rem 0.25rem;
  transition: transform 0.2s ease-in;
}

.services .card:hover {
  transform: translateY(-0.8rem);
}

.services .card h3 {
  font-size: 1.2rem;
  margin-top: 0.33em;
  margin-bottom: 0.5rem;
  font-weight: 400;
}

.services .index {
  text-align: center;
  margin: 1.125rem 0.625rem 0.625rem;
  transition: transform 0.2s ease-in;
}

.services .index:hover {
  transform: translateY(-0.8rem);
}

.services .index h3 {
  font-size: 1rem;
  margin-top: 0.33em;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

@media screen and (min-width: 768px) {
  .services h3 {
    margin-bottom: 0;
    margin-top: 0.2rem;
    font-size: 1.5rem;
    font-weight: 500;
  }
}

/* Footer */
.footer p {
  color: var(--color-secondary);
  padding: 0 0.5rem;
  margin-top: 1rem;
  font-size: 1rem;
}

@media screen and (min-width: 768px) {
  .footer {
    margin-bottom: 1rem;
  }
}

/* Banner */
.card__grid {
  flex-wrap: wrap;
  display: flex;
}

.card__link {
  justify-content: space-evenly;
}

.banner ul {
  list-style: none;
  margin-left: 0.5rem;
}

.banner__card {
  text-align: center;
  margin: 0.1rem;
  width: 12.5rem;
  color: var(--color-tertiary);
  transition: transform 0.2s ease-in;
}

.banner__card:hover {
  transform: scale(0.9);
}

.banner__still:hover {
  transform: none;
}

.banner__card h4 {
  font-size: 0.8rem;
  margin-top: 0;
  margin-bottom: 0.2rem;
  font-weight: 600;
}

/* Grid */
.grid {
  display: grid;
}

.len-4 {
  color: var(--color-tertiary);
}

fieldset {
  border: 2px var(--color-secondary) solid;
  border-radius: var(--border-radius);
}

.gender {
  display: block;
}

.l9 {
  width: 100%;
}

.checkbox {
  padding-bottom: 1rem;
}

textarea {
  resize: none;
}

table,
th,
td {
  border: 1px solid var(--color-tertiary);
  color: var(--color-tertiary);
  border-collapse: collapse;
  padding: 0.1rem;
}

.tablewidth table,
th,
td {
  width: 400px;
  overflow: hidden;
}

.tablewidth__data table,
th,
td {
  width: 100%;
}

.tvalue {
  width: 30%;
}

.heading {
  font-size: 1.5rem;
  padding-bottom: 0.5rem;
}

.heading2 {
  font-size: 1.5rem;
  padding-bottom: 0.2rem;
}

@media screen and (min-width: 768px) {
  .container {
    width: 85%;
  }

  .grid--col-2-sm {
    grid-template-columns: 1fr 1fr;
  }

  .grid--col-2-eq {
    grid-template-columns: 1fr 1fr;
  }

  .grid--col-3-eq {
    grid-template-columns: 1fr 1fr;
  }

  .l4 {
    width: 33.33%;
  }

  .l1 {
    width: 12%;
  }

  .pad .l1 {
    width: 19%;
  }

  .l2 {
    width: 19%;
  }

  .l3 {
    width: 30%;
  }

  .pad .l2 {
    width: 33.33%;
  }

  .l2-p {
    width: 33%;
  }

  .l5 {
    width: 40%;
  }

  .l6 {
    width: 50%;
  }

  .l7 {
    width: 60%;
  }

  .l8 {
    width: 70%;
  }

  .l9 {
    width: 88%;
  }

  .len-4 {
    display: flex;
    flex-wrap: wrap;
  }
  .len-4 div {
    margin: 0 0 0.1rem 0.5rem;
  }

  .tablewidth__data table,
  th,
  td {
    width: 650px;
  }

  .tablewidth__td {
    max-width: 30%;
  }
}

@media screen and (min-width: 1024px) {
  .container {
    width: 70%;
  }

  .grid--col-2-sm {
    grid-template-columns: 2fr 3fr;
  }

  .grid--col-2-eq {
    grid-template-columns: 1fr 1fr;
  }

  .grid--col-3-eq {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .l4 {
    width: 33.33%;
  }

  .l5 {
    width: 40%;
  }

  .l2 {
    width: 20%;
  }

  .l3 {
    width: 30%;
  }

  .l6 {
    width: 50%;
  }

  .l7 {
    width: 60%;
  }

  .l8 {
    width: 70%;
  }

  .l9 {
    width: 93%;
  }

  .len-4 {
    display: flex;
    flex-wrap: wrap;
  }

  .len-4 div {
    margin: 0.1rem 0 0.1rem 1rem;
  }

  .len-4 td {
    margin: 0.1rem 0 0.1rem 0;
  }

  .tablewidth__data table,
  th,
  td {
    width: 650px;
  }

  .tablewidth__td {
    max-width: 25%;
  }
}

/* Inputs */
.input {
  border-radius: var(--border-radius);
  border: 1px solid var(--color-secondary);
  background: var(--color-primary);
  color: #677788;
  font-size: 1rem;
  line-height: 1.3rem;
  outline: 0;
  padding: 0.3rem;
  width: 100%;
  margin: 0.2rem 0 0.5rem;
}

.input:hover {
  background: white;
}

.input__text {
  height: 12rem;
}

.input__table {
  margin: 0.2rem 0;
}

.account {
  font-size: 70%;
  padding-top: 0.5rem;
  margin-bottom: 2rem;
  border-top: 1px solid var(--color-secondary);
}

.account a {
  color: var(--color-secondary);
}

.forget {
  font-size: 80%;
  padding-top: 0.3rem;
  margin-bottom: 0.5rem;
  color: var(--color-secondary);
}

.forget a {
  color: var(--color-secondary);
}

.privacy a {
  color: var(--color-secondary);
}

input[type="checkbox"] {
  display: inline-block;
  color: var(--color-secondary);
}

.alert-success {
  background-color: mediumseagreen;
  margin: 1.5rem 0 0;
  width: 370px;
  color: white;
}

.alert-error {
  background-color: tomato;
  margin: 1.5rem 0 0;
  width: 370px;
  color: white;
}

/* Modal */
/*@import "https://fonts.googleapis.com/css?family=Prompt:400,700";*/

.modal {
  /* This way it could be display flex or grid or whatever also. */
  display: block;

  /* Probably need media queries here */
  width: 800px;
  max-width: 90%;

  height: 570px;
  max-height: 100%;

  position: fixed;

  z-index: 100;

  left: 0;
  top: 0;
  bottom: 0;
  right: 0;

  margin: auto;
  /*border-radius: 0.625rem;*/

  /* If known, negative margins are probably better (less chance of blurry text). */
  /* margin: -200px 0 0 -200px; */

  background: white;
  box-shadow: 0 0 60px 10px rgba(0, 0, 0, 0.2);
}

.closed {
  display: none;
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 50;

  background: rgba(0, 0, 0, 0.404);
}
.modal-guts {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  padding: 20px 50px 20px 20px;
}

.modal .close-button {
  position: absolute;

  /* don't need to go crazy with z-index here, just sits over .modal-guts */
  z-index: 1;

  top: 10px;

  /* needs to look OK with or without scrollbar */
  right: 20px;

  border: 0;
  background: var(--color-primary);
  color: var(--color-secondary);
  border-radius: 0.5rem;
  padding: 5px 10px;
  font-size: 0.8rem;
  float: right;
}

.open-button {
  border: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: lightgreen;
  color: white;
  padding: 10px 20px;
  border-radius: 10px;
  font-size: 21px;
}

span.sign {
  display: block;
}

.placing {
  display: inline;
}

.vert li {
  list-style: none;
  margin-left: 0.5rem;
  padding-bottom: 0.8rem;
  color: #677788;
  font-size: 1rem;
}

.bg-camera {
  background: url("../static/css_sprites.png") -10px -10px;
  width: 64px;
  height: 64px;
  display: inline-block;
}

.bg-fever {
  width: 64px;
  height: 64px;
  background: url("../static/css_sprites.png") -94px -10px;
  display: inline-block;
}

.bg-google_classroom {
  width: 64px;
  height: 64px;
  background: url("../static/css_sprites.png") -10px -94px;
  display: inline-block;
}

.bg-hammer_and_anvil {
  width: 64px;
  height: 64px;
  background: url("../static/css_sprites.png") -94px -94px;
  display: inline-block;
}

.bg-hospital {
  width: 64px;
  height: 64px;
  background: url("../static/css_sprites.png") -178px -10px;
  display: inline-block;
}

.bg-joy_con {
  width: 64px;
  height: 64px;
  background: url("../static/css_sprites.png") -178px -94px;
  display: inline-block;
}

.bg-shop {
  width: 64px;
  height: 64px;
  background: url("../static/css_sprites.png") -10px -178px;
  display: inline-block;
}

.bg-test_tube {
  width: 64px;
  height: 64px;
  background: url("../static/css_sprites.png") -94px -178px;
  display: inline-block;
}

.bg-west_direction {
  width: 64px;
  height: 64px;
  background: url("../static/css_sprites.png") -178px -178px;
  display: inline-block;
}

.bg-analytics {
  width: 64px;
  height: 64px;
  background: url("../static/css_sprites.png") -262px -10px;
  display: inline-block;
}
