/* declaring colour variables */
/* importing fonts */
@font-face {
  font-family: Lato;
  src: url(../assets/fonts/Lato-Regular.ttf); }
@font-face {
  font-family: LatoLight;
  src: url(../assets/fonts/Lato-Light.ttf); }
@font-face {
  font-family: LatoBold;
  src: url(../assets/fonts/Lato-Bold.ttf); }
/* declaring font variables */
/* --------------------------------------------------- */
/* --------------------- General --------------------- */
html {
  overflow-y: scroll;
  scroll-behavior: smooth; }

* {
  box-sizing: border-box;
  border-collapse: collapse; }

html * {
  font-family: "Lato", sans-serif;
  line-height: 1.5em;
  color: #303030; }
  html * p, html * ul, html * li {
    font-size: 16px; }

body {
  width: 100%;
  margin: 0 !important;
  padding: 0 !important; }

header,
main,
section,
footer {
  width: 100%;
  padding-top: 40px;
  padding-bottom: 40px;
  margin: 0; }

::-moz-selection,
::selection {
  color: #FFF;
  background: #2d909c; }

header {
  padding-top: 0; }

h1, h2, h3, h4, h5, h6 {
  font-family: "LatoBold", sans-serif;
  color: #2d909c; }

h2 {
  margin-bottom: 80px;
  text-align: center;
  position: relative;
  z-index: 1;
  /* the lines around the h2 */ }
  h2:before {
    border-top: 2px solid #2d909c;
    content: "";
    margin: 0 auto;
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    z-index: -1; }
  h2 span {
    font-family: "LatoBold", sans-serif;
    color: #2d909c;
    background: #fff;
    padding: 0 15px; }

textarea:focus,
input:focus {
  outline: #2d535b; }

/* button on 404 page */
#hp-btn {
  margin-top: 10px;
  color: #FFF;
  background-color: #2d909c;
  border: none; }

main {
  min-height: 300px; }

/* --------------------------------------------------- */
/* ------------------------ Nav ---------------------- */
#nav {
  background-color: #2d909c; }
  #nav .container-fluid {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    background-color: #2d909c;
    /* animation of the logo */ }
    #nav .container-fluid .navbar-default,
    #nav .container-fluid .navbar-collapse {
      border: none; }
    #nav .container-fluid .navbar-header {
      position: relative;
      /* animation of the hamburger menu */ }
      #nav .container-fluid .navbar-header .navbar-brand {
        position: absolute;
        top: 5px;
        left: 10px;
        width: 40px;
        height: 40px;
        display: inline-block;
        border: 2px solid #FFF;
        padding: 5px;
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        transform: rotate(0deg);
        transition: transform 0.5s linear; }
        #nav .container-fluid .navbar-header .navbar-brand .logo-text {
          font-family: LatoBold;
          text-transform: uppercase;
          color: #FFF;
          transform: rotate(0deg);
          transition: transform 0.5s linear; }
      #nav .container-fluid .navbar-header .navbar-brand:hover {
        transform: rotate(45deg); }
        #nav .container-fluid .navbar-header .navbar-brand:hover .logo-text {
          transform: rotate(-45deg); }
      #nav .container-fluid .navbar-header #hamMenu {
        border: none;
        width: 30px;
        height: 30px;
        position: relative;
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
        -webkit-transition: .5s ease-in-out;
        -moz-transition: .5s ease-in-out;
        -o-transition: .5s ease-in-out;
        transition: .5s ease-in-out;
        cursor: pointer; }
        #nav .container-fluid .navbar-header #hamMenu span {
          display: block;
          position: absolute;
          height: 3px;
          width: 100%;
          background: #FFF;
          border-radius: 9px;
          opacity: 1;
          left: 0;
          -webkit-transform: rotate(0deg);
          -moz-transform: rotate(0deg);
          -o-transform: rotate(0deg);
          transform: rotate(0deg);
          -webkit-transition: .25s ease-in-out;
          -moz-transition: .25s ease-in-out;
          -o-transition: .25s ease-in-out;
          transition: .25s ease-in-out; }
        #nav .container-fluid .navbar-header #hamMenu span:nth-child(1) {
          top: 5px; }
        #nav .container-fluid .navbar-header #hamMenu span:nth-child(2),
        #nav .container-fluid .navbar-header #hamMenu span:nth-child(3) {
          top: 15px; }
        #nav .container-fluid .navbar-header #hamMenu span:nth-child(4) {
          top: 25px; }
      #nav .container-fluid .navbar-header #hamMenu.open span:nth-child(1) {
        top: 18px;
        width: 0%;
        left: 50%; }
      #nav .container-fluid .navbar-header #hamMenu.open span:nth-child(2) {
        -webkit-transform: rotate(45deg);
        -moz-transform: rotate(45deg);
        -o-transform: rotate(45deg);
        transform: rotate(45deg); }
      #nav .container-fluid .navbar-header #hamMenu.open span:nth-child(3) {
        -webkit-transform: rotate(-45deg);
        -moz-transform: rotate(-45deg);
        -o-transform: rotate(-45deg);
        transform: rotate(-45deg); }
      #nav .container-fluid .navbar-header #hamMenu.open span:nth-child(4) {
        top: 18px;
        width: 0%;
        left: 50%; }
      #nav .container-fluid .navbar-header a {
        color: #FFF; }
    #nav .container-fluid button[aria-expanded="true"] {
      background-color: #2d909c; }
    #nav .container-fluid button[aria-expanded="false"] {
      background-color: #2d909c; }
  #nav ul li a {
    color: #FFF;
    border-left: 1px solid #2d909c;
    border-right: 1px solid #2d909c; }
  #nav ul .active a {
    background-color: #2d535b; }

