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

/* main.css 1.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: #cdcdcd;
    font-size: 1em;
    line-height: 1.4;
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow: hidden;
    background-color: #fff;
    scroll-behavior: smooth;
}



body {
    position: absolute;
    top: 60px;
    left: 20px;
    bottom: 0px;
    right: 20px;
    padding: 0px;
    overflow-y: hidden;
    overflow-x: hidden;
    -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
    scroll-behavior: smooth;
    background-color: #ffffff;
    background-size: cover;
}


      #fader {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 999999;
        pointer-events: none;
        background: #fff;
        animation-duration: 500ms;
        animation-timing-function: ease-in-out;
      }

      #fader:before {
        content: 'fade'
      }

      @keyframes fade-out {
        from { opacity: 1 }
        to { opacity: 0 }
      }

      @keyframes fade-in {
        from { opacity: 0 }
        to { opacity: 1 }
      }

      #fader.fade-out {
        opacity: 0;
        animation-name: fade-out;
      }

      #fader.fade-in {
        opacity: 1;
        animation-name: fade-in;
      }


/* width */
::-webkit-scrollbar {
    width: 5px;
    background-color: transparent;
    -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}

/* Track */
::-webkit-scrollbar-track {
    background-color: transparent;
    margin: 40px 0 40px 0;
    border-radius: 5px;
    -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}
 
/* Handle */
::-webkit-scrollbar-thumb {
    background-color: rgba(255,255,255,0.3);
    width: 5px;
    border-radius: 5px;
    -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background-color: #c8ab99;
}



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

::selection {
    background: #ccc;
    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
   ========================================================================== */

.blue {
    color: #303f57;
}

.peach {
    color: #c8ab99;
}

.clear {
    clear: both;
}

h1, h2, h3, h4, h5 {
    text-transform: uppercase;
}



/* MENU */

.menu {
    position: fixed;
    top: 0px;
    height: 60px;
    line-height: 60px;
    width: calc(100% - 40px);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size:12px;
    -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
    text-align: center;
}

a.monogram {
    margin: auto;
    width: 100%;
    max-width: 120px;
    display: block;
    height: 40px;
    position: relative;
}

.monogram img {
    width: auto;
    height: 40px;
    opacity: 0.7;
}

.email {
    float: left;
    height: 60px;
    width: 60px;
    line-height: 60px;
    display: inline-block;
    opacity: 0.5;
    position: absolute;
    left: 0;
    top:0;
    -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
    z-index: 2;
}

.email img {
    height: 20px;
}

.insta {
    float: right;
    height: 60px;
    width: 60px;
    line-height: 60px;
    display: inline-block;
    opacity: 0.5;
    position: absolute;
    right: 0;
    top:0;
    -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
    z-index: 2;
}

.insta img {
    height: 20px;
    
}

.email:hover, .insta:hover{
    opacity: 0.9;
}



.noselect {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}














