@import url('https://fonts.googleapis.com/css?family=Lato:300,400,900&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:300,400&display=swap');

#first {
  /*margin-top: 50px;*/ /* deprecated after adding color overlay */
  width: 100%;
  height: 100vh;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  text-align: center;

  /*background-image: url(../img-index/hero/SimpleGraphics1.jpg);*/
  /*background-image: url(../img-index/hero/SimpleGraphics2.jpg);*/
  /*background-image: url(../img-index/hero/SimpleGraphics3.jpg);*/
  /*background-image: url(../img-index/hero/SimpleGraphics4.jpg);*/
  /*background-image: url(../img-index/hero/SimpleGraphics5.jpg);*/

  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  color: white;
  position: relative;
  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.356);
}

/**BEGINNING OF THE SLIDER STYLING AND ANIMATION**/
#first .slider {
  height: 100vh;
  width: 100%;
  background-color: gray; /**for testing purposes**/
  overflow: hidden;
}

#first .slider-child {
  height: 100vh;
  width: 500%;
  background-color: green; /**for testing purposes**/
  /** NOW TO ANIMATE (after the image-container and the next 6 classes with image backgrounds were set)**/
  animation: slider infinite 20s 1s; /*duration 20, delay 2 - fine tune this later*/
  /* GO TO LINE 82 - @keyframes */
}

#first .image-container {
  height: 100vh;
  width: 20%;
  background-color: grey; /**for testing purposes**/
  float: left;
}

#first .image-container:nth-child(1) {
  background-image: url(../img-index/hero/SimpleGraphics4.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

#first .image-container:nth-child(2) {
  background-image: url(../img-index/hero/SimpleGraphics1.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}
#first .image-container:nth-child(3) {
  background-image: url(../img-index/hero/SimpleGraphics3.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}
#first .image-container:nth-child(4) {
  background-image: url(../img-index/hero/SimpleGraphics5.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}
#first .image-container:nth-child(5) {
  background-image: url(../img-index/hero/SimpleGraphics4.jpg); /*finish animation with the same picture as the first*/
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

@keyframes slider {
  0% {
    margin-left: 0;
  }
  20% {
    margin-left: 0;
  }
  25% {
    margin-left: -100%;
  }
  45% {
    margin-left: -100%;
  }
  50% {
    margin-left: -200%;
  }
  70% {
    margin-left: -200%;
  }
  75% {
    margin-left: -300%;
  }
  95% {
    margin-left: -300%;
  }
  100% {
    margin-left: -400%;
  }
}
/**END OF THE SLIDER CODE**/

#first .color-overlay{
  background-color: rgba(0, 0, 0, 0.65);
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  position: absolute;
}

#first .hero-text {
  position: absolute; /*set to relative for color overlay when not having the slideshow effects running*/
  z-index: 2;
}

#first .hero-text h1{
  padding-bottom: 20px;
  letter-spacing: 0.5px;
  text-transform: capitalize;
  font-family: 'Lato', sans-serif;
  font-size: 40px;
  font-weight: 900;
}

#first .hero-text h2{
  font-family: 'Lato', sans-serif;
  font-style: normal;
  font-size: 24px;
  font-weight: 300;
  color: #fff;
  letter-spacing: 0.5px;
}

.ghost-button{
  display: inline-block;
  width: 200px;
  padding: 8px;
  margin-top: 20px;
  color: #fff;
  background-color: transparent;
  border: 1px solid #fff;
  text-align: center;
  outline: none;
  text-decoration: none;
  transition: color 0.5s ease-out, background-color 0.5s ease-out, border-color 0.5s ease-out;
  font-family: 'Roboto', sans-serif;
  font-style: normal;
  font-size: 18px;
  font-weight: 300;
  text-transform: uppercase;

}

.ghost-button:hover, .ghost-button:active{
  text-decoration: none;
  background-color: rgba(33, 150, 243, 1);
  border-color: rgba(33, 150, 243, 1);
  color: #fff;
  transition: color 0.5s ease-in, background-color 0.5s ease-in, border-color 0.5s ease-in;
}

#second {
  text-align: center;
  margin: 2rem 0 1rem 0;
}

/*getting the bolded text inside Services image area to retain thin look*/
#second strong{
  font-weight: lighter;
}

#second h2
{
  color: #e74c3c;
  font-family: 'Roboto', sans-serif;
  font-style: normal;
  font-size: 40px;
  font-weight: 300;
  text-transform: capitalize;
  letter-spacing: 1px;
}

#second p {
  font-family: 'Lato', sans-serif;
  font-style: normal;
  font-size: 18px;
  font-weight: 300;
  letter-spacing: 0.5px;
}

#second h3 {
  /*color: #e74c3c;*/
  font-family: 'Roboto', sans-serif;
  font-style: normal;
  font-size: 28px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 2px;
}

#second .text-up
{
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

#second-left .services-link-image .color-overlay {
  background-color: rgba(0, 0, 0, 0.50);
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  position: absolute;
}

#second-left .services-link-image
{
  border: 3px solid rgb(33, 150, 243);
  position: relative; /*for color overlay*/
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

#second-left .services-link-image .image-area {
  position: relative; /*for color overlay*/
  z-index: 2;
}

