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

/* main.css 3.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
   ========================================================================== */
@import url(font-awesome.min.css);
@import url("//fonts.googleapis.com/css?family=Source+Sans+Pro:300");
   
html {
  color: #222;
  font-size: 1em;
  line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * 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;
}

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

/* Box Model */

*, *:before, *:after {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
} 

html {
  height: 100%;
}

body {
  height: 100%;
  background-color: #ffffff;
  background-image: url("../img/bg.jpg") ; 
  background-repeat:      no-repeat;
  background-size:        cover;
  background-position:    bottom center;
  background-attachment:      fixed;
}

/* Main */


#main {
  position: relative;
  max-width: 100%;
  min-width: 27em;
  padding: 4.5em 3em 3em 3em ;
  background: #ffffff;
  border-radius: 4px;
  cursor: default;
  opacity: 0.95;
  text-align: center;
  -moz-transform-origin: 50% 50%;
  -o-transform-origin: 50% 50%;
  -webkit-transform-origin: 50% 50%;
  -ms-transform-origin: 50% 50%;
  transform-origin: 50% 50%;
  -moz-transform: rotateX(0deg);
  -o-transform: rotateX(0deg);
  -webkit-transform: rotateX(0deg);
  -ms-transform: rotateX(0deg);
  transform: rotateX(0deg);
  -moz-transition: opacity 1s ease, -moz-transform 1s ease;
  -o-transition: opacity 1s ease, -moz-transform 1s ease;
  -webkit-transition: opacity 1s ease, -webkit-transform 1s ease;
  -ms-transition: opacity 1s ease, -ms-transform 1s ease;
  transition: opacity 1s ease, transform 1s ease;
}

  #main .avatar {
      position: relative;
      display: block;
      margin-bottom: 1.5em;
  }

      #main .avatar img {
          display: block;
          margin: 0 auto;
          border-radius: 100%;
          box-shadow: 0 0 0 1.5em #ffffff;
      }

      #main .avatar:before {
          content: '';
          display: block;
          position: absolute;
          top: 50%;
          left: -3em;
          width: calc(100% + 6em);
          height: 1px;
          z-index: -1;
          background: #c8cccf;
      }

  @media screen and (max-width: 480px) {

      #main {
          min-width: 0;
          width: 100%;
          padding: 4em 2em 2.5em 2em ;
      }

          #main .avatar:before {
              left: -2em;
              width: calc(100% + 4em);
          }

  }

/* Footer */

#footer {
  -moz-align-self: -moz-flex-end;
  -webkit-align-self: -webkit-flex-end;
  -ms-align-self: -ms-flex-end;
  align-self: flex-end;
  width: 100%;
  padding: 1.5em 0 0 0;
  color: rgba(255, 255, 255, 0.75);
  cursor: default;
  text-align: center;
}

  #footer .copyright {
      margin: 0;
      padding: 0;
      font-size: 0.9em;
      list-style: none;
  }

      #footer .copyright li {
          display: inline-block;
          margin: 0 0 0 0.45em;
          padding: 0 0 0 0.85em;
          border-left: solid 1px rgba(255, 255, 255, 0.5);
          line-height: 1;
      }

          #footer .copyright li:first-child {
              border-left: 0;
          }


/* List */

ol {
  list-style: decimal;
  margin: 0 0 1.5em 0;
  padding-left: 1.25em;
}

  ol li {
      padding-left: 0.25em;
  }

ul {
  list-style: disc;
  margin: 0 0 1.5em 0;
  padding-left: 1em;
}

  ul li {
      padding-left: 0.5em;
  }

  ul.alt {
      list-style: none;
      padding-left: 0;
  }

      ul.alt li {
          border-top: solid 1px #c8cccf;
          padding: 0.5em 0;
      }

          ul.alt li:first-child {
              border-top: 0;
              padding-top: 0;
          }

  ul.icons {
      cursor: default;
      list-style: none;
      padding-left: 0;
      margin-top: -0.675em;
  }

      ul.icons li {
          display: inline-block;
          padding: 0.675em 0.5em;
      }

          ul.icons li a {
              text-decoration: none;
              position: relative;
              display: block;
              width: 3.75em;
              height: 3.75em;
              border-radius: 100%;
              border: solid 1px #c8cccf;
              line-height: 3.75em;
              overflow: hidden;
              text-align: center;
              text-indent: 3.75em;
              white-space: nowrap;
          }

              ul.icons li a:before {
                  -moz-osx-font-smoothing: grayscale;
                  -webkit-font-smoothing: antialiased;
                  font-family: FontAwesome;
                  font-style: normal;
                  font-weight: normal;
                  text-transform: none !important;
              }

              ul.icons li a:before {
                  color: #ffffff;
                  text-shadow: 1.25px 0 0 #c8cccf, -1.25px 0 0 #c8cccf, 0 1.25px 0 #c8cccf, 0 -1.25px 0 #c8cccf;
              }

              ul.icons li a:hover:before {
                  text-shadow: 1.25px 0 0 #ff7496, -1.25px 0 0 #ff7496, 0 1.25px 0 #ff7496, 0 -1.25px 0 #ff7496;
              }

              ul.icons li a:before {
                  position: absolute;
                  top: 0;
                  left: 0;
                  width: inherit;
                  height: inherit;
                  font-size: 1.85rem;
                  line-height: inherit;
                  text-align: center;
                  text-indent: 0;
              }

              ul.icons li a:hover {
                  border-color: #ff7496;
              }

      @media screen and (max-width: 480px) {

          ul.icons li a:before {
              font-size: 1.5rem;
          }

      }

  ul.actions {
      cursor: default;
      list-style: none;
      padding-left: 0;
  }

      ul.actions li {
          display: inline-block;
          padding: 0 0.75em 0 0;
          vertical-align: middle;
      }

          ul.actions li:last-child {
              padding-right: 0;
          }

