.container {
  max-width: 1280px;
  padding: 0 1.5rem;
  margin: auto;
  overflow: hidden; }

.lead {
  font-size: 1.3rem;
  margin-bottom: 2rem; }

.text-center {
  text-align: center; }

.bg-main {
  background: #ffbc00;
  color: #333; }

.bg-dark {
  background: #333;
  color: #ffbc00; }

.bg-light {
  background: #f4f4f4;
  color: #333; }

.bg-medium {
  background: #ccc;
  color: #333; }

.btn-main {
  background: #ffbc00;
  color: #333; }

.btn-dark {
  background: #333;
  color: #f4f4f4; }

.btn-light {
  background: #f4f4f4;
  color: #333; }

.btn-medium {
  background: #ccc;
  color: #333; }

.py-1 {
  padding: 1rem 0; }

.py-2 {
  padding: 2rem 0; }

.py-3 {
  padding: 3rem 0; }

.py-4 {
  padding: 4rem 0; }

.my-1 {
  margin: 1rem 0; }

.my-2 {
  margin: 2rem 0; }

.my-3 {
  margin: 3rem 0; }

.my-4 {
  margin: 4rem 0; }

.section-title {
  font-size: 2rem;
  display: block;
  padding-bottom: 0.5rem;
  text-align: center;
  font-weight: 100;
  text-transform: uppercase; }

.bottom-line {
  height: 2px;
  width: 3rem;
  background: #ffbc00;
  display: block;
  margin: 0 auto 1rem auto; }

.items {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  box-shadow: 0 5px 10px 0 rgba(0, 0, 0, 0.3);
  background: #f4f4f4;
  width: 100%;
  height: 100%;
  letter-spacing: 2px; }

.item {
  margin: 10px;
  position: relative;
  background: #ffbc00;
  overflow: hidden; }
  .item::after {
    content: '';
    position: absolute;
    display: block;
    background: inherit;
    top: 0;
    left: 0;
    opacity: 0.9;
    width: 100%;
    height: 100%;
    transform: scale(2) translateX(-75%) translateY(-75%) rotate(-28deg);
    transition: transform 3s cubic-bezier(0.2, 1, 0.3, 1); }
  .item:hover:after {
    transform: scale(2) translateX(0) translateY(0) rotate(-28deg); }
  .item:hover .item-image {
    transform: scale(1.2); }
  .item:hover .item-text {
    opacity: 1;
    transform: translateY(0); }
  .item-image {
    height: auto;
    transform: translateZ(0);
    display: block;
    transition: transform 750ms cubic-bezier(0.2, 1, 0.3, 1); }
  .item-image:before {
    content: '';
    display: block;
    padding-top: 75%;
    overflow: hidden; }
  .item-image img {
    position: absolute;
    top: 0;
    left: 0;
    max-width: 100%;
    max-height: 100%;
    line-height: 0;
    image-rendering: auto;
    image-rendering: crisp-edges;
    image-rendering: pixelated;
    /* Safari seems to support, but seems deprecated and does the same thing as the others. */
    image-rendering: -webkit-optimize-contrast; }
  .item-text {
    z-index: 1;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    opacity: 0;
    text-align: center;
    color: #333;
    transform: translateY(-20%);
    transition: opacity 500ms cubic-bezier(0.2, 1, 0.3, 1), transform 500ms cubic-bezier(0.2, 1, 0.3, 1);
    transition-delay: 300ms; }
  .item-text-wrap {
    position: absolute;
    width: 100%;
    top: 50%;
    transform: translateY(-50%); }
  .item-text-title {
    font-size: 2.5rem;
    padding: 0 1rem;
    margin: 5px 0 0 0; }
  .item-text-category {
    font-weight: bold;
    text-transform: uppercase;
    font-size: 1.5rem;
    opacity: 0.7;
    margin: 0; }
  .item-text-about {
    font-size: 1.5rem;
    opacity: 0.7;
    margin: 0; }

* {
  margin: 0;
  padding: 0; }

body {
  font-family: 'Dosis', sans-serif;
  line-height: 1.6;
  background: #fff; }

a {
  text-decoration: none;
  color: #333; }

ul {
  list-style: none; }

h2, h3, h4 {
  text-transform: uppercase; }

img {
  width: 100%; }

#main-nav {
  letter-spacing: 1px;
  font-size: 1.4rem;
  font-weight: 900;
  margin: 0 auto;
  display: flex;
  justify-content: space-evenly;
  padding-top: 1rem; }
  #main-nav ul {
    display: flex; }
  #main-nav li {
    padding: 1rem 1.5rem; }
  #main-nav a {
    text-decoration: none;
    color: #fff;
    text-transform: uppercase;
    border-bottom: 3px transparent solid;
    padding-bottom: 0.5rem;
    transition: border-color 0.5s; }
    #main-nav a:hover {
      border-color: #ccc; }
    #main-nav a.current {
      border-color: #ffbc00; }

#header {
  background: url("../img/showcase2.jpeg") no-repeat center right/cover;
  opacity: 0.9;
  height: 100vh;
  color: #fff; }
  #header .header-content {
    text-align: center;
    padding-top: 20%; }
    #header .header-content h1 {
      font-size: 4rem;
      line-height: 1.2; }
    #header .header-content a {
      display: inline-block;
      padding: 0.8rem 2rem;
      transition: all 0.5s;
      border: none;
      cursor: pointer;
      color: #333;
      background-color: #ffbc00; }
      #header .header-content a:hover {
        background-color: #f4f4f4; }

#services .specials {
  margin-top: 3rem;
  display: grid;
  grid-gap: 2.5rem;
  grid-template-columns: repeat(4, 1fr); }

#services .fas {
  font-size: 3rem;
  color: #ffbc00;
  padding-bottom: 0.7rem; }

#skills {
  display: grid;
  grid-template-columns: repeat(8, 1fr); }
  #skills .fab {
    font-size: 3rem; }
  #skills li {
    line-height: 2; }
    #skills li.skill-title {
      font-size: 1.5rem; }
  #skills div {
    padding: 3rem 0; }
    #skills div:nth-child(odd) {
      background: #f4f4f4; }
    #skills div:nth-child(even) {
      background: #ccc; }

