/* Author: Rampradeep
http://rampradeep.com */

*, *::before, *::after {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  height: 100%;
  /* overflow: hidden; */
  color: #fff;
  background-color: #121519;
  font-family: 'Montserrat', 'Roboto', 'Droid Sans', 'Helvetica Neue', sans-serif;
  margin: 0;
}

ul, ol {
  list-style-type: none;
  padding: 0;
  margin: 0;
}
a {
  text-decoration: none;
  transition: 0.2s ease-in;
}

a:hover {
  color: #df0;
  text-decoration: none;
  transition: 0.2s ease-out;
}

p {
  margin: 1rem 0;
}
.app {
  display: grid;
  grid-template-rows: 5rem 1fr 3rem;
  grid-template-columns: 20%;
  height: 100vh;
}

.contact-info {
  position: fixed;
  right: 22px;
  top: 25px;
}

.contact-info a {
  font-size: 14px;
  color: #fff;
  padding: 0 8px;
}

.contact-info a i {
  font-size: 14px;
  vertical-align: bottom;
  padding-right: 2px;
  position: relative;
  top: -2px;
  color: #86c53f;
}

.contact-info a:hover {
  color: #86c53f;
}

.header, .footer {
  font-size: 10px;
  font-weight: 200;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #a0a0a0;
}
.header {
  display: flex;
  justify-content: space-between;
  grid-column: 0;
  padding: 0 2rem;
  border-right: 1px solid rgba(255, 255, 255, .1);
}
.header__left, .header__right {
  display: flex;
  align-items: center;
}
.main {
  grid-column: -1;
  padding: 2rem;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  perspective: 1px;
  scroll-snap-type: block proximity;
  scroll-snap-destination: 0% 100%;
  scroll-snap-points-y: repeat(100%);
}
.footer {
  display: inline-block;
  align-items: center;
  grid-column: -1;
  padding: 0 10px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  position: fixed;
  width: 100%;
  bottom: 0;
  z-index: 99;
  background-color: #121519;
}
.footer p {
  margin: 14px 0 0;
  display: inline-block;
}
.footer a {
  color: #fff;
}

.footer a:hover {
  color: #df0;
  text-decoration: none !important;
}

.footer .footer__more a {
  margin: 0 10px;
  padding: 8px 0 12px 0;
  line-height: 10px;
  display: inline-block;
  border-top: 2px solid #000;
}

.footer .footer__more a.active {
  border-color: #df0;
}

.footer a:hover, .footer a:focus {
  text-decoration: underline;
}

p.footer__more {
  float: right;
  margin: 0;
}

p.footer__more i {
  vertical-align: bottom;
  font-size: 16px;
  position: relative;
  top: 2px;
}

.nav {
  display: none;
  border-right: 1px solid rgba(255, 255, 255, .1);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.nav__item:not(:last-child) {
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.nav__link {
  display: block;
  color: #fff;
  font-weight: 200;
}
.nav__link:hover, .nav__link:focus {
  background-color: rgba(255, 255, 255, .035);
}

.nav {
  display: block;
  grid-column: 1;
}

.section {
  min-height: 500px;
  min-height: calc(100vh - 4rem - 4rem);
  padding-top: 300px;
  margin-bottom: 250px;
  position: relative;
  transform-style: preserve-3d;
  scroll-snap-align: start;
}

.section__header {
  position: absolute;
  top: 50px;
  left: 0;
  right: 0;
  height: 400px;
  padding: 2rem;
  border-radius: 0.5rem;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  text-shadow: 0 0 20px rgba(0, 0, 0, 0.25);
}

.section:first-child .section__header{
  height: 500px;
}

.section__header::after {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.5) 100%);
  /* background: linear-gradient(to top, rgba(0, 0, 0, 0) 75%, rgba(0, 0, 0, 0.5) 100%) */
}
.section__title {
  font-size: 3.5rem;
  font-weight: 200;
  margin-bottom: 0.5rem;
  line-height: 1;
  text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.5);
}
.section__subtitle {
  font-size: 1.2rem;
    font-weight: 100;
    padding: 5px;
    background-color: rgba(0, 0, 0, 0.4);
}
.section__controls {
  display: flex;
  align-items: center;
  position: absolute;
  padding: 0 2rem;
  top: 0;
  left: 0;
  right: 0;
  transform: translateY(-50%);
}
.section__content {
  position: relative;
  z-index: 1;
  padding: 0 1rem;
  top: 20px;
}

.boxgrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  grid-auto-rows: minmax(150px, auto);
  grid-gap: 2rem 0.5rem;
}

