/* Global Styles */
html, body {
  height: 100%;
  width: 100%;
  color: #4F616A;
  font-family: 'Shippori Mincho', serif;
  line-height: 1.8;
  font-size: 16px;
}

h2, h3 {
  font-weight: 700;
  font-family: 'Shippori Mincho', serif;
}

p {
  margin-top: 1em;
}

ul {
  margin-top: 2em;
}

.caption {
  margin-top: 3em;
}

.caption p {
  text-align: left;
}

/* Side Menu */
#sidebar-wrapper {
  margin-right: -250px;
  right: 0;
  width: 250px;
  background: #EF6C40;
  position: fixed;
  height: 100%;
  overflow-y: auto;
  z-index: 1000;
  transition: all 0.4s ease;
}

.sidebar-nav {
  position: absolute;
  top: 0;
  width: 250px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.sidebar-nav li {
  line-height: 40px;
  text-indent: 20px;
}

.sidebar-nav li a {
  color: #FFF;
  display: block;
  text-decoration: none;
}

.sidebar-nav li a:hover {
  background: rgba(255,255,255,0.2);
}

.sidebar-nav > .sidebar-brand {
  height: 55px;
  line-height: 55px;
  font-size: 18px;
}

.sidebar-nav > .sidebar-brand a {
  color: #FFF;
}

#menu-toggle {
  top: 0;
  right: 0;
  position: fixed;
  z-index: 1;
}

#sidebar-wrapper.active {
  right: 250px;
}

.toggle {
  margin: 5px 5px 0 0;
}

/* Header */
.header {
  display: table;
  height: 100%;
  width: 100%;
  position: relative;
  background: url(/img/top.jpg) no-repeat center center fixed;
  background-size: cover;
  animation: zoomFadeIn 1s ease-in-out forwards;
  opacity: 0;
}

@keyframes zoomFadeIn {
  0% {
    transform: scale(0.93);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

#top .vert-text {
  position: absolute;
  top: 35%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

#top br {
  display: none;
}

/* Intro Sections */
.intro,
.services,
.callout,
footer {
  padding: 120px 0;
}

#project,
#about {
  padding: 150px 0;
}

/* Services Section */
.services {
  background: #7fbbda;
  color: #fff;
}

.service-item {
  margin-bottom: 15px;
}

i.service-icon {
  border: 3px solid #fff;
  border-radius: 50%;
  display: inline-block;
  font-size: 56px;
  width: 140px;
  height: 140px;
  line-height: 136px;
  text-align: center;
}

/* Callout */
.callout {
  color: #fff;
  display: table;
  height: 400px;
  width: 100%;
  background: url(/img/callout.jpg) no-repeat center center fixed;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

/* Portfolio */
.portfolio {
  padding: 50px 0;
}

.portfolio-item {
  margin-bottom: 25px;
}

.img-portfolio {
  margin: 0 auto;
  border-radius: 8px;
  filter: grayscale(100%);
  transition: all 0.4s ease;
  transform: scale(1);
}

.portfolio-item:hover .img-portfolio {
  filter: grayscale(0%);
  transform: scale(1.05);
  cursor: url('/img/cursor-color3.png'), auto;
}

/* Call to Action */
.call-to-action {
  color: #fff;
  background: #0a5175;
  padding: 50px 0;
}

.call-to-action .btn {
  margin: 10px;
}

/* Map */
.map {
  height: 650px;
  position: relative;
  overflow: hidden;
}

.map::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255,255,255,0);
  backdrop-filter: grayscale(100%);
  pointer-events: none;
  transition: backdrop-filter 0.4s ease;
  z-index: 2;
}

.map:hover::before {
  backdrop-filter: grayscale(0%);
}

/* Footer */
footer {
  padding: 100px 0;
}

.top-scroll {
  margin-top: 50px;
}

.top-scroll a {
  text-decoration: none;
  color: inherit;
}

i.scroll {
  color: #333;
}

i.scroll:hover {
  color: #0a5175;
}

/* Responsive */
@media (max-width: 768px) {
  .header,
  .callout {
    background-attachment: scroll;
  }

  .map {
    height: 75%;
  }

  #top .vert-text {
    top: 35%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  #top h2 {
    font-size: 120%;
  }

  #top br {
    display: inline;
  }

  footer h2,
  footer h3,
  footer li {
    font-size: 1.5rem;
  }

  footer li span {
    font-size: 2.5rem !important;
  }

  #project,
  #about {
    padding: 120px 0;
  }

  #about .row .col-md-5 {
    display: none;
  }

  #about .row {
    display: block;
  }
}

/* Tables */
table td,
table th {
  border: none !important;
  padding: 1em 2em !important;
}

table {
  border-radius: 12px;
  overflow: hidden;
}
