/*! HTML5 Boilerplate v7.3.0 | MIT License | https://html5boilerplate.com/ */

/* main.css 2.0.0 | MIT License | https://github.com/h5bp/main.css#readme */
/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
  color: #222;
  font-size: 1em;
  line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Vendor-prefixed and regular ::selection selectors cannot be combined:
 * https://stackoverflow.com/a/16982510/7133471
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
  resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
  margin: 0.2em 0;
  background: #ccc;
  color: #000;
  padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */


/*====== General Styles =======*/

html{
    font-size: 16px;
}

body{
    font-size: 1em;
    font-family: 'EB Garamond', serif;
    color: #3a3939;
}

ul,
ol{
    list-style: none;
    padding: 0;
}

a{
    text-decoration: none;
}

h1, h2, h3{
    font-family: 'Old Standard TT', serif;
}

h1{
    margin: 0;
}

h2{
    margin: 25px 0;
    font-size: 1.5em;
    font-weight: 400;
}

h3{
    margin: 20px 0;
    font-size: 1.125em;
    font-weight: 400;
}

p{
    font-weight: 400;
    font-size: 0.95em;
    line-height: 19px;
    margin: 0;
    padding: 0;
}

.content-wrapper{
    width: 90%;
    margin: 50px 0;
}

img{
    width: 100%;
}

figure{
    margin: 0;
}

/* chat rules*/
.contact{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-flow: row wrap;
    background-color: #ee9b4a;
    color: #d9d5d5;
}

.contact h2{
    text-align: center;
    margin-top: 0;
}

.contact p{
    margin-bottom: 30px;
}

.contact a{
    color: #2b6dda;
    text-transform: uppercase;
    font-weight: 700;
}

.contact a:hover{
    color: #d9d5d5;
}

.contact-btn {
    width: 100%;
    padding: 20px 0;
    font-size: 1.5em;
    text-align: center;
    background-color: #e87a0f;
    border: 1px solid #e49c56;
}

.contact-btn {
    color: #d9d5d5;
    font-family: 'Old Standard TT', serif;
}

.contact-btn:hover{
   background-color: #bb630c;
}

/*START HERE: fix email button then launch site.*/

/*===== Header / Footer =====*/

header,
footer{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-flow: row wrap;
    background-color: #565656;
}

header{
    padding: 15px 0px;
}

header .content-wrapper{
    margin: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-flow: row wrap;
}

header figure{
    width: 12.5%;
    margin: 0;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-flow: row wrap;
}

header nav{
    width: 35%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-flow: row wrap;
}

header nav ul{
    width: 100%;
   display: flex;
    justify-content: space-between;
    
}

header nav a{
    font-family: 'Old Standard TT', serif;
    font-weight: 400;
    font-size: 1em;
    color: #e2e2e2;
}

.current-page{
    border-bottom: 3px solid #ee9b4a;
}

footer{
    text-align: center;
    flex-direction: column;
}

footer .content-wrapper{
    width: 50%;
}

footer .social{
    display: flex;
    justify-content: center;
    align-items: center;
}

footer .social-icons{
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 100%;
}

footer .social p{
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #e79748;
    height: 40px;
    width: 40px;
    border-radius: 50%;
}

footer .social p{
    font-size: 1.5em;
}

footer .social p i{
    color: #e2e2e2;
}

footer .copyright{
    font-family: 'EB Garamond', serif;
    font-size: 0.75em;
    color: #d9d5d5;
}

/*======== Mobile - Homepage ======*/

/*hero area*/

.hero{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-flow: row wrap;
    background: url('../img/hero-img.jpg') center no-repeat;
    background-size: cover;
    min-height: 500px;
}

.hero h1{
    text-align: center;
    font-size: 1.875em;
}

/*about*/

.about{
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #ee9b4a;
    color: #d9d5d5;
}

.about .about-content{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-flow: column wrap;
}

.about h2{
    margin: 20px 0 15px 0;
}

.about figure{
    width: 100%;
}

/*process*/

.process{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-flow: row wrap;
    background-color: #e2e2e2;
}

.process h2{
    text-align: center;
    margin: 0;
}

.process .process-items{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-flow: column wrap;
}

.process-items article{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-flow: column wrap;
}

.fontawesome-icon{
    margin-top: 25px;
}

.fontawesome-icon i{
    color: #ee9b4a;
    font-size: 4.3em;
}

