body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Nunito", sans-serif;
}
html {
  font-size: 62.5%;
}
/*  Global Classes   */

.Flex {
  display: flex;
  align-items: center;
  justify-content: center;
}

.Wrapper {
  width: 100%;
  max-width: 85%;
  margin: 0 auto;
  padding: 1.5rem;
}

.secHeading {
  font-size: 3rem;
  color: #2d8ad9;
  text-align: center;
  text-transform: uppercase;
}

/* Global Classes  */

.secWrapper {
  display: flex;
  justify-content: space-between;
}
/* Primary Section and All Stores */
.primarySec {
  width: 70%;
  padding: 5px;
  margin-right: 30px;
}
.storeWrapper {
  gap: 30px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.storeBox {
  height: 150px;
  border-radius: 5px;
  perspective: 1000px;
  background-color: white;
}

.storeBoxInner {
  width: 100%;
  height: 100%;
  text-align: center;
  position: relative;
  border-radius: 5px;
  transition: transform 0.6s;
  transform-style: preserve-3d;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.5);
}

.storeBox:hover .storeBoxInner {
  transform: rotateY(180deg);
}

.storeBoxFront,
.storeBoxBack {
  width: 100%;
  height: 100%;
  border-radius: 5px;
  position: absolute;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.storeBoxFront img {
  width: 100%;
  height: 100%;
  /*object-fit: cover;*/
  border-radius: 5px;
}

.storeBoxFront {
  color: black;
  background-color: #ffffff;
}

.storeBoxBack {
  color: white;
  border-radius: 5px;
  font-size: 2rem;
  transform: rotateY(180deg);
  background: rgb(140, 56, 181);
  background: linear-gradient(
    90deg,
    rgba(140, 56, 181, 1) 0%,
    rgba(45, 138, 217, 1) 100%
  );
}
/* Primary Section and All Stores Ends */

/* Secondary Stores and Widgets */
.secondarySec {
  width: 30%;
  padding: 5px;
}
.secondarySec .secHeading {
  font-weight: 700;
  margin-top: 0;
  margin-bottom: 20px;
}
.widgets {
  padding: 10px;
  display: flex;
  flex-wrap: wrap;
  border-radius: 5px;
  align-items: center;
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.8);
  background: rgb(140, 56, 181);
  background: linear-gradient(
    90deg,
    rgba(140, 56, 181, 1) 0%,
    rgba(45, 138, 217, 1) 100%
  );
}

.widgets a {
  margin: 5px;
  color: white;
  color: #2d8ad9;
  font-weight: 700;
  padding: 5px 12px;
  font-size: 2rem;
  text-align: center;
  border-radius: 5px;
  text-decoration: none;
  background-color: white;
  transition: all linear 0.2s;
}
.widgets a:hover {
  color: white;
  transform: scale(1.08);
  box-shadow: 0 0 10px white;
  background: rgb(140, 56, 181);
  background: linear-gradient(
    90deg,
    rgba(140, 56, 181, 1) 0%,
    rgba(45, 138, 217, 1) 100%
  );
}
/* Secondary Stores and Widgets Ends */

/* Media Query Starts Here */

/* For screens less than or equal to 991px */
@media (max-width: 1024px) {
  .secWrapper {
    flex-direction: column-reverse;
  }
  .primarySec,
  .secondarySec {
    width: 100%;
  }
  .widgets {
    justify-content: center;
  }
  .secHeading {
    font-size: 2.1rem;
  }
}

/* For screens less than or equal to 991px */
@media (max-width: 991px) {
  .storeWrapper {
    grid-template-columns: repeat(3, 1fr);
  }
  .widgets a {
    font-size: 1.8rem;
  }
  .widgets {
    justify-content: center;
  }
}

/* For screens less than or equal to 880px */
@media (max-width: 880px) {
  /* Styles for 880px */
}

/* For screens less than or equal to 720px */
@media (max-width: 768px) {
  .storeWrapper {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* For screens less than or equal to 640px */
@media (max-width: 640px) {
  .widgets a {
    font-size: 1.6rem;
  }
}
/* For screens less than or equal to 480px */
@media (max-width: 480px) {
  .storeWrapper {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* For screens less than or equal to 320px */
@media (max-width: 320px) {
  /* Styles for 320px */
}

/* Media Query Ends Here */
