
* {
    font-family: 'Roboto';
    color: #193a65;
    box-sizing: border-box;
}


.reference {
    max-height: 20em;
    margin-top: 10px;
}



.reference .header, .reference .header img {
    float: left;
    width: 100%;
}


.reference .header {
    box-shadow: 0 0 1em rgba(0,0,0,.25);
    max-height: 20em;
    overflow: hidden;
}


.reference .header img {
    max-width: 100%;
    margin-top: 0;
    transition: all 1000ms ease;
}


.reference .body {
    position: absolute;
    top: 5px;
    left: 5px;
    bottom: -5px;
    right: 5px;
    opacity: 0;
     color: #fff;
    transition: all 400ms ease;
    background: rgba(255,255,255,.85);

      backdrop-filter: blur(5px);
}



.reference .body .logo {
      text-align: center;
      width: 100%;
      padding: 2rem;
      /*background: rgba(255,255,255,.75);*/
}



.reference .body .logo img {
      max-width: 80%;
      max-height: 4em;
      margin: auto
}



.reference .body .title {
      text-align: center;
      font-size: 2rem;
      width: 100%;
      font-weight: 100;
      padding: 1rem;

    max-width: 9em;
    margin: auto;
    color: #193a65;
}



.reference.dark .body {
    
    background: rgba(62, 23, 90, .85); 
    color: #fff;
}

.reference.dark .body .title {
    color: #fff;
}

.reference:hover .body {
      opacity: 1;
}



.reference:hover .header img {
      margin-top: -30%;
}

nav {
  text-align: center;
  position: sticky;
  top: 0;
  width: 100%;
  padding: 1em;
  float: left;
  height: 4.5rem;
  display: flex;
  justify-content: center;
  color: #3e175a;
  background: #fff;
  transition: all ease 400ms;
  -o-transition: all ease 400ms;
  -ms-transition: all ease 400ms;

  z-index: 100;
  border-bottom: #3e175a dashed 1px;
}

nav a {
    font-weight: 400;
    color: #193a65;
    padding: 1em .5em;
    font-size: .85rem;
    line-height: 1em;

  transition: all ease 400ms;
  -o-transition: all ease 400ms;
  -ms-transition: all ease 400ms;
}

nav a:hover {
  background: #193a65;
  color: #fff;
  border-radius: .5em;
}


nav.active {
  position: fixed
}

header, #about {
  display: flex;
  justify-content: center;
}
section, header {
  width: 100%;
  padding: 4em 2em;
  float:left;
  overflow: hidden;
}

header .logo, h1, h2, p {
  margin: auto;
  position: relative;
}

header .logo img {
    /*min-width: 20em*/
}

h1 {
  font-size: 1.25rem;
}
h1, h2, p {
   line-height: 1.5em;
    max-width: 20em;
    text-align: center;
}


h2 {
    max-width: 15em;
    font-size: 2em;
}



h2 small {
    padding-left: .5em;
    font-weight: 100;
    font-size: .5em;
}


#about {
  background: #193a65;
}


#iw-cms-3 {
  background: #ffffff;
  color: #193a65;
}



#iw-cms-3 p {
  font-weight: 400;
  font-size: 1.5em;
  padding: 1em 0;
}



#iw-cms-3 * {
  color: #193a65;
}


#iw-cms-3 h2 {
  font-size: 3em;
    max-width: 10em;
}


#iw-cms-3 h2:before {
    color: #ec4326;
    background: #fff;
    padding: 1rem 3rem;
    font-size: 1.5rem;
    height: 1rem;
    line-height: 1rem;
    position: absolute;
      top: -1em;
      left: -6rem;
    width: 10rem;
    letter-spacing: .1em;
    transform: rotate(-45deg);
}

#references {
  background: #193a65;
}

#references h2 {
  color: #fff;
}

#about * {
    color: #fff;  
  }


#about strong {
    color: #fff;
    letter-spacing: .1em;  
}


@media only screen and (min-width: 568px) {

  #iw-cms-3 h2 {
    font-size: 4em;
  }

    nav a {
        padding: .75em 1.5em;
        font-size: 1rem;
    }

    header .logo img {
        min-width: 25em;
    }
}

@media only screen and (min-width: 768px) {
      
  .reference .body .logo img {
        max-width: 15em;
  }



  section, header {
    
    min-height: calc(100vh - 4.5em);
  }

  #about h1 {
    font-size: 2rem;
  }

  #iw-cms-3 h2 {
    font-size: 5em;
  }

    section {
      display: flex;
      justify-content: center;
    }


  #iw-cms-3 p {
    font-size: 2em;
  }

  header .logo img {
      max-width: 14em;
      min-width: 25em;
  }

}


@media only screen and (min-width: 1200px) {
    

  #iw-cms-3 h2:before {
      width: 8rem;
      padding: 1rem 2rem;
      right: 3rem;
      bottom: 0;
      left: unset;
      top: unset;
  }

  header .logo img {
      min-width: 30em;
  }

}