dl {
  margin: 0 0 1.5em 0;
}

  dl dt {
      display: block;
      margin: 0 0 0.75em 0;
  }

  dl dd {
      margin-left: 1.5em;
  }


/* Type */

body, input, select, textarea {
  color: #414f57;
  font-family: "Source Sans Pro", Helvetica, sans-serif;
  font-size: 14pt;
  font-weight: 300;
  line-height: 2;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

  @media screen and (max-width: 1680px) {

      body, input, select, textarea {
          font-size: 11pt;
      }

  }

  @media screen and (max-width: 480px) {

      body, input, select, textarea {
          font-size: 10pt;
          line-height: 1.75;
      }

  }

a {
  -moz-transition: color 0.2s ease, border-color 0.2s ease;
  -o-transition: color 0.2s ease, border-color 0.2s ease;
  -webkit-transition: color 0.2s ease, border-color 0.2s ease;
  -ms-transition: color 0.2s ease, border-color 0.2s ease;
  transition: color 0.2s ease, border-color 0.2s ease;
  color: inherit;
  text-decoration: none;
}

  a:before {
      -moz-transition: color 0.2s ease, text-shadow 0.2s ease;
      -o-transition: color 0.2s ease, text-shadow 0.2s ease;
      -webkit-transition: color 0.2s ease, text-shadow 0.2s ease;
      -ms-transition: color 0.2s ease, text-shadow 0.2s ease;
      transition: color 0.2s ease, text-shadow 0.2s ease;
  }

  a:hover {
      color: #ff7496;
  }

strong, b {
  color: #313f47;
}

em, i {
  font-style: italic;
}

p {
  margin: 0 0 1.5em 0;
}

h1, h2, h3, h4, h5, h6 {
  color: #313f47;
  line-height: 1.5;
  margin: 0 0 0.75em 0;
}

  h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
      color: inherit;
      text-decoration: none;
  }

h1 {
  font-size: 1.85em;
  letter-spacing: 0.22em;
  margin: 0 0 0.525em 0;
}

h2 {
  font-size: 1.25em;
}

h3 {
  font-size: 1em;
}

h4 {
  font-size: 1em;
}

h5 {
  font-size: 1em;
}

h6 {
  font-size: 1em;
}

@media screen and (max-width: 480px) {

  h1 {
      font-size: 1.65em;
  }

}

sub {
  font-size: 0.8em;
  position: relative;
  top: 0.5em;
}

sup {
  font-size: 0.8em;
  position: relative;
  top: -0.5em;
}

hr {
  border: 0;
  border-bottom: solid 1px #c8cccf;
  margin: 3em 0;
}



/* Wrapper */

#wrapper {
  display: -moz-flex;
  display: -webkit-flex;
  display: -ms-flex;
  display: flex;
  -moz-align-items: center;
  -webkit-align-items: center;
  -ms-align-items: center;
  align-items: center;
  -moz-justify-content: space-between;
  -webkit-justify-content: space-between;
  -ms-justify-content: space-between;
  justify-content: space-between;
  -moz-flex-direction: column;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
  -moz-perspective: 1000px;
  -webkit-perspective: 1000px;
  -ms-perspective: 1000px;
  perspective: 1000px;
  position: relative;
  min-height: 100%;
  padding: 1.5em;
  z-index: 2;
}

  #wrapper > * {
      z-index: 1;
  }

  #wrapper:before {
      content: '';
      display: block;
  }

  @media screen and (max-width: 360px) {

      #wrapper {
          padding: 0.75em;
      }

  }

  body.is-ie #wrapper {
      height: 100%;
  }

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

/*
 * Hide visually and from screen readers
 */

.hidden,
[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
 */

.visually-hidden {
  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 .visually-hidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visually-hidden.focusable:active,
.visually-hidden.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
 *
 * 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: "";
  display: table;
}

.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: 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: #fff !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;
  }

  tr,
  img {
    page-break-inside: avoid;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }
}



