/*
Colors used:
Primary Color (Black): #181919;
Secondary Color (Grey): #4B4D4F
Accent (blue): #0021C0
Accent (lime): #E0FF56;
*/
* {
  box-sizing: border-box;
}

body {
  background-color: white;
  font-family: 'Montserrat', sans-serif;
  color: #4B4D4F;
  font-size: 16px;
  line-height: 1.8;
}

h1 {
  font-family: 'Libre Baskerville', serif;
  font-weight: 300;
  font-size: 2em;
  color: #181919;
  
}

h2 {
  font-family: 'Libre Baskerville', serif;
  font-weight: 300;
  font-size: 2em;
  color: #181919;
  font-style: italic;
}

h3 {
  font-style: bold;
  font-size: 1em;
  color: #181919;
}

h4 {
  font-family: 'Libre Baskerville', serif;
  font-style: italic;
  color: #4B4D4F;
  font-size: 1em;
}

.intro {
  font-style: italic;
  font-size: 1.5em;
  color: #181919
}

.desc {
  font-family: 'Libre Baskerville', serif;
  font-style: normal;
  font-size: 1.25em;
}


img {
  width: 100%
}

a {
  text-decoration: none;
}

.button {
  display: inline-block;
  background-color: #E0FF56;
  color: #181919;
  padding: 10px 15px;
  font-family: 'Libre Baskerville', serif;
  font-style: italic;
  letter-spacing: .05rem;
  border-radius: 1px;
  transition: 0.5s color;
}

.button:hover {
  background-color: #0021C0;
  color: #ffff;
}

.button:active {
  background-color: #0021C0;
  color: #E0FF56;
}

#glow {
  position: absolute;
  z-index: -1;
  display: block;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.bold {
  font-weight: 600;
}



#italic {
  font-style: italic;
  font-weight: 600;
}

#projects {
  font-family: 'Libre Baskerville', serif;
  font-weight: 300;
  font-size: 1.5em;
  color: #181919;
  font-style: italic;
}

/*layout styling */
.container {
  padding: 0 15px;
}

#work .row {
  margin: 25px 0;
  border-bottom: 1px solid #4B4D4F;
  padding-bottom: 25px;
}

#hero {
  text-align: center;
  padding: 20px 0;
  padding-top: 103px;
  display: inline-block;
  width: 100%;
}

#project1 {
  border-top: 1px solid #4B4D4F;
  padding-top: 25px;
}

main {
  padding-top: 103px;
}

.center {
  text-align: center;
}

.logo {
  max-width: 250px;
}

header {
  padding: 10px;
  box-shadow: 2px 4px 11px 0px rgba(50, 50, 50, 0.06);
  position: fixed;
  width: 100%;
  background-color: #ffff;
}

nav {
  text-transform: uppercase;
  font-weight: 400;
  list-style: none;
}

nav>ul {
  list-style-type: none;
  padding: 0px;
  margin: 0;
}

nav>ul>li>a:visited {
  color: #181919;
}

nav>ul>li>a:active {
  font-weight: 600;
  color: #0021C0;
}

.navtoggle li:not(:last-child) {
  display: none;
}

.navtoggle, .navtoggle.responsive {
  position: relative;
}

.navtoggle.responsive nav {
  padding: 24px 0 0;
}

.navtoggle li .icon {
  position: absolute;
  right: 0;
  top: 2px;
  font-size: 20px;
  padding-right: 0;
  padding-top: 5px;
  color: #181919;
}

.navtoggle li .icon:active {
  color: #0021C0;
}

.navtoggle.responsive li {
  text-align: right;
  color: #181919;
  display: block;
  padding: 15px 0;
  border-top: 0.5px solid #4B4D4F;
}

.navtoggle.responsive li:visited {
  text-decoration: none;
  color: #181919;
}

.linkedin {
  margin-top: 20px;
}

#fineprint {
  font-size: 0.75em;
}

/* Medium Devices (640px and larger) */
@media only screen and (min-width: 640px) {
  header {
    text-align: unset;
  }

  nav {
    width: auto;
    float: right;
  }

  main {
    padding-top: 99px;
  }

  .col-md-6 {
    width: 50%;
  }

  [class*="col-"] {
    float: left;
    padding: 10px;
  }

  .row::after {
    content: "";
    clear: both;
    display: table;
  }

  #about-page h3 {
    margin-top: 0px;
  }

  .logo {
    max-width: 240px;
  }

  .desc {
    font-family: 'Libre Baskerville', serif;
    font-style: normal;
    font-size: 1.5em;
  }

  nav>ul>li {
    display: inline-block;
  }

  nav>ul {
    margin: 1em 0;
  }

  .navtoggle li:not(:last-child) {
    display: inline-block;
  }

  .navtoggle li:last-child {
    display: none;
    padding: 0 0 10px;
  }

  nav>ul>li>a {
    padding: 0px 9px;
    color: #181919;
    border-bottom: 0px solid #E0FF56;
    padding-bottom: 8px;
    transition: border-width 0.2s;
  }

  nav>ul>li>a:hover {
    border-bottom: 6px solid #E0FF56;
    padding-bottom: 8px;
    font-weight: 600;
  }

  nav>ul>li>a:focus {
    border-bottom: 6px solid #E0FF56;
    padding-bottom: 8px;
    font-weight: 600;
  }

  #hero {
    text-align: center;
    padding: 60px 0;

    /* Large Devices (1024px and larger) */
    @media only screen and (min-width: 1024px) {
      .col-lg-7 {
        width: 58.33%;
      }

      .col-lg-5 {
        width: 41.66%;
      }

      .container {
        max-width: 1200px;
        margin-left: auto;
        margin-right: auto;
      }
    }

    /* Animation */
    @keyframes color-change {
      from {
        fill: #edc655;
      }

      to {
        fill: #f76414;
      }
    }

  }.sun {
      animation: 4s color-change infinite alternate linear;
    }

    @keyframes cloud-move {
      from {
        transform: translate(0, 50px);
      }

      to {
        transform: translate(200px, 50px);
      }
    }

    .cloud-front {
      animation: 30s cloud-move infinite alternate linear;
    }

    @keyframes cloud-move-reverse {
      from {
        transform: translate(446px, 48px);
      }

      to {
        transform: translate(100px, 48px);
      }
    }

    .cloud-back {
      animation: 60s cloud-move-reverse infinite alternate linear;
    } 

  #contact {
    text-align: center;
  }

}

#animation {
  display: none;
}