@import url(default/fonts.css);
@import url(default/reset.css);
@import url(default/default.css);
@import url(default/header.css);
@import url(default/footer.css);

.service{
  align-content: flex-start;
  background-color: rgba(1,0,102,.2);
  border: 1px solid rgb(80,80,80);
  box-sizing: border-box;
  height: calc(0.09375 * 100vw + 40px);
  overflow: hidden;
  position: relative;
  width: 100%;
  z-index: 1;
}

.service {
  z-index: 1;
}

  .bouw {
    opacity: 0.3;
    position: absolute;
    top: calc(-0.15625 * 100vw + 40px);
    width: 100%;
  }
  
  .service h1,
  .service h2 {
    font-family: 'roboto', sans-serif;
    margin: 0;
    padding: 0;
  }
  
  .service h1 {
    background-color: rgba(228,177,31,.4);
    color: rgb(1,0,102);
    font-style: italic;
    font-size: calc(0.01875 * 100vw + 0.01px);
    font-weight: 400;
    letter-spacing: 0.1rem;
    padding: 0.5rem;
    text-align: right;
    width: 15%;
  }
  
  .service h2 {
    align-self: center;
    border: 1px solid rgba(228,177,31,.2);
    color: transparent;
    font-size: calc(0.0375 * 100vw + 9.6px);
    font-weight: 200;    
    letter-spacing: 0.875rem;
    text-align: center;
    text-transform: uppercase;
    opacity: 1;
    overflow: hidden;
    white-space: nowrap;
    perspective: 80rem;
    position: absolute;
    transform-origin: 50% 50%;
    width: 100%;
    z-index: 2;
  }
  
  .blur {
    animation: blurFadeInOut 3s ease-in backwards;    
  }

  @keyframes blurFadeInOut {
    0% {
      letter-spacing: 1.5rem;
      text-shadow: 0 0 0.5714rem rgba(1,0,102,1);
    }
    50%, 80% {
      letter-spacing: 0.875rem;
      text-shadow: 0 0 0 rgba(1,0,102,1);
    }
    100% {
      letter-spacing: 0.875rem;
      text-shadow: 0 0 0.5714rem rgba(1,0,102,1);     
    }
  }

.intro {
  display: flex;
  flex-direction: column;
  margin: 2rem 0;
  width: 100%;
}

  .intro h1,
  .intro h2 {
    align-self: center;
    font-family: 'roboto', sans-serif;
    font-weight: 300;
    margin: 0;
    padding-top: 1rem;
  }

  .intro h1 {
    /*border-top: 1px dotted rgb(80,80,80);*/
    color: rgb(1,0,102);
    font-size: calc(0.023438 * 100vw + 2px);
    text-transform: uppercase;
  }

  .intro h2 {
    /*border-bottom: 1px dotted rgb(80,80,80);*/
    color: rgb(80,80,80); 
    font-size: calc(0.0125 * 100vw + 8px);
    font-style: italic;
    font-weight: 300;
    padding-bottom: 1rem;
    text-transform: lowercase;
  }

  .intro p {
    color: rgb(80,80,80);
    font-size: 0.8rem;
    letter-spacing: 0.05rem;
    line-height: 1.5;
    margin: 0 auto;
    padding: 1rem 0;
    text-align: justify;
    width: 55%;
  }
  
  .intro p span {
    border-left: 20px solid rgb(228,177,31);
    color: rgb(1,0,102);
    font-family: 'roboto', sans-serif;
    font-size: 1.0rem;
    font-weight: 400;
    padding-left: 0.6rem;
    text-transform: uppercase;
  }

  .intro .streepke {
    align-self: center;
    border-bottom: 3px solid rgb(1,0,102);
    width: 10%;
  }
  
  .intro .bullet {
    padding: 0;
    margin-bottom: 10px;
    width: calc(55% - 40px);
  }
  
.items {
  box-sizing: border-box;
  display: flex;
  margin-top: 1rem;
  width: 100%;
}  
  
  .item {
    border-left: 2px dotted rgb(228,177,31);
    display: flex;
    flex: 1 0 20%;
    flex-direction: column;
    justify-content: flex-start;
    padding: 0 2%;
  }

    .item h1 {
      color: rgb(1,0,102);
      font-family: 'roboto', sans-serif;
      font-size: 1.1rem;
      font-weight: 400;
      letter-spacing: 0.1rem;
      margin: 0;
      text-transform: lowercase;
    }
    
    .item:last-child h1 {
      color: rgb(228,177,31);
    }
    
    .item p,
    .item a {
      color: rgb(80,80,80);
      font-size: 1rem;
      letter-spacing: 0.05rem;
    }
    
    .item p {
      color: rgb(80,80,80);
      text-align: justify;
    }
    
    .item a {
      color: rgb(1,0,102);
      cursor: pointer;
      font-weight: 400;
      margin-top: auto;
      text-align: left;
      text-decoration: none;
      z-index: 4;
    }

  
@media screen and (min-width: 1280px) {
  .bouw {
    top: -10rem;
  }
  
  .service {
    height: 10rem;
  }
  
  .service h1 {
    font-size: 1.5rem;
  }

  .service h2 {
    font-size: 3.6rem;
  }

  .intro h1 {
    font-size: 2rem;
  }

  .intro h2 {
    font-size: 1.5rem;
  }
}

@media screen and (max-width: 768px) {
  .items {
    flex-wrap: wrap;
  }  
  
  .item {
    flex: 1 0 40%;
    margin-bottom: 3rem;
  }
  
  .item:nth-child(3),
  .item:nth-child(4) {
    margin: 0;
  }
}

@media screen and (max-width: 480px) {
  .items {
    flex-wrap: wrap;
  }  
  
  .item {
    flex: 1 0 80%;
    margin-bottom: 3rem;
  }
  
  .item:nth-child(4) {
    margin: 0;
  }
  
}