/* == RESPONSIVE SCREEN STYLES screenresponse.css ==== */

/* Prevent horizontal scroll */
html,
body {
  width: 100%;
  overflow-x: hidden;
}

/* Images responsive */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ===== EXTRA SMALL DEVICES Phones ≤ 350px ==== */
@media screen and (max-width: 350px) {

  body {
    padding: 0;
  }

  header {
    padding: 10px 12px;
  }

  .logo img {
    height: 32px;
  }

  .logo-text,
  .nav-bar,
  .nav-buttons,
  .floating-image.left,
  .floating-image.right {
    display: none;
  }

  .hamburger-menu {
    display: block;
    top: 12px;
    right: 12px;
  }

  .mobile-dropdown {
    width: 100%;
    max-width: 100%;
  }

  .hello {
    height: auto;
    min-height: 320px;
    padding: 90px 10px 40px;
    flex-direction: column;
  }

  .content-wrapper {
    width: 100%;
  }

  .content-wrapper h1 {
    font-size: 1.6rem;
    line-height: 1.3;
  }

  .content-wrapper h3 {
    font-size: 1rem;
  }

  #search-input {
    width: 100%;
    font-size: 13px;
  }

  .search-bar {
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }

  .grid-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 8px;
  }

  .grid-item {
    padding: 10px;
  }

  .grid-item h2 {
    font-size: 1rem;
    padding: 10px;
  }

  .grid-body {
    flex-direction: column;
    height: auto;
  }

  .left-panel,
  .right-panel {
    width: 100%;
    height: auto;
  }

  .icon-area {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .icon-container {
    padding: 10px;
  }

  .icon {
    width: 55px;
    height: 55px;
  }

  .icon-name {
    font-size: 11px;
  }

  .hotcontainer .item-container .hotitems {
    width: 9rem;
    height: 10rem;
  }

  .footer-links-list {
    grid-template-columns: 1fr;
  }

  .job-button a,
  .shop-button button,
  .sale-button a {
    width: 100%;
    font-size: 0.85rem;
  }
}

/* ===== SMALL PHONES 351px - 480px ==== */
@media screen and (min-width: 351px) and (max-width: 480px) {

  body {
    padding: 0;
  }

  header {
    padding: 10px 15px;
  }

  .nav-bar,
  .nav-buttons,
  .logo-text,
  .floating-image.left,
  .floating-image.right {
    display: none;
  }

  .hamburger-menu {
    display: block;
  }

  .mobile-dropdown {
    width: 100%;
    max-width: 100%;
  }

  .hello {
    min-height: 360px;
    height: auto;
    padding: 90px 15px 50px;
    flex-direction: column;
  }

  .content-wrapper h1 {
    font-size: 2rem;
  }

  .content-wrapper h3 {
    font-size: 1.1rem;
  }

  .search-bar {
    flex-direction: column;
    gap: 10px;
  }

  #search-input {
    width: 100%;
  }

  .grid-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 10px;
  }

  .grid-body {
    flex-direction: column;
    height: auto;
  }

  .left-panel,
  .right-panel {
    width: 100%;
    height: auto;
  }

  .icon-area {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .icon {
    width: 60px;
    height: 60px;
  }

  .icon-name {
    font-size: 12px;
  }

  .footer-links-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* =====LARGE PHONES / SMALL TABLETS 481px - 767px===== */
@media screen and (min-width: 481px) and (max-width: 767px) {

  header {
    padding: 10px 20px;
  }

  .nav-bar,
  .nav-buttons {
    display: none;
  }

  .hamburger-menu {
    display: block;
  }

  .floating-image.left,
  .floating-image.right {
    display: none;
  }

  .hello {
    padding-top: 100px;
    height: auto;
    min-height: 420px;
  }

  .content-wrapper h1 {
    font-size: 2.2rem;
  }

  .search-bar {
    flex-wrap: wrap;
    gap: 10px;
  }

  #search-input {
    width: 100%;
  }

  .grid-body {
    flex-direction: column;
    height: auto;
  }

  .left-panel {
    width: 100%;
    height: auto;
  }

  .right-panel {
    width: 100%;
    height: auto;
  }

  .icon-area {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-links-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ====== TABLETS768px - 991px ===== */
@media screen and (min-width: 768px) and (max-width: 991px) {

  header {
    padding: 12px 25px;
  }

  .floating-image.left,
  .floating-image.right {
    display: none;
  }

  .hello {
    min-height: 450px;
  }

  .content-wrapper h1 {
    font-size: 2.5rem;
  }

  .grid-body {
    flex-direction: row;
    gap: 15px;
    height: auto;
  }

  .left-panel {
    width: 220px;
    height: auto;
  }

  .right-panel {
    flex: 1;
    height: auto;
  }

  .icon-area {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-links-list {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* =====SMALL LAPTOPS  992px - 1199px ====== */
@media screen and (min-width: 992px) and (max-width: 1199px) {

  .grid-body {
    gap: 15px;
  }

  .left-panel {
    width: 240px;
  }

  .icon-area {
    grid-template-columns: repeat(4, 1fr);
  }

  .content-wrapper h1 {
    font-size: 2.8rem;
  }
}

/*============LARGE SCREENS 1200px ========== */
@media screen and (min-width: 1200px) {

  .container {
    max-width: 1400px;
  }

  .icon-area {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }

  .content-wrapper h1 {
    font-size: 3rem;
  }
}

/* ====================  LANDSCAPE PHONE FIX================= */
@media screen and (max-height: 500px) and (orientation: landscape) {

  .hello {
    height: auto;
    padding: 100px 20px 40px;
  }

  .floating-image.left,
  .floating-image.right {
    display: none;
  }

  .mobile-dropdown.open {
    max-height: 80vh;
  }
}

/* =======TOUCH DEVICE IMPROVEMENTS======= */
@media (hover: none) {

  .icon-container:hover,
  .grid-item:hover,
  .left-panel button:hover,
  .left-panel a:hover {
    transform: none;
  }
}