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

/* main.css 2.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: #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
   ========================================================================== */

.wrapper {
  position: relative;
}

.stickers {
  padding: 2.5%;
  box-sizing: border-box;
  margin: auto;
  list-style: none;
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-flex-flow: row nowrap;
  justify-content: space-between;
  align-items: stretch;
  flex-wrap: wrap;
  position: relative;
  height: 90%;
}

.stickers .sticker {
  width: 15%;
  height: 180px;
  margin-bottom: 25px;
  position: relative;
  display: inline-block;
}

.stickers .sticker.title {
  width: 32%;
  height: 180px;
}

.stickers .sticker.title > a {
  width: 53%;
}

.stickers .sticker > a {
  width: 100%;
  height: 100%;
  position: relative;
}

.stickers .sticker > a {
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  position: absolute;
  width: 70%;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
  height: auto;
  display: block;
}

.stickers .sticker > a img {
  width: 100%;
}

.stickers .sticker > a a {
  position: relative;
  display: block;
}

.stickers .sticker.zoom:hover  {
}

.stickers .sticker.zoom:hover > a{
  width: 80%;
}

.stickers .sticker.rotate:hover {
  -webkit-animation-name: spin;
  -webkit-animation-duration: 4000ms;
  -webkit-animation-iteration-count: infinite;
  -webkit-animation-timing-function: linear;
  -moz-animation-name: spin;
  -moz-animation-duration: 4000ms;
  -moz-animation-iteration-count: infinite;
  -moz-animation-timing-function: linear;
  -ms-animation-name: spin;
  -ms-animation-duration: 4000ms;
  -ms-animation-iteration-count: infinite;
  -ms-animation-timing-function: linear;
  
  animation-name: spin;
  animation-duration: 4000ms;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
}

@-ms-keyframes spin {
    from { -ms-transform: rotate(0deg); }
    to { -ms-transform: rotate(360deg); }
}
@-moz-keyframes spin {
    from { -moz-transform: rotate(0deg); }
    to { -moz-transform: rotate(360deg); }
}
@-webkit-keyframes spin {
    from { -webkit-transform: rotate(0deg); }
    to { -webkit-transform: rotate(360deg); }
}
@keyframes spin {
    from {
        transform:rotate(0deg);
    }
    to {
        transform:rotate(360deg);
    }
}

.stickers .sticker.tilt:hover {
 
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;

  -ms-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
  transform:rotate(45deg);

}


.stickers .sticker.tilt90:hover {
 
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;

  -ms-transform: rotate(90deg);
  -moz-transform: rotate(90deg);
  -webkit-transform: rotate(90deg);
  transform:rotate(90deg);

}

.stickers .sticker.tilt-45:hover {
 
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;

  -ms-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -webkit-transform: rotate(-45deg);
  transform:rotate(-45deg);

}

.logo_artotelgroup {
  width: 145px;
  height: auto;
}

.footer {
  width: 100%;
  box-sizing: border-box;
  padding: 2.5%;
  position: absolute;
  bottom: 0px;
}

.footer a {
  font-family: "serif";
  text-decoration: none;
  color: #00ff00;
  font-size: 26px;
}

.footer .left,
.footer .right {
  width: 50%;
}

.footer .left {
  float: left;
}

.footer .left a {
  margin-right: 5%;
}

.footer .right {
  float: right;
  text-align: right;
}

.footer .right a {
  margin-left: 5%;
}

.footer a:hover {
  opacity: 0.4;
  -webkit-transition: all 0.5s;
  -moz-transition: all 0.5s;
  -o-transition: all 0.5s;
  transition: all 0.5s;
}

.loading {
  position: fixed;
  top: 0px;
  left: 0px;
  right: 0px;
  bottom: 0px;
  z-index: 99;
  background-color: #FFFFFF;
}

.clickbuy {
  position: fixed;
  width: 160px;
  -webkit-transition: all 0.5s;
  -moz-transition: all 0.5s;
  -o-transition: all 0.5s;
  transition: all 4s;
}

.clickbuy {
  top: -50%;
  left: 50%;
  transform: translate(-50%,-50%);

  position: fixed;
  width: 160px;

  -webkit-animation-name: rains;
  -webkit-animation-duration: 36000ms;  /* total items x duration */
  -webkit-animation-iteration-count: infinite;
  -webkit-animation-timing-function: linear;
  -moz-animation-name: rains;
  -moz-animation-duration: 36000ms; /* total items x duration */
  -moz-animation-iteration-count: infinite;
  -moz-animation-timing-function: linear;
  -ms-animation-name: rains;
  -ms-animation-duration: 36000ms; /* total items x duration */
  -ms-animation-iteration-count: infinite;
  -ms-animation-timing-function: linear;

  animation-name: rains;
  animation-duration: 36000ms; /* total items x duration */
  animation-iteration-count: infinite;
  animation-timing-function: linear;
}

