* {
  font-family: 'PT Sans Caption', sans-serif;
}

h3 {
  font-size: 50px;
}

h4 {
  display: flex;
  justify-content: center; 
  font-size: 50px;
}

h5 {
  margin: 35px 0;
  display: flex;
  justify-content: center; 
  font-size: 35px;
}

.prod-bg {
  z-index: 15;
  top: 0;
  background-color: rgba(0, 0, 0, 60%);
  position: fixed;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.remove-item, .remove-full-img-item, .remove-comand-block {
  z-index: 14;
  position: absolute;
  width: 100%;
  height: 100%;
}

.prod-item {
  position: relative;
  z-index: 15;
  background-color: aliceblue;
  border-radius: 20px;
  width: 85%;
  height: 80%;
  display: flex;
  flex-direction: column;
  overflow-y: scroll;
}

.prod-item h4 {
  margin: 45px 0;
}

.prod-item h5 {
  justify-content: flex-start;
  margin: 5px 0;
}

.remove-item-img {
  position: absolute;
  width: 100%;
  display: flex;
  justify-content: flex-end;
  top: 4%;
  right: 6%;
}

.remove-item-img img {
  height: 40px;
}

.product-info {
  width: 90%;
  padding: 2%;
  display: flex;
}

.product-info img {
  width: 60%;
  border-radius: 20px;
}

.base-info {
  width: 50%;
  padding: 0 2%;
}

#product-page {
  z-index: 10;
}

.product-list a {
  width: 25%;
}

#product-page .base-info p {
  font-size: 20px;
  justify-content: flex-start;
}

.buy-product {
  display: flex;
  flex-direction: column;
}

.buy-product .calc-block {
  border-radius: 20px;
  font-size: 20px;
  margin: 10px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.buy-product .calc-block div {
  margin: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.plus, .minus,.cart-plus, .cart-minus {
  background-color: white;
  display: flex;
  justify-content: center;
  border: none;
  border-radius: 20px;
  width: 30px;
  padding: 0 20px;
  text-align: center;
  /* border-radius: 50%; */
  font-size: 30px;
  cursor: pointer;
}

.plus:hover, .minus:hover, .cart-plus:hover, .cart-minus:hover {
  background-color: lightgrey;
}

#product-page .amount, #product-page .base-info .amount, .amount, .cart-amount {
  color: black;
  margin: 0 5px;
  font-size: 30px;
}

.buy-product .total-price-block {
  display: flex;
  justify-content: center;
  align-items: center;
}

#product-page .total-price-block p {
  font-size: 23px;
}

.products_list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
}

.products_list a {
  background-color: whitesmoke;
  color: black;
  width: 25%;
  border: solid 1px #2c2a2b;
  margin: 5px 10px;
  text-decoration: none;
}

.products_list a img {
  width: 100%;
}

.products_list a p {
  display: flex;
  justify-content: center;
}

.descr p {
  padding: 0 2%;
  font-size: 20px;
}

@media (max-width: 800px) {
  .products_list a {
    width: 90%;
  }
}

@media (max-height: 550px) {
  .product-list {
    height: 60%;
  }
}
@media (max-height: 500px) {
  .product-list {
    height: 50%;
  }
}

@media (max-width: 1050px) {
  .nav-menu a {
    padding: 11.8px 2.5vw;
  }
  .nav-menu-ru a {
    padding: 12px 1.5vw;
  }
  .shop-cart {
    width: 70vw;
  }
  .prod-info, .prod-calc {
    width: 40%;
  }
  .comand-prods {
    margin-left: 5%;
  }
  #main-page {
    background: no-repeat center/150% url(../gallery/m5.jpg);
  }
  .product-info img {
    width: 50%;
  }
  .gallery div {
    background: center/160% no-repeat;
  }
  .full-img-block {
    width: 45%;
  }
  @media (min-height: 1000px) {
    #main-page {
      background: no-repeat center/200% url(../gallery/m5.jpg);
    }
    #main-page img {
      width: 70%;
    }
  }
}


