/*! HTML5 Boilerplate v6.1.0 | MIT License | https://html5boilerplate.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
    font-size: 16px;
    line-height: 1.4;
}

.bg {
   background: url(../img/bg.jpg) no-repeat center center fixed; 
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

* {
  box-sizing: border-box;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Vendor-prefixed and regular ::selection selectors cannot be combined:
 * https://stackoverflow.com/a/16982510/7133471
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #000;
    text-shadow: none;
    color: #fff;
}

::selection {
    background: #000;
    text-shadow: none;
    color: #fff;
}

/*
 * Defaut text styles
 */


p, li {
  font-family: 'Source Sans Pro', 'sans-serif'; 
  font-weight: 300;
  line-height: 1.8em;
  font-size: 1.1em;
}

ul, li{
  text-decoration: none;
  list-style-type: none;
  padding: 0;
}


}

.citation {
  font-size: 1em;
  padding-top:0.5rem;
}

.citation > a {
  font-size: 1em;
}


.bg-green{
  background-color: #E1FFF7;
}

.bg-yellow{
  background-color: #FFF6A7;
}

.bg-orange{
  background-color: #FFEDD2;
}

.bg-blue{
  background-color: #D3FFD2;
}

.bg-pink{
  background-color: #FFDFDF;
}




p.author{
  font-family: 'Source Sans Pro', 'sans-serif'; 
  font-weight: 300;
  font-size: 1em;
  color: #8D8D8D;
  margin:0 0 0 0;
}

p {
  margin:2rem 0 3rem 0;
}

p.project-description {
  margin:2rem 0 3rem 0;
  font-size: 1.4em;
  font-weight: 300;
}

p.description {
  margin:2rem 0 5rem 0;
}

p > img {
  max-width: 1em;
  margin-top: -0.3em;
}

.contact {
  font-weight: 500;
}

a {
  font-weight: 300;
  text-decoration: underline;
  color: black;
}

h1 {
  font-family: 'Poppins','sans-serif';
  font-size: 2em; 
  font-weight: 400;
  margin: 1em 0 1em 0;
}

h2 {
  font-family: 'Poppins','sans-serif';
  font-size: 1.5em; 
  font-weight: 400;
  text-align: left;
  margin: 0 0 0 0;
}

h3 {
   font-family: 'Poppins','sans-serif';
  font-size: 1.2em; 
  font-weight: 400;
  text-align: left;
  margin: 0 0 0 0;
}

h4 {
  font-family: 'Source Sans Pro', 'sans-serif';
  color:rgba(36,36,36,0.5);
  font-size: 1.2em; 
  font-weight: 100;
  text-align: center;
  margin: 0 0 2em 0;
}

span {
  color: #000;
}

footer {
  height: 15rem;
  background-color: #F4F4F4;
  min-width:100%;
  margin-top: 15rem;
  padding-right: 4em;
  padding-left: 4em;
}

p.footertext{
  font-family: 'Source Sans Pro', 'sans-serif'; 
  font-weight: 300;
  line-height: 1.8em;
  font-size: 1em;
  margin-top:3rem;

}

p.footertext > a{
  font-family: 'Source Sans Pro', 'sans-serif'; 
  font-weight: 300;
  line-height: 1.8em;
  font-size: 1em;
  margin-top:3rem;

}


.col-xs-2 {
  -ms-flex-preferred-size: 100%;
  flex-basis: 100%;
  max-width: 50%;
  -ms-flex-pack: start;
  -webkit-box-pack: start;
  justify-content: flex-start;
  text-align: start;

  }


  .col-sm-6 {
  -ms-flex-pack: start;
  -webkit-box-pack: start;
  justify-content: flex-start;
  text-align: start;

  }



/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-bottom: 1px solid #DEDEDE;
    margin-bottom: 2em;
    max-width: 100%;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
video {
    vertical-align: middle;
    max-width: 100%;
}

iframe {
  padding:2em 0 2em 0;
}

img.editorial {
  margin: 2em 0 4em 0;
}

.research-image {
  margin: 4em 0 4em 0;
}

.caption {
  font-size: 0.9rem;
  color:#8D8D8D;
  margin-top: 0.5em;
}

