@font-face {
  font-family: signature;
  src: url(fonts/signature.otf);
}

@font-face {
  font-family: primary;
  src: url(fonts/primary.ttf);
}

* {
  margin: 0px;
  padding: 0px;
  border: 0;
  outline: 0;
  font-size: 100%;
  font-family: 'Courier New', Courier, monospace;
  vertical-align: baseline;
  background: transparent;
  text-decoration: none;
  color: #666666;
}

body {
  background-image: url(media/background.jpg);
  background-size: cover;
  background-attachment: fixed;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

h1 {
  margin-top: 80px;
  color: black;
  margin-bottom: 5px;
  text-align: center;
  font-family: primary;
}

.blue-bar {
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 50px;
  width: 70px;
  display: block;
  border-top: 2px solid rgb(0, 112, 192);
}

p {
  font-family: sans-serif;
}

/* Utility Classes */
.row {
  width: 100%;
  margin-right: -15px;
  margin-left: -15px;
}

.row-centered {
  text-align: center;
}

.col-centered {
  display: inline-block;
  margin-right: -26px;
}

.spacer {
  margin-bottom: 120px;
}

.middle {
  position: relative;
  top: 50%;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
}

.center {
  width: 100%;
  display: block;
  text-align: center;
}

/* Header Section */
#header {
  height: 100vh;
  padding: 0px;
  width: 100%;
}

#header h1 {
  color: black;
  font: 90pt signature, Arial, sans-serif;
  text-shadow: 8px 8px 12px rgba(0, 0, 0, 0.74);
}

.jumbo-btn:link {
  position: relative;
  display: block;
  border: 3px solid white;
  background-color: rgba(255, 255, 255, 0.25);
  width: 20%;
  padding: 20px;
  left: 0;
  right: 0;
  margin: 20px auto;
  transition: all 200ms;
  text-decoration: none;
}

.jumbo-btn:visited {
  text-decoration: none;
}

.jumbo-btn:hover {
  background-color: rgba(255, 255, 255, 0.95);
  transition: all 200ms;
  text-decoration: none;
}

.jumbo-btn:active {
  background-color: rgba(255, 255, 255, 0.95);
  transition: all 200ms;
  text-decoration: none;
}

.jumbo-btn p {
  font-family: primary;
  font-size: 20px;
}

@media screen and (max-width:780px) {
  #header h1 {
    font-size: 70pt;
  }

  .jumbo-btn:link {
    width: 80%;
  }
}

@media screen and (max-width:600px) {
  #header h1 {
    font-size: 60pt;
  }
}

@media screen and (max-width:400px) {
  #header h1 {
    font-size: 50pt;
  }
}

/* About Section */
#about {
  background-color: white;
  padding-right: 20%;
  padding-left: 20%;
  padding-bottom: 40px;
  border-top: 1px solid #ddd;
}

.thumbnail {
  width: 80%;
  position: relative;
  left: 0;
  right: 0;
  margin: 0 auto;
}

@media screen and (max-width:991px) {
  .caption {
    display: none;
  }

  #about p {
    margin-top: 30px;
  }
}

@media screen and (max-width:780px) {
  #about {
    padding-right: 5%;
    padding-left: 5%;
  }
}

/* Services Section */
#servicesBackground {
  z-index: 700;
  position: absolute;
}

#services {
  background: #f5f5f5;
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
}

.service {
  background-color: white;
  border: 1px solid rgb(0, 112, 192);
  width: 300px;
  height: 270px;
  border-radius: 4px;
  box-shadow: inset 0 -4px rgb(0, 112, 192);
  padding: 48px 30px 0;
  margin-bottom: 80px;
  line-height: 22px;
  z-index: 900;
}

.service-long {
  width: 500px;
  height: 270px;
}

.col-middle {
  margin-right: 40px;
  margin-left: 40px;
}

.service i {
  color: rgb(0, 112, 192);
  font-size: 50px;
  margin-right: auto;
  margin-left: auto;
}

.service h3 {
  color: rgb(0, 112, 192);
  font-size: 22px;
  font-weight: bold;
  text-align: center;
}

.service p {
  color: black;
}

.flex-center {
  display: flex;
  flex-direction: row;
  justify-content: center;
}

