@import url('https://fonts.googleapis.com/css2?family=Merriweather&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@700&display=swap');

body {
  margin: 0px;
  padding: 0px;
  font-family: 'Playfair Display', serif !important;

}

header {
  padding: 2px;
  position: sticky;
  top: 0px;
  z-index: 1;
  background-color: #fff;
  box-shadow: 0px 12px 24px rgba(2, 30, 84, 0.1);
}

.potli-logo {
  height: 100px;
  width: 100px;
  position: absolute;
  top: -10px;
  left: 80px;
  z-index: 2000;
}

.icon-menu {
  display: none;
}

nav {
  height: 50px;
  margin-top: 13px;
  margin-bottom: 25px;
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;

}

nav ul {
  display: flex;
  list-style: none;
  justify-content: center;
  margin: 20px;

}



nav ul li {

  font-size: 20px;
  margin-right: 55px;

}

nav ul li img {
  width: 100px;
  height: 100px;
}



nav ul li a {
  text-decoration: none;
  color: #141414;
  padding: 15px 10px;
}

nav ul li a:hover {
  background: #c9343f;
  color: #fff;
}

.icon {
  position: relative;
  left: 50%;
  bottom: 30px;
}


aside ul {
  list-style: none;
}

aside ul li {
  font-size: 20px;
  padding-bottom: 5px;
  padding-left: 5px;
  margin-bottom: 2px;
  width: 100%;
  color: #fff;
}

aside ul a {
  text-decoration: none;
}


aside ul li:hover {
  background-color: whitesmoke;
  color: #c9343f;
  cursor: pointer;
}

aside p {
  font-size: 24px;
  margin-bottom: 10px;
  color: #fff;
}

aside hr {
  width: 25%;
  margin: 0px;
}

section {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  margin: 35px 140px 0px 140px;
}

aside {
  background: #C9343F;
  flex: 30%;
  width: 100%;
  margin: 10px;
  padding: 5px 0px 5px 25px;
  border-radius: 10px;
  box-shadow: 0px 2px 8px 2px rgba(201, 52, 63, 0.25)
}

main {
  /*background: grey;*/
  width: 100%;
  padding-top: 45px;
  padding-left: 20px;
  /*display: flex;*/
  /*justify-content: center;*/

}

main .row1 {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

main .row2 {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

main .row3 {
  display: flex;
  flex-wrap: wrap;
}

main .row1 div {
  width: 130px;
  height: 120px;
  margin-right: 10px;
  border-radius: 10px;
  background-color: aquamarine;
  border: 3px solid #C9343F;
  background-size: 100% 100%;
  transition: transform 1s;
}

.row1 div:nth-child(6) {
  display: none;
}

.row2 div:nth-child(6) {
  display: none;
}

.row3 div:nth-child(6) {
  display: none;
}

main .row1 div:hover {
  cursor: pointer;
  transform: scale(1.1);
  transition: transform 1s ease-in-out;
}

main .row2 div:hover {
  cursor: pointer;
  transform: scale(1.1);
  transition: transform 1s ease-in-out;
}

main .row3 div:hover {
  cursor: pointer;
  transform: scale(1.1);
  transition: transform 1s ease-in-out;
}

main .row2 div {
  width: 130px;
  height: 120px;
  margin-right: 10px;
  border-radius: 10px;
  background-color: aquamarine;
  border: 3px solid #C9343F;
  background-size: 100% 100%;
  transition: transform 1s;
}

main .row3 div {
  width: 130px;
  height: 120px;
  margin-right: 10px;
  border-radius: 10px;
  background-color: aquamarine;
  border: 3px solid #C9343F;
  background-size: 100% 100%;
  transition: transform 1s;
}


#shop-images {
  height: 90px;
  background-image: url(Images/textbooks.jpg);
  background-position: inherit;
  width: 180px;
  box-shadow: none;
}

#shop-logo {
  background-size: contain;
  position: relative;
  left: 65px;
  top: -30px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  box-shadow: none;

}

