/*! 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 {
  height: 100%;
  width: 100%;
  color: #fff;
  font-size: 1em;
  line-height: 1.4;
  z-index: 0;
}

canvas {
  outline: none;
}

/*
 * 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 {
  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 fonts
   ========================================================================== */
  @font-face {
    font-family: title;
    src: url(../fonts/Barlow-Bold.ttf);
  }
  @font-face {
    font-family: subtitle;
    src: url(../fonts/Barlow-Regular.ttf);
  }
  @font-face {
    font-family: paragraph;
    src: url(../fonts/Lato-Regular.ttf);
  }
/* ==========================================================================
   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
 */

.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;
  }
}

/* UNIQUE SYTLES */
  #donations {
    color: #F73545;
    text-align: center;
    position: absolute;
    top: 50%;
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    left: 50%;
    font-family: subtitle;
    border: 1px solid #fff;
    z-index: 0;
  }

  #wallet_id {
    width: auto;
    font-size: 20px;
    background: #fff;
    padding: 5px 10px;
    color: #000;
  }

body {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  background: #000000;
}
  
  #logo {
    position: fixed;
    top: 20px;
    left: 20px;
    background-image: url(../img/LOGO.png);
    background-size: cover;
    width: 250px;
    height: 30px;
    text-align: center;
    cursor: pointer;
  }
  
  .para {
    top: 50%;
    left: 50%;
    -ms-transform:  translate(-50%, -50%);
    transform:  translate(-50%, -50%);
    font-family: paragraph;
    width: 80%;
    position: absolute;
    text-align: center;
  }
  
  .dl {
    font-size: 8pt;
    color: #7F7F7F;
    vertical-align: middle;
    margin-right: 8px;
  }
  
  .para a {
    color: #F73545;
    text-decoration: none;
    transition: .2s;
  }
  
  .para a:hover {
    color: #fff;
    text-decoration: underline;
    transition: .2s;
  }
  
  .cta {
    font-family: paragraph;
    text-align: center;
    color: #F73545;
    background: #000;
    margin-top: 2%;
    padding: 10px 20px 10px 20px;
    width: 200px;
    left: calc(50% - 121px);
    position: relative;
    transition: .2s;
    border: 1px solid #fff;
  }
  
  .cta:hover {
    border: 1px solid #fff;
    color: #000;
    background: #fff;
    cursor: pointer;
    transition: .2s;
  }
  
.topnav {
  font-family: paragraph;
  overflow: hidden;
  margin: 20px;
  position: absolute;
  right: 0;
  top: 0;
}

.topnav a {
  display: block;
  float: left;
  color: #F73545;
  text-align: center;
  padding: 5px 10px;
  text-decoration: none;
  font-size: 17px;
  border: 1px solid #000;
  transition: .2s;
}

.topnav a:hover {
  background-color: #fff;
  border: 1px solid #fff;
  color: black;
  transition: .2s;
}

.topnav a:active {
  background-color: #fff;
  color: white;
}

.topnav .icon {
  display: none;
}

.topnav .icon:hover {
  background: none;
}
.topnav.responsive .icon:hover {
  background: none;
}

.topnav .icon div {
  height: 4px;
  margin-top: 6px;
  width: 30px;
  background: #fff;
  display: block;
}

.footer {
  color: #737373;
  text-align: center;
  position: fixed;
  bottom: 5px;
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  left: 50%;
  font-family: subtitle;
  z-index: -1;
  font-size: 13px;
}

#products_wrapper {
 text-align: center;
 width: 100%;
 height: auto;
 margin-top: 100px;
}

#product_wrapper {
 width: 100%;
 height: auto;
 margin-top: 100px;
}

.product {
  display: inline-block;
  width: 300px;
  margin: 20px;
  cursor: pointer;
}

.product img {
  opacity: .5;
  transition: .2s;
}

.product:hover img {
  opacity: 1;
  transition: .2s;
}
.product .title {
  font-family: subtitle;
  text-align: center;
  color: #fff;
  background: #000;
  width: calc(100% - 30px);
  padding: 10px 15px;
  transition: .2s;
}

