* {
      margin: 0;
      font-family: Arial, Helvetica, sans-serif;
      border: border-box;
}

html {
      scroll-behavior: smooth;
}

body a {
      text-decoration: none;
      color: white;
}

* {
      box-sizing: border-box
}

/* Dim Brightness Styling */
.background-content {
      transition: filter 0.6s ease;
}

.blur {
      filter: brightness(0.35);
}


/* Navbar */
.navbar {
      height: 60px;
      background-color: #181a1d;
      color: white;
      display: flex;
      align-items: center;
      justify-content: space-evenly;
}

.nav-logo {
      width: 100px;
      height: 50px;
}

.amazon-logo {
      background-image: url('img/amazon_logo.png');
      background-size: cover;
      height: 50px;
      width: 100%;
}

.deliver {
      color: #cccccc;
      font-size: 0.8rem;
}

.icon-loc {
      color: white;
      font-size: 1rem;
      display: flex;
      align-items: center;
      margin-left: -13px;
}

.country {
      font-size: 1rem;
      margin-left: 1px;
}

.nav-search {
      display: flex;
      background-color: #febd68;
      width: 60%;
      height: 40px;
      border-radius: 4px;
      justify-content: space-evenly;
      border: none;
}

select {
      background-color: #ddd;
      width: 50px;
      color: #666666;
      text-align: center;
      border-top-left-radius: 4px;
      border-bottom-left-radius: 4px;
      border: none;
      cursor: pointer;
}

select:hover {
      background-color: #cecece;
      transition: all 500ms ease;
}

select option {
      background-color: #fff;
      color: #111111;
      height: 1rem;
      font-size: 0.97rem;
      text-align: left;
}

.nav-search input {
      width: 100%;
      font-size: 1rem;
      border: none;
      outline: none;
}

.icon-search {
      color: black;
      width: 45px;
      display: flex;
      justify-content: center;
      align-items: center;
      cursor: pointer;
}

.nav-signin {
      color: #cccccc;
      font-size: 0.85rem;
}

.nav-acc {
      color: white;
      font-size: 0.9rem;
      cursor: pointer;
}

.nav-cart {
      font-size: 1rem;
      color: white;
      font-weight: 700;
}

.nav-cart i {
      font-size: 2.4rem;
}

/* Panel */
.nav-panel {
      background-color: #202c3a;
      height: 40px;
      color: white;
      display: flex;
      justify-content: space-evenly;
      align-items: center;
}

.categories a {
      display: inline;
      margin-left: 1.4rem;
}

.categories {
      width: 100%;
      font-size: 0.85rem;
}

.all-categories {
      margin-left: 1rem;
}

.all-categories a {
      display: flex;
      gap: 0.4rem;
}

.deals a {
      font-size: 0.9rem;
}

/* SIDEBAR */
.top-logo {
      position: absolute;
      background-color: #232F3E;
      color: #232F3E;
      padding: 1rem;
      width: 100%;
      margin-bottom: 4.5rem;
}

aside {
      position: fixed;
      left: -100%;
      background: white;
      width: 23rem;
      z-index: 3;
      box-shadow: 1rem 3rem 4rem;
      height: 100vh;
      overflow: scroll;
      overflow-x: hidden;
      animation: showMenu 800ms ease forwards;
      display: none;
}

aside .close {
      position: absolute;
      top: 0.5rem;
      color: white;
      right: 1rem;
      /* margin-left: 19rem; */
      display: block;
      cursor: pointer;
      font-size: 2rem;
}

@keyframes showMenu {
      to {
            left: 0;
      }
}

aside .sidebar .info .arrow {
      color: #917a7a;
      font-size: 1rem;
      position: absolute;
      margin-left: 18rem;
      font-weight: 500;
}

aside .sidebar .info .arrow:hover {
      color: #111111;
      font-weight: 600;
}

aside .top-logo h2 {
      margin-left: 2.5rem;
      color: #ffffff;
      display: flex;
      font-size: 19px;
}

aside .sidebar h3 {
      color: #111111;
      font-size: 18px;
      display: inline;
}

