/*!
* Hover effect on portfolio nav elements crediting 
 * Hover.css (http://ianlunn.github.io/Hover/)
 * Version: 2.3.2
 * Author: Ian Lunn @IanLunn
 * Author URL: http://ianlunn.co.uk/
 * Github: https://github.com/IanLunn/Hover

 * Hover.css Copyright Ian Lunn 2017. Generated with Sass.
 */

/** font-family: 'Lora', serif;
font-family: 'Oswald', sans-serif; **/

body{
    font-family: 'Oswald', sans-serif;
    margin-left: 40px;  
    margin-right: 20px;
}

/** global text styles**/
p, li, h1, h2, h3, h4{
    color: #4F4F4F;
}
h1, h2, h3, h4{
    font-family: 'Oswald', sans-serif;
}
section#mainPart p{
    font-family: 'Lora', serif;
    font-size: 14pt;
}
a{
    color: #4F4F4F;
    text-decoration: none;
}
.hederz{
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    color: #7766BF;
}
h1.hederz{
    font-size: 42pt;
    margin-bottom: 5px;
    line-height: 65px;
}
h3.hederz{
    font-size: 30pt;
    line-height: 30px;
    margin-bottom: 0px;
}

/** header with name and main navigation **/

header{ /** the header as a whole**/
    position: fixed;
    top: 0%;
    width: 100%;
    height: 40px;
    padding-top: 30px;
    z-index: 3;
}

.changeColor {
   background-color: white;
     transition: 0.3s all;
}
nav#topNav{
    position: fixed;
    top: 0%;
    right: 3%;
    padding-top: 15px;
}
nav#topNav li{
    list-style: none;
    float: left;
    margin-right: 6px;
    font-size: 14pt;
    font-weight: 400;
}
nav#topNav a{
    color: #4F4F4F;
    transition-timing-function: ease;
    transition-duration: .5s;
    
}
    /* Underline From Left */
    .hvr-underline-from-left-top {
      display: inline-block;
      vertical-align: middle;
      -webkit-transform: perspective(1px) translateZ(0);
      transform: perspective(1px) translateZ(0);
      box-shadow: 0 0 1px rgba(0, 0, 0, 0);
      position: relative;
      overflow: hidden;
    }
    /** all the magic that makes that underline happen**/
    .hvr-underline-from-left-top:before {
      content: "";
      position: absolute;
      z-index: -1;
      left: 0;
      right: 100%;    
      bottom: -2px;
      background: #6B82B3;
      height: 8px;
      -webkit-transition-property: right;
      transition-property: right;
      -webkit-transition-duration: 0.3s;
      transition-duration: 0.3s;
      -webkit-transition-timing-function: ease-out;
      transition-timing-function: ease-out;
    }
    .hvr-underline-from-left-top:hover:before, .hvr-underline-from-left:focus:before, .hvr-underline-from-left:active:before {
      right: 0;
    }
nav#topNav a.NavCurrent{
    color: #AE62BF;
}
header p{
    position: fixed;
    top: 0%;
    left: 5%;
    font-size: 14pt;
}
section{
    margin-bottom: 70px;
}


/*hero image */
img#hero{
    width: 100%;
    position: relative;
    top: 70px;
}

/* main part of the case study */
section#mainPart{
    margin-left: 40px;
    margin-top: 20px;
    width: 95%;
}
section#mainPart h4{
    font-size: 18pt;
}
section#mainPart h2{
    font-size: 24pt;
}
section#mainPart img.fullWidth{
    width: 100%;
    
}
section#mainPart a{
     color: #7A78FD;
    font-family: 'Oswald',sans-serif;
    font-size: 16pt;    
    text-decoration: none;
     margin-top: 20px;
    transition: .3s;
     -webkit-transition: all 600ms cubic-bezier(0.455, 0.03, 0.515, 0.955);
  transition:         all 600ms cubic-bezier(0.455, 0.03, 0.515, 0.955);
}

section#mainPart a:hover{
    color: rgba(122, 120, 253, .75);
}
section#mainPart li{
    font-family: 'Lora',sans-serif;
}
/*user profiles */
img.user{
    float: left;
    /*clear: right;*/
}

/*footer placement*/
footer{
    position: static;
    top: 95%;
    left: 5%;
    margin-left: 40px;
}
footer p{
    font-size: 18pt;
}
footer i.fa{
    font-size: 24pt;
    margin-right: 10px;
    
}
footer i.fa:hover{
    color: #6B82B3;
}



/* responsive section */

@media only screen and (max-width: 500px) {
    body{
    margin-left: -10px;
    }
    header{
        position: static;
    }
    nav#topNav, header>p{
        position: relative;
        display: table;
        margin: 0 auto; 
        left: 10px;
    }
    nav#topNav{
        top: -20px;
    }
    nav#topNav li{
        text-align: center;
    }
    nav#topNav a:active{
        color:#6B82B3;
    }
    header>p{
        top: -10px;
        left: 0px;
        margin-bottom: 10px;
        text-align: center;
    }
    section#intro{
        position: relative;
        margin-top: 30px;
        margin-bottom: 10px;
    }
    section#intro>h3{
        line-height: 32pt;
        margin-top: 15px;
        margin-bottom: 15px;
    }
    sectionintro>img{
        padding-right: 10px;
        margin-bottom: 0px;
        margin-left: 0px;
    }
    section#intro p{
        text-align: left;
        display:table;
        margin: 0 auto;
        margin-bottom: 20px;
        padding-right: 10px;
        line-height: 30px;
    }
    p#descriptors, p.introP{
        left: 0px;
    }

    /*footer*/
    footer{
        position: static;
        top: 92%;
        display: table;
        margin: 0 auto;
        margin-bottom: 20px;
    }
    footer article{
        display: table;
        margin: 0 auto;
    }
    footer a{
        display: table;
        margin: 0 auto;
        float: left;
        clear: right;
    }
    footer p{
        text-align: center;
    }
    footer i.fa{
    font-size: 30pt;
    margin-right: 10px;
    
}

    }