.boxgrid__item {
  display: flex;
}

.boxgrid__item--wide {
  grid-column: span 2;
}

.box {
  display: flex;
  flex: 1 0 0;
  position: relative;
  padding: 2rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  color: #fff;
  box-shadow: 0 19px 38px rgba(0, 0, 0, 0.30), 0 15px 12px rgba(0, 0, 0, 0.22);
  transform: scale(1);
  transition: all 0.25s ease;
  filter: brightness(100%);
}

.box:hover, .box:focus {
  transform: scale(1.07);
  filter: brightness(110%);
  z-index: 10;
}

.box--weather {
  background-color: #89cdce;
}

.box--cost {
  background-color: #66aee5;
}

.box--locations {
  background-color: #6c73dc;
}

.box--image, .box--video {
  padding: 0;
}

.box--video::before, .box--video::after {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 10;
  transform: translate(-50%, -50%);
}
.box--video::before {
  width: 50px;
  height: 50px;
  background-color: #fff;
  border-radius: 50%;
  box-shadow: 0 0 38px rgba(0, 0, 0, 0.30);
}
.box--video::after {
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 10px 0 10px 15px;
  border-color: transparent transparent transparent #121519;
  margin-left: 2px;
}
.box__img {
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  object-fit: cover;
  object-position: center;
  border-radius: 0.5rem;
}
.scrollctrl {
  display: none;
  justify-content: center;
  width: 50vw;
  height: 50vw;
  padding: 0;
  position: fixed;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .1);
  color: rgba(255, 255, 255, .7);
  background-color: transparent;
  left: 50%;
  margin-left: -25%;
}
.scrollctrl:hover, .scrollctrl:focus {
  /* background-color: rgba(255, 255, 255, .035); */
  background-color: rgba(221, 255, 0, 0.1);
  border-color: #df0;
  box-shadow: 0 0 0;
  cursor: pointer;
}
.scrollctrl--prev {
  top: 0;
  padding-top: 44%;
  align-items: flex-end;
  transform: translateY(-42vw);
}
.scrollctrl--next {
  bottom: 0;
  padding-bottom: 44%;
  transform: translateY(42vw);
}

.section__content p {
  padding: 0 3.3rem;
  font-weight: 100;
  line-height: 2rem;
  margin: 0;
}

.media i {
  font-size: 38px;
  margin-right: 15px;
}

a.read-more {
  color: #df0;
}

a.read-more i {
  vertical-align: middle;
}

.text--large {
  font-size: 2rem;
  font-weight: 200;
}
.arrow {
  display: inline-block;
  padding: 3px;
  border-style: solid;
  border-width: 0 2px 2px 0;
}
.arrow--large {
  padding: 8px;
  border-width: 0 1px 1px 0;
}
.arrow--right {
  transform: rotate(-45deg);
}
.arrow--left {
  transform: rotate(135deg);
}
.arrow--up {
  transform: rotate(-135deg);
}
.arrow--down {
  transform: rotate(45deg);
}
.media {
  display: flex;
  align-items: center;
  padding: 1.65rem 2rem;
}
.media__img {
  width: 35px;
  height: 35px;
  margin-right: 1rem;
  border-radius: 0.25rem;
  object-position: center center;
  object-fit: cover;
}
.media__content {
  margin: 0;
}
.user {
  margin-left: auto;
  text-align: center;
  padding-top: 2rem;
}
.user__name {
  display: block;
  font-size: .8rem;
  font-weight: 200;
  background-color: #00BCD4;
  box-shadow: 2px 2px 10px 0px #02bad37a;
  border-radius: 2px;
  vertical-align: middle;
  margin: 0;
  line-height: 0;
  height: auto;
  padding: 6px 10px 3px 10px;
  transition: 0.2s ease-out;
  color: #fff;
}

.user__name:hover {
  background-color: #00acc3;
  cursor: pointer;
  transition: 0.2s ease-in;
}

.user__name i {
  vertical-align: inherit;
  margin-top: -5px;
}

.user__img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin-bottom: 0.5rem;
  box-shadow: 0 0 38px rgba(0, 0, 0, 0.30);
}
/* .btn {
  display: flex;
  flex: 0 0 50px;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  border: 0;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 50%;
  background-color: #fff;
  margin: 0 0.5rem;
}
button:focus {
  outline: 0;
  border-color: #66aee5;
  box-shadow: 0 0 0 1px #66aee5;
} */

/* Customise */

.img-logo {
  width: 180px;
}