@media (max-width: 1250px) {
  .flex-center {
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .service {
    flex: 1 1 auto;
    align-self: center;
  }

  .service-long {
    width: 350px;
    height: 320px;
  }
}

@media screen and (max-width:400px) {
  .service {
    width: 250px;
    height: 290px;
  }

  .service-long {
    width: 275px;
    height: 350px;
  }
}

#services h1 {
  margin-top: 0px;
  padding-top: 80px;
  margin-bottom: 5px;
  text-align: center;
}

/* Portfolio Section */
#portfolio hr {
  margin-top: 80px;
}

.gallery {
  margin-top: 80px;
  width: 100%;
}

.gallery h2 {
  font-size: 40px;
  padding-right: 30%;
  padding-left: 30%;
  text-align: center;
  margin-top: 40px;
  font-weight: bold;
}

.gallery p {
  font-size: 16px;
  padding-right: 30%;
  padding-left: 30%;
  text-align: center;
  margin-bottom: 20px;
}

.gallery ul {
  margin-bottom: 0px;
  padding-right: 30%;
  padding-left: 30%;
}

.gallery li {
  display: inline-block;
  padding-right: 30px;
}

.gallery li a {
  font-size: 20px;
  text-decoration: none !important;
  color: rgb(0, 112, 192);
  transition: color 400ms;
}

.gallery a:hover {
  color: rgb(0, 112, 192);
}

.gallery img {
  width: 60%;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

@media screen and (max-width:780px) {
  .gallery img {
    width: 90%;
  }

  .gallery h2 {
    padding-right: 10%;
    padding-left: 10%;
  }

  .gallery p {
    padding-right: 10%;
    padding-left: 10%;
  }

  .gallery ul {
    padding-right: 10%;
    padding-left: 10%;
  }
}

#portfolio {
  width: 100%;
  margin: 0;
  padding: 0;
  text-align: center;
  background-color: white;
  border-bottom: 1px solid #ddd;
}

/* Contact Section */
#contact {
  width: 100%;
  margin: 0;
  padding: 0;
}

#contact * {
  color: black;
  font-size: 19px;
  clear: both;
}

#contact h1 {
  font-size: 36px;
}

.content {
  height: 100%;
  width: 850px;
  margin-left: auto;
  margin-right: auto;
  overflow: hidden;
}

.content-left {
  float: left;
  width: 400px;
  display: block;
  position: relative;
  overflow: hidden;
}

.content-right {
  float: right;
  display: block;
  width: 400px;
}

.group * {
  font-size: 20px;
  display: inline-block;
}

.group h2 {
  margin-left: 10px;
}

.group i {
  color: rgb(0, 112, 192) !important;
}

input {
  font-size: 18px;
  border: 2px solid rgb(0, 112, 192);
  margin-bottom: 15px;
  width: 100%;
  padding: 5px;
}

textarea {
  padding: 5px;
  font-size: 18px;
  display: block;
  border: 2px solid rgb(0, 112, 192);
  width: 100% !important;
  height: 150px;
  resize: none;
}

.content-right button {
  float: right;
  font-size: 18px;
  border: 2px solid rgb(0, 112, 192);
  margin-top: 30px;
  margin-bottom: 80px;
  width: 50%;
  padding: 5px;
  transition: all 400ms;
}

.content-right button:hover {
  background-color: rgb(0, 112, 192);
  color: white !important;
  transition: all 400ms;
}

@media screen and (max-width:900px) {
  .content {
    width: 100%;
  }

  .content-left {
    float: none;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
  }

  .content * {
    font-size: 17px;
  }

  .content-right {
    float: none;
    margin-top: 25px !important;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
  }

  input {
    font-size: 17px;
  }

  textarea {
    font-size: 17px;
  }

  .content-right button {
    font-size: 17px;
    width: 30%;
  }
}

@media screen and (max-width:680px) {
  .content * {
    font-size: 15px;
  }

  input {
    font-size: 15px;
  }

  textarea {
    font-size: 15px;
  }

  .content-right button {
    font-size: 15px;
    width: 50%;
  }
}

@media screen and (max-width:580px) {
  .content * {
    font-size: 13px;
  }

  input {
    font-size: 14px;
  }

  textarea {
    font-size: 14px;
  }

  .content-right button {
    font-size: 14px;
    width: 70%;
  }
}

