/*! 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: #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;
}.container {
    background: linear-gradient(#d00000, #6a040f);
    background-color: #d00000;
    height: 100vh;
    overflow: hidden;
    position: relative;
}

.container img.rings {
    position: absolute;
    opacity: 0.5;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.container header {
    max-width: 1400px;
    margin: auto;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0px;
}

.container header .logo {
    position: relative;
}

.container header .logo img {
    height: 8em;
}

.container header nav ul li {
    float: left;
    list-style: none;
    margin-right: 3em;
}

.container header nav ul li a {
    font: 1em 'Londrina Solid', cursive;
    font-weight: 900;
    color: #fff;
    letter-spacing: 1px;
    text-decoration: none;
    text-transform: capitalize;
    display: flex;
    justify-content: center;
    position: relative;
    cursor: pointer;
}

.container header nav ul a{
    font: 1em 'Londrina Solid', cursive;
    font-weight: 900;
    color: #fff;
    letter-spacing: 1px;
    text-decoration: none;
    text-transform: capitalize;
    cursor: pointer;
    position: relative;
    padding: 50px;
}

.container header nav ul a:hover{
  color:  #ffc107;
}


.container header nav ul li a:hover {
    content: '';
    width: 0%;
    height: 0.2em;
    background-color: #1e8f31;
    position: absolute;
    bottom: -10px;
    left: 0;
    transition: 500ms cubic-bezier(0.17, 0.67, 0, 1.01);
}

.container header nav ul li a:hover:after {
    width: 80%;
}

.container header .basket {
    position: relative;
    right: 10px;
}

.container header .basket a {
    padding: 12px;
    box-sizing: border-box;
    border-radius: 12px;
    background-color: rgb(170, 70, 70);
    color: #370617;
    font-size: 1.2em;
    display: flex;
    align-items: center;
    transition: all 250ms ease-in-out;
}

.container header .basket a:hover {
    box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.2);
    background-color: #ffc107;
}

.container header .basket .basket-items {
    position: absolute;
    top: -5px;
    right: -8px;
    height: 20px;
    width: 20px;
    background-color: #370617;
    border-radius: 50px;
    display: flex;
    justify-content: center;
    color: rgb(192, 100, 100);
    align-items: center;
    font-family: 'Mada', sans-serif;
    font-size: 0.7em;
    font-weight: 500;
    box-shadow: 0 0 6px 0 rgba(0, 0, 0, 0.3);
}

.container section {
    padding-top: 60px;
    max-width: 1400px;
    margin: auto;
    height: inherit;
    display: flex;
}

.container section .product {
    position: relative;
    color: #ffc107;
    width: 50%;
}

.container section .product h1 {
    font: 5em 'Londrina Solid', cursive;
    font-weight: 900;
    letter-spacing: 3px;
    line-height: 1em;
    margin-bottom: 30px;
    text-shadow: 3px 3px 0 #000;
    position: relative;
    overflow: hidden;
    height: 165px;
}

.container section .product h3 {
    font: 2em 'Londrina Solid', cursive;
    font-weight: 900;
    letter-spacing: 1px;
    margin-bottom: 20px;
    color: #fff;
    text-transform: uppercase;
    text-shadow: 2px 2px 0 #000;
    -webkit-text-stroke: 2px #000;
    position: relative;
    overflow: hidden;
    height: 40px;
}

.container section .product p {
    width: 80%;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1em;
    font-weight: 400;
    color: #fff;
    position: relative;
    overflow: hidden;
    height: 205px;
}

.container section .product p:hover{
  color:  #ffc107;
}

.container section .product p strong {
    display: block;
    font-size: 1.2em;
    letter-spacing: 1px;
    padding-top: 10px;
}

.container section .product h2 {
    font: 3em 'Londrina Solid', cursive;
    font-weight: 900;
    letter-spacing: 1px;
    margin: 40px 0px;
    color: rgb(138, 13, 13);
    text-transform: uppercase;
    text-shadow: 2px 2px 0 #000;
    -webkit-text-stroke: 2px #000;
    position: relative;
    overflow: hidden;
    height: 60px;
}

.container section .product .btn {
    height: 60px;
    overflow: hidden;
}

.container section .product a {
    position: relative;
    z-index: 1;
    display: inline-block;
    border: 2px solid #ffc107;
    padding: 10px 40px;
    box-sizing: border-box;
    font: 1em 'Londrina Solid', cursive;
    font-weight: 900;
    text-decoration: none;
    color: rgb(202, 218, 112);
    letter-spacing: 1px;
    transition: all 250ms ease-in-out;
    cursor: pointer;
}

.container section .product a:hover {
    background-color: #2007ff;
    color: #370617;
    box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.2);
}

.container section .product a:after {
    content: '';
    width: 0%;
    height: 100%;
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    background-color: #ffc107;
    transition: 500ms cubic-bezier(0.17, 0.67, 0, 1.01);
}

.container section .product a:hover:after {
    width: 100%;
}

.container section .product-display {
    position: relative;
    width: 60%;
}

.container section .product-display figure {
    position: relative;
}

.container section .product-display figure .doritos {
    position: absolute;
    width: 55em;
    right: -20px;
    top: -6em;
    z-index: 1;
}

.container section .product-display figure .backdrop {
    width: 40em;
    height: 50em;
    background-color: #ffae03;
    position: absolute;
    top: 15em;
    right: 60px;
    border-radius: 30px;
    transform: skew(-5deg, -5deg);
}

.container section .product-display figure span {
    position: relative;
}

.container section .product-display figure span img {
    position: absolute;
    z-index: 5;
}

.container section .product-display figure span .chips {
    height: 22em;
    top: -5em;
    left: 22em;
    transform: rotate(10deg);
}

.container section .product-display figure span .ketchup {
    height: 9em;
    top: 33em;
}

.container section .product-display figure span .chilli {
    height: 20em;
    top: 30em;
    left: 28em;
    z-index: 0;
}

.overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0%;
    z-index: 99;
}
.products{
    color: #2007ff;
}
/* 
.first {
    background-color: #806060;
}

.second {
    background-color: #806060;
    left: 33.3%;
}

.third {
    background-color: #806060;
    left: 66.6%; 
} */
/* 
.hide {
    position: absolute;
} */

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

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