.about{
  padding-top: 3rem;
}


/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

.header li a {
    font-weight: 400;
}

.header li a.active {
    color: #000;
}



a.button {

    font-weight: 400;
    background: #fff;
    padding: 0.9em;
    margin-top: 3em;
    font-family: 'Source Sans Pro', sans-serif;
    text-decoration: none;
    border-radius: 2px;
    border: 1px solid #000;
    font-size: 1rem;
    cursor: pointer;
    text-align: center;
    transition: background 250ms ease-in-out, 
                transform 150ms ease;
    -webkit-appearance: none;
    -moz-appearance: none;
}

a.button:hover {
    background: #000;
    color: #fff;
}

a.button:focus {
    outline: 1px solid #fff;
}

.tag {
  background-color: #000;
  border: none;
  color: white;
  padding: 0.7em 0.9em 0.7em 0.9em;
  text-align: center;
  font-size: 0.8em;
  font-weight: 400;
  text-decoration: none;
  display: inline-block;
  margin: 0rem 0 2rem 0;
  border-radius: 50px;
}

.button1 {border-radius: 2px;}

svg {
    position: relative;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    overflow: hidden; 
}

svg path {
  fill: none;
  stroke: rgba(255, 255, 255);
  stroke-width: 1;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 4000;
  stroke-dashoffset: 4000;
  -webkit-animation: dash 40s linear forwards;
  animation: dash 40s linear infinite;
}
@-webkit-keyframes dash {
  to {
    stroke-dashoffset: 200;
  }
}
@keyframes dash {
  to {
    stroke-dashoffset: 200;
  }
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   custom-styles
   ========================================================================== */

body {
  margin: 0;
  font-family: 'Source Sans Pro', sans-serif;
  background-color: #fff;
  font-weight: 200;
}


/* header */

.fixed-nav {
   position: -webkit-sticky;
  position: sticky;
  top: 0px;
  padding-right: 3em;
  padding-left: 3em;
  z-index:100;
}

.header {
  position: relative;
  width:100%;
  padding-top:10px;
 }

 .home{
background-color: rgba(255, 255, 255);
 }


 .fixed-nav .bg-green{
  background-color: #E1FFF7;
}

 .fixed-nav .bg-orange{
  background-color: #FFEDD2;
}


.header ul {
  margin: 0;
  list-style: none;
  overflow: hidden;
  float: right;
  text-align: right;
}

.header li a {
  display: block;
  padding: 20px 30px;
  text-decoration: none;
  font-weight: 400;
  font-size: 1em;
  color:#000;
}

.white li a {
  display: block;
  padding: 20px 30px;
  text-decoration: none;
  font-weight: 300;
  font-size: 1em;
  color:#fff;
  background-color: none;
}

.header li a:hover
{
  opacity: 0.5;
}

.header .logo {
  display: inline;
  float: left;
  max-width: 220px;
  padding: 30px 20px;
  text-decoration: none;
  opacity: 1;
   transition: opacity .5s ease-in-out;
   -moz-transition: opacity .5s ease-in-out;
   -webkit-transition: opacity .5s ease-in-out;
}

.logo:hover {
  opacity: 0.1;
}


/* menu */

.header .menu {
  clear: both;
  max-height: 0;
  transition: max-height .2s ease-out;
}

/* menu icon */

.header .menu-icon {
  cursor: pointer;
  display: inline-block;
  float: right;
  padding: 38px 40px;
  position: relative;
  user-select: none;
}

.header .menu-icon .navicon {
  background: #333;
  display: block;
  height: 2px;
  position: relative;
  transition: background .2s ease-out;
  width: 18px;
}

.white .menu-icon .navicon {
  background: #fff;
  display: block;
  height: 2px;
  position: relative;
  transition: background .2s ease-out;
  width: 18px;
}

.header .menu-icon .navicon:before,
.header .menu-icon .navicon:after {
  background: #333;
  content: '';
  display: block;
  height: 100%;
  position: absolute;
  transition: all .2s ease-out;
  width: 100%;
}


.white .menu-icon .navicon:before,
.white .menu-icon .navicon:after {
  background: #fff;
  content: '';
  display: block;
  height: 100%;
  position: absolute;
  transition: all .2s ease-out;
  width: 100%;
}


.header .menu-icon .navicon:before {
  top: 5px;
}

.header .menu-icon .navicon:after {
  top: -5px;
}


/* menu btn */

.header .menu-btn {
  display: none;
}

.header .menu-btn:checked ~ .menu {
  max-height: 400px;
}

.header .menu-btn:checked ~ .menu-icon .navicon {
  background: transparent;
}

.header .menu-btn:checked ~ .menu-icon .navicon:before {
  transform: rotate(-45deg);
}

.header .menu-btn:checked ~ .menu-icon .navicon:after {
  transform: rotate(45deg);
}

.header .menu-btn:checked ~ .menu-icon:not(.steps) .navicon:before,
.header .menu-btn:checked ~ .menu-icon:not(.steps) .navicon:after {
  top: 0;
}





/* ==========================================================================
   Text Cycler
   ========================================================================== */

.cyclecontainer {
    position: absolute;
    top: 50%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%);
}



