* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -o-box-sizing: border-box;
  text-decoration: none;
  list-style-type: none;
  color: white;
}
a:hover {
  text-decoration: underline;
  cursor: pointer;
}

body {
  position: relative;
  width: 100%;
  text-align: center;
  background: url(img/background.webp);
  font-family: "Comic Sans MS", cursive, sans-serif;
}
header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}
header .logo {
  width: 100px;
  height: auto;
}
header img {
  width: 35px;
  vertical-align: middle;
}
.order {
  display: block;
}
#toggle-menu {
  justify-content: flex-end;
}
nav {
  display: none;
  /* position:absolute;
    right: 0;*/
  padding: 10px;
  background-color: rgba(169, 169, 169, 0.4);
  /* border-radius: 0 0 20px 20px;*/
}
nav ul,
.breadcrumbs ul {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
}

nav img,
#toggle-menu > img {
  width: 50px;
  height: auto;
}
nav img,
nav span {
  display: block;
}
nav span {
  color: black;
}
nav li:hover {
  filter: drop-shadow(2px 2px 5px black);
}

nav ul li {
  border: 5px solid transparent;
}
nav .active,
nav ul li:hover {
  border-bottom: 5px solid black;
}
nav ul li a:hover {
  text-decoration: none;
}
.breadcrumbs {
  margin: 5px;
  text-align: left;
}
.breadcrumbs ul {
  justify-content: flex-start;
}
.breadcrumbs ul li {
  margin: 0 5px;
  color: black;
}
h1 {
  font-family: inherit;
}
p,
td {
  font-family: "Palatino Linotype", "Book Antiqua", "Palatino", serif;
}
.advantages {
  border: 10px solid transparent;
  border-image: 10
    repeating-linear-gradient(
      135deg,
      #569cb4,
      #569cb4 10px,
      transparent 10px,
      transparent 20px,
      #b3dcff 20px,
      #b3dcff 30px,
      transparent 30px,
      transparent 40px
    );
  padding: 20px 0;
}
.info {
  margin: 0 15% 0;
  padding-bottom: 40px;
}
.advContainer,
.pay ul {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  margin: 40px;
}
.advantage {
  width: 120px;
  height: 120px;
  padding: 20px;
  margin: 10px;
  background-color: transparent;
}
.advantage h3 {
  color: black;
}
.advantage div,
.advantage img {
  width: 100%;
  height: auto;
}
.delivery {
  padding: 20px 0;
}
footer {
  position: fixed;
  margin-top: 40px;
  bottom: 0;
  width: 100%;
  border-radius: 20px 20px 0 0;
  background-color: black;
}
.social-bar,
footer .container {
  display: flex;
}
footer .container {
  justify-content: space-between;
}
.social-bar {
  margin-left: 10px;
}
.social {
  width: 30px;
  height: 30px;
  background-image: url(img/footer/social.webp);
  background-size: 260px;
  margin: 5px;
  border-radius: 5px;
}
.instagram {
  background-position: 50% 10%;
}
.instagram:hover {
  background-position: 50% 92%;
}
.youtube {
  background-position: 34% 10%;
}
.youtube:hover {
  background-position: 34% 92%;
}
.copyright {
  align-self: center;
}
.buttonUp {
  width: 35px;
  height: 35px;
  margin-right: 15px;
}
.buttonUp > a,
.buttonUp img {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
}
.buttonUp img:hover {
  transition: 0.5s ease-in-out;
  bottom: 5px;
}
/*************************************************Home Page*************************************/
#slider {
  position: relative;
  width: 90%;
  /*min-width: 90%;*/
  height: 400px;
  background: transparent url(img/slider/garland.JPG) no-repeat center / cover;
  border: 5px solid black;
  border-radius: 5px;
  margin: 20px auto;
}
.button {
  position: absolute;
  width: 50px;
  height: 50px;
  top: 50%;
}
.button:hover {
  filter: brightness(20%);
}
.next {
  background: transparent url(img/slider/next.png) no-repeat center / contain;
  right: 1%;
}
.prev {
  background: transparent url(img/slider/prev.png) no-repeat center / contain;
  left: 1%;
}
#slider h2 {
  position: absolute;
  top: 40%;
  left: 40%;
}
#slider .more {
  position: absolute;
  top: 60%;
  left: 40%;
  width: 150px;
}
.about {
  margin: 0 15% 0;
}
/*************************************************Home Page*************************************/