.header__left {
  width: 100%;
  display: inline-block;
  text-align: center;
  padding: 8px 0 0 0;
}

/* Page Not Found Page */
.main-container.error-container {
  width: 400px;
  margin: 0 auto;
  display: block;
  text-align: center;
  height: 100vh;
}

.error-container .img-container {
  margin-top: 20%;
}

.error-container .copy-rights p {
  font-size: 12px;
  margin-top: 10px;
}

.error-container .copy-rights {
  position: fixed;
  bottom: 0;
  text-align: center;
  width: 100%;
  left: 0;
}

body.page-not-found {
    background-color: #fff;
    overflow: hidden;
    color: #121519;
}

@media screen and (min-width: 1024px) {
  .section {
    margin-bottom: 750px;
  }
  .section__header {
    transform: translateZ(-1px) scale(1.9);
  }
  .section__content {
    padding: 0;
    transform: translateZ(0);
  }
  .scrollctrl {
    display: flex;
  }
}

@media screen and (min-width: 768px) {
  .footer__more {
    display: block;
  }
}


@media screen and (min-width: 1280px) {
  .boxgrid__item--push {
    grid-column: span 2;
    padding-left: 50%;
  }
}

@media screen and (max-width: 768px) {

  .grid li:last-child {
    margin-bottom: 100px;
  }

  .grid-gallery ul {
    overflow: auto;
    height: 100vh !important;
  }

  a.read-more {
    display: block;
  }
  
  .contact-info {
    top: 0px;
    right: 0;
    width: 100%;
    background-color: #000;
    text-align: center;
    padding: 6px 0;
    z-index: 9;
  }

  .img-logo {
    margin-top: 10px;
  }

  footer.footer {
    padding: 0 5px;
  }

  .footer p.footer__more a {
      font-size: 0px;
      margin: 0;
      padding: 10px 2px;
      text-align: center;
  }

  p.footer__more a i {
      font-size: 18px;
      margin-left: 6px;
      top:0;
  }

  .footer p:first-child {
    margin: 12px 0px 0 10px;
    font-size: 11px;
  }

  main.main {
    padding: 10px 0 0 0;
  }

  .section {
    padding-top: 180px;
    font-size: 14px;
    margin: 0 0 150px;
    min-height: calc(100vh - 30rem);
  }

  .section:first-child, .section:last-child {
    padding-top: 110px;
  }

  .section__title {
      font-size: 16px;
  }

  p.section__subtitle {
    font-size: 13px;
    margin: 0;
    line-height: 1.5rem;
    font-weight: 400;
    width: 100%;
    padding: 5px 15px;
    background-color: rgba(0, 0, 0, 0.4);
    text-shadow: 0 0 0;
  }

  #intro p.section__subtitle {
    padding: 2px 0 0 15px;
  }

  .app {
    display: inline-block;
    overflow: auto;
    width: 100%;
    height: 100%;
  }

  header.header {
    display: inline-block;
    width: 100%;
    padding: 25px 0 0 0;
    border: 0;
  }

  nav.nav {
      position: fixed;
      bottom: 40px;
      width: 100%;
      z-index: 1;
      background-color: #121519;
  }

  ul.nav__menu, ul.nav__menu li {
      display: inline-block;
      float: left;
      width: 100%;
  }

  p.media__content {
      display: none;
  }

  .media {
      display: inline-block;
      padding: 0;
      float: left;
  }

  .media__img, .media i {
    margin: 0;
    width: 24px;
    height: auto;
    font-size: 24px;
    padding: 10px 0 5px;
  }

  a.nav__link {
    text-align: center;
    display: inline-block;
  }

  ul.nav__menu li.nav__item {
    width: 16.6%;
    text-align: center;
    min-height: 50px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    display: inline-block;
  }
  header.section__header {
    top: 0px;
    padding: 0;
    width: 100%;
  }
  .section__content p {
    padding: 0;
    line-height: 2rem;
  }

  .section__content p, header.section__header h1 {
    font-weight: 400;
    letter-spacing: 1px;
  }

  header.section__header h1 {
    text-shadow: 0 0 0;
    margin: 0;
    color: #CDDC39;
    padding: 20px 5px 5px 15px;
    background-color: rgba(0, 0, 0, 0.4);
  }

  .p-0-sm {
    padding: 0;
  }

  .user__img {
    width: 70px;
    height: 70px;
  }
  .user {
    padding-top: 1rem;
  }
}

/* Footer */
@media (max-width: 450px) {
  .hidden-xs {
    display: none;
 } 
}