@media (max-width: 800px) {
  #side-nav-bar {
    display: none;
  }
  h3 {
    font-size: 40px;
  }
  #main-header {
   padding: 0; 
  }
  .logo, .cart {
    padding: 3px 13.5vw;
  }
  #main-header .cart img {
    height: 40px;
  }
  .total-prod-amount {
    right: 11vw;
  }
  #main-header .cart-prod .prod-img {
    margin: 0 5px;
  }
  .shop-cart {
    display: none;
    transform: none;
    background-color: rgba(223, 219, 219, 0.9);
    width: 100vw;
  }
  .remove {
    top: 10px;
  }
  .logo:hover {
    background-color: rgba(248, 244, 244, 50%);
    filter: invert(75%);
  }
  .nav-menu, .nav-menu-ru {
    display: none;
  }
  .phone-btn {
    display: flex;
  }
  #main-header .phone-btn img {
    height: 35px;
  }
  #main-header .languages {
    display: none;
  }
  #main-header .phone-menu .languages {
    display: flex;
  }
  #main-page {
    background: no-repeat center/210% url(../gallery/an1.jpg);
    width: 100%;
    height: 70vh;
  }
  #main-page div {
    height: 100%;
  }
  #main-page div p {
    font-size: 20px;
  }  
  #main-page img {
    width: 90%;
  }
  .product-info {
    width: 90%;
    flex-direction: column;
  }
  .remove-item-img {
    right: 2%;
  }
  .product-info img {
    width: 95%;
  }
  .base-info {
    width: 100%;
  }
  .add-to-cart {
    width: 90%;
  }
  .plus, .minus, .cart-plus, .cart-minus {
    padding: 0 50px;
  }
  .gallery div {
    width: 45%;
  }
  .full-img-block {
    width: 60%;
  }
  .contact-list, .contact-data, .contact-form {
    width: 100%;
    padding: 10px 0 10px 10px;
  }
  .map {
    width: 95%;
    padding: 0;
    margin: 15px 0;
  }
  .contact-list li {
    font-size: 25px;
  }
  .contact-data li {
    font-size: 20px;
  }
  .contact-data img {
    height: 15px;
  }
  .contact-form {
    align-items: center;
  }
  .contact-form input, .contact-form textarea {
    width: 95%;
    padding: 10px 0;
    padding-left: 5px;
    margin: 10px 0;
    font-size: 30px;
  }
  @media (max-height: 550px) {
    .product-list {
      height: 60%;
    }
  }
  @media (max-height: 500px) {
    .product-list {
      height: 50%;
    }
  }
}

@media (max-width: 650px) {
  .logo, .cart, .phone-btn {
    padding: 3px 12.5vw;
  }
  .total-prod-amount {
    right: 9.5vw;
  }
}

@media (max-width: 550px) {
  h3 {
    font-size: 30px;
  }
  h4 {
    margin: 40px 0;
  }
  .logo, .cart, .phone-btn {
    padding: 3px 11vw;
  }
  .product-list {
    height: 60%;
  }
  .total-prod-amount {
    right: 6.5vw;
  }
  .comand-prods {
    width: 90%;
    margin-left: 0;
  }
  .close img {
    padding: 10px 10px 0 0;
  }
  .cart-prod {
    flex-wrap: wrap;
    justify-content: center;
    border-bottom: 5px dashed gray;
  }
  .cart-prod h5 {
    font-size: 25px;
  }
  #main-header .cart-prod .prod-img {
    width: 50%;
  }
  #main-header .close img {
    height: 35px;
  }
  #main-header .remove {
    height: 35px;
  }
  .remove {
    top: auto;
  }
  #main-page {
    background: no-repeat center/210% url(../gallery/m5.jpg);
  }
  #main-page div {
    padding: 0 3%;
  }
  #main-page div p {
    font-size: 20px;
  }
  #main-page img {
    width: 80%;
  }
  .prod-info {
    font-size: 25px;
  }
  .prod-calc {
    width: 100%;
    justify-content: center;
    padding: 10px 0;
    font-size: 25px;
  }
  .prod-calc .minus, .prod-calc .plus {
    width: 20%;
  }
  .product-info {
    padding: 2% 0 2% 2%;
  }
  .remove-item-img img {
    height: 35px;
  }
  .gallery div {
    width: 90%;
    margin: 5px 0;
  }
  .full-img-block {
    width: 85%;
  }
  @media (max-height: 550px) {
    .product-list {
      height: 50%;
    }
  }
  @media (max-height: 500px) {
    .product-list {
      height: 35%;
    }
  }
}

@keyframes hoverAddCart {
  from {
    background-color: white;
    border: 2px solid green;
    color: black;
  }
  to {
    background-color: green;
    border: 2px solid transparent;
    color: white;
  }
}

@keyframes rightToLeft {
  from {
    transform: translateX(70vw);
  }
  to {
    transform: translateX(0);
  }
}