body {
  background-color: #111;
  color: #fff;
}
@font-face {
  font-family: IRANSans;
  src: url(Fonts/IRANSans.ttf) format("ttf");
}
@font-face {
  font-family: "IRANSans Medium";
  src: url(Fonts/Kalameh-Medium.ttf) format("ttf");
}
@font-face {
  font-family: Kalameh-Medium;
  src: url(Fonts/Kalameh-Medium.ttf) format("ttf");
  src: url(Fonts/KalamehWeb-Medium.woff) format("woff");
}
/* Header */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  right: 0;
  left: 0;
  margin: auto;
  width: 90%;
  height: 5rem;
  padding: 0 0rem;
}
.main-nav {
  width: 60%;
}
.main-nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "IRANSans-Medium", "Kalameh-Medium", Arial, Helvetica, sans-serif;
  font-size: 1.2rem;
}
.main-nav-list-img {
  width: 2rem;
  transition: scale 500ms;
}
.main-nav-list-img:hover {
  scale: 120%;
}
.icon-holder {
  float: right;
  margin-left: 5px;
}
.text-holder {
  display: flex;
  float: left;
  margin-left: 20px;
}
.search {
  float: left;
  margin-top: 0.9rem;
  margin-left: 3rem;
}
.searchbar {
  width: 300px;
  height: 40px;
  border-style: none;
  border-radius: 10px;
  color: #fff;
  background-color: #333;
  font-family: IRANSans;
  font-size: 20px;
}
.searchbar::placeholder {
  padding-right: 0.1rem;
  font-family: IRANSans;
  font-size: 20px;
}
a:link {
  text-decoration: none;
}
.item {
  color: #fff;
  transition: color 500ms;
  transition: scale 500ms;
}
.main-nav-list:has(.item:hover) .item:not(:hover) {
  color: #888;
}
.item:hover {
  scale: 120%;
}
/* Header */

/* First Section */
.topsection {
  right: 0;
  left: 0;
  margin: auto;
  width: 85%;
  height: max-content;
  display: flex;
}
.row {
  width: 100%;
  height: 180;
  margin-top: 20px;
}
.firstrowimg {
  width: 306;
  border-radius: 10px;
  margin-left: 10px;
  cursor: pointer;
}
/* First Section  */

/* Second Section */
.secondsection {
  width: 100%;
  height: max-content;
  margin-top: 30px;
  border-radius: 5px;
  background-color: #333;
}
.secondsectionrow,
.secondsectiontext {
  width: 85%;
  right: 0;
  left: 0;
  margin: auto;
  padding-top: 30px;
}
h2.secondsectiontext {
  float: right;
}
span {
  color: #6797f6;
  font-family: IRANSans;
  font-size: medium;
  margin-top: -42px;
  margin-left: 13;
  float: left;
}
.rowimg {
  width: 200;
  height: 290;
  border-radius: 5px;
  cursor: pointer;
}
.col {
  width: 200;
  height: 300;
  margin-left: 9.6px;
  margin-top: -20px;
  display: inline-block;
}
.secondsectionrow:last-child {
  padding-bottom: 30px;
}
/* Second Section */

/* Footer */
.footer {
  background-color: #111;
  width: 85%;
  margin: auto;
  margin-top: 30px;
}
.footerlink {
  margin-right: 100px;
  margin-top: -65px;
  display: flex;
  font-family: IRANSans;
  font-size: 20px;
  gap: 20px;
}
a:link,
a:visited,
a:hover,
a:active {
  color: #fff;
}
.socialmedia {
  display: flex;
  list-style: none;
  padding-right: 1045px;
  margin-top: -65px;
  gap: 10px;
}
.socialmediaimg {
  width: 50;
  height: 50;
  transition: scale 500ms;
}
.socialmediaimg:hover {
  scale: 120%;
}
.copyright {
  text-align: center;
  font-family: IRANSans;
  color: #666;
}
/* Footer */

/* SignIn & SignUp Page */
.signin,
.signup {
  width: 25%;
  height: 33rem;
  background-color: #222;
  border-radius: 10px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 10px 30px 10px 30px;
}
.signup {
  height: 40rem;
}
.formheader {
  font-family: IRANSans;
  font-size: 30px;
  text-align: center;
  padding-bottom: 5px;
}
.label {
  font-family: IRANSans;
  font-size: 1.2rem;
  display: block;
  margin-bottom: 0.5rem;
}
.input {
  width: 100%;
  height: 2.5rem;
  background-color: #333;
  color: #fff;
  border-style: none;
  border-radius: 0.5rem;
  padding-left: 0.5rem;
  margin-bottom: 2rem;
  font-family: sans-serif;
  font-size: 1.3rem;
  direction: ltr;
}
.signup .input {
  margin-bottom: 1.2rem;
}
.forgot {
  color: #888;
  font-family: IRANSans;
  font-size: 1rem;
  text-align: right;
  margin-top: -1.5rem;
}
.forgot:hover {
  color: #fff;
}
.button {
  width: 100%;
  height: 2.5rem;
  background-color: #444;
  color: #fff;
  margin-top: 20px;
  margin-bottom: 25px;
  border-style: none;
  border-radius: 0.5rem;
  font-family: "IRANSans Medium";
  font-size: 1.3rem;
  cursor: pointer;
}
.signup .button {
  height: 2.2rem;
  margin-bottom: 20px;
}
.signup .button:last-child {
  margin-top: 20px;
}
.button:last-child {
  background-color: #555;
  margin-top: 25px;
  margin-bottom: 0;
}
.secondsectiontextserial {
  margin-bottom: 2rem;
}
p {
  font-family: IRANSans;
  cursor: pointer;
}
.secondsectionrowserial {
  width: 85%;
  right: 0;
  left: 0;
  margin: auto;
  padding-top: 30px;
  padding-bottom: 2rem;
}
/* SignIn & SignUp Page */

/* Serial Page */
.content {
  width: 100%;
  height: 36rem;
  margin-top: 30px;
  border-radius: 5px;
  background-color: #333;
}
.contentdiv {
  width: 85%;
  right: 0;
  left: 0;
  margin: auto;
  display: flex;
}
.contentimg {
  margin: 1rem 0 1rem 1rem;
  border-radius: 5px;
  display: flex;
}
.contentdiv p {
  color: #ddd;
  cursor: text;
  display: flex;
}
.contentdiv h3 {
  font-family: IRANSans;
}
.contentdiv h1 {
  display: flex;
  font-family: IRANSans;
}
.downloadbox {
  width: 50%;
  background-color: #111;
  right: 0;
  left: 0;
  border-radius: 10px;
  margin: auto;
  margin-top: 1rem;
}
.downloadbox .label {
  margin: 10px 10px 10px 10px;
  display: inline;
  font-family: "IRANSans Medium";
}
.downloadbox .label1 {
  margin: 10px 10px 10px 10px;
  display: inline;
  font-family: IRANSans;
}
.select {
  margin-top: 10px;
  border-radius: 2px;
  font-family: Kalameh;
  border-style: none;
  width: 6rem;
  color: #999;
  background-color: #333;
}
.select:focus {
  color: #fff;
}
.checkbox {
  accent-color: #555;
  cursor: pointer;
}
.downloadbox .button {
  right: 0;
  left: 0;
  margin-right: 8rem;
  width: 10rem;
}