#process {
  margin-top: -25px !important; }
  #process .process-divs {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-gap: 0.5rem;
    text-align: center; }
    #process .process-divs .process-step {
      position: absolute;
      top: 0;
      right: 0;
      font-size: 28px;
      background: #ffbc00;
      border-radius: 50%;
      height: 15px;
      width: 15px;
      line-height: 15px;
      padding: 1rem;
      transition: all 1s; }
    #process .process-divs .process-icon {
      border-radius: 50%;
      background: #333;
      color: #fff;
      padding: 2rem;
      width: 70px;
      height: 70px;
      line-height: 70px;
      text-align: center;
      position: relative;
      transition: all 1s; }
      #process .process-divs .process-icon:hover {
        background: #ffbc00;
        width: 90px;
        height: 90px;
        line-height: 90px; }
        #process .process-divs .process-icon:hover .process-step {
          background: #333; }

#footer {
  background: #333;
  color: #fff;
  height: 8rem; }
  #footer .footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 8rem; }
    #footer .footer-content .social {
      display: flex;
      align-items: center;
      justify-content: center; }
      #footer .footer-content .social ul {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-transform: capitalize;
        text-align: center;
        padding: 0.5rem 1rem; }
        #footer .footer-content .social ul li {
          text-align: center; }
          #footer .footer-content .social ul li .fab, #footer .footer-content .social ul li .fas {
            margin-right: 1rem;
            border: 2px #fff solid;
            border-radius: 50%;
            height: 20px;
            width: 20px;
            line-height: 20px;
            text-align: center;
            padding: 0.3rem; }
            #footer .footer-content .social ul li .fab:hover, #footer .footer-content .social ul li .fas:hover {
              background: #ffbc00; }
          #footer .footer-content .social ul li p {
            font-size: 0.9rem;
            margin-top: 0.25rem;
            margin-right: 1rem;
            text-align: center; }

#header-about {
  background: #333;
  height: 5.5rem;
  border-bottom: 3px solid #ffbc00; }