/*************************************************CATALOG OF ITEMS**************************************/
.order,
.more {
  text-decoration: none;
  outline: none;
  display: inline-block;
  padding: 15px 30px;
  margin: 10px 20px;
  border-radius: 10px;
  box-shadow: 0 0 40px 40px black inset, 0 0 0 0 black;
  font-weight: bold;
  letter-spacing: 2px;
  color: white;
  transition: 0.15s ease-in-out;
}
.order:hover,
.more:hover {
  box-shadow: 0 0 10px 0 black inset, 0 0 10px 4px black;
  text-decoration: none;
  color: limegreen;
}
.catalog {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
a.catalog-group {
  display: block;
  text-decoration: none;
}
.catalog-item,
.catalog-group {
  position: relative;
  width: 200px;
  min-width: 200px;
  border-radius: 10px;
  margin: 10px;
  background-color: black;
  box-shadow: 0 25px 28px rgba(0, 0, 0, 0.25), 0 20px 10px rgba(0, 0, 0, 0.22);
}
.catalog-group:hover,
.catalog-item:hover {
  filter: sepia(80%);
  cursor: pointer;
}
.title {
  font-family: inherit;
  font-size: large;
  font-weight: bold;
}
.title,
.price,
.price span {
  color: #c9c9c9;
}
.val {
  color: #4e8383;
}
.catalog-item img,
.catalog-group img {
  border-radius: 10px 10px 0 0;
  width: 100%;
  background-color: white;
}
.catalog-item p,
.catalog-group h2 {
  margin: 10px;
}

/*************************************************CATALOG OF ITEMS**************************************/
/*************************************************ORDER FORM********************************************/
.order fieldset {
  width: fit-content;
  margin: 0 auto;
  padding: 10px;
  background-color: rgba(255, 255, 255, 0.2);
}
.order form select,
.order form input,
.order form textarea {
  width: 100%;
  margin-bottom: 10px;
}
.order form input[type="submit"] {
  width: auto;
  color: white;
  background-color: black;
  border: none;
  border-radius: 10px;
  padding: 10px 15px;
}
.order form input[type="submit"]:hover {
  cursor: pointer;
  background-color: limegreen;
  color: black;
}
.order form p {
  margin: 10px;
}

/*************************************************ORDER FORM********************************************/
/*************************************************FILTER catalog of items********************************/
.filter {
  float: left;
  width: 150px;
  font-family: "Palatino Linotype", "Book Antiqua", "Palatino", serif;
}
.filter fieldset {
  margin: 0 5px;
  /* width: inherit;*/
}
.filter fieldset:last-child {
  margin-bottom: 5px;
}
.filter label {
  display: block;
  text-align: left;
  margin: 0 5px;
}
.filterButtons label {
  text-align: center;
}
.filter input[type="button"] {
  margin: 5px;
  padding: 10px;
  border-radius: 10px;
  border: 2px outset darkslategrey;
  outline: none;
  background: black;
  font-family: "Palatino Linotype", "Book Antiqua", "Palatino", serif;
}
/*************************************************FILTER catalog of items********************************/
/************************************************Delivery***********************************************/
table {
  margin: 20px auto;
  text-align: center;
  border-collapse: collapse;
  background: black;
  border-radius: 10px;
}
tr:first-child td {
  font-weight: bolder;
  color: #c9c9c9;
}
tr:nth-child(2) {
  background: lightblue;
}
tr:nth-child(2) td {
  color: black;
}
tr:nth-child(3) {
  background: darkslategrey;
}
tr:last-child td {
  color: #2fef06;
}
table td {
  border: 1px solid transparent;
  padding: 5px;
}
table td:not(:last-child) {
  border-right-color: black;
}
/************************************************Delivery***********************************************/
/************************************************PAY****************************************************/

.pay li {
  width: 30%;
  max-width: 300px;
  min-width: 120px;
  margin: 10px;
  border-radius: 10px;
  background-color: rgba(169, 169, 169, 0.5);
  box-shadow: 0 25px 28px rgba(0, 0, 0, 0.25), 0 20px 10px rgba(0, 0, 0, 0.22);
}
.pay ul p {
  width: 100%;
  background-color: black;
  border-radius: 10px 10px 0 0;
  padding: 5px;
  font-size: large;
  font-weight: bold;
}
.pay div {
  padding: 5px;
  font-family: "Palatino Linotype", "Book Antiqua", "Palatino", serif;
}
.pay img {
  width: 100%;
  max-width: 150px;
}

/************************************************PAY****************************************************/

@media only screen and (max-width: 639px) {
  #slider h2 {
    left: initial;
    margin: 0 40%;
  }
  #slider .more {
    left: 35%;
  }
  .filter {
    float: none;
    width: 100%;
  }
  .catalog-item,
  .catalog-group {
    width: 100%;
  }
  .contacts a {
    display: block;
  }
  .catalog-item p {
    margin: 5px;
  }
}
@media only screen and (max-width: 374px) {
  header {
    display: block;
  }
  header:after {
    content: "";
    display: table;
    clear: both;
  }
  .logo {
    display: block;
  }
  .contacts {
    float: left;
  }
  .catalog-item,
  .catalog-group {
    margin: 5px;
    width: 100%;
  }
  #slider h2 {
    margin: 0 30%;
  }
  #slider .more {
    left: 25%;
  }
}
