/**
 * Media CSS
 */

/* -----------------------------------

    1. Media Queries
    2. Print
    
----------------------------------- */

/**
 * 1. Media Queries _______________________________________________________________________________
 */

/* Extra small devices (watches, 420px and down) */
@media only screen and (max-width: 420px) {
  html {
    font-size: 48%;
  }
  #logo {
    display: none;
  }
  .like-button {
    padding: 0.8rem;
    right: 1%;
    top: 35%;
  }
  .nope-button {
    padding: 0.8rem;
    left: 1%;
    top: 35%;
  }
  #item-container {
  	width: 90%;
  }
}

/* Small devices (portrait tablets and phones, 600px and up) */
@media only screen and (min-width: 420px) and (max-width: 600px) {
  html {
    font-size: 54%;
  }
  .like-button {
    padding: 1.5rem;
    right: 5%;
    top: 45%;
  }
  .nope-button {
    padding: 1.5rem;
    left: 5%;
    top: 45%;
  }
  #item-container {
  	width: 80%;
  }
}

/* Medium devices (landscape tablets, 768px and down) */
@media only screen and (min-width: 600px) and (max-width: 768px) {
  html {
    font-size: 60%;
  }
  .like-button {
    padding: 2rem;
    right: 7%;
    top: 45%;
  }
  .nope-button {
    padding: 2rem;
    left: 7%;
    top: 45%;
  }
  .like-button::before {
    content: "like"; 
    margin-right: 0.1rem;
    font-size: 1em;
  }
  .nope-button::after {
    content: "nope"; 
    margin-left: 0.1rem;
    font-size: 1em;
  }
}

/* Large devices (landscape tablets, 768px and down) */
@media only screen and (min-width: 768px) {
 
  .like-button::before {
    content: "like"; 
    margin-right: 0.1rem;
    font-size: 1em;
  }

  .nope-button::after {
    content: "nope"; 
    margin-left: 0.1rem;
    font-size: 1em;
  }
}

/**
 * 2. Print _______________________________________________________________________________
 */

@media print {
  *,
  *:before,
  *:after {
    background: transparent !important;
    color: #000 !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) ")";
  }

  a[href^="#"]:after,
  a[href^="javascript:"]:after {
    content: "";
  }

  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  thead {
    display: table-header-group;
  }

  tr,
  img {
    page-break-inside: avoid;
  }

  img {
    max-width: 100% !important;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }
}