.clickbuy.clickbuy3 {

  animation-delay: 3s;
}

.clickbuy.clickbuy4 {
  top: -50%;
  left: 17.5%;
  animation-delay: 25s; /* item #2 delay + duration */
}

.clickbuy.clickbuy5 {
  top: -50%;
  left: unset;
  right: 5%;
  animation-delay: 15s; /* item #1 delay + duration */
}


@keyframes rains {
    0% {
      top: -50%;
    }

    33% {
      top: 130%;
    }

    66% {
      top: 150%;
    }

    100% {
      top: 300%;
    }
}

.clickbuy2 {
  position: fixed;
  width: 160px;

  -webkit-animation: rain 6s steps(6) infinite;
  -moz-animation: rain 6s steps(6) infinite;
  -o-animation: rain 6s steps(6) infinite;
  animation: rain 6s steps(6) infinite;
}


@keyframes rain {
    0% {
      top: -20%;
    }

    100% {
      top: 120%;
    }
}

.stickers .sticker.mobile-only {
  display: none;
}

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

.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: " ";
  /* 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 (max-width: 1080px) {

  .stickers {
    height: auto;
  }

  .clickbuy {
    top: -50%;
    left: 50%;
    transform: translate(-50%,-50%);

    position: fixed;
    width: 160px;

    -webkit-animation-name: rains;
    -webkit-animation-duration: 12000ms;  /* total items x duration */
    -webkit-animation-iteration-count: infinite;
    -webkit-animation-timing-function: linear;
    -moz-animation-name: rains;
    -moz-animation-duration: 12000ms; /* total items x duration */
    -moz-animation-iteration-count: infinite;
    -moz-animation-timing-function: linear;
    -ms-animation-name: rains;
    -ms-animation-duration: 12000ms; /* total items x duration */
    -ms-animation-iteration-count: infinite;
    -ms-animation-timing-function: linear;

    animation-name: rains;
    animation-duration: 12000ms; /* total items x duration */
    animation-iteration-count: infinite;
    animation-timing-function: linear;
  }

  @keyframes rains {
      0% {
        top: -50%;
      }

      100% {
        top: 130%;
      }
  }

  .clickbuy.clickbuy4,
  .clickbuy.clickbuy5 {
    display: none;
  }


  .stickers .sticker.desktop-only {
    display: none;
  }

  .stickers .sticker.mobile-only {
    display: block;
  }

  .stickers .sticker.title.mobile-only {
    width: 100%;
    margin-bottom: 5%;
    height: auto;
    position: fixed;
    z-index: 99;
    top: 5%;
    left: 0px;
  }

  .stickers .sticker.title.mobile-only > a {
    width: 30%;
    position: relative;
    transform: none;
    left: initial;
    top: initial;
    margin: auto;
  }

  .stickers {
    padding: 5% 5%;
    padding-top: 20%;
    padding-bottom: 20%;
    overflow: hidden;
  }

  .stickers .sticker {
    width: 25%;
  }

  .stickers {
    display: block;
  }

  .stickers .sticker {
    float: left;
    margin-bottom: 0px;
  }

  .footer {
    padding: 5%;
    position: fixed;
  }

  .footer .left,
  .footer .right {
    position: fixed;
    bottom: 5%;
  }

  .footer .left {
    left: 5%;
  }

  .footer .right {
    right: 5%;
  }

  .footer a {
    font-size: 22px;
    display: block;
  }
}

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

  .clickbuy {
    width: 90px;
  }

  .stickers {
    padding: 12% 5%;
    padding-top: 40%;
    padding-bottom: 40%;
  }

  .stickers .sticker {
    width: 50%;
    height: 150px;
    margin-bottom: 0px;
  }

  .stickers .sticker > a {
    
  }

  .stickers .sticker.title.mobile-only {
    top: 7%;
  }

  .stickers .sticker.title.mobile-only > a {
    width: 50%;
    margin-bottom: 10%;
  }

  .footer a {
    font-size: 16px;
  }

  .logo_artotelgroup {
    width: 95px;
  }

}

@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: 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:
     * 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;
  }
}

