body {
    background: #f5f5f5;
    font-family: 'Ubuntu', sans-serif;
    font-size: 15px;
    line-height: 1.5;
    margin: 0;
    padding: 0;
}

/* GENERAL STYLES */
.container {
    width: 80%;
    margin: auto;
    overflow: hidden;
}

ul {
    margin: 0;
    padding: 0;
}

.s_button {
    background: none;
    border: 4px solid #c52c02;
    color: #c52c02;
    cursor: pointer;
    font-family: 'Ubuntu', sans-serif;
    font-size: 0.85em;
    font-weight: 800;
    min-height: 38px;
    padding-left: 1.4em;
    padding-right: 1.4em;
    text-transform: uppercase;
    transition: border 0.3s linear;
    -webkit-transition: border 0.3s linear;
    -moz-transition: border 0.3s linear;
    white-space: normal;
}

.s_button:hover {
    border: 4px solid #fff;
}

.dark {
    background: #35424a;
    color: #fff;
    margin-top: 10px;
    margin-bottom: 10px;
    padding: 1em;
}

/* HEADER STYLES */

header {
    background-color: transparent;
    color: #fff;
    min-height: 70px;
    padding-top: 2em;
    position: relative;
    width: 100%;
    z-index: 2;
}

.cta_container {
    padding: 0 0 6em 0;
    position: relative;
    z-index: 2;
}

header a {
    color: #eee;
    font-size: 1.2em;
    font-weight: 800;
    text-decoration: none;
    text-transform: uppercase;
}

header ul li {
    display: inline;
    float: left;
    padding: 0 1.2em 0 1.2em;
}

/* stroke */
nav ul li a {
  display: block;
  text-decoration: none;
  font-weight: 800;
}
nav ul li a,
nav ul li a:after,
nav ul li a:before {
  transition: all .5s;
}
nav ul li a:hover {
  color: #eee;
}
nav.stroke ul li a,
nav.fill ul li a {
  position: relative;
}
nav.stroke ul li a:after,
nav.fill ul li a:after {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  width: 0%;
  content: '.';
  color: transparent;
  background: #eee;
  height: 3px;
}
nav.stroke ul li a:hover:after {
  width: 100%;
}

nav.fill ul li a {
  transition: all 2s;
}

nav.fill ul li a:after {
  text-align: left;
  content: '.';
  margin: 0;
  opacity: 0;
}
nav.fill ul li a:hover {
  color: #fff;
  z-index: 1;
}
nav.fill ul li a:hover:after {
  z-index: -10;
  animation: fill 1s forwards;
  -webkit-animation: fill 1s forwards;
  -moz-animation: fill 1s forwards;
  opacity: 1;
}

header #logo {
    float: left;
}

header #logo a {
    font-size: 1.6em;
}

header #logo h1 {
    margin: 0;
}

header nav {
    float: right;
}

header .special, 
header .active a, 
.fa-coffee {
    color: #c52c02;
    font-weight: bold;
}

/* CTA SECTION */

#cta_section::before {
    background: #000;
    content: "";
    height: 100%;
    left: 0;
    opacity: 0.5;
    position: absolute;
    top: 0;
    width: 100%;  
}

#cta_section {
    background: url('../img/coffeemaker.jpg') no-repeat 0 80%;
    background-size: cover;
    color: #eee;
    min-height: 400px;
    position: relative;
    text-align: center;
    z-index: 2;
}

#cta_section h1, #skills h1 {
    font-family: 'Courgette', cursive;
    font-size: 3.3em;
    margin: 10px 0;
    text-align: center;
}

#skills h1 {
    color: #652810;
    margin-bottom: 40px;
}

#cta_section blockquote {
    font-size: 1.4em;
    font-style: italic;
    padding: 0.5em 0;
    position: relative;
}

#cta_section blockquote:before {
    display: block;
    content: "\201C";
    font-size: 40px;
    position: absolute;
    left: -10px;
    top: -10px;
    color: #eee;
}

#cta_section blockquote cite {
    color: #ddd;
    font-size: 0.8em;
    margin-top: 5px;
}
 
#cta_section blockquote cite:before {
    content: "\2014 \2009";
}

.cta_button {
    background: none;
    border: 5px solid #fff;
    color: #eee;
    cursor: pointer;
    font-family: 'Ubuntu', sans-serif;
    font-size: 2em;
    font-weight: 800;
    margin-top: 25px;
    padding: 0.3em 2em;
    text-transform: uppercase;
    transition: border 0.3s linear;
    -webkit-transition: border 0.3s linear;
    -moz-transition: border 0.3s linear;
}

.cta_button:hover {
    border: 5px solid #c52c02;
}

#news_section {
    background: #D39655;
    color: #fff;
    padding: 1em;
}

#news_section h1 {
    font-weight: normal;
    float: left;
}

#news_section form {
    float: right;
    margin-top: 15px;
}

#news_section input[type="email"], input[type="text"] {
    background: #daa56c;
    border: none;
    color: #ccc;
    color: rgba(255, 255, 255, .8);
    font-family: 'Ubuntu', sans-serif;
    height: 25px;
    padding: 0.4em 1em;
    width: 250px;
}

/* SKILLS SECTION */

#skills {
    margin: 60px 0 40px 0;
}

#skills #boxes {
    text-align: center;
    list-style-type: none;
}

#skills .box {
    display: inline-block;
    margin: 0 1.5%;
    padding: 0.8em 0;
    vertical-align: top;
    width: 30%;
}

#skills .box h3 {
    border-bottom: 2px solid #D39655;
    color: #652810;
    font-family: 'Courgette', cursive;
    font-size: 1.5em;
    padding: 0 1em 0.3em 1em;
}

/* FOOTER */

footer {
    background: #652810;
    border-top: 4px solid #D39655;
    color: #fff;
    margin-top: 20px;
    padding: 1.4em;
    text-align: center;
}

/* RESPONSIVE - MEDIA QUERIES */

@media screen and (max-width:768px) { 
    #skills .box { width: 100%; }
}

@media screen and (max-width:640px) { 
    header {
        background-color: #652810;
        border-bottom: 5px solid #D39655;
        padding-bottom: 20px;
    }
    header #logo, 
    header nav,
    header nav li,
    #news_section h1,
    #news_section form,
    #skills .box {
        float: none;
        text-align: center;
        width: 100%;
    }
    
    header nav ul li {
        display: block;
        padding: 0.1em;
    }
    
    #cta_section {
        background-position: 80% 0;
    }
    
    #cta_section h1 {
        margin-top: 40px;
    }
}

@media screen and (max-width:480px) {  
    .cta_container {
        width: 90%;
    }
    #cta_section blockquote { 
        display: none; 
    }    
    #news_section {
        padding: 0 1em 2em 1em;
    }
    #news_section button {
        display: block;
        padding: 0;
        width: 100%;
    }   
    #news_section form input[type="email"],
    #contact_form input,
    #contact_form textarea {
        font-size: 1.05em;
        margin-bottom: 5px;
        width: 100%;
    }
    .s_button { font-size: 1.15em; }
    
    #cta_section h1, #skills h1 {
        font-size: 2.5em;
    }
    
    #cta_section blockquote {
        font-size: 1.2em;
    }
    
    #skills {
        margin: 30px 0 20px 0;
    }
}







