/* ************************ Responsive *************** */

@media only screen and (max-width:425px) {
  .potli-logo {
    height: 100px;
    width: 100px;
    position: absolute;
    top: -10px;
    left: 20px;
    z-index: 2000;
  }

  .icon3 {
    margin-right: 15px;
    position: relative;
    top: 5px;
  }

  .icon-menu {
    display: block;
    position: relative;
    top: 25px;
    right: 30px;
    float: right;

  }


  .logo-head {
    font-size: 44px;
  }



  nav ul {
    flex-direction: column;
    background-color: #fafafa;
    position: absolute;
    top: 72px;
    right: -20px;
    z-index: 1000;
    width: 100%;
    padding-top: 35px;
    height: 100vh;
    display: none;


  }

  nav ul li {
    margin-bottom: 30px;
    margin-left: 40px;

  }

  section {
    flex-wrap: wrap;
    margin: 0px;
  }

  .row1,
  .row2,
  .row3 {
    justify-content: center;
  }

  .row1 div:nth-child(6) {
    display: block;
  }

  .row2 div:nth-child(6) {
    display: block;
  }

  .row3 div:nth-child(6) {
    display: block;
  }

  main .row1 div,
  main .row2 div,
  main .row3 div {
    margin-bottom: 10px;
    margin-right: 20px;
  }
}

/* ********** Screen size 375px ***************** */

@media only screen and (max-width:375px) {
  .potli-logo {
    height: 100px;
    width: 100px;
    position: absolute;
    top: -10px;
    left: 20px;
    z-index: 2000;
  }

  .icon3 {
    margin-right: 15px;
    position: relative;
    top: 5px;
  }

  .icon-menu {
    display: block;
    position: relative;
    top: 25px;
    right: 30px;
    float: right;

  }


  .logo-head {
    font-size: 44px;
  }



  nav ul {
    flex-direction: column;
    background-color: #fafafa;
    position: absolute;
    top: 72px;
    right: -20px;
    z-index: 1000;
    width: 100%;
    padding-top: 35px;
    height: 100vh;
    display: none;


  }

  nav ul li {
    margin-bottom: 30px;
    margin-left: 40px;

  }

  section {
    flex-wrap: wrap;
    margin: 0px;
  }

  .row1,
  .row2,
  .row3 {
    justify-content: center;
  }

  .row1 div:nth-child(6) {
    display: block;
  }

  .row2 div:nth-child(6) {
    display: block;
  }

  .row3 div:nth-child(6) {
    display: block;
  }

  main .row1 div,
  main .row2 div,
  main .row3 div {
    margin-bottom: 10px;
    margin-right: 20px;
  }
}

/* ********** Screen size 320px ***************** */

@media only screen and (max-width:320px) {
  .potli-logo {
    height: 100px;
    width: 100px;
    position: absolute;
    top: -10px;
    left: 20px;
    z-index: 2000;
  }

  .icon3 {
    margin-right: 15px;
    position: relative;
    top: 5px;
  }

  .icon-menu {
    display: block;
    position: relative;
    top: 25px;
    right: 30px;
    float: right;

  }


  .logo-head {
    font-size: 44px;
  }



  nav ul {
    flex-direction: column;
    background-color: #fafafa;
    position: absolute;
    top: 72px;
    right: -20px;
    z-index: 1000;
    width: 100%;
    padding-top: 35px;
    height: 100vh;
    display: none;


  }

  nav ul li {
    margin-bottom: 30px;
    margin-left: 40px;

  }

  section {
    flex-wrap: wrap;
    margin: 0px;
  }


  .row1,
  .row2,
  .row3 {
    justify-content: center;
  }

  .row1 div:nth-child(6) {
    display: block;
  }

  .row2 div:nth-child(6) {
    display: block;
  }

  .row3 div:nth-child(6) {
    display: block;
  }

  main .row1 div,
  main .row2 div,
  main .row3 div {
    margin-bottom: 10px;
    margin-right: 10px;
  }
}