@charset "utf-8";

@font-face {
  font-family: IRANYekanX-UltraLight;
  src: url("fonts/IranYekanX/IRANYekanX-UltraLight.ttf");
}

@font-face {
  font-family: IRANYekanX-Regular;
  src: url("fonts/IranYekanX/IRANYekanX-Regular.ttf");
}

* {
  box-sizing: border-box;
  font-family: IRANYekanX-UltraLight;

  padding: 0%;
  margin: 0%;
  font-weight: 500;
  color: var(--ColorText);
}

h1 {
  width: 100%;
  text-align: center;
  font-size: 40px;
  margin: 10px auto;
  /* color: var(--Color); */
}

h2,
h3 {
  width: 100%;
  /* background-color: aliceblue; */
  font-size: 40px;
  color: var(--Color);
  text-align: right !important;
  padding-right: 60px !important;
}

main {
    height: auto;
  margin-top: 110px;
  margin-bottom: 100px;
  /* gap: 20px !important; */
}

#sec-imgs {
  width: 100%;
  height: auto;
  min-height: 350px;
  margin: 30px auto;
  display: flex;
  justify-content: space-around;
  padding-bottom: 20px;
}

#sec-content {
  width: 90%;
  height: auto;
  padding: 10px;
  margin: 20px auto;

}

#sec-content p {
  font-size: 20px;
  line-height: 40px;
  text-align: justify;
}

#sec-image-class {
  width: 90%;
  height: auto;
  padding: 10px;
  margin: 10px auto 50px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;

}

#sec-image-class img {
  display: block;
  width: 22%;
  height: auto;
  border-radius: 15px;
  border: 5px gray solid;
  margin-bottom: 10px;
}

/* #varai {
  display: flex;
  flex-direction: column;
} */


@media (max-width: 640px) {
  h1 {
    width: 100%;
  }
 #daf{
  font-size: 30px;
 }
  h2 {
    font-size: 30px;
  }

  h3 {
    font-size: 24px;
  }

  #sec-imgs {
    width: 90%;
    margin: auto;
    flex-direction: column;
    gap: 20px;
  }

  #sec-image-class {

    flex-direction: column;
  }

  #sec-image-class img {
    width: 70%;
    margin: 20px auto;
  }
}