/* --------------------------------------------------- */
/* ---------------------- Header --------------------- */
.header-img {
  height: 200px;
  background-image: url(../assets/img/header-img.svg);
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat; }

/* bouncing element for scroll */
.scroll-down {
  text-align: center;
  height: 40px;
  margin-top: 20px;
  transform: rotate(90deg); }
  .scroll-down span {
    width: 40px;
    height: 40px;
    position: absolute;
    left: 50%;
    color: #2d909c;
    font-size: 40px;
    -webkit-animation: 1s bounce infinite;
    -moz-animation: 1s bounce infinite;
    -o-animation: 1s bounce infinite;
    -ms-animation: 1s bounce infinite;
    animation: 1s bounce infinite; }
@-webkit-keyframes bounce {
  0%, 50%, 100% {
    -webkit-transform: translateX(0); }
  25%, 75% {
    -webkit-transform: translateX(10px); } }
@keyframes bounce {
  0%, 100% {
    -webkit-transform: translateX(0); }
  50% {
    -webkit-transform: translateX(10px); } }
/* --------------------------------------------------- */
/* -------------------- Portfolio -------------------- */
#portfolio #portfolio-buttons {
  margin-top: 10px;
  margin-bottom: 10px;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center; }
  #portfolio #portfolio-buttons button {
    padding: 5px 10px 5px 10px;
    width: 65px;
    color: #2d909c;
    background-color: #fff;
    border: 1px solid #2d909c;
    border-radius: 8px; }
  #portfolio #portfolio-buttons button.active {
    color: #FFF;
    background-color: #2d909c;
    border: 1px solid #FFF; }
#portfolio .portfolio-section .port-box .portfolio-item {
  position: relative;
  padding: 0;
  margin: 15px 0px 15px 0px;
  box-shadow: #d6d6d6 0px 0px 15px 3px, #d6d6d6 0px 0px 15px 3px;
  opacity: 0.7;
  filter: alpha(opacity=70);
  cursor: pointer; }
  #portfolio .portfolio-section .port-box .portfolio-item img {
    width: 100%;
    height: auto; }
  #portfolio .portfolio-section .port-box .portfolio-item span {
    padding: 25px 10px;
    position: absolute;
    top: 50%;
    left: 50%;
    font-size: 50px;
    z-index: 10;
    color: #000;
    opacity: 1;
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%); }
  #portfolio .portfolio-section .port-box .portfolio-item img {
    width: 100%;
    height: auto; }
  #portfolio .portfolio-section .port-box .portfolio-item .overlay .text {
    opacity: 0; }
#portfolio .portfolio-section img {
  max-width: 100%;
  max-height: 100%; }
#portfolio .portfolio-section .modal-header {
  height: 60px; }
  #portfolio .portfolio-section .modal-header .close {
    width: 31px;
    height: 31px;
    position: relative;
    top: -35px;
    right: 10px;
    padding: 0;
    margin: 0;
    opacity: 0.4; }
#portfolio .portfolio-section .demo-img {
  padding: 0; }
#portfolio .portfolio-section .demo-buttons {
  margin-top: 10px;
  margin-bottom: 10px; }
  #portfolio .portfolio-section .demo-buttons a.btn {
    margin-top: 10px;
    color: #FFF;
    background-color: #2d909c;
    border: none; }

