/* DEFAULT STYLING */
body {
  font-size: 14px;
  color: #333;
  background-color: #fdfcf2;
  letter-spacing: 1px;
}


/* LOADER */
.loader {
    width: 100%;
    height: 100%;
    background-color: #fff;
    position: fixed;
    top: 0px;
    left: 0px;
    z-index: 10000;
}

.loader .inner {
    width: 100%;
    height: 100%;
    /* vertically and horizontally centered and won't repeat gif */
    background: url(../img/loader.gif) center center no-repeat;
}


/* SUPERSLIDES SECTION */
/* overlay to darken images for icons to stand out more */
.overlay {
    width: 100%;
    height: 100%;
    position: absolute;
    /* z-index is priority to determine overlay, higher index = more important */
    z-index: 3;
    background-color: rgba(0, 0, 0, 0.4);
}
/* higher z-index to be able to push next/prev buttons. */
.slides-navigation {
    z-index: 6;
}

.slides-navigation .prev,
.slides-navigation .next {
    width: 47px;
    height: 47px;
    /* covers the whole size of determined width/height px */
    background-size: cover; 
    /* don't repeat image if it runs out of space */
    background-repeat: no-repeat;
}
/* a.prev means anchor tage for more detail to override superslides styling */
.slides-navigation a.prev {
    left: 20px;
    background-image: url(../img/icons/prev.png);
}

.slides-navigation a.next {
    right: 20px;
    background-image: url(../img/icons/next.png);
}
/* name */
.titleMessage {
    position: absolute;
    width: 100%;
    height: 250px;
    top: 50%;
    z-index: 5;
    text-align: center;
    margin-top: -125px;
}

.titleMessage .heading p {
    color: #fff;
    /* horizontal shadow, vertical shadow, blur radius, color */
    text-shadow: 0px 2px 5px rgba(0, 0, 0, 0.4);
    font-weight: 200;
    letter-spacing: 7px;
}

.titleMessage .heading .main {
    font-size: 45px;
}

.titleMessage .heading .sub {
    font-size: 23px;
}


/* NAVBAR SECTION */
#navigation {
    background-color: #50C878;
    padding: 20px 15px;
    /* such a high z-index to guarantee its always in front */
    z-index: 100;
    width: 100%;
 }

#navigation li {
    padding: 0 10px;
}

#navigation li a {
  color: #fff;
}

.navbar-brand {
    color: #fff;
    -webkit-transition-property: -webkit-transform color;
    -webkit-transition-duration: 0.5s;
    -webkit-transition-timing-function: ease-in-out;
}

.navbar-brand:hover,
#navigation li a:hover {
    color: #FFC312;
}
/* styling the navbar menu icon */
.navbar-toggler-icon {
    background: url(../img/icons/menu.png);
    background-size: 100%;
    color: #fff;
 }
/* what gets the navbar to stay fixed */
.fixedNav #navigation {
    position: fixed;
    top: 0;
}


/* ABOUT SECTION */
.section {
    /* 100px top and bottom, 0 left and right */
    padding: 100px 0;
}

.section h4 {
    padding: 15px 0px;
}

.aboutImage {
    /* can only be as wide as the col width */
    max-width: 100%;
}

img {
    position: relative;
    top: 20px;
}

.section .col-md-7 a {
    text-decoration: none;
    color: #000;
    font-size: 50px;
    max-width: 100%;
    padding: 15px 25px;
    margin-left: 75px;
}

.section a {
    -webkit-transition-property: -webkit-transform color;
    -webkit-transition-duration: 0.5s;
    -webkit-transition-timing-function: ease-in-out;
}

.section a:hover {
    color: #50C878;
}


/* SKILLS SECTION */
.skillsSection, 
/* same styling for contact section */
.contactSection {
    background-color: #50C878;
    color: #fff;
}

.skill {
    text-align: center;
    margin-left: 10px;
}

.skill h4 {
  padding-top: 8px;
}

.skill p {
  padding-top: 0px;
}

.chart {
    /* positions percentage inside the pie chart */
    position: relative;
    width: 152px;
    height: 152px;
    /* allows to set a width and height on the element */
    display: inline-block;
    text-align: center;
}