aside .sidebar a {
      width: 100%;
      height: 3.4rem;
      margin-top: 0.5rem;
}


aside .sidebar {
      background-color: white;
      display: flex;
      flex-direction: column;
      margin-top: 4rem;
}

aside .sidebar h3 {
      /* padding: 13px 5px 3px 36px; */
      padding: 20px;
      margin-left: 1rem;
      font-weight: 550;
}

aside .sidebar .info:hover {
      background-color: #dddddd;
      width: 22rem;
}

aside .sidebar .head {
      margin-bottom: 0.5rem;
      margin-top: 1.5rem;
}

aside .sidebar .bottom {
      margin-bottom: 3rem;
}

aside .sidebar .line {
      border-bottom: 1px solid #d5dbdb;
      margin-top: 0.7rem;
      padding: 0;
}

aside .sidebar a {
      display: flex;
      color: #111111;
      font-size: 15px;
      font-weight: 100;
      padding: 20px;
      margin-left: 1rem;
      /* margin-top: 0.1rem; */
      gap: 0.5rem;
      align-items: center;
      position: relative;
      height: 1.5rem;
}


/* Slider CSS */

/* Slideshow container */
.slideshow-container {
      max-width: 100%;
      min-height: 25vh;
      position: relative;
      margin: auto;
}

.mySlides {
      display: none;
      aspect-ratio: 16/4;
      overflow-x: auto;
      scroll-snap-type: x mandatory;
      scroll-behavior: smooth;
      overflow: hidden;
      box-shadow: 0 1.5rem 3rem -0.75rem hsla(0, 0%, 0%, 0.25);
}

.prev,
.next {
      cursor: pointer;
      position: absolute;
      top: 50%;
      width: auto;
      margin-top: -22px;
      padding: 16px;
      color: #222121;
      font-weight: bold;
      font-size: 18px;
      transition: 0.6s ease;
      border-radius: 0 3px 3px 0;
      user-select: none;
}

.next {
      right: 0;
      border-radius: 3px 0 0 3px;
}

.prev:hover,
.next:hover {
      background-color: rgba(0, 0, 0, 0.8);
      color: #fff;
}

.fade {
      animation-name: fade;
      animation-duration: 1.5s;
}

@keyframes fade {
      from {
            opacity: .4
      }

      to {
            opacity: 1
      }
}


/* Main section */
.main-event {
      background-color: white;
      display: flex;
      justify-content: center;
      /* align-items: flex-end; */
}

.msg {
      position: absolute;
      top: 80%;
      background-color: white;
      color: black;
      width: 95%;
      height: 40px;
      display: flex;
      align-items: center;
      text-align: center;
      justify-content: center;
      font-size: 0.9rem;
      margin-bottom: 1rem;
}

.msg a {
      color: #2a7e5e;
}

.msg a:hover {
      color: #b3310a;
      text-decoration: underline;
}


/* Shopping section */
.shopping {
      position: relative;
      display: flex;
      flex-wrap: wrap;
      justify-content: space-evenly;
      background-color: #e9f3ff;
}

.box {
      border: 1px solid white;
      height: auto;
      width: 23.5%;
      background-color: white;
      margin-top: 1rem;
      padding: 20px 0px 15px;
}

.box2 {
      border: 1px solid white;
      height: auto;
      width: 96%;
      background-color: white;
      background-repeat: no-repeat;
      margin-top: 1rem;
      padding: 20px 10px 15px;
}

.box-img {
      height: auto;
      margin-top: 1rem;
      margin-bottom: 1rem;
      width: 100%;
      display: flex;
      cursor: pointer;
}

.small-box-img {
      position: relative;
      height: 160px;
      width: 100%;
      margin-top: 1rem;
      margin-bottom: 0.5rem;
}

.small-box-img2 {
      position: relative;
      height: auto;
      width: 65%;
      margin-top: 1rem;
      margin-bottom: 0.5rem;
      margin-right: 0.5rem;
}

.box-image {
      height: auto;
      width: 46%;
      display: flex;
}

.games-img {
      width: 60%;
      height: auto;
      margin-top: 0.5rem;
      margin-right: 1rem;
      margin-bottom: 1rem;
      display: flex;
      cursor: pointer;
}

