@font-face {
    font-family: Vazir;
    src: url('fonts/Vazir-FD-WOL.eot');
    src: url('fonts/Vazir-FD-WOL.eot?#iefix') format('embedded-opentype'),
    url('fonts/Vazir-FD-WOL.woff') format('woff'),
    url('fonts/Vazir-FD-WOL.ttf') format('truetype');
    font-weight: normal;
}
@font-face {
    font-family: Vazir;
    src: url('fonts/Vazir-Bold-FD-WOL.eot');
    src: url('fonts/Vazir-Bold-FD-WOL.eot?#iefix') format('embedded-opentype'),
    url('fonts/Vazir-Bold-FD-WOL.woff') format('woff'),
    url('fonts/Vazir-Bold-FD-WOL.ttf') format('truetype');
    font-weight: bold;
}


body {
  margin: 0;
  background: #000;
  font-family: Vazir;
}

a {
	text-decoration: none;
}

h1 {
	font-size:18px;
}

.main{
  
  background: #000;
  font-family: Vazir;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top:-30px;
	margin-bottom: -30px;
}


.subject
{
	color: white;
	text-align: center;
}

.dsub
{
	color: white;
	text-align: center;
 	vertical-align: top;
}


.logo
{
	vertical-align: middle;
    box-sizing: border-box;
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 0;
	height: 50px;			
}

.container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 5vmin;
  overflow: hidden;
  transform: skew(5deg);
}

.container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 5vmin;
  overflow: hidden;
  transform: skew(5deg);
}
.container .card {
  flex: 1;
  transition: all 1s ease-in-out;
  height: 75vmin;
  position: relative;
}
.container .card .card__head {
  color: black;
  background: rgba(13, 84, 227, 0.75);
  padding: 0.5em;
  transform: rotate(-90deg);
  transform-origin: 0% 0%;
  transition: all 0.5s ease-in-out;
  min-width: 100%;
  text-align: center;
  position: absolute;
  bottom: 0;
  left: 0;
  font-size: 1vw;
  white-space: nowrap;
}
.container .card:hover {
  flex-grow: 10;
}
.container .card:hover img {
  filter: grayscale(0);
}
.container .card:hover .card__head {
  text-align: center;
  top: calc(100% - 2em);
  color: white;
  background: rgba(0, 0, 0, 0.5);
  font-size: 1.5vw;
  transform: rotate(0deg) skew(-5deg);
}
.container .card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 1s ease-in-out;
  filter: grayscale(100%);
}
.container .card:not(:nth-child(5)) {
  margin-right: 1em;
}

.c-a1{
	color: #000;
	font-weight:bold;
	text-decoration: none;
}

.c-a1:hover{
	color: rgb(13, 84, 227);
	font-weight:bold;
}

.container .card:hover .card__head .c-a1 {
  color: white;
}

.container .card:hover .card__head .c-a1:hover {
 color: #A9EAFC;
	cursor: pointer;
}

.head {
  text-align: center;
  top: calc(100% - 2em);
  color: white;
  background: rgba(0, 0, 0, 0.5);
  font-size: 2em;
  transform: rotate(0deg) skew(-5deg);
}