.product:hover .title {
  color: #000;
  background: #F73545;
  transition: .2s;
}

.product img {
  width: 100%;
  overflow: hidden;
}

#model {
  display: inline-block;
  margin: 0%  5%;
  width: 39%;
  height: 50%;
  min-height: 400px;
}

#product_page_container {
  display: flex;
  position: absolute;
  top: 50%;
  width: 100%;
  -ms-transform: translate(0, -50%);
  transform: translate(0, -50%);
}

#action_buttons {
  width: 40%;
  margin: 0% 5%;
  display: inline-block;
  vertical-align: middle;
}

#action_buttons a {
  font-family: paragraph;
  text-decoration: none;
  display: inline-block;
  padding: 10px 15px;
  color: #F73545;
  background: ;
  transition: .2s;
}

#action_buttons p a {
  font-family: paragraph;
  text-decoration: none;
  display: inline-block;
  padding: 0;
  color: #F73545;
  background: ;
  transition: .2s;
}

#action_buttons p a:hover {
  background: none;
  text-decoration: underline;
  color: #fff;
}


#action_buttons .row {
  font-family: paragraph;
  text-decoration: none;
  display: block;
  padding: 10px 0px;
  color: #F73545;
  background: ;
  transition: .2s;
}

#action_buttons .changer {
  font-family: paragraph;
  text-decoration: none;
  display: inline-block;
  padding: 10px 15px;
  color: #fff;
  background: ;
  transition: .2s;
}

#action_buttons p {
  display: inline-block;
  font-family: paragraph;
}

#action_buttons a:hover {
  color: #000;
  background: #fff;
  transition: .2s;
}

form {
  font-family: paragraph;
  width: 600px;
  top: 50%;
  left: calc(50% - 300px);
  position: absolute;
  transform: translate(0%, -50%);
  text-align: center;
  
}

input, textarea {
  width: calc(100% - 40px);
  padding: 15px 20px;
  margin: 20px 0px;
  border: none;
  outline: none;
  background: #BCB8B8;
  color: #000;
}

form input[type=text]:focus, form textarea:focus {

  background: #fff;

}

input[type=submit] {
  width: 100%;
  background-color: #F73545;
  color: #000;
  border: none;
  cursor: pointer;
  text-align: center;
  transition: .2s;
}

input[type=submit]:hover {
  background-color: #fff;
  color: #000;
  transition: .2s;
}


@media screen and (max-width: 750px) {
  #model {
    display: block;
    margin: 0% 30%;
  }
  
  #action_buttons {
    display: block;
    width: 90%;
  }
}

@media screen and (max-width: 600px) {
  .topnav a {display: none;}
  .topnav a.icon {
    float: right;
    display: block;
    height: 30px;
    width: 30px;
    margin: 0 auto;
    padding: 0;
    border: 0px;
  }
}

@media screen and (max-width: 600px) {
  .topnav.responsive {
    top: 0;
    left: 0;
    position: absolute;
    height: 100%;
    width: 100%;
    margin: 0;
    z-index: 100;
    }
  .topnav.responsive .icon {
    top: 20px;
    right: 20px;
    position: absolute;
    display: block;
    height: 30px;
    width: 30px;
    margin: 0 auto;
    padding: 0;
    border: 0px;
    background: none;
  }
  
  }
  .topnav.responsive a {
    float: none;
    display: flex;
    justify-content: center; /* align horizontal */
    align-items: center;
    text-align: center;
    color: #fff;
    background: #000;
    height: calc(100% / 3);
    z-index: 100;
    border: 0;
  }
  
  .topnav.responsive a:hover {
    background: #F73545;
    color: #000;
  }
}

#video {
  left: 50%;
  top: 50%;
  margin: 0 auto;
  display: block;
  position: fixed;
  z-index: -100;
  transform: translate(-50%, -50%);
}

#bg-img {
  width: 100%;
  height: 100%;
  background-image: url(../img/background_image.png);
  background-color: rgba(0,0,0,.6);
}