.process-item-description{
    text-align: center;
}

/*contact*/
/*in general rules*/


/*==== Work Page ====*/

.hero-work{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-flow: row wrap;
    background: url('../img/hero-img-work.jpg') center no-repeat;
    background-size: cover;
    min-height: 500px;
}

.hero-work h1{
    text-align: center;
}

/*project one*/

.project-one{
   display: flex;
    justify-content: center;
    align-items: center;
    flex-flow: row wrap;
    background-color: #ee9b4a;
    color: #d9d5d5;
}

.project-one figure{
    width: 100%;
}

.project-one h2{
   text-align: center;
    margin: 25px 0 15px 0;
}

.project-details{
   display: flex;
    justify-content: center;
    align-items: center;
    flex-flow: column wrap;
}

.project-tools{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-flow: column wrap;
}

.project-tools h3{
    margin: 0 0 15px 0;
}

.project-tools ul{
    margin: 0;
    margin-bottom: 25px;
    text-align: center;
}

/*project two*/

.project-two{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-flow: row wrap;
    background-color: #e2e2e2;
}

.project-two figure{
    width: 100%;
}

.project-two h2{
    text-align: center;
    margin: 25px 0 15px 0;
}



/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden {
  display: none !important;
}

/*
* Hide only visually, but have it available for screen readers:
* https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
*
* 1. For long content, line feeds are not interpreted as spaces and small width
*    causes content to wrap 1 word per line:
*    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
*/

.sr-only {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
  /* 1 */
}

/*
* Extends the .sr-only class to allow the element
* to be focusable when navigated to via the keyboard:
* https://www.drupal.org/node/897638
*/

.sr-only.focusable:active,
.sr-only.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  white-space: inherit;
  width: auto;
}

/*
* Hide visually and from screen readers, but maintain layout
*/

.invisible {
  visibility: hidden;
}

/*
* Clearfix: contain floats
*
* For modern browsers
* 1. The space content is one way to avoid an Opera bug when the
*    `contenteditable` attribute is included anywhere else in the document.
*    Otherwise it causes space to appear at the top and bottom of elements
*    that receive the `clearfix` class.
* 2. The use of `table` rather than `block` is only necessary if using
*    `:before` to contain the top-margins of child elements.
*/

.clearfix:before,
.clearfix:after {
  content: " ";
  /* 1 */
  display: table;
  /* 2 */
}

