/*! HTML5 Boilerplate v7.3.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;
}

@font-face {
  font-family: 'hvd_poster_cleanregular';
  src: url('hvd_poster_clean-webfont.woff2') format('woff2'),
       url('hvd_poster_clean-webfont.woff') format('woff');
  font-weight: normal;
  font-style: normal;

}

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


   /* ==========================================================================
   PULP LANDING
   ========================================================================== */

   html, body {
    overflow-x: hidden;
  }
  body {
    position: relative
  }

  body {
    font-family: 'Source Sans Pro', sans-serif;
    width:100%;
    overflow-x: hidden;
  }

  p {
    font-family: 'Source Sans Pro', sans-serif;
  }

  h1 {
    font-family: 'hvd_poster_cleanregular';
  }

  .mas-quenunca h1 {
    font-size: 38px;
    color:#e1251b;
    width: 100%;
    text-align: center;
  }

  header {
    width:100%;
    height:auto;
    /*background: url(../img/topbanner.jpg);
    background-size: cover;
    background-position:center center*/
  }

  header img {
    object-fit: contain;
    margin:0 auto;
    width:100%;
  }

  .ornamentaciones {
    position: absolute;
    width: 100%;
    height: 100vh;
  }

  .ornamentaciones img {
    position: absolute;
  }

  .naranjatop {
    left: 7vw;
    top: 90px;
    width: 100px;
  }

  .chipera {
    left: 5vw;
    top: 300px;
    width: 150px;
  }

  .hojitaizqtop {
    left: 10vw;
    top: 698px;
    width: 70px;
  }

  .hojitadertop {
    top: 141px;
    right: 10vw;
    width: 70px;
  }

  .arboltop {
    top: 340px;
    right: 3vw;
    width: 180px;
  }


  .ornamentaciones2 {
    position: absolute;
    width: 100%;
    z-index:1;
  }

  .containerinfo {
    position: relative;
    z-index: 2;
  }

  .ornamentaciones2 img {
    position: absolute;
  }

  .plantita1 {
    left: -2vw;
    top: -239px;
    width: 11vw;
  }

  .naranjapng {
    top: 491px;
    width: 5vw;
    left: 2vw;
  }

  .pulpnaranja {
    left: -7vw;
    width: 16vw;
    top: 656px;
  }

  .plantita3 {
    width: 6vw;
    top: 708px;
  }

  .naranjapng2 {
    width: 5vw;
    left: 4vw;
    top: 1348px;
  }

  .hojitapng1 {
    width: 4vw;
    left: 25%;
    top: 1393px;
  }

  .plantita2 {
    width: 10vw;
    right: -5vw;
    top: -186px;
  }

  .pomelopng1 {
    width: 4vw;
    right: 5vw;
    top: 245px;
  }

  .pyflag {
    width: 7vw;
    right: 20%;
    top: 90px;
  }

  .hojitapng2 {
    width: 5vw;
    right: 48%;
    top: 25px;
  }

  .pomelopng2 {
    width: 4vw;
    right: 5vw;
    top: 770px;
  }

  .hojitapng3 {
    width: 3vw;
    right: 0;
    top: 933px;
  }

  .pulppomelo {
    width: 16vw;
    right: -7vw;
    top: 986px;
  }

  .plantita4 {
    width: 9vw;
    right: -1vw;
    top: 972px;
  }

  .pomelopng3 {
    width: 4vw;
    right: 20%;
    top: 1682px;
  }

  .hojitapng4 {
    width: 4vw;
    right: 33%;
    top: 1747px;
  }


  .logopulp {
    width:100%;
  }

  p.hero-text {
    color:#f15a24;
    font-size:18px;
    font-weight:600;
  }

  /* background: url(img_flwr.gif) right bottom no-repeat, url(paper.gif) left top repeat;*/

  section.info {
    width:100%;
    background: url(../img/topwave.jpg) center top no-repeat, url(../img/bottomwave.jpg) center bottom no-repeat, #ff5102;
    background-size: contain;
    max-height: 1400px;
  }

  .item {
    float: left;
    width: 45%;
    margin-right:5%;
    text-align: center;
  }

  .item:nth-child(2n) {
    float:right;
    margin-left:5%;
    margin-right:0;
  }

  .item:nth-child(1) {
    padding-top:140px;
  }

  .item:nth-child(2) {
    padding-top:430px;
  }

  .item:nth-child(3) {
    margin-top:-240px;
  }

  .item:nth-child(4) {
    margin-top:100px;
  }

  .item:nth-child(5) {
    margin-top:-208px;
  }

  .item:nth-child(5) h1 {
    color: #76bc21;
  }

  .item:nth-child(5) p {
    color: #ff5100;
  }

  .item h1{
    color:#f3e500;
    font-size:36px;
  }

  .item p {
    color:#fff;
    font-size:18px;
    font-weight:600;
  }

  footer {
    width:100%;
    height:606px;
    background: url(../img/fondofooter.jpg) repeat-x;
    background-size: contain;
    background-position:center bottom;
    margin-top:400px;
  }

/* ==========================================================================
   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 (min-width: 35em) {
  /* Style adjustments for viewports that meet the condition */
}

@media (max-width:992px) {
  .item, .item:nth-child(2), .item:nth-child(3), .item:nth-child(4), .item:nth-child(5) {
    width:100%;
    margin: 40px 0 0 0;
    padding: 0 4em ;
  }

  .ornamentaciones {
    display:none;
  }

  section.info {
    max-height: 2280px;
  }

  .item h1{
    font-size:24px;
  }

  .item p {
    font-size:16px;
  }

  footer {
    margin-top:220px;
  }
}

@media (max-width: 768px) {
  footer {
      margin-top: 400px;
  }
}

@media (max-width: 420px) {
  section.info {
    max-height: 2030px;
  }
  .item h1 {
    font-size: 20px;
  }
  .item p {
    font-size: 14px;
  }
  footer {
    margin-top: 80px;
  }
  .videohero.mt-5.mb-5 {
    margin-top: 1rem !important;
  }

  .plantita1 {
    left: -2vw;
    top: -13px;
    width: 16vw;
  }

  .plantita2 {
    width: 14vw;
    right: -6vw;
    top: -70px;
  }

  .pyflag {
    width: 11vw;
    right: 17%;
    top: 8px;
  }

  .hojitapng2 {
    width: 10vw;
    right: 46%;
    top: 0px;
  }

  .naranjapng {
    width: 12vw;
  }

  .pulpnaranja {
    left: -15vw;
    width: 34vw;
    top: 670px;
  }

  .plantita3 {
    width: 17vw;
    top: 655px;
  }

  .pomelopng1 {
    width: 10vw;
    right: 3vw;
    top: 102px;
  }

  .pomelopng2 {
    width: 12vw;
    right: 2vw;
    top: 717px;
  }

  .pulppomelo {
    width: 34vw;
    right: -15vw;
    top: 994px;
  }

  .plantita4 {
    width: 21vw;
    right: -5vw;
    top: 958px;
  }

  .hojitapng3 {
    width: 11vw;
  }

  .pomelopng3 {
    width: 12vw;
    right: 4%;
    top: 1686px;
  }

  .hojitapng4 {
    width: 8vw;
    right: 6%;
    top: 1793px;
  }

  .naranjapng2 {
    width: 13vw;
  }

  .hojitapng1 {
    width: 16vw;
    top: 1302px;
  }
}

@media (max-width: 362px) {
  footer {
      margin-top: 264px;
  }

  .item h1 {
    font-size: 16px;
  }

}

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