.movies-img {
      width: 60%;
      height: auto;
      margin-top: 0.5rem;
      margin-right: 0.85rem;
      margin-bottom: 1rem;
      display: flex;
      cursor: pointer;
}

.books-img {
      width: 60%;
      height: auto;
      margin-top: 0.5rem;
      margin-right: 0.7rem;
      margin-bottom: 1rem;
      display: flex;
      cursor: pointer;
}

.access-img {
      width: 50%;
      height: auto;
      margin-top: 0.5rem;
      margin-bottom: 1rem;
      display: flex;
      cursor: pointer;
}

.images {
      background-image: cover;
      margin-top: 1rem;
      width: 400px;
      height: 30px;
      display: flex;
}

.content {
      font-size: 0.85rem;
      margin-left: 1rem;
      margin-right: 1rem;
}

.content a {
      color: #2a7e5e;
      margin-bottom: 0.1rem;
}

.content a:hover {
      color: #b3310a;
}

.signin-temp {
      margin-top: 1rem;
      border-top: 0.5px solid #dddddd;
      height: 130px;
      border-bottom: 0.5px solid #dddddd;
}

.recommend {
      font-size: 0.8rem;
      margin-top: 2rem;
      display: flex;
      align-items: center;
      justify-content: center;
}

.signin {
      display: flex;
      align-items: center;
      justify-content: center;
      margin-top: 0.5rem;
}

.signin button {
      font-size: 0.85rem;
      background-color: #ffc62a;
      color: black;
      width: 230px;
      height: 30px;
      border-radius: 5px;
      font-weight: 550;
      border: none;
      cursor: pointer;
}

.signin button:hover {
      background-color: #f3d424;
      text-shadow: 0 1px 0 #fde5a8;
      transition: all 400ms ease;
}

.new {
      display: flex;
      align-items: center;
      justify-content: center;
      margin-top: 0.5rem;
}

.new p {
      font-size: 0.75rem;
}

.new a {
      font-size: 0.75rem;
      color: #007185;
}

/* Footer */
footer {
      margin-top: 1rem;
}

.back-to-top {
      background-color: #37475a;
      font-size: 0.9rem;
      width: 100%;
      height: 50px;
      color: #cccccc;
      display: flex;
      align-items: center;
      justify-content: center;
}

.float-end {
      scroll-behavior: smooth;
}

.info-pages {
      background-color: #202c3a;
      height: auto;
      color: white;
      font-size: 0.9rem;
      display: flex;
      justify-content: space-evenly;
}

.info-pages a:hover {
      text-decoration: underline;
}

ul h3 {
      margin-top: 2.5rem;
      margin-bottom: 0.8rem;
}

ul a {
      display: block;
      color: #dddddd;
      margin-bottom: 0.7rem;
}

.footer-logo {
      background-color: #202c3a;
      height: auto;
      padding: 1.2rem;
      color: #dddddd;
      border-top: 0.5px solid #dddddd;
      display: flex;
      align-items: center;
      justify-content: center;
}

.logo {
      background-image: url('img/amazon_logo.png');
      background-size: cover;
      height: 50px;
      width: 100px;
      margin-right: 2rem;
}

.button {
      margin-left: 1rem;
}

.btn {
      color: #cccccc;
      background-color: transparent;
      height: 35px;
      width: 135px;
      margin-left: 5px;
      border: 0.5px solid #fff;
      border-radius: 3px;
      cursor: pointer;
}

.copyright-info {
      background-color: #131a22;
      height: auto;
      padding: 1rem;
      color: white;
}

.footer-info {
      display: flex;
      align-items: flex-end;
      justify-content: center;
}

.footer-info a {
      margin-top: 1rem;
      margin-left: 1.5rem;
      font-size: 0.8rem;
      color: #dddddd;
}

.copyright {
      display: flex;
      align-items: center;
      text-align: center;
      justify-content: center;
}

.copyright p {
      margin-top: 4px;
      font-size: 0.8rem;
      color: #dddddd;
}