#second-left .services-link-image:hover, #second-right .portfolio-link-image:hover {
  cursor: pointer;
  border: 3px solid #e74c3c;
  box-shadow: 5px 10px 25px rgba(0, 0, 0, 0.356);
  -webkit-transition: all 0.4s ease-in-out;
  transition: all 0.4s ease-in-out;
  opacity: 0.8;
}

#second-right .portfolio-link-image .color-overlay {
  background-color: rgba(0, 0, 0, 0.50);
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  position: absolute;
}

#second-right .portfolio-link-image
{
  border: 3px solid rgb(33, 150, 243);
  position: relative; /*for color overlay*/
  -webkit-transition: all 0.4s ease-in-out;
  transition: all 0.4s ease-in-out;
}

#second-right .portfolio-link-image .image-area {
  position: relative; /*for color overlay*/
  z-index: 2;
}

#second-left .services-link-image .text-down
{
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

#second-right .portfolio-link-image .text-down
{
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

#second .row {
  margin: 0;
}

#second .row .col-lg-6 {
  margin-top: 1rem;
  margin-bottom: 1rem;
}

#second .row .col-lg-6 .services-link-image, #second .row .col-lg-6 .portfolio-link-image {
  background-image: url(../img/services-tools.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  color: #fff;
}

#second .row .col-lg-6 .services-link-image h3, #second .row .col-lg-6 .portfolio-link-image h3 {
  padding: 1rem 0 2rem 0;
}

#second .row .col-lg-6 .services-link-image .text-down, #second .row .col-lg-6 .portfolio-link-image .text-down {
  vertical-align: bottom;
  padding-top: 18rem;
}

#second .row .col-lg-6 .portfolio-link-image {
  background-image: url(../img/portfolio-fokus.jpg);
}

#third {
  text-align: center;
  padding: 2rem 0 2rem 0;
  background-image: url(../img/miniwall.jpg);
  background-position: center;
  background-repeat: no-repeat;
  color: white;
  position: relative;
  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.356);
}

/*getting the bolded text inside Our promise text area to retain thin look*/
#third strong{
  font-weight: lighter;
}

#third .color-overlay {
  background-color: rgba(0, 0, 0, 0.2);
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  position: absolute;
}

#third .image-area {
  position: relative; /*for color overlay*/
  z-index: 2;
}

#third h3 {
  font-family: 'Roboto', sans-serif;
  font-style: normal;
  font-size: 28px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 2px;
}

#third p{
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  font-family: 'Lato', sans-serif;
  font-style: normal;
  font-size: 18px;
  font-weight: 300;
  letter-spacing: 0.5px;
}

#fourth {
  margin: 2rem 0 2rem 0;
  text-align: center;
}

#fourth h3
{
  color: #e74c3c;
  font-family: 'Roboto', sans-serif;
  font-style: normal;
  font-size: 40px;
  font-weight: 300;
  text-transform: capitalize;
  letter-spacing: 1px;
}

#fourth .row
{
  margin: 1rem 0;
  padding-top: 50px; /*added for additional space*/
  margin: 0 10% 0 12%;
  max-width: 1366px; /*this doesn't seem to work because of the margins*/
  text-align: center;
}

#fourth .row .benefits
{
  display: flex;
  align-items: center;
}

#fourth .reverse {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

#fourth p {
  font-family: 'Lato', sans-serif;
  font-style: normal;
  font-size: 18px;
  font-weight: 300;
  color: #696969;
  letter-spacing: 0.5px;
}

/*getting the bolded text inside Why Choose Us paragraphs to retain thin look*/
#fourth p strong {
  font-weight: lighter;
}

#fourth .row .col-lg-6 {
  max-width: 800px;
  filter: drop-shadow(20px 20px 30px rgba(0, 0, 0, 0.507));
  /*do not use box shadow in this case!!!*/
}

#speed h4, #tools h4, #experience h4{
  font-family: 'Roboto', sans-serif;
  font-style: normal;
  font-size: 28px;
  font-weight: 400;
  color: #34495e;
  letter-spacing: 1.5px;
}

@media (max-width: 991px) {
  .reverse {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
  .reverse .look {
    -webkit-box-ordinal-group: 3;
        -ms-flex-order: 2;
            order: 2;
  }
  .reverse .read {
    -webkit-box-ordinal-group: 2;
        -ms-flex-order: 1;
            order: 1;
  }

  #second .text-up
  {
    max-width: 80%;
    margin: 0 auto;
  }

  #second .row #second-left .services-link-image .text-down
  {
    max-width: 80%;
    margin: 0 auto;
  }

  #second .row #second-right .portfolio-link-image .text-down
  {
    max-width: 80%;
    margin: 0 auto;
  }

  #third p
  {
    max-width: 80%;
    margin: 0 auto 1rem auto;
  }

  #fourth .row
  {
    margin: 0;
  }

  #fourth .row .col-lg-6 p
  {
    max-width: 80%;
    margin-left: auto;
    margin-right: auto;
    font-family: 'Lato', sans-serif;
    font-style: normal;
    font-size: 16px;
    font-weight: 100;
    color: #696969;
    letter-spacing: 0.5px;
  }

  /*#fourth .row .col-lg-6 {
    filter: none;
  } use this if the shadows move pictures to much to the side on mobile*/

  #fourth .row .benefits
{
  align-items: stretch;
}

}
/*# sourceMappingURL=index.css.map */
