body{    
    line-height: 1.7em;
    padding-top: 5em;
}

::selection{
  background-color: #db5a01;
  color:white;
}

.header{
    height: 65px;
}

.girdle{
  max-width: 1280px;
  margin:0 auto;
}
  
  
  .logo{    
    display: flex;
    flex-direction: column;
    align-items: center;

  }

  .logo img{
    max-width: 195px;
    display: block;
  }
  
  .lower{
    font-size:25px;
  }
  
  .orange{
    color:#db5a01;
  }

  /* Home page */

.home-page main{
    padding:1em;
    text-align: justify;
}

 h1{
    text-align: center;
    font-style:italic;
    line-height: unset;
    font-size: 1.8em;
}

h2{
    font-size: 1.3em;
}


.splash{
    padding: 0 2em;
    
}

.splash-image{
    padding:2em;
    text-align: center;
}

.splash-image .pure-img{
  display: inline-block;
}

@media screen and (min-width: 64em){
    .splash-image{
        padding:2em 0 2em 2em;
    }
}

.services-list{
    padding-top: 1em;
}

.projects-list{
    background-color: #2d3e50;
    padding-top: 1em;
    color:white;
}

.tile{
    padding:1.5em;
}

.tile a{
    text-decoration: none;
    color:white;
}

.tile a:visited{
    color: white;
}

.tile-body{
    padding-left: 1em;
}

.tile-image{
    padding:1em;
}

/* image panel */

.image-panel.image-right .pure-u-md-1-4{
  left: 75%;
  position: relative;
}

.image-panel.image-right .pure-u-md-3-4{
  right: 25%;
  position: relative;
}

/* Contact section */
section.contact{
  padding: 1em 0;
  background-color: rgb(226, 226, 226);
}

.contact header{
  text-align: center;
}

.contact h2{
  text-align: center;
  font-size: 1.2em;
  font-weight: normal;
}

.contact__form{
  margin: 0 auto;
  max-width: 450px;
  padding:1em;
}

.contact__email-address{
  font-size: 1.5em;
  text-align: center;
}

.contact__email-address a{
  text-decoration: none;
  color: #db5a01;
}

.contact__form-error{
  display: none;
  color:red;
}

.contact__form-success{
  display: none;  
  padding:2em;
  box-sizing: border-box;
}

.contact__form-success img{
  width:25%;
}

.contact__form-success p{
  font-size: 1.5em;
  text-align: center;
  line-height: 2em;
  font-style: italic;
  color: #db5a01;
}

.contact--success .contact__form{
  display: none;
}

