body {
background-color: #d71645;
font-family: verdana;
color: #363636;
}
a {
text-decoration: none;
color: #363636;
}
a:hover {
color:  #d71645;
}
.mainwhole {
margin:30px;
}
.whole {
background-color: #f2f2f2;
border-radius:15px;
max-width: 1200px;
height: auto;
margin: auto;
margin-top: 40px;
padding: 50px;
}
.nav {
display: flex;
}
.sitelogo {
width: 100px;
margin-bottom: 30px;
}
.menu {
font-size:60px;
margin: auto;
text-align: right;
padding-bottom: 40px;
width: 75%;
}
/* ========================== */
.overlay {
  height: 0%;
  width: 100%;
  position: fixed;
  z-index: 1;
  top: 0;
  left: 0;
  background-color: rgb(0,0,0);
  background-color: rgba(0,0,0, 0.9);
  overflow-y: hidden;
  transition: 0.5s;
}

.overlay-content {
  position: relative;
  top: 25%;
  width: 100%;
  text-align: center;
  margin-top: 30px;
}

.overlay a {
  padding: 8px;
  text-decoration: none;
  font-size: 36px;
  color: #818181;
  display: block;
  transition: 0.3s;
}

.overlay a:hover, .overlay a:focus {
  color: #f1f1f1;
}

.overlay .closebtn {
  position: absolute;
  top: 20px;
  right: 45px;
  font-size: 60px;
}

@media screen and (max-height: 450px) {
  .overlay {overflow-y: auto;}
  .overlay a {font-size: 20px}
  .overlay .closebtn {
  font-size: 40px;
  top: 15px;
  right: 35px;
  }
}

/* ========================== */

.pourya {
margin-bottom: 100px;
}
.hashtagdun {
margin-bottom: 60px;
}
.hashtag {
background-color: #fff;
padding: 5px 15px 5px 15px;
border-radius: 5px;
color: #5e5e5e;
text-decoration: none;
}
.hashtagsel {
background-color: #d71645;
padding: 5px 15px 5px 15px;
border-radius: 5px;
color: #fff;
text-decoration: none;
}
.works {
padding: 50px;
}
.pitem {
float: left;
}
.pitemimg {
margin: auto;
max-width: 100%;
max-height: 100%;
opacity: 1;
display: block;
height: auto;
transition: .5s ease;
backface-visibility: hidden;
}
.pitemhov {
transition: .5s ease;
opacity: 0;
text-align: center;
position: absolute;
margin-top: -130px;
}
.card:hover .pitemimg {
opacity: 0.3;
}
.card:hover .pitemhov {
opacity: 1;
}
.pitemtext {
background-color: #d71645;
color: white;
font-size: 16px;
padding: 16px 32px;
text-align: left;
border-radius: 0px 10px 10px 0px;
border-style: none none solid none;
border-color: #7b0d28;
line-height: 30px;
}
.pitemtitr {
font-size: 24px;
}
.cards {
max-width: 1200px;
margin: 0 auto;
display: grid;
gap: 30px;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}
.card {
color: white;
height: auto;
text-align:center;
}

/* Script's Css */
.filterDiv {
display: none;
}
.show {
display: block;
}
.container {
overflow: hidden;
margin-top: 30px;
}
/* Style the buttons */
.btn {
border: none;
outline: none;
background-color: #fff;
padding: 10px 20px 10px 20px;
border-radius: 10px;
color: #5e5e5e;
text-decoration: none;
margin-bottom: 10px;
margin-right: 10px;
}
.btn:hover {
background-color: #f7d0d9;
color: #d71645;
}
.btn.active {
background-color: #d71645;
color: white;
}





div.gallery {
  border: 1px solid #ccc;
}

div.gallery:hover {
  border: 1px solid #777;
}

div.gallery img {
  width: 100%;
  height: auto;
}

div.desc {
  padding: 15px;
  text-align: center;
}

* {
  box-sizing: border-box;
}

.responsive {
  padding: 0 6px;
  float: left;
  width: 24.99999%;
}

@media only screen and (max-width: 700px) {
  .responsive {
    width: 49.99999%;
    margin: 6px 0;
  }
}

@media only screen and (max-width: 500px) {
  .responsive {
    width: 100%;
  }
}

.clearfix:after {
  content: "";
  display: table;
  clear: both;
}
.imgpages {
width:100%;
}