@font-face {
    font-family: yekan;
    src: url(yekan.woff2) format("woff-variations"),url(yekan.woff2) format("woff");
    font-weight: 100 1000;
    font-display: fallback
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "yekan";
  }
  .main{
    flex:1;
  }

.container{
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
}
  .pro{
    display:flex;
    align-items: center;
    margin-top: 5px;
    border-radius: 10px;
    width: 100%;
    padding: 10px;
    color: #f4f4f9;
    background-color:rgb(65, 65, 65);
    text-align: center;
    justify-content: space-around;

  }
 

  body {
    background-color: #f4f4f9;
    color: #333;
  }
 
  header {
    text-align: center;
    padding: 40px;
    background-color: #564caf;
    color: white;
    font-weight:bolder;
  }
  
  h1 {
    font-size: 35px;
  }
  
  .discount {
    display: flex;
    margin-top: 5px;
    border-top: 1px solid rgb(119, 119, 119); /* Create a bottom border */
    padding-bottom: 5px; /* Space between the text and the line */
    margin: 1; /* Remove default margin */
    text-decoration: line-through;
}

  .product-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    padding: 20px;
    gap: 10px;  
  }
  
  .product-container p{
    margin: 10px;
    line-height: 2.5;
  }

  .product-card {
    background-color: white;
    border-radius: 10px;
    width: 250px;
    margin: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transform: scale(0.95);
    transition: transform 0.3s ease;
    height: fit-content;
  }
  
  .product-card img {
    width: 100%;
    height: auto;
    object-fit: cover;
  }
  
  .product-card h2 {
    font-size: 22px;
    padding: 10px;
    text-align: center;
  }
  

  .product-card p {
    padding: 0 15px 15px;
    text-align: right;
  }
  
  .product-card:hover {
    transform: scale(1);
  }
  
  footer {
    text-align: center;
    padding: 20px;
    background-color: #333;
    color: white;
    margin-top: 100px;
    bottom: 0;
    
  }
  footer p{
    margin: 20px;
  }
  footer p:nth-child(3) {
    font-size: 14px;
    margin-bottom: 20px;
  }
  span{
    color: #f8f8f8;  
  }
  footer h6{
    color: darkgrey;
  }
  .thumbnail:hover {
    transform: scale(1.1);
  }

  .popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    justify-content: center;
    align-items: center;
    z-index: 1000;
  }

  .popup-content {
    position: relative;
    text-align: center;
  }

  .popup img {
    scale: 80%;
    max-width: 80%;
    max-height: 80%;
    border-radius: 10px;
  }

  button {
    position: absolute;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.5);
    border: none;
    padding: 10px;
    cursor: pointer;
    font-size: 24px;
  }

  button:hover {
    background-color: rgba(255, 255, 255, 0.8);
  }

  .prev {
    top: 50%;
    left: 10px;
  }

  .next {
    top: 50%;
    right: 10px;
  }

  .close{
  top: 10%;
  right: 10px;
  }

  .popup.active {
    display: flex;
  }

  br {
    text-align: right; /* This will not have any effect on <br> elements */
}