/* ==================Media queries========================= */
@media screen and (max-width: 1200px) {
      .nav-search {
            width: 45%;
      }

      .box2 {
            height: auto;
      }

      .content h2 {
            font-size: 1rem;
      }

      .content p {
            font-size: 0.85rem;
      }

      .movies-img {
            width: 70%;
            height: 160px;
            margin-top: 0.5rem;
      }

      .books-img {
            width: 80%;
            height: 160px;
            margin-top: 0.5rem;
      }

      .games-img {
            width: 70%;
            height: 160px;
            margin-top: 0.5rem;
      }

      .access-img {
            width: 38%;
            height: auto;
      }

      .movies-img .visible {
            visibility: hidden;
      }
}

@media screen and (max-width: 1100px) {
      .mySlides {
            aspect-ratio: 16/5;
      }
}


@media screen and (max-width: 900px) {
      .mySlides {
            aspect-ratio: 16/6;
      }

      .nav-search {
            width: 35%;
            height: 40px;
      }

      .box {
            width: 47%;
      }

      .box img {
            width: 90%;
      }

      .box2 {
            height: auto;
      }

      .msg p {
            font-size: 0.8rem;
            width: 90%;
      }

      .movies-img {
            width: 60%;
            height: 140px;
            margin-top: 0.5rem;
      }

      .books-img {
            width: 60%;
            height: 140px;
            margin-top: 0.5rem;
      }

      .book2 {
            display: none;
      }

      .book3 {
            visibility: hidden;
      }

      .movie2 {
            visibility: hidden;
      }

      .games-img {
            width: 65%;
            height: 160px;
            margin-top: 0.5rem;
            margin-right: 2rem;
      }

      .game1 {
            visibility: hidden;
      }

      .games-img .visible {
            visibility: hidden;
      }

      .access-img {
            width: 38%;
            height: auto;
      }

      .small-box-img2 {
            width: 10%;
            height: 55px;
      }
}

@media screen and (max-width: 700px) {
      .mySlides {
            aspect-ratio: 16/6;
      }

      .nav-logo {
            position: absolute;
            left: 1rem;
      }

      .amazon-logo {
            /* margin: auto; */
            width: 90%;
            height: 45px;
      }

      .nav-search {
            display: none;
      }

      .nav-signin {
            display: none;
      }

      .nav-address {
            display: none;
      }

      .nav-cart {
            position: absolute;
            /* top: 0.2rem; */
            right: 1.2rem;
      }

      .navbar p {
            font-size: 0.7rem;
      }

      select option {
            font-size: 0.7rem;
            height: 0.5rem;
            text-align: left;
      }

      .nav-panel a {
            font-size: 0.7rem;
            margin-left: 0.7rem;
      }

      .all-categories {
            margin-right: 0.6rem;
      }

      aside {
            width: 17rem;
      }

      aside .top-logo h2 {
            font-size: 1.1rem;
      }

      aside .sidebar h3 {
            font-size: 0.95rem;
      }

      aside .sidebar a {
            font-size: 0.8rem;
      }

      .msg {
            top: 64%;
      }

      .msg p {
            font-size: 0.6rem;
      }

      .box img {
            width: 100%;
            height: auto;
      }

      .books-img img {
            width: 60%;
            height: auto;
      }

      .small-box-img2 {
            width: 10%;
            height: 40px;
      }

      .tv {
            visibility: hidden;
      }

      .movie1 {
            visibility: hidden;
      }

      .book1 {
            visibility: hidden;
      }

      .movies-img {
            width: 50%;
            height: 110px;
            margin-top: 0.5rem;
      }

      .books-img {
            width: 50%;
            height: 110px;
            margin-top: 0.5rem;
      }

      .games-img {
            width: 45%;
            height: 106px;
            margin-top: 0.5rem;
      }

      .footer-logo .btn {
            height: 30px;
            width: 130px;
            margin-top: 0.6rem;
      }

      .info-pages ul a {
            font-size: 0.54rem;
      }

      .info-pages ul h3 {
            font-size: 0.8rem;
      }

      .copyright-info a {
            font-size: 0.55rem;
      }

      .copyright-info p {
            font-size: 0.55rem;
      }
}