.text {
  position: relative;
  color: #fff;
  width: 70%;
  margin: 45px auto 0;
  font-size: 1.4rem;
  line-height: 2rem;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  text-align: left;
}

.textsmall {
  position: relative;
  color: #ffffff;
  width: 70%;
  margin: 45px auto 0;
  font-size: 1.8rem;
  line-height: 2.5rem;
  font-family: 'Source Sans Pro', sans-serif;
  font-weight: 200;
}

.cycle {
  position: inherit;
  padding-left: 7px;
  display: inline-block;
  height: 28px;
  width: 100%;
  overflow: visible;
  z-index: 1;
}

.heavy {
  font-weight: 600;
  font-family: 'Source Sans Pro', sans-serif;
}

.item {
  position: absolute;
  top: 0;
  height: 28px;
  display: inline;
  z-index: 1;
  visibility: hidden;
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=0);
  opacity: 0;
  -moz-transform: translateY(-20px);
  -ms-transform: translateY(-20px);
  -webkit-transform: translateY(-20px);
  transform: translateY(-20px);
  -moz-transition: all 500ms ease;
  -o-transition: all 500ms ease;
  -webkit-transition: all 500ms ease;
  transition: all 500ms ease;
}
.item.current {
  z-index: 2;
  visibility: visible;
  filter: progid:DXImageTransform.Microsoft.Alpha(enabled=false);
  opacity: 1;
  -moz-transform: translateY(0);
  -ms-transform: translateY(0);
  -webkit-transform: translateY(0);
  transform: translateY(0);
}
.item.last {
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=0);
  opacity: 0;
  -moz-transform: translateY(25px);
  -ms-transform: translateY(25px);
  -webkit-transform: translateY(25px);
  transform: translateY(25px);
}




/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden {
    display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    white-space: nowrap; /* 1 */
}

/*
 * Extends the .visuallyhidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
    white-space: inherit;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

/* 48em = 768px */

@media (min-width: 48em) {


  p, li {
  font-family: 'Source Sans Pro', 'sans-serif'; 
  font-weight: 300;
  line-height: 1.8em;
  font-size: 1.2em;
}


  .col-xs-2 {
  -ms-flex-preferred-size: 16.667%;
  flex-basis: 16.667%;
  max-width: 16.667%;
  }


  .header li {
    float: left;
  }
  .header ul {
    padding-right:20px;
  }
  .header li a {
    padding: 20px 30px;
    font-size:0.8em;
  }
  .header .menu {
    clear: none;
    float: right;
    max-height: none;
    padding-bottom: 0.6em;
  }
  .header .menu-icon {
    display: none;
  }
  .header .logo {
  max-width: 220px;
}
  .text {
  position: relative;
  color: #fff;
  width: 70%;
  margin: 45px auto 0;
  font-size: 1.8rem;
  line-height: 3rem;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  text-align: justify;
}
  .cycle {
    position: absolute;
  }
}



@media print,
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 1.25dppx),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important; /* Black prints faster */
        -webkit-box-shadow: none !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre {
        white-space: pre-wrap !important;
    }
    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
