:root {
  --primary: #2d3956;
  --secondary: #41527c;
  --red: #ff1a00;
  --muted: #e8e8e8;
  --white: #fff;
}

@font-face {
  font-family: hand;
  src: url("../fonts/ShadowsIntoLight-Regular.ttf");
}
@font-face {
  font-family: marker;
  src: url("../fonts/ShadowsIntoLight-Regular.ttf");
}

body {
  margin: 0;
  padding: 0;
  background: #fefefe;
  font-family: "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif;
  font-weight: normal;
  line-height: 1.5;
  color: #0a0a0a;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-image: url('../img/bg.png');
  background-position: bottom left;
  background-repeat: no-repeat;
}

hr {
  border-color: var(--muted);
  border-style: solid;
  margin: 1rem 0;
  height: 1px;
  border-bottom: 0;
}

#header {
  background-color: var(--primary);
  color: var(--white);
}

.section {
  padding: 30px;
  padding-top: 0;
  padding-bottom: 0;
}
.section:first-of-type {
  padding-top: 30px;
  padding-bottom: 30px;
}
.section:last-of-type {
  padding-bottom: 30px;
}

.container {
  max-width: 1366px;
  margin: 0 auto;
}

#navMain {
  display: flex;
  /* align-items: center; */
  list-style-type: none;
  margin: 1rem 0;
  padding: 0;
  user-select: none;
}
#navMain li {
  width: 20%;
  margin: 0;
  text-align: center;
  transition: all 0.2s ease-in-out;
  border-radius: 0px;
}
#navMain li:hover {
  border-radius: 6px;
  background-color: var(--muted);
}
#navMain li a {
  padding: 1rem;
  display: block;
  height: 100%;
  text-decoration: none;
  transition: all 0.2s ease-in-out;
  line-height: 1.2rem;
  font-size: 1.2rem;
  /* border-top: 4px solid var(--white); */
}
#navMain li a:hover {
  /* border-top: 4px solid var(--secondary); */
  /* color: var(--white); */
}

.flex {
  display: flex;
  gap: 1rem;
}
.cell {
  width: 50%;
}
h1, h2, h3, h4, h5, h6 { color: var(--primary); }
h2 {
  letter-spacing: -1px;
  margin-top: 2rem;
}

#hero {
  background-image: url("../img/arm-bg.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  color: var(--white);
  background-position: center center;
  user-select: none;
}
#hero .container {
  min-height: 700px;
}

#hero h1 {
  font-family: "hand", Arial;
  font-size: 600%;
  color: var(--red);
  line-height: 100%;
  /* letter-spacing: -2px; */
  text-shadow: 2px 2px 0px var(--white);
}
#hero h2 {
  color: var(--white);
  font-size: 350%;
  letter-spacing: -2px;
  line-height: 100%;
  text-shadow: 2px 2px 0px var(--secondary);
}
#hero h3 {
  color: var(--white);
}
#scheduleForm h3 {
  /* text-decoration: underline; */
  font-family: "hand", Arial;
  color: var(--primary);
}

#scheduleForm {
  background-color: rgba(255, 255, 255, 0.85);
  padding: 1rem;
  color: var(--primary);
  border-radius: 0.5rem;
  border: 1px solid var(--primary);
  box-shadow: -4px 4px 2px rgba(0,0,0,0.25);
}

#scheduleForm input, #scheduleForm textarea {
  display: block;
  padding: 4px 9px;
  line-height: 1rem;
  font-family: Arial, sans-serif;
  border: 1px solid #ddd;
  margin: 0.5rem 0;
  font-size: 1rem;
  width: 100%;
  box-sizing: border-box;
  outline: 0;
}

#more h3 {
  /* font-family: "marker", Arial; */
  font-size: 300%;
  letter-spacing: -2px;
  color: var(--primary);
  text-align: center;
}
#more h4 {
  font-family: "marker";
  font-size: 200%;
  color: var(--secondary);
  text-align: center;
}

#services h4 {
  text-align: center;
  font-size: 150%;
  letter-spacing: -1px;
}
#services h3 {
  font-family: "marker", Arial;
  font-size: 300%;
  color: var(--secondary);
  text-align: center;
  line-height: 100%;
}
#services .testimonial {
  margin: 0 auto;
  /* padding: 0 2rem; */
  /* width: 60%; */
}

#footer {
  margin-top: 6rem; 
  margin-bottom: 400px;
}
@media screen and (max-width: 860px) {
  #navMain {
    display: block;
  }
  #navMain li {
    width: 100%;
    border-radius: 6px;
  }
  #navMain li:hover {
    background-color: inherit;
  }
  #navMain li a {
    border: 0;
    border-radius: 6px;
    padding: 0.75rem 1rem;
  }
  #navMain li a:hover {
    border: 0;
    background-color: var(--secondary);
    color: var(--white);
  }
  .flex {
    display: block;
  }
  .cell {
    width: 100% !important;
    margin: 0 !important;
  }
  #hero {
    padding-bottom: 3rem;
  }
  #hero h1, #hero h2 {
    font-size: 200%;
    letter-spacing: 0 !important;
    text-align: center;
    margin: 2rem 0;
  }
  #hero h1 {
    padding-top: 4rem;
    font-size: 300%;
  }
  #hero h3 {
    text-align: center;
    color: var(--primary);
  }
  #services .testimonial {
    margin: 0 auto;
    /* padding: 0 1rem; */
    /* width: 90%; */
  }
  ul {
    column-count: 1 !important;
  }
}

a {
  color: var(--primary);
}
img {
  max-width: calc(100vw - 60px);
}