@import url('https://fonts.googleapis.com/css?family=Rock+Salt|Source+Code+Pro:600|Oswald:700&display=swap');

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  background-color: #ffffff;
  background-size: cover;
  background-attachment: fixed;
}

main {
  display: flex;
  flex-flow: column nowrap;
  scroll-snap-type: mandatory;
}

section {
  height: 100vh;
  scroll-snap-align: start;
}

section#intro {
  padding: 60px 40px 40px;
  background-size: cover;
  background-blend-mode: soft-light;
  background-color: #bcbcbc;
  background-position: 60% 30%;

}

@media (max-width: 640px) {
  section#intro {
    background-image: url('/images/emile-perron-xrVDYZRGdw4-unsplash-small.jpg');
  }
}

@media (min-width: 640px) {
  section#intro {
    background-image: url('/images/emile-perron-xrVDYZRGdw4-unsplash-med.jpg');
  }
}

@media (min-width: 1080px) {
  section#intro {
    background-image: url('/images/emile-perron-xrVDYZRGdw4-unsplash-large.jpg');
  }
}

@media (min-width: 1350px) {
  section#intro {
    background-image: url('/images/emile-perron-xrVDYZRGdw4-unsplash-orig.jpg');
  }
}

section#intro > p {
  color: #000000;
  overflow: hidden;
  font-family: 'Source Code Pro';
  display: inline-block;
  opacity: 0;
  font-weight: 600;
  font-size: 12vmin;
  margin: 10px;
  border: none;
  border-right: 0.15em solid transparent;
}

section#intro > p:nth-of-type(1) {
  animation:
    typing 0.5s steps(7, end) 0s 1,
    blinking-caret 0.8s step-end 0s 2;
  animation-fill-mode: forwards;
}

section#intro > p:nth-of-type(2) {
  animation:
    typing 0.5s steps(7, end) 1.6s 1,
    blinking-caret 0.8s step-end 1.6s 2;
  animation-fill-mode: forwards;
}

section#intro > p:nth-of-type(3) {
  animation:
    typing 0.5s steps(7, end) 3.2s 1,
    blinking-caret 0.8s step-end 3.2s 3;
  animation-fill-mode: forwards;
}

@keyframes typing {
  0% { width: 0; }
  1% { opacity: 1; }
  100% {
    width: 50vmin;
    opacity: 1;
  }
}

@keyframes blinking-caret {
  from, to { border-color: transparent; }
  50% { border-color: #000000; }
}

section > h1 {
  font-family: 'Oswald';
  font-weight: 700;
  font-size: 32px;
}

div#construction {
  margin-top: 40px;
  text-align: center;
  font-size: 36px;
  font-family: 'Rock Salt';
}

div#social_media_connection {
  padding: 20px 0;
  text-align: center;
  font-size: 24px;
  font-family: 'Raleway';
  letter-spacing: 0.1em;
}

div#social_media_connection img {
  padding: 0 15px;
  vertical-align: middle;
}

section#main-services {
  display: flex;
}

#main-services > article {
  padding: 30px;
  flex: 1 1;
  display: flex;
  flex-flow: column nowrap;
  justify-content: center;
  align-items: center;
  background-size: cover;
  background-blend-mode: soft-light;
  transition: all 0.1s ease-in-out;
}

#main-services > article:hover {
  transform: scale(1.005);
  box-shadow: 0 0 10px 2px rgba(0,0,0,0.4);
}

#main-services > article > h1 {
  align-self: center;
}

#main-services > article > p, #main-services > article > ul {
  font-family: 'Raleway';
  text-shadow: 0 0 3px #888888;
}

article#computing-services {
  background-color: rgba(194, 233, 255, 0.7);
  background-position: 60% 40%;
}

article#digital-media {
  background-color: rgba(255, 233, 194, 0.7);
  background-position: 50% 50%;
}

@media (max-width: 640px) {
  article#computing-services {
    background-image: url('/images/shahadat-rahman-BfrQnKBulYQ-unsplash-small.jpg');
  }

  article#digital-media {
    background-image: url('/images/autumn-leaf-small.jpg');
  }
}

@media (min-width: 640px) {
  article#computing-services {
    background-image: url('/images/shahadat-rahman-BfrQnKBulYQ-unsplash-med.jpg');
  }

  article#digital-media {
    background-image: url('/images/autumn-leaf-med.jpg');
  }
}

@media (max-width: 1080px) {
  article#computing-services {
    background-image: url('/images/shahadat-rahman-BfrQnKBulYQ-unsplash-large.jpg');
  }

  article#digital-media {
    background-image: url('/images/autumn-leaf-large.jpg');
  }
}

@media (max-width: 1350px) {
  article#computing-services {
    background-image: url('/images/shahadat-rahman-BfrQnKBulYQ-unsplash-orig.jpg');
  }

  article#digital-media {
    background-image: url('/images/autumn-leaf-orig.jpg');
  }
}

@media only screen and (max-width: 600px) {
  section#main-services {
    flex-flow: column nowrap;
  }
}

@media only screen and (min-width: 600px) {
  section#main-services {
    flex-flow: row nowrap;
  }
}

section#latest-works {
  display: none;
}

section#about-us {
  padding: 40px;
  display: flex;
  flex-flow: column nowrap;
  align-items: center;
  justify-content: center;
}

section#who-we-are > h1 {
}