@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Oswald:wght@200;300;400;500;600;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,300;1,400;1,500;1,600;1,700;1,800&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Fira+Sans:ital,wght@0,300;0,400;0,600;0,900;1,100;1,600;1,900&display=swap");
@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");

html {
  scroll-behavior: smooth;
}
* {
  padding: 0;
  margin: 0;
  border: 0;
  font-family: "Roboto";
  box-sizing: border-box;
  user-select: none;
  font-size: 15px;
  color:#FFFFFF;
}
body {
  background-color: #252525;
}
#intro-coffee {
    background-image:linear-gradient(rgba(37, 37, 37, 0.2), rgba(37, 37, 37, 0.2), rgba(37, 37, 37, 0.49), #252525), url('./imagenes/fondo-cafe1.webp');
    background-size: cover;

    position: relative;
    padding: 15pt;
    min-height: 60vh;
}
#intro-coffee #logo-cafe {
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    width: 250px;
    height: auto;
}
#intro-coffee .description {
    position: absolute;
    bottom: 10%;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 5pt;
}
#intro-coffee .description h2 {
    font-size: 1.5rem;
}
#intro-coffee .description p {
    font-size: .9rem;
    font-weight: 300;
}
#st-products {
    padding: 15pt;
    -webkit-tap-highlight-color: transparent;
}

#st-products .categories {
    display: flex;
    margin: 8px 0px;
    justify-content: space-evenly;
    align-items: center;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}
#st-products .categories .category {
    padding: 7pt 18pt;
    color: #B7B7B5;
    transition: all 0.3s ease;
    -webkit-tap-highlight-color: transparent;
}
#st-products .categories .category:hover {
    background-color: #2E2E2E;
    border-radius: 10px;
}
#st-products .categories .category.active {
    color: #FFFFFF;
    background-color: #4646464f;
    border-radius: 10px;
}
#st-products .categories .category.active:hover {
    background-color: #4C4B4B;
}
.products-container {
    background-color: #4646464f;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    border-radius: 15px;
    padding: 10pt;
}
.products-container .product {
    display: flex;
    max-width: 250px;
    flex-direction: column;
    align-items: left;
    padding: 8px;
    background-color: #61605f5b;
    border-radius: 10px;
    transition: all 0.3s ease;
}
.products-container .product img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: 7px;
    margin-bottom: 10px;
}
.products-container .product h4 {
    font-size: 1.1rem;
    font-weight: 600;
}
/* .products-container .product p {
    font-size: 0.85rem;
    color: #d1d1d1;
} */
.products-container .product .precio {
    font-size: 1rem;
    width: fit-content;
    padding: 5px 10px;
    border-radius: 10px;
    background-color: #b87644;
    font-weight: 600;
}
.products-container .product .list-product {
    margin: 8px 0px;
}
.products-container .product .list-product li{
    list-style: none;
    font-size: .9rem;
    font-weight: 300;
    color: #cccccb;
}
.back-btn {
    background-color: #b87644;
  -webkit-tap-highlight-color: transparent;
    text-decoration: none;
    width: fit-content;
    padding: 5px 10px;
    padding-right: 15px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    font-size: .9rem;
    cursor: pointer;
  color: #ffffff;
    transition: all 0.3s ease; 
}
.back-btn ion-icon {
    transition: all 0.3s ease;
  color: #fff;
}
.back-btn:hover ion-icon {
    color: #FFFFFF;
}
.back-btn:hover {
    color: #FFFFFF;
    margin-left: -10px;
    background-color: #835530;
}

@media (min-width: 768px) {
  body {
    width: 40vw;
    margin: 0 auto;
  }
}