
body{
    margin: 0;
    font-family:'Vazirmatn', sans-serif;
    background: #f5e6d3;
    color: #1b3d2f;
}

/*Splash*/
#splash{
    position: fixed;
    width: 100%;
    height: 100%;
    background: #1b3d2f;
    color: #f5e6d3;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Playfair Display',serif;
    font-size: 40px;
    z-index: 9999;
    animation: fadeOut 2s forwards;
    animation-delay: 2s;
}

@keyframes fadeOut{
    to{opacity: 0;visibility: hidden;}
}

/*Header*/
header{
    background: #1b3d2f;
    color: #f5e6d3;
    text-align: center;
    padding: 20px;
    font-family: 'Playfair Display',serif;
    letter-spacing: 3px;
}

/*Tabs*/
.tabs{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    background: #d8c3a5;
    padding: 10px;
}

.tabs button{
    margin: 5px;
    padding: 10px 15px;
    border: none;
    background: #1b3d2f;
    font-family: 'Morabba';
    color: white;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.3s;
}

.tabs button:hover{
    transform: scale(1.1);
    background: #2e5b47;
}

/*Cards*/
#content{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 20px;
}

.card{
    background: white;
    margin: 10px;
    padding: 15px;
    border-radius: 15px;
    width: 200px;
    font-family: 'Morabba';
    text-align: center;
    transition: 0.4s;
    animation: fadeln 0.5s;
}

.card:hover{
    transform: translateY(-10px)scale(1.05);
}

.card img{
    width: 100%;
    height: 130px;
    object-fit: cover;
    border-radius: 10px;
    cursor: pointer;
}

.price{
    font-weight: bold;
    margin-top: 10px;
}

/*Animation*/
@keyframes fadeln{
    from{opacity: 0; transform: translateY(20px);}
    to{opacity: 1;transform: translateY(0);}
}

/*Modal*/
#modal{
    position: fixed;
    display: none;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
}

#modal img{
    max-width: 80%;
    border-radius: 1;
}

.ratio-box{

  width:100%;

  display:flex;

  justify-content:center;

  gap:15px;

  margin-bottom:30px;

  flex-wrap:wrap;

}

.ratio-box div{

  background:rgba(255,255,255,0.25);

  backdrop-filter:blur(12px);

  border:1px solid rgba(255,255,255,0.3);

  padding:6px 12px;

  border-radius:12px;

  color:#7a5c32;

  font-family:'Morabba';

  font-size:15px;

  box-shadow:0 6px 20px rgba(0,0,0,0.08);

  transition:0.3s;

}

.ratio-box div:hover{

  transform:translateY(-4px);

  background:#b79b6c;

  color:white;
}
.desc{
    font-size: 14px;
    color: #755a2a;
    margin-top: -8px;
    margin-bottom: 12px;
    line-height: 1.;
}