html, body {
  width: 100%;
  border: 0;
  font-family: 'Nunito';
}

* {
  margin: 0;
  padding: 0;
}

.root {
  display:flex; 
  flex-direction: column; 
  align-items: space-between; 
  min-height: 100vh;
}
body {
  background: rgb(225,200,233);
  background: linear-gradient(140deg, rgba(225,200,233,1) 50%, rgba(186,236,246,1) 100%);

}

.logo {
  background-color: aliceblue;
}

.logo .title {
  text-align: center;
}
.logo .title a {
  font-size: 60px;
  font-weight: bold;
  font-family: 'Nunito';
  color:rgb(70, 157, 228);
  text-align: center;
}

.all-page {
  display: flex;
}

.main {
  flex-grow: 1;
}
.main .table {
  padding: 12px;
  display: grid; 
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr; 

  gap: 12px 12px; 
}

.main .table .product {
  padding: 1rem;
  box-shadow: 0px 6px 8px 0px rgba(157, 59, 195, 0.2);
  border-radius: 8px;
  background-color: aliceblue;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

.main .categories {
  background-color:aliceblue;
  box-shadow: 0px 6px 8px 0px rgba(157, 59, 195, 0.2);
  min-height: 480px;
  min-width: 220px;
  padding: 8px;
  margin: 12px;
  border-radius: 8px;
  border: 2px solid rgba(231, 65, 209, 0.5);
}

.main .categories div {
  padding: 8px;
  margin: 4px;
}
.main .categories .selected{
  font-weight: bold;
  background-color: rgb(70, 157, 228);
  color: white;
  border-radius: 8px;
}

.product .img {
  height: 210px;
  width: 210px;
}

.product .vars {
  display: flex;
}

.product .vars div {
  margin: 8px;
  border-bottom: 6px solid rgb(70, 157, 228);
  background-color: rgb(211, 235, 255);
}

.product .vars div, .product .buy {
  margin-top: 6px;
  padding: 4px;
  border-radius: 6px;

  width: 100%;
  text-align: center;
}

.product .buy {
  margin-top: 32px;
  background-color: rgb(70, 157, 228);
  transition: all 0.1s;
}
.product .buy a {
  color: aliceblue;
}
.product .buy:hover{
  background-color: rgb(70, 157, 228);

  transform: scale(0.98);
  cursor: pointer;
}

a {
  text-decoration: none;
  color: black
}

.footer {
  bottom: 0px;
  position: relative;
  background-color: aliceblue;
  color: rgb(99, 99, 99);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer__block {
  padding: 24px;
  text-align: center;
}

.nav {
  display: flex;
  background-color: rgb(219, 238, 255);
}

.nav__item {
  font-size: large;
  border-radius: 8px;
  padding: 6px;
  margin: 6px;
}

.nav__end {
  margin-left: auto;
}

.contacts {
  background-color: rgba(240, 248, 255, 0.5);
  margin: 12px;
  border-radius: 6px;
  height: 100%;
  width: 70%;
}

.contacts-wrapper {
  display: flex;
  flex-grow: 1;
}
#map {
  width: 30%;
  margin: 12px;
  border-radius: 6px;
}
.contacts__block {
  padding: 24px;
}

.cart-img {
  width: 32px;
  height: 32px;
}

.checkout {
  background-color: aliceblue;
  margin: 12px;
  padding: 12px;
  min-width: 616px;
  border-radius: 6px;
}
.cart_page {
  display: flex;
  flex-direction: row;
  width: 100%;
}
.cart_items {
  flex-grow: 1;
}
.cart_item {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 4px;
  margin: 16px;
  border-radius: 8px;
  border-bottom: 3px solid rgb(175, 138, 235);
  background-color: aliceblue;
}

.cart_item .img {
  height: 150px;
  width: 150px;
}

#paypal-button-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.review-form {
  background-color: aliceblue;
  border-radius: 8px;
  margin: 20px;
  padding: 12px;
}

.review-form .form {
  margin: 6px;
}
.review-list {
  background-color: aliceblue;
  border-radius: 8px;
  margin: 20px;
  padding: 12px;
}

.review-form__title, .review-list__title {
  font-weight: bold;
  font-size: 1.4rem;
}

.review-item {
  margin: 6px;
  border-bottom: 1px solid rgb(0, 0, 0);
}