.chart canvas {
    /* positions element closest to parent tag with positioning */
    position: absolute;
    left: 0;
    top: 0;
}

.chart .percent {
    color: #FFC312;
    line-height: 152px;
    display: inline-block;
    font-size: 35px;
}
/* :after puts something after the content, in this case a percent sign */
.chart .percent:after {
    content: '%';
}


/* STATS SECTION */
.squareItem {
    margin-top: 30px;
    position: relative;
 }

.squareInnerContainer {
    position: relative;
    padding: 50px 15px 35px;
    text-align: center;
    border: 2px solid #444;
    /* leaves gap at top of border for icon */
    border-top: none;
}
/* inserts styling before content, and after the content */
.squareInnerContainer:before,
.squareInnerContainer:after {
    content: "";
    position: absolute;
    top: 0px;
    width: 30%;
    border-bottom: 2px solid #444;
}

.squareInnerContainer:before {
    /* pushes line to the right */
    right: 0px;
}

.squareInnerContainer:after {
    /* pushes line to the left */
    left: 0px;
}

.squareContent h2 {
    font-size: 25px;
    margin-bottom: 10px;
    font-weight: 400;
    color: #e84118;
}

.squareContent h3 {
    font-size: 13px;
    font-weight: 600;
    margin: 0;
}

.squareIcon {
   position: absolute;
   left: 50%;
   /* go to the top but then go 30px past the top */
   top: -30px;
   /* 40% because top lines on box are 30% each */
   width: 40%;
   height: 60px;
   font-size: 45px;
   margin-left: -20%;
   color: #444;
}


/* CONTACT SECTION */
.contactButton {
    color: #FFC312;
    padding: 15px 30px;
    display: inline-block;
    margin-top: 20px;
    border: 1px solid #fff;
    /* higher the radius the more curve to the border */
    border-radius: 2px; 
}

.contactButton:hover {
    /* takes away underline when hovering over */
    text-decoration: none;
    color: #e84118;
    background-color: #fff;
}


/* PORTFOLIO SECTION */
.filter a {
    color: #a4b0be;
    border: 1px solid #a4b0be;
    padding: 18px 10px;
    display: block;
}

.filter li {
    /* moves buttons from overlapping to being side by side */
    display: inline-block;
    padding: 5px;
}

.filter a:hover {
    text-decoration: none;
}

.filter .current {
    background-color: #e84118;
    border-color: #e84118;
    color: #fff;
}

.filter {
    text-align: center;
    width: 100%;
}

.section .heading {
    text-align: center;
    padding-bottom: 40px;
    width: 100%;
}

.items li {
    display: inline-block;
    padding: 5px;
}

.itemsContainer {
    width: 100%;
}

.items li img {
    width: 100%;
    /* transition code between items */
    /* chrome */
    -webkit-transition: all 0.2s linear, 1s;
    /* firefox */
    -moz-transition: all 0.2s linear, 1s;
    /* opera */
    -o-transition: all 0.2s linear, 1s;
    /* microsoft edge & internet explorer */
    -ms-transition: all 0.2s linear, 1s;
    /* everything else... */
    -transition: all 0.2s linear, 1s;
}

.items .item {
    position: relative;
    display: block;
    overflow: hidden;
}

.items .icons {
    position: absolute;
    width: 90px;
    height: 40px;
    left: 50%;
    top: 50%;
    /* minus half the height */
    margin: -20px auto 0 -47px;
    text-align: center;
    z-index: 3;
}

.items .icons i {
    color: #fff;
    font-size: 20px;
    margin-top: 9px;
}