.contact--success .contact__form-success{
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact--error .contact__form-error{
  display: block;
}

/* Footer */ 

footer{    
    background-color: #2d3e50;    
    color:#c1cedb;
    padding: 1em 3em;
}

footer h1{
    font-size: 1.2em;
    font-weight: normal;
    text-align: left;
}

footer .copyright{
    text-align: center;
}

.attributions{
  font-size: 0.7em;
}

.attributions h5{
  margin:0;
}

.attributions a{
  color:#c1cedb;
}

.attributions ul{
  list-style: none;
  margin:0;
  padding:0;
}

.attributions li{
  margin:0;
}

/* Projects page */

/* Main menu */

.menu-toggle{
    display: block;
    position: absolute;
    right:0;
    top:0;    
    width:20px;
    padding: 1.4em;    
}

@media screen and (min-width: 64em){
    .menu-toggle{
        display: none;
    }
}

/* 404 page */

.not-found{
  text-align: center;
  padding:2em;
}

.not-found .pure-img{
  display: inline-block;
}

/* Pure.CSS overrides */

.pure-menu-horizontal{
    padding:1em;
    background-color: white;
}

 .pure-menu-horizontal .pure-menu-list{
    float:right;
    font-size:16px;
    display: none;
  }

  html, button, input, select, textarea,
  .pure-g [class *= "pure-u"] {
      /* Set your content font stack here: */
      font-family: 'Montserrat', sans-serif;
  }

  .pure-menu-horizontal .pure-menu-heading{
    width:100%;
    text-align: center;
    padding:0;
}

.pure-menu .pure-menu-item{
    text-align: center;
}

  @media screen and (min-width: 64em){
      .pure-menu-horizontal .pure-menu-list{
          display: inline-block;
      }

      .pure-menu-horizontal .pure-menu-heading{
          display: inline-block;
          width:auto;
          padding: .5em 1em;
      }
  }

:focus{
    outline: none;
}

  /* MicroModal */

 

  /**************************\
  Basic Modal Styles
\**************************/

  
  .modal__overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 4;
  }
  
  .modal__container {
    background-color: #fff;
    padding: 30px;
    width:100%;
    height: 100vh;
    border-radius: 4px;
    overflow-y: auto;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-items: end;
    justify-content: space-between;
  }
  
  .modal__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 2em;
  }

  .modal__close__container{
    display: flex;
    flex-direction: row-reverse;
  }
  
  .modal__title {
    margin-top: 0;
    margin-bottom: 0;
    font-weight: 600;
    font-size: 1.25rem;
    line-height: 1.25;    
    box-sizing: border-box;
    text-align: center;
    width:100%;
  }
  
  .modal__close {
    background: transparent;
    border: 0;
  }
  
  .modal__close__container .modal__close:before { content: "\2715"; }
  
  .modal__content {
    margin-top: 2rem;
    margin-bottom: 2rem;
    line-height: 1.5;
    color: rgba(0,0,0,.8);
  }

  .modal__footer{
    display: flex;
    align-self: center;
    flex: 1 1;
    flex-direction: column-reverse;
    align-items: center;
  }

  .modal__footer img{
    width:50%;
  }
  
  .modal__btn {
    font-size: .875rem;
    padding-left: 1rem;
    padding-right: 1rem;
    padding-top: .5rem;
    padding-bottom: .5rem;
    background-color: #e6e6e6;
    color: rgba(0,0,0,.8);
    border-radius: .25rem;
    border-style: none;
    border-width: 0;
    cursor: pointer;
    -webkit-appearance: button;
    text-transform: none;
    overflow: visible;
    line-height: 1.15;
    margin: 0;
    will-change: transform;
    -moz-osx-font-smoothing: grayscale;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    transition: -webkit-transform .25s ease-out;
    transition: transform .25s ease-out;
    transition: transform .25s ease-out,-webkit-transform .25s ease-out;
  }
  
  .modal__btn:focus, .modal__btn:hover {
    -webkit-transform: scale(1.05);
    transform: scale(1.05);
  }
  
  .modal__btn-primary {
    background-color: #00449e;
    color: #fff;
  }
  
  
  
  /**************************\
    Demo Animation Style
  \**************************/
  @keyframes mmfadeIn {
      from { opacity: 0; }
        to { opacity: 1; }
  }
  
  @keyframes mmfadeOut {
      from { opacity: 1; }
        to { opacity: 0; }
  }
  
  @keyframes mmslideIn {
    from { transform: translateY(15%); }
      to { transform: translateY(0); }
  }
  
  @keyframes mmslideOut {
      from { transform: translateY(0); }
      to { transform: translateY(-10%); }
  }
  
  .micromodal-slide {
    display: none;
  }
  
  .micromodal-slide.is-open {
    display: block;
  }
  
  .micromodal-slide[aria-hidden="false"] .modal__overlay {
    animation: mmfadeIn .3s cubic-bezier(0.0, 0.0, 0.2, 1);
  }
  
  .micromodal-slide[aria-hidden="false"] .modal__container {
    animation: mmslideIn .3s cubic-bezier(0, 0, .2, 1);
  }
  
  .micromodal-slide[aria-hidden="true"] .modal__overlay {
    animation: mmfadeOut .3s cubic-bezier(0.0, 0.0, 0.2, 1);
  }
  
  .micromodal-slide[aria-hidden="true"] .modal__container {
    animation: mmslideOut .3s cubic-bezier(0, 0, .2, 1);
  }
  
  .micromodal-slide .modal__container,
  .micromodal-slide .modal__overlay {
    will-change: transform;
  }

  #font-list .modal__container{
    bottom: 0;
    position: absolute;
    padding: 0;
    height: 33vh;
    background-color: #2d3e509e;
  }

  #font-list li{
    font-size: 14px;
    float: left;
    color:white;
    width: 25%;
  }

  #font-list li a {
    color:white;
    text-align: left;
  }

  #font-list li a:hover{
    background-color: transparent;
  }

  #font-list .modal__overlay{
    background-color: transparent;

  }