@font-face {
  font-family: iran;
  src: url(/font/IRANSansFaNum.ttf);
}

body {
  direction: rtl;
  margin: 0;
  padding: 0;
}

.up {
  /* border: 1px solid red;  */
  width: 100%;
  height: 60%;
  background: url(/img/52.jpg) no-repeat center;
  background-size: cover;
}

.cantainer .date-time>span {
  display: block;
  left: 0;
  top: 100px;
  color: white;
  font-size: large;
  font-family: iran;
  padding-bottom: 10px;
}

.date-time {
  position: absolute;
  left: 0;
  top: 20px;
  text-align: center;
}

.down {
  /* border: 1px solid red; */
  width: 100%;
  height: 40%;
  background-color: #121212;
  position: relative;
}

.cantainer {
  /* border: 1px solid red;   */
  width: 70%;
  height: 100%;
  margin: auto;
  position: relative;
  padding-right: 30px;
}

.cantainer>img {
  /* border: 1px solid red; */
  width: 150px;
}

.showall {
  /* border: 1px solid red; */
  position: relative;
}

.showall>span {
  background: url(/img/icons8-dashboard-100.png) center no-repeat;
  background-size: 80%;
  /* border: 1px solid red;  */
  display: inline-block;
  width: 45px;
  height: 45px;
  border-radius: 4px;
  background-color: white;
  margin-top: 50px;
  margin-right: 10px;
  cursor: pointer;
}

.showall>h2 {
  position: absolute;
  right: 64px;
  top: 30px;
  color: white;
  font-family: iran;
}

.showall>p {
  position: absolute;
  right: 64px;
  top: 69px;
  color: white;
  font-family: iran;
  font-size: small;
}

.menu {
  /* border: 1px solid blue; */
  position: absolute;
  height: 100%;
  width: 95%;
  top: -100px;
  right: 40px;

}

.item {
  /* border: 1px solid red; */
  width: 23%;
  height: 250px;
  float: right;
  margin-left: 10px;
  border-radius: 10px;
  /* box-shadow: 1px 1px 10px 1px rgb(37, 36, 36); */
  background: #1a1a1a;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.item>a {
  text-decoration: none;
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
}

.item img {
  border-radius: 5px;
  width: 65px;
  height: 65px;
  margin-top: 40px;

}


.item p {
  /* border:1px solid red; */
margin: auto;
  color: white;
  font-size: large;
  font-family: iran;
  margin-top: 40px;
  text-align: center;
}


.item:hover {
  background: rgb(127, 88, 245);
  background: linear-gradient(-34deg, rgba(127, 88, 245, 1) 0%, rgba(252, 110, 132, 1) 77%);
  transition: 2s;

}

.title {
  position: absolute;
  bottom: 0;
  right: 40%;
  direction: ltr;
  background: rgb(127, 88, 245);
  background: linear-gradient(-34deg, rgba(127, 88, 245, 1) 35%, rgba(252, 110, 132, 1) 100%);
  -webkit-background: linear-gradient(-34deg, rgba(127, 88, 245, 1) 35%, rgba(252, 110, 132, 1) 100%);
  -moz-background: linear-gradient(-34deg, rgba(127, 88, 245, 1) 35%, rgba(252, 110, 132, 1) 100%);
  background-clip: text;
  -webkit-text-fill-color: transparent;
  -moz-text-fill-color: transparent;
}

.title>span {
  display: inline-block;
  font-size: large;
  padding-left: 45px;
  margin-bottom: 20px;
}

/*************************************************/
.change{
  transform: translateY(-600px);
  transition: 0.7s;
  opacity: 0; 
   visibility: hidden;
}