/* Footer Section */
#footer {
  height: 200px;
  width: 100%;
  margin: 0;
  padding: 0;
  text-align: center;
  background-color: rgb(0, 112, 192);
  border-top: 1px solid darkgray;
}

#media-icons {
  margin-top: 40px;
  margin-left: 65.72px;
}

.media-icon {
  width: 70px;
  height: 65px;
  background-color: rgba(0, 0, 0, 0);
  border-radius: 100%;
  line-height: 80px;
  text-align: center;
  vertical-align: middle;
  display: inline-block;
}

.media-icon i {
  line-height: inherit;
  color: white;
}

.media-img {
  position: relative;
  width: 55px;
}

.media-icon:hover {
  -webkit-transform: scale(0.93);
  -moz-transform: scale(0.93);
  -ms-transform: scale(0.93);
  transform: scale(0.93);
}

.page-top i {
  float: right;
  padding-right: 40px;
  padding-top: 10px;
  font-size: 40px;
  color: white;
}

.page-top i:hover {
  -webkit-transform: scale(0.93);
  -moz-transform: scale(0.93);
  -ms-transform: scale(0.93);
  transform: scale(0.93);
}

#footer h3 {
  color: white;
  font-family: primary;
}

@media screen and (max-width:680px) {
  #footer h3 {
    padding-left: 10px;
    padding-right: 10px;
    font-size: 22px;
  }

  .media-img {
    width: 37px;
  }

  #media-icons {
    margin-left: 0px;
  }

  .media-icon {
    width: 50px;
    height: 50px;
    line-height: 50px;
  }

  #footer i {
    font-size: 30px;
  }
}

@media screen and (max-width:600px) {
  #footer {
    height: 150px;
  }

  #footer h3 {
    padding-left: 10px;
    padding-right: 10px;
    font-size: 16px;
  }

  #footer i {
    font-size: 25px;
  }
}

/* Navigation */
#nav-container {
  position: fixed;
  background-color: rgba(0, 0, 0, 0);
  transition: all 200ms ease-in-out;
  cursor: pointer;
  top: 0px;
  height: 70px;
  width: 100%;
  z-index: 9999;
  cursor: default;
}

#nav {
  width: 80%;
  height: 100%;
  margin: 0 auto;
}

#nav * {
  display: inline-block;
  color: #a7a7a7;
}

#nav h3 {
  font-size: 18px;
  padding-right: 22px;
  cursor: default;
}

#nav .logo {
  height: 75%;
  display: block;
  float: left;
}

#nav ul {
  padding: 0;
  margin: 0;
  float: right;
}

#nav a {
  font-size: 18px;
  padding-right: 10px;
  text-decoration: none;
  transition: color .2s linear;
  cursor: pointer;
  outline: 0;
  font-family: primary;
  color: rgb(0, 112, 192);
}

#nav a:hover {
  color: black;
  -webkit-transition: color 400ms linear;
  transition: color .400ms linear;
  cursor: pointer;
}

.nav-body {
  background-color: rgba(255, 255, 255, 0.95) !important;
  border-bottom: 0px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) !important;
}

.icon-container {
  height: 100%;
  float: right;
}

#nav .icon {
  font-size: 50px;
  display: none;
  outline: none;
}

#mobile-dropdown {
  position: absolute;
  top: 70px;
  right: 0px;
  background-color: white;
  z-index: 100;
  min-width: 140px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) !important;
  transition: right 400ms !important;
}

.hidden-right {
  right: -175px !important;
}

#mobile-dropdown a {
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}

@media screen and (max-width:1500px) {
  #nav {
    width: 90%
  }
}

@media screen and (max-width:1200px) {
  #nav {
    width: 95%
  }
}

@media screen and (max-width:800px) {
  #nav-container {
    background-color: rgba(255, 255, 255, 0.95) !important;
    border-bottom: 0px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) !important;
  }

  #nav-container * {
    color: rgb(0, 112, 192) !important;
    -webkit-transition: color .5s linear;
    transition: color .5s linear;
  }

  #nav-container a:hover {
    color: #eee !important;
  }

  #nav {
    width: 90%
  }

  #nav li {
    display: none
  }

  #nav .icon {
    display: inline-block;
  }
}

@media screen and (max-width:350px) {
  #nav h3 {
    font-size: 14px;
    padding-right: 5px;
    cursor: default;
  }
}