.clearfix:after {
  clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */


@media only screen and (min-width: 768px){
/*################   TABLET LAYOUT #########*/
    
    /*General*/

    .content-wrapper{
        max-width: 640px;
        margin: 100px 0;
    }
    
    h2{
        font-size: 1.875em;
        margin-top: 0;
    }
    
    h3{
        font-size: 1.5em;
    }
    
    p{
        font-size: 1.125em;
        line-height: 22px;
    }
    
    /*Header footer*/
    
  
    header .content-wrapper{
        width: 100%;
        padding: 10px 0;
    }
    
    header figure{
        width: 9%;
    }
    
    header nav{
        width: 30%;
    }
    
    header nav a{
        font-size: 1.5em;
    }
    
    footer .content-wrapper{
        margin: 50px 0;
    }
    
    footer .social{
        justify-content: center;
    }
    
    footer .social-icons{
        width: 12.5em;
        justify-content: space-between;
    }
    
    /*===Homepage Tablet====*/
    
/*hero section*/
    
    .hero{
        min-height: 600px;
    }
    
    .hero .content-wrapper{
        margin-top: 75px;
    }
    
    .hero h1{
        font-size: 2.625em;
        margin: 0;
    }
    
/*about section*/
    
    .about .content-wrapper{
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

       .about .content-wrapper figure{
        width: 50%;
    }
    
    .about .content-wrapper .about-content{
        width: 45%;
    }
    
    .about .about-content h2{
        margin-top: 0;
    }
    
/*process section*/
    
    .process .process-items{
        justify-content: space-between;
        align-items: flex-start;
        flex-flow: row wrap;
    }
    
    .process .process-items article{
        width: 45%;
    }
    
/*contact section*/
    
    .contact-btn {
        font-size: 1.875em;
    }
    
    
    /*=== Work page Tablet ===*/
    
/*hero-work section*/
    .hero-work{
        min-height: 600px;
    }
    
    .hero-work .content-wrapper{
        margin-top: 75px;
    }
    
    .hero-work h1{
        font-size: 2.625em;
        margin: 0;
    }
    
/*project-one section*/
    
    .project-one h2{
         margin-bottom: 25px;
    }
    
    .project-one h3{
        margin-bottom: 0;
    }
    
    .project-details{
        justify-content: space-between;
        flex-flow: row wrap;
    }
    
    .project-tools{
        width: 40%;
        align-items: flex-start;
    }
    
    .project-details .project-tools h3{
        width: 100%;
        text-align: center;
    }
    
    .project-tools ul{
        width: 100%;
        display: flex;
        justify-content: space-between; 
        align-items: center;
        flex-flow: row wrap;
    }
    
    .project-tools .half-list{
        width: 48%;
    }
    
    .project-description{
        width: 50%;
    }
    
/*project-two section*/
    .project-two h2{
        margin-bottom: 25px;
    }
    
    .project-two h3{
        margin-bottom: 0;
    }
    
}

@media only screen and (min-width: 1200px){
/*################   DESKTOP LAYOUT #########*/
 
/*general styles*/
    
    .content-wrapper{
        max-width: 960px;
    }
    
    h2{
        font-size: 3em;
    }
    
    h3{
        font-size: 2.25em;
    }
    
    p{
        font-size: 1.5em;
        line-height: 30px;
    }
    
/*header footer section*/
    
    header nav a{
        font-size: 2em;
    }
    
    .current-page{
        border-bottom: 4px solid #ee9b4a;
    }
    
    footer .copyright p{
        font-size: 1em;
    }
    
/*contact section*/

    .contact p{
        font-size: 1.875em;
        line-height: 36px;
    }
    
    .contact .content-wrapper{
        margin: 50px 0;
    }
    
    .contact-btn-link {
        width: 100%;
        display: flex;
        justify-content: flex-end;
    }
    
    .contact-btn-link a{
        width: 33%;
        padding: 25px;
    }
    
    .contact-btn{
        font-size: 2.125em;
    }
    
/*===== Homepage Desktop ======*/
    
/*hero section*/
    
    .hero h1{
        font-size: 3.75em;
    }
    
/*about section*/
    
    .about-content h2{
        margin: 0;
        margin-bottom: 25px;
    }
    
    /*process section*/

    .process .process-items article{
        width: 40%;
    }
    
    .process .process-items article h3{
        margin: 25px 0;
    }
    
/*======== Work page Desktop =========*/
    
    
/*hero section*/
   
    .hero-work h1{
        font-size: 3.75em;
    }
    
/*project-one section*/
    
    .project-one h2{
        margin: 30px 0;
    }
    
    .project-one h3{
        font-size: 1.875em;
    }
    
    .project-one li{
        font-size: 1.5em;
    }
    
    .project-tools{
        width: 45%;
    }
    
    
    .project-description{
        width: 45%;
    }
    
    .project-details .project-tools .half-list{
        width: 40%;
    }

/*Project-two section*/
    
    .project-two h2{
        margin: 30px 0;
    }
    
    .project-two h3{
        font-size: 1.875em;
    }
    
    .project-two li{
        font-size: 1.5em;
    }
    
}


@media only screen and (min-width: 35em) {
  /* Style adjustments for viewports that meet the condition */
}

@media print,
  (-webkit-min-device-pixel-ratio: 1.25),
  (min-resolution: 1.25dppx),
  (min-resolution: 120dpi) {
  /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
  *,
  *:before,
  *:after {
    background: transparent !important;
    color: #000 !important;
    /* Black prints faster */
    box-shadow: none !important;
    text-shadow: none !important;
  }
  a,
  a:visited {
    text-decoration: underline;
  }
  a[href]:after {
    content: " (" attr(href) ")";
  }
  abbr[title]:after {
    content: " (" attr(title) ")";
  }
  /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */
  a[href^="#"]:after,
  a[href^="javascript:"]:after {
    content: "";
  }
  pre {
    white-space: pre-wrap !important;
  }
  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }
  /*
     * Printing Tables:
     * https://web.archive.org/web/20180815150934/http://css-discuss.incutio.com/wiki/Printing_Tables
     */
  thead {
    display: table-header-group;
  }
  tr,
  img {
    page-break-inside: avoid;
  }
  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }
  h2,
  h3 {
    page-break-after: avoid;
  }
}

