* {
   box-sizing: border-box;
}

body {
   margin: 0;
   font-family: 'Julius Sans One', sans-serif;
}

input[type="text"],
textarea,
button {
   font-family: 'Julius Sans One', sans-serif;   
}

a:focus {
   outline: solid #0bd000;
}

ul {
   list-style: none;
   padding: 0;
}

h1, h2, h3, p {
   color: #181d26;
}

h1, h2 {
   text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

li {
   display: inline;
}

section > div {
   display: flex;
   flex-direction: column;
   align-items: center;
   text-align: center;
   padding: 15px;
   box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
   transition: box-shadow 0.3s;
}

section > div:hover {
   box-shadow: 0 8px 25px 0 rgba(0,0,0,0.2);
}

section:not(.landing-container):nth-of-type(odd) {
   background-color: #f9f4f4;
}

hr {
  border: 0; 
  height: 2px; 
  width: 20vw;
  margin: 20px;
  background-color: #0bd000;
}

footer {
   color: #181d26;
   background-color: #0bd000;
   display: flex;
   flex-wrap: wrap;
   justify-content: space-between;
   text-align: center;
   padding: 0px 25px;
}

.smooth-scroll:hover {
  cursor: pointer;
}

.landing {
   height: 100vh;
   justify-content: center;
   opacity: 0;
   animation: fadein 1s forwards ease-out;
}

@keyframes fadein {
   100% {
      opacity: 1;
   }
}

.nav-logo {
   height: 50px;
   margin: 10px 5px;
}

.landing-container {
   position: relative;
}

.landing-content {
   margin-top: 100px;
   animation: slideup 1s forwards ease-out;
}

@keyframes slideup {
   100% {
      margin-top: 5px;
   }
}

.landing-logo {
   margin-bottom: 35px;
}

.landing-image {
   width: 100%;
   height: 100%;
   top: 0;
   left: 0;
   position: absolute;
   background-image: url("../images/hero/hero_1.jpg");
   background-size: cover;
   background-repeat: no-repeat;
   background-position: center center;
   opacity: 0.4;
   z-index: -1;
}

.landing-btn {
   color: #181d26;
   background-color: #0bd000;
   padding: 15px 35px;
   text-decoration: none;
   text-transform: uppercase;
   font-weight: bold;
   border-radius: 5px;
   box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
   transition: all 0.3s;
}

.landing-btn:hover {
   color: #edf2fc;
   padding: 20px 40px;
   box-shadow: 0 8px 25px 0 rgba(0,0,0,0.2);
}

.service-icon {
   font-size: 4em;
   color: #0bd000;
}

.social-icon {
   font-size: 3em;
   color: #0bd000;
   transition: all 0.3s;
}

.social-icon:hover {
   color: #104396
}

.social-icon-container {
   width: 50%;
   display: flex;
   justify-content: space-around;
}

.contact-link {
   color: #0bd000;
   transition: all 0.3s;
}

.contact-link:hover {
   color: #104396
}

.grid {
   display: flex;
   flex-wrap: wrap;
   width: 100%;
   justify-content: space-around;
}

.service-group {
   flex-basis: 50%;
   text-align: center;
   padding: 25px;
}

.service-description {
   padding: 0 25px;
}

.footer-link {
   color: #edf2fc;
   text-decoration: none;
   transition: all 0.3s;
}

.footer-link:hover {
   text-shadow: 0px 4px 3px rgba(0,0,0,0.4),
                0px 8px 13px rgba(0,0,0,0.1),
                0px 18px 23px rgba(0,0,0,0.1);   
}

.visible {
   opacity: 1;
   transition: opacity 1.5s;
}

.invisible {
   opacity: 0;
}

.fade-in-on-scroll {

}

/* Media queries for responsive breakpoints */

/* for-phone-only-portrait */
@media (max-width: 599px) {
   nav, footer {
      flex-direction: column;
   }

   nav {
      padding: 5px 15px;
    }

   h1 {
      font-size: 3em;
   }

   hr {
     width: 40vw;
   }

   .nav-logo {
      height: 45px;
   }

   .landing {
      justify-content: flex-start;
      padding-top: 30vh;
   }

   .landing-logo {
      margin-top: -10px;
      margin-bottom: 45px;
      height: 90px;
   }

   .grid li {
      flex-basis: 100%;
   }

   .social-icon-container {
      width: 100%;
      display: flex;
      justify-content: space-around;
   }
}

/* for-phone-only-landscape */
@media (max-width: 599px)
   and (orientation: landscape) {
   
   h1 {
      font-size: 2.5em;
   }

   h2.landing-content {
      font-size: 1.1em;
   }

   .landing-logo {
      margin-top: -30px;
      margin-bottom: 25px;
      height: 90px;
   }
}

/* for-tablet-portrait-up */
@media (min-width: 600px) {
   h1 {
      font-size: 3em;
   }
}

 /* for-tablet-portait-only */
@media (min-width: 600px) and (max-width: 899px) {
   .landing-logo {
      height: 90px;
   }

   .service-group {
      flex-basis: 40%;
   }
}

 /* for-tablet-landscape-up */
@media (min-width: 900px) {
   h1 {
      font-size: 3em;
   }
}

 /* for-tablet-landscape-only */
@media (min-width: 900px) and (max-width: 1199px) {

}

 /* for-desktop-up */
@media (min-width: 1200px) {

}

 /* for-desktop-only */
@media (min-width: 1200px) and (max-width: 1799px) {

}

 /* for-big-desktop-up */
@media (min-width: 1800px) {

}
