/*! HTML5 Boilerplate v8.0.0 | MIT License | https://html5boilerplate.com/ */

/* main.css 2.1.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: #4c4947;
  font-size: 1em;
  line-height: 1.4;
  font-family: minion-pro, serif;
  font-weight: 400;
  font-style: normal;
  background-color:#fffaf3;
}

/*
 * 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 #4c4947;
  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
   ========================================================================== */
  /*-------------
  Typografie
  -------------*/

h1 {
    font-family: minion-pro, serif;
    color: #4c4947;
    font-weight: 400;
    font-style: normal;
    font-size:60px;
    line-height:64px;
  }

 p { font-family: minion-pro, serif;
      font-size:24px;
      line-height:34px;
      font-display:auto;font-style:italic;font-weight:400;
      color: #4c4947;
    }

a.button {
  font-size:19px;
  line-height:19px;
  font-display:auto;font-style:italic;font-weight:400;
  color:#4c4947;
  display:inline-block;
  border: 1px solid #4c4947;
  padding:16px 55px 16px 55px;
  text-decoration: none;
}

section p{
  text-align: center;
  margin-bottom: 20px;
  margin-top:20px;
  padding: 0 10px;
}

h1.callout {
}

div.wrap {
  position: relative;
  padding-bottom:20px;
}
a.newsletter-signup {
  position:absolute;
  bottom:-90px;
  left:-60px;
}
a.social-link {
  color: #4c4947;
  text-decoration: none;
}
a.social-link:hover, a.newsletter-signup:hover, .button:hover, a:hover, a#myBtn:hover {
  opacity: 0.8;
  transition: all 0.4s ease-in-out:
}


/*-------------
 General
-------------*/

section {
color: #4c4947;
display: flex;
flex-direction: column;
align-items: center;
//padding: 125px 100px;
}
section h1 {
  max-width:900px;
}
/*----------------
Main Section
----------------*/


.main {
position: relative;
justify-content: center;
min-height: 100vh;
text-align: center;
}

.social-icon-box {
  margin: 30px auto 30px auto;
  display: flex;
  justify-content:center;
}

i.social-icon {
  display:flex;
}

@media (min-width: 1200px){

  .modal-content {

  margin: 10% auto; /* 10% from the top and centered */
  padding: 40px;
  max-width: 55%; /* Could be more or less, depending on screen size */
}
}
@media (max-width: 982px){

section{
  padding: 90px 50px;
}
a.newsletter-signup {
  bottom:-66px;
  left:-15px;
}
}

@media (max-width: 768px){
  section img {
    max-width: 70%;
  }

  h1.callout {
    padding-bottom:50px;
    padding-top:50px;
  }

  a.newsletter-signup {
    position:absolute;
    bottom:-100px;
    left:-15px;
  }

  newsletter-signup img {
    max-width:100px;
    max-height:100px;
  }
  section h1 {
    margin-top:0;
    margin-bottom:0;
    font-size:50px;
    line-height:52px;

  }
}


@media (max-width: 600px){

section{
  padding: 10px;
}
section img {
  max-width: 60%;
}
div.wrap {
  padding-bottom:10px;
}
a.newsletter-signup {
  position:absolute;
  bottom:-20px;
  left:-15px;
}

newsletter-signup img {
  max-width:100px;
  max-height:100px;
}

section h1 {
  margin-top:0;
  margin-bottom:0;
  font-size:32px;
  line-height:35px;
  text-align: center;
}
section p {
  font-size: 17px;
  line-height:20px;
}
a.button {
  font-size:13px;
  padding:10px 40px 10px 40px;
}
[class^="icon-"]:before, [class*=" icon-"]:before {
  font-size:32px;
}

.

#icons i.social-icon, #icons .icon-linkedin:before,
#icons i.social-icon, #icons .icon-mail:before,
#icons i.social-icon, #icons .icon-twitter:before {

font-size:32px;
}
.social-icon-box {
  margin: 20px auto 10px auto;
}
}
@media (max-width: 416px){
  h1.callout {
    padding-bottom:40px;
    padding-top:25px;
  }
  section h1 {
    font-size:32px;
    line-height:35px;
}
a.newsletter-signup {
  position:absolute;
  bottom:-30px;
  left:0;
}
.newsletter-signup img {
  max-width:95px;
  max-height:95px;
}
div.wrap {
  padding-bottom:30px;
}
}

@media (max-width: 340px){
.newsletter-signup img {
  max-width:85px;
  max-height:85px;
}
h1.callout {
  padding-bottom:20px;
  padding-top:15px;

}
  }



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

/*
 * Hide visually and from screen readers
 */

.hidden,
[hidden] {
  display: none !important;
}

.dotted {
  outline: 1px dotted grey;
}
/*
 * 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: " ";
  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;
  }

  /*
   * 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;
  }
}

/*-------------
the MODAL
-------------*/

/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
  transition: all 0.6s ease;
}

/* Modal Content/Box */
.modal-content {
  background-color: #fffaf3;
  margin: 15% auto; /* 15% from the top and centered */
  padding: 20px;
  width: 80%; /* Could be more or less, depending on screen size */
  transition: all 0.6s ease;
}

/* The Close Button */
.close {
  color: #4c4947;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

/*-------------
MAILCHIMP styling
-------------*/
#mc_embed_signup .button {
  background-color: #9b938e!important;
}

/*-------------
FONTELLO icon fonts
-------------*/


@font-face {
  font-family: 'fontello';
  src: url('../fonts/fontello.eot?60880553');
  src: url('../fonts/fontello.eot?60880553#iefix') format('embedded-opentype'),
       url('../fonts/fontello.woff2?60880553') format('woff2'),
       url('../fonts/fontello.woff?60880553') format('woff'),
       url('../fonts/fontello.ttf?60880553') format('truetype'),
       url('../fonts/fontello.svg?60880553#fontello') format('svg');
  font-weight: normal;
  font-style: normal;
}
/* Chrome hack: SVG is rendered more smooth in Windozze. 100% magic, uncomment if you need it. */
/* Note, that will break hinting! In other OS-es font will be not as sharp as it could be */
/*
@media screen and (-webkit-min-device-pixel-ratio:0) {
  @font-face {
    font-family: 'fontello';
    src: url('../font/fontello.svg?60880553#fontello') format('svg');
  }
}
*/


 [class^="icon-"]:before, [class*=" icon-"]:before {
  font-family: "fontello";
  font-style: normal;
  font-weight: normal;
  speak: never;
  font-size:30px;



  display: inline-block;
  text-decoration: inherit;
  width: 1em;
  margin-right: .2em;
  text-align: center;
  /* opacity: .8; */

  /* For safety - reset parent styles, that can break glyph codes*/
  font-variant: normal;
  text-transform: none;

  /* fix buttons height, for twitter bootstrap */
  line-height: 1em;

  /* Animation center compensation - margins should be symmetric */
  /* remove if not needed */
  margin-left: .2em;

  /* you can be more comfortable with increased icons size */
  /* font-size: 120%; */

  /* Font smoothing. That was taken from TWBS */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

  /* Uncomment for 3D effect */
  /* text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3); */
}

.icon-mail:before { content: '\e800';font-size:28px; } /* '' */
.icon-mail-alt:before { content: '\f0e0'; } /* '' */
.icon-youtube-squared:before { content: '\f166'; } /* '' */
.icon-youtube:before { content: '\f167'; } /* '' */
.icon-instagram:before { content: '\f16d'; position: relative; top: 1px; } /* '' */

