
#products .container{
    width: 100%;
    height: 100%;
    padding: 10px 20px;
}

#products .container h2{
    font-size: 2.5rem;
    font-weight: 600;
    color: #1F2937;
    text-align: center;
}

#products .container .content{
    width:100%;
    height:100% ;
    display: flex;
    gap:50px;
    justify-content: center;
    flex-wrap: wrap;
    padding:10px;
    margin-top: 50px;

  }

  #products .container .content .box{
    width:30%;
    height:500px;
    background-color: #fff;
    border-radius: 16px;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
        transition: all 0.5s;
    text-align: center;
  }

  #products .container .content .box:hover{
    scale:1.02;
  }

  #products .container .content .box .top{
    width:100%;
    height:300px;
    padding:20px;
  }

  #products .container .content .box .top img{
    width:100%;
    height:100%;
    object-fit: cover;
    transition: all 0.5s;
    border-radius: 16px;
    box-shadow: rgba(0, 0, 0, 0.2) 0px 12px 28px 0px, rgba(0, 0, 0, 0.1) 0px 2px 4px 0px, rgba(255, 255, 255, 0.05) 0px 0px 0px 1px inset;
    filter: grayscale(80%);
  filter: brightness(0.6); 
  }



  #products .container .content .box .bottom{
    width:100%;
    height:50%;
    padding:20px;
  }

  #products .container .content .box .bottom h4{
    font-size: 1.8rem;
    font-weight: 500;
    color: #1F2937;
    text-align: center;
  }

  #products .container .content .box .bottom p{
    font-size: 1rem;
    font-weight: 400;
    margin-top: 10px;
    color: #4B5563;
  }

  #products .container .content .box .bottom .elem{
    display: flex;
    gap:10px;
    justify-content: space-evenly;
  }
  
  #products .container .content .box .bottom .elem p{
    padding:0.8em;
    border-radius: 36px;
    background-color: #dbeafe;
    color: #2563EB;
    font-size: 1rem;
    font-weight: 600;
  }

  #products .container .content .box .bottom .elem p a{
    text-decoration: none;
    color:#2563EB;
  }

  #products .container .content .box .bottom button{
    padding:10px 20px;
    margin-top: 20px;
    background-color: #2563EB;
    border: none;
    border-radius: 8px;
    transition: all 0.5s;
    cursor: pointer;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

#products .container .content .box .bottom button:hover{
    background-color: #2148A2;
}

#products .container .content .box .bottom button a{
    text-decoration: none;
    color:#fff;
    font-size: 1.2rem;
}

@/media screen and (max-width:1250px){
    #products .container .content .box .bottom .elem{
        flex-wrap: wrap;
    }
}

@/media screen and (max-width:1100px){
    #products .container .content .box{
        flex-direction: column;
        width:45%;
        height:100%;
    }
    #products .container .content .box .bottom button{
        width:20vw;
        height:5vh;
    }   
}

@/media screen and (max-width:600px){
    #products .container .content .box .bottom button{
        width:30vw;
        height:5vh;
    }
    #products .container .content .box{
        width:100%;
        height:100%;

    } 

    #products .container .content .box .bottom button{
        width:30vw;
        height:8vh;
    }
}

.image-container {
  position: relative;
  display: inline-block;
  text-align: center;
  width:100%;
  height:100%;
  margin-top: 100px;
}

.image-container img {
  display: block;
  width: 100%;
  max-height: 60vh;
  object-fit: cover;
  background-size: cover;
  border-radius: 16px;
  filter: grayscale(80%); 
filter: brightness(0.5); 
  background-position: center;

}

.overlay-text {
  position: absolute;
  top: 50%; 
  left: 50%; 
  transform: translate(-50%, -50%);
  color: white;
  font-size: 2.6rem;
  font-weight: 600;
  background-color: rgba(0, 0, 0, 0.5); 
  padding: 10px 20px;
  border-radius: 16px;
}

#products .container .image-container .overlay-text h2{
  color: #ffffff;
  justify-content: center;
  text-align: center;
  margin: 0 auto;
  font-size: 2.6rem;
}

#products .container .image-container .overlay-text  p{
  color: #fff;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px;
  font-weight: 500;
  font-size: 1.2rem;
}