@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap");

* {
  font-family: "Roboto", sans-serif;
}


/* Login page */

.login {
  background-color: white;
  margin: 20vh auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px;
  border-radius: 10px;
  width: 50%;
}

/* End of Login page */


/* Admin products page */

.search-input {
  outline: none !important;
}

.table-icon {
  border: 0;
}

.table-icon span {
  font-size: 34px;
}

#products td img {
  width: 100px;
  transition: transform ease 0.3s;
}

#products td img:hover {
  transform: scale(1.5);
}

@media (max-width: 768px) {
  .login {
    width: 90%;
  }

  .login div {
    width: 100% !important;
  }
}

/* End of Admin products page */


/* Catalog page */
#bucket_content .temp{
  opacity: 0.5;
}

#catalog{
  width: 78%;
  margin: 20px auto;
}

.product {
  width: 215px;
  min-height: 550px;
  padding: 20px;
  background-color: white;
  transition: 0.3s;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.product_info h3 {
  width: 100%;
  display: -webkit-box;
  -webkit-line-clamp: 2; 
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product:hover {
  transform: scale(1.02);
}

.product .img_block{
  height: 40%;
}

.product img{
  width: 100%;
  height: 200px;
}

.product button:hover{
  background-color: orange;
  border: 1px solid orange;
}

/* End of Catalog page */

/* Requests page */

#requests{
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.request{
  width: 400px;
  background-color: white;
  float: left;
  position: relative;
  transition: 0.2s;
}

.request:hover{
  box-shadow: 0 0 5px #0d6efd;
}

.request .requester{
  font-size: 20px;
}

.request .requester_phone{
  font-size: 14px;
}

.request .request_time{
  font-size: 13px;
}

.request .amount{
  font-size: 14px;
  text-align:center;
}

.request .actions{
  position: absolute;
  top: 10px;
  right: 10px;
}

#selected_requester_block{
  width: 100%;
  background-color: white;
  float: left;
  transition: 0.2s;
}

/* Error Page */
.error {
  margin: 4rem;
}

.error img {
  max-width: 500px;
  width: 100%;
  height: auto;
}



/* End of Requests page */

@media (max-width: 1199.98px) {
  .search-category div:nth-child(2){
    width: 50%;
  }
}

@media (max-width: 991.98px) {
  #show_bucket-modal .modal-body {
    flex-direction: column-reverse;
  }

  #show_bucket-modal .bucket {
    padding: 0 3rem;
  }

  #show_bucket-modal .bucket h3{
    margin-bottom: 40px;
  }
}

@media (max-width: 603px) { 
  #catalog{
    justify-content: center;
  }

  .product .img_block {
    text-align: center;
  }
  
  .product img {
    width: 175px;
  }

  .product{
    min-height: 500px; 
    width: 90%;
  }

  .product_info{
    flex: none !important;
  }
}

/* @media (max-width: 575.98px) { 
  #catalog{
    justify-content: center;
  }

  .product{
    min-height: 500px; 
    width: 90%;
  }

  .product_info{
    flex: none !important;
  }
} */