#about-a .about-info {
  display: grid;
  grid-template-areas: "bioimage bio bio" "past present future";
  grid-gap: 1.2rem; }

#about-a .bio-image {
  margin: 0 auto;
  grid-area: bioimage;
  border-radius: 50%;
  width: 50%; }

#about-a .bio {
  grid-area: bio;
  border-left: 3px solid #ffbc00;
  padding: 0.8rem; }

#about-a .past {
  grid-area: past; }

#about-a .present {
  grid-area: present; }

#about-a .future {
  grid-area: future; }

#about-a .past .fas,
#about-a .present .fas,
#about-a .future .fas {
  color: #ffbc00;
  margin: 1rem; }

#contact-a .text-fields {
  display: grid;
  grid-template-areas: 'name email' 'subject phone' 'message message';
  grid-gap: 1.2rem;
  margin-bottom: 1.2rem; }
  #contact-a .text-fields .name-input {
    grid-area: name; }
  #contact-a .text-fields .subject-input {
    grid-area: subject; }
  #contact-a .text-fields .email-input {
    grid-area: email; }
  #contact-a .text-fields .phone-input {
    grid-area: phone; }
  #contact-a .text-fields .message-input {
    grid-area: message;
    height: 100px; }
  #contact-a .text-fields .text-input {
    padding: 0.5rem 1rem; }

#contact-a button[type='submit'] {
  padding: 0.5rem 1rem;
  width: 50%; }
  #contact-a button[type='submit']:hover {
    background: #ffbc00; }

#contact-b .contact-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  text-align: center;
  color: #f4f4f4 !important; }

#contact-c h1 {
  text-align: center;
  font-size: 4rem;
  color: #f4f4f4 !important; }

@media (max-width: 1024px) {
  #header {
    height: 35rem; }
    #header #main-nav li {
      font-size: 90%; }
    #header .header-content {
      padding-top: 5rem; }
  #services .specials,
  #skills,
  #process .process-divs,
  .items {
    grid-template-columns: repeat(2, 1fr); }
  .footer .social ul {
    display: grid;
    grid-template-rows: repeat(2, 1fr); } }

@media (max-width: 500px) {
  #header {
    background: url("../img/showcase2.jpeg") 20% 30%;
    height: 45rem; }
    #header .header-content {
      padding-top: 1.5rem; }
    #header #main-nav ul {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      text-align: center; }
      #header #main-nav ul li a {
        color: #ffbc00; }
        #header #main-nav ul li a.current {
          border-color: #f4f4f4; }
  #header-about {
    background: #333; }
    #header-about #main-nav ul {
      font-size: 1rem;
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      text-align: center; }
  #services .specials,
  #skills,
  #process .process-divs,
  #contact-b .contact-info,
  .items {
    grid-template-columns: 1fr; }
  #services .specials div {
    border-bottom: 1px #f4f4f4 solid;
    padding-bottom: 1rem; }
    #services .specials div:last-child {
      border: none;
      padding-bottom: 0; }
  #skills .skill-box {
    padding: 2rem 0 1rem 0; }
  #about-a .about-info {
    grid-template-areas: 'bioimage' 'bio' 'past' 'present' 'future'; }
  #contact-a .text-fields {
    grid-template-areas: 'name' 'subject' 'email' 'phone' 'message'; }
  #contact-b div {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px #555 solid; }
    #contact-b div:last-child {
      border: none;
      margin-bottom: 0;
      padding-bottom: 0; }
  #contact-c h1 {
    font-size: 2rem; }
  #footer {
    height: 9rem; }
    #footer .footer-content {
      padding: 0.2rem 0 0 0.3rem;
      flex-direction: column;
      height: 8rem; } }

@media (max-height: 580px) {
  #main-nav ul li a {
    color: #ffbc00; }
    #main-nav ul li a.current {
      border-color: #f4f4f4; }
  #header .header-content {
    padding-top: 2rem; } }

@media (max-height: 330px) {
  #main-nav ul li a {
    color: #ffbc00; }
    #main-nav ul li a.current {
      border-color: #f4f4f4; }
  #header .header-content {
    padding-top: 2rem; }
    #header .header-content h1 {
      font-size: 2rem; } }