/* --------------------------------------------------- */
/* ----------------------- About --------------------- */
#about .about-row {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center; }
  #about .about-row .about-box {
    margin-top: 10px;
    margin-bottom: 10px;
    min-height: 350px;
    box-shadow: #d6d6d6 0px 0px 15px 3px, #d6d6d6 0px 0px 15px 3px;
    padding: 30px; }
    #about .about-row .about-box div {
      display: flex;
      flex-direction: row;
      justify-content: center;
      align-items: center; }
      #about .about-row .about-box div img {
        width: 50px;
        height: 50px;
        margin-right: 10px;
        border: 1px solid #2d909c;
        border-radius: 50px; }
    #about .about-row .about-box .find-me {
      padding-top: 20px; }
    #about .about-row .about-box ul {
      padding: 0;
      margin-left: 0;
      list-style: none; }
      #about .about-row .about-box ul li > span {
        color: #2d909c;
        padding-right: 10px;
        display: inline; }

/* --------------------------------------------------- */
/* ---------------------- Footer --------------------- */
footer {
  background-color: #2d909c; }
  footer ::-moz-selection,
  footer ::selection {
    color: #2d909c;
    background: #FFF; }
  footer h2:before {
    border-top: 2px solid #FFF; }
  footer h2 span {
    color: #FFF;
    background: #2d909c;
    padding: 0 15px; }
  footer .contact-form .form-group {
    margin-bottom: 5px; }
  footer .contact-form input,
  footer .contact-form textarea,
  footer .contact-form button {
    background-color: #2d909c;
    border: 1px solid #FFF;
    border-radius: 8px;
    padding: 12px;
    margin-left: 5px;
    margin-right: 5px;
    color: #FFF;
    width: 100%;
    height: 50px; }
  footer .contact-form input::placeholder,
  footer .contact-form textarea::placeholder {
    color: #FFF; }
  footer .contact-form textarea {
    resize: none; }
  footer .contact-form span {
    color: #FFF;
    margin-right: 15px; }
  footer .contact-form .extraInfo {
    padding: 12px;
    text-align: center;
    color: #FFF; }
    footer .contact-form .extraInfo p {
      height: 40px; }
  footer .contact-form .forTest {
    display: none; }
  footer .contact-form .contactMessage {
    margin-top: 50px;
    opacity: 0;
    transition: opacity 1s linear; }
  footer p {
    text-align: center;
    margin-top: 10px;
    color: #FFF;
    font-size: 12px; }

@media only screen and (min-width: 768px) {
  #nav li {
    transition: background-color 1s ease; }
  #nav li:hover {
    background-color: #2d535b;
    transition: background-color 1s ease; }

  .header-img {
    height: 500px; }

  .scroll-down {
    margin-top: 60px; }
    .scroll-down .glyphicon-chevron-right {
      transition: color 1s ease; }
    .scroll-down .glyphicon-chevron-right:hover {
      color: #2d535b; }

  #portfolio #portfolio-buttons .port-button {
    transition: background-color 2s ease, color 2s ease; }
  #portfolio #portfolio-buttons .port-button:hover {
    color: #FFF;
    background-color: #2d909c;
    border: 1px solid #FFF; }

  .portfolio-section .port-box .portfolio-item {
    opacity: 1 !important;
    transition: .5s ease;
    cursor: pointer; }
    .portfolio-section .port-box .portfolio-item span {
      opacity: 0 !important; }
    .portfolio-section .port-box .portfolio-item .overlay {
      background-color: #2d909c;
      position: absolute;
      left: 0;
      right: 0;
      bottom: 0;
      overflow: hidden;
      width: 100%;
      height: 0px;
      transition: height 0.5s ease;
      cursor: pointer; }
      .portfolio-section .port-box .portfolio-item .overlay .text {
        opacity: 1 !important;
        padding: 5px;
        width: 100px;
        height: 100px;
        color: #FFF;
        font-size: 60px;
        position: absolute;
        top: 50%;
        left: 50%;
        -webkit-transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);
        transform: translate(-50%, -50%);
        text-align: center; }
  .portfolio-section .port-box .portfolio-item:hover .overlay {
    height: 100%; }
  .portfolio-section .modal-header .close span {
    transition: transform 0.5s ease-in; }
  .portfolio-section .modal-header .close:hover {
    opacity: 0.8 !important; }
    .portfolio-section .modal-header .close:hover span {
      -webkit-transform: rotate(180deg);
      -ms-transform: rotate(180deg);
      transform: rotate(180deg); }
  .portfolio-section .modal-body a.btn {
    transition: color 2s ease, background-color 2s ease; }
  .portfolio-section .modal-body a.btn:hover {
    color: #2d909c !important;
    background-color: #FFF !important; }

  #about .about-row {
    flex-direction: row; }

  footer #contactButton {
    transition: color 2s ease, background-color 2s ease; }
    footer #contactButton span {
      transition: color 2s ease; }
  footer #contactButton:hover {
    color: #2d909c;
    background-color: #fff; }
    footer #contactButton:hover span {
      color: #2d909c; }
  footer .contactMessage {
    margin-top: 20px; } }

/*# sourceMappingURL=main.css.map */