.content{
  width: 30%;
  height: 200px;
  border-radius: 15px;
  margin: auto;
  margin-top: 30px;
  padding-top: 15px;
  background-color: #121212;
  transition: 0.5s;
  position: absolute;
  z-index: 50;
  direction: ltr;
  left:33%;
  top: 50px;
font-family:iran;
}
.content h6{
font-family:iran;
}
.weather-state{
  /* border: 1px solid red; */
  width: 95%;
  margin: auto;
  margin-right: 0 !important;
  margin-left: 10px !important;
}
.info{
  /* border: 1px solid white; */
  text-align: center;
  color: white;
  height: 100px;
  padding-top: 15px;
}
.weather-icon{
  background: url(/img/icons8-partly-cloudy-day-100.png) no-repeat;
  background-size: 100px;
}
.details>h6{
  font-size: 13px;
}
.line{
  color: #571263;
}
.down-we{
  /* border: 1px solid white; */
  text-align: center;
}
.down-we>h5{
  font-size: 10px;
  color: white;
}
.more-see{
  background: url(../img/icons8-down-100.png)no-repeat;
  background-position: center;
  background-size: 16px;
  /* border: 1px solid red; */
  width: 20px;
  height: 20px;
  display: inline-block;
  cursor: pointer;
}
.long-height{
  height: 500px;
  transition: 0.5s;
}
.weather-icon-down{
  width: 85px;
  height: 80px;
  display: inline-block;
  cursor: pointer;
  background-position: center;
}
.info-down{
  border-right:2px solid #571263;
  text-align: center;
  color: white;
}
.line-down{
  width: 20px;
  color: #571263;
}
.another-day{
  visibility: hidden;
 

}

.mask{
  background: rgb(0, 0, 0, 0.8);
  width: 100%;
  height: 100%;
  position: fixed;
  z-index: 100;
  visibility: hidden;
  opacity: 0; 
 transition:0.5s; 
  transform: 0.5s;
}
.show-mask{
  visibility: visible;
  opacity: 1;

}
@media only screen and (max-width:1300px) {
 .item {
  width: 23%;
  }
  .down{
    height: 40%;
  }
}


@media only screen and (max-width:890px) {
  .item {
    margin-left: 15px;
    margin-bottom: 15px;
    width: 45%;

  }
  .down{
    height: 90%;
  }
  .title{
    right: 30%;
  }
		.content {
  width: 70%;
  min-height: 200px;
  left: 17%;
}
}

@media only screen and (max-width:720px) {
  .item {
    margin-left: 15px;
    margin-bottom: 15px;
    width: 45%;
  }
  .down{
    height: 90%;
  }
		.content {
  width: 70%;
  min-height: 200px;
  left: 17%;
}
} 



@media only screen and (max-width:720px) {
  .title {
   width: 60%;
   right: 20%;
  }
.title>span{
  padding: 20px;
}
  	.content {
  width: 70%;
  min-height: 200px;
  left: 17%;
}
}
@media only screen and (max-width:640px) {
	.content {
  width: 70%;
  min-height: 200px;
  left: 17%;
}
  .item{
    width: 80%;
    height: 250px;
  }
  .title{
    width: 40px;
    right: 98%;
    bottom: 770px;
  }
  .title>span{
    display: block;
  
  }
  .down{
    height: 180%;
  }

  .cantainer>img{
   /* margin-left: 110px; */
   padding-right: 0;
  }

  .cantainer>img {
    /* border: 1px solid red; */
    width: 60px;
    margin-top: 30px;
  }
  .cantainer .date-time>span {
    font-size: 13px;
  }
}

.weather{
  /* border: 1px solid red; */
  background: url(/icon/icons8-weather-100\(2\).png)no-repeat;
  background-size: 50px;
  background-position: center;
  height: 70px;
  width: 60px;
  position: fixed;
  left: 0;
  top: 158px;
  cursor: pointer;
  z-index: 150;
}
.faichat{
  /* border: 1px solid red; */
  background: url(/icon/messenger.png) no-repeat;
  background-size: 50px;
  background-position: center;
  height: 70px;
  width: 60px;
  position: fixed;
  left: 0;
  top: 220px;
  cursor: pointer;
  z-index: 150;
}
/*//////////////////////////////////////*/