.items a {
    width: 40px;
    height: 40px;
    background-color: #e84118;
    position: relative;
    display: inline-block;
    /* transition code between items */
    /* chrome */
    -webkit-transition: all 0.2s linear, 0.2s;
    /* firefox */
    -moz-transition: all 0.2s linear, 0.2s;
    /* opera */
    -o-transition: all 0.2s linear, 0.2s;
    /* microsoft edge & internet explorer */
    -ms-transition: all 0.2s linear, 0.2s;
    /* everything else... */
    -transition: all 0.2s linear, 0.2s;
}
/* adds darkness styling to images */
.items .imageOverlay {
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    position: absolute;
    left: 0px;
    top: 0px;
    opacity: 0;
    /* transition code between items */
    /* chrome */
    -webkit-transition: all 0.2s linear, 1s;
    /* firefox */
    -moz-transition: all 0.2s linear, 1s;
    /* opera */
    -o-transition: all 0.2s linear, 1s;
    /* microsoft edge & internet explorer */
    -ms-transition: all 0.2s linear, 1s;
    /* everything else... */
    -transition: all 0.2s linear, 1s;
}
/* adds darkness to image when hovering over */
.items .item:hover .imageOverlay {
    opacity: 1;
}
/* makes icons appear when hovering & dissapear when not */
.items .openButton {
    /* keeps off image to start with */
    float: left;
    left: -200px;
}

.items .projectLink {
    /* keeps off image to start with */
    float: right;
    right: -200px;
}

.items .item:hover .openButton {
    /* brings it back to the center */
    left: 0px;
}

.items .item:hover .projectLink {
    /* brings it back to the center */
    right: 0px;
}
/* zoom in on image when hovering over */
.items .item:hover img {
    /* scale refers to x & y scale of image */
    -webkit-transform: scale(1.05, 1.05);
    /* firefox */
    -moz-transform: scale(1.05, 1.05);
    /* opera */
    -o-transform: scale(1.05, 1.05);
    /* microsoft edge & internet explorer */
    -ms-transform: scale(1.05, 1.05);
    /* everything else... */
    -transform: scale(1.05, 1.05);
} 
/* allows four images to sit on one line */
.items {
  padding: 0;
}


/* COPYRIGHT SECTION */
.copyrightSection {
    background: #000;
    color: #fff;
    padding: 30px 5px;
}

.copyrightSection p {
    /* paragraphs already have some styling, this takes away margin since padding is set above */
    margin: 0;
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 320px) {  
    .section .col-md-7 a {
        text-decoration: none;
        color: #000;
        font-size: 72px;
        max-width: 100%;
        padding: 0px 0px;
        display: inline-block;
        text-align: center;
        margin-left: 19px;
    }

    .section h4 {
        padding: 0px;
        margin-top: 25px;
    }

    .squareContent h2 {
        font-size: 20px;
        margin-bottom: 10px;
        font-weight: 400;
        color: #e84118;
    }

    .skill img {
        width: 50%;
    }

    .skill p {
        padding-top: 0px;
        padding-right: 9px;
    }
}

@media (min-width: 375px) {  
    .section .col-md-7 a {
        margin-left: 30px;
    }
}

@media (min-width: 425px) {  
    .section .col-md-7 a {
        margin-left: 45px;
    }
}

/* Medium devices (tablets, 768px and up) The navbar toggle appears at this breakpoint */
@media (min-width: 768px) {  
    .section .col-md-7 a {
        text-decoration: none;
        color: #000;
        font-size: 50px;
        max-width: 100%;
        padding: 15px 0px 0px 0px;
        margin-left: 60px;
    }

    .squareContent h2 {
        font-size: 14px;
        margin-bottom: 10px;
        font-weight: 400;
        color: #e84118;
    }

    .squareContent h3 {
        font-size: 9px;
        font-weight: 600;
        margin: 0;
    }
}


/* Large devices (desktops, 992px and up) */
@media (min-width: 1024px) {
    .section .col-md-7 a {
      text-decoration: none;
      color: #000;
      font-size: 50px;
      max-width: 100%;
      padding: 10px 40px;
      margin-left: 35px;
      -webkit-transition-property: -webkit-transform color;
      -webkit-transition-duration: 0.5s;
      -webkit-transition-timing-function: ease-in-out;
  }

  .squareContent h2 {
      font-size: 16px;
      margin-bottom: 10px;
      font-weight: 400;
      color: #e84118;
  }

  .squareContent h3 {
      font-size: 9px;
      font-weight: 600;
      margin: 0;
  }
}

@media (min-width: 1440px) {  
    .section .col-md-7 a {
        margin-left: 60px;
    }
}