/*! HTML5 Boilerplate v6.1.0 | MIT License | https://html5boilerplate.com/ */

/*
 * 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
   ========================================================================== */
body, html {
font-family: 'Lato', sans-sans-serif;
font-size: 16px;
color: #000;
background-color: #FFF0D7;

}

a{
  font-weight: 700;
  color: #561643;
  text-decoration: none;
}

p {
  font-size: 1em;
  line-height: 1.4;
}

img {
  width: 100%;
  height: auto;
}


h1, h2, h3, h4 {
  font-weight: 700;
  font-family: 'Libre Baskerville', serif;
  color: #561643;
}

h1 {
  font-size: 1.2em;

}

h2 {
  font-size: 1.1em;
  padding-top:15px;

}
figure {
  margin: 0;
}

ul li {
  padding-bottom: 5px;
}

/* HEADER */


header {
  width:96%;
  padding: 0 2%;
  max-width: 960px;
  margin: auto;
}

.head-info {
  width: 100%;
}

nav {
  width:100%;
}

nav ul {
  list-style: none;
  padding:0;
}

nav ul li {
  border-bottom: 1px solid #561643;
  text-align: center;
  padding: 5px 0;
}

nav ul li a {
  font-size: 0.8em;
  text-transform: uppercase;
  color: #561643;
}


header h1 {
  font-family: 'Tangerine', cursive;
  font-size: 2.5em;
  margin-bottom: 0;
  margin-left:0;
  line-height: 0.5;
}

header h2 {
  font-size:0.8em;
  padding-top: 0;
  margin-left:2%;
}

/* MAIN */

main {
 width: 96%;
 padding: 0 2%;
 margin: auto;
 max-width: 960px;
 clear: both;
}


/*About section */

#about {
  width:100%;
  padding: 2% 0;
  border-bottom: 1px solid #561643;

}



.about-image {
  width:100%;
  padding: 20px 0;
}

.about-image img{
  width:100%;
  border: 1px solid #561643;
}

.about-info {
  width:100%;
}

.about-info p {
  padding-bottom: 2%;
}

/*WORK */

#work {
  clear:both;
  width:100%;
  padding: 2% 0;
  border-bottom: 1px solid #561643;
}



/* CONTACT */
#contact {
  width:100%;
  padding: 2% 0;
  border-bottom: 1px solid #561643;
}



#contact h1{
margin-bottom: 0;
}

.contact-info {
  width:100%;
}

.contact-info i{
  color: #561643;
  padding-right:3px;
}


/*FOOTER */

footer {
  width:96%%;
  padding-left: 2%;
  padding-right: 2%;
  margin:auto;
  text-align: center;
  padding-top:20px;
  margin-top:20px;
  clear:both;
}

footer p {
  font-size: 0.8em;
  line-height: 1em;
}

footer span {
  font-family: 'Tangerine', cursive;
  font-size:1.5em;
  color: #561643;
}


/* ==========================================================================
   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
 */

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

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

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

/*
 * 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 styles here */

/*TABLET HEADER */

.header-wrapper {
  border-bottom: 1px solid #561643;
}

.head-info {
  width: 50%;
  float:left;
}

nav {
  width:50%;
  float:left;
}

nav ul {
  margin:0;
  padding: 30px 0;
  text-align:right;
}

nav ul li {
  display:inline;
  padding: 0 2%;
  border: none;
  position: relative;
}

/* About Tablet */

.about-info {
  width:50%;
  margin-right:3%;
  float:left;
}

.about-info p{
  margin-left: 5%;
}
.about-image {
  width:40%;
  float:right;
}

/* WORK TABLET */


/*CONTACT INFO */


.contact-info {
  width:100%;
  margin-left:4%;
}



@media only screen and (min-width:940px) {
  /* Desktop styles here */



/* ==========================================================================
   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 */
        -webkit-box-shadow: none !important;
        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:
     * 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;
    }
}
