@font-face {
  font-family: Merriweather;
  font-style: normal;
  font-weight: 900;
  src: url("../fonts/eot/Merriweather-Regular.eot");
  src: url("../fonts/eot/Merriweather-Regular.eot?#iefix")
      format("embedded-opentype"),
    /* IE6-8 */ url("../fonts/woff/Merriweather-Regular.woff") format("woff"),
    /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
      url("../fonts/ttf/Merriweather-Regular.ttf") format("truetype");
}

@font-face {
  font-family: IRANRounded;
  font-style: normal;
  font-weight: 900;
  src: url("../fonts/eot/IRAN-Rounded.eot");
  src: url("../fonts/eot/IRAN-Rounded.eot?#iefix") format("embedded-opentype"),
    /* IE6-8 */ url("../fonts/woff/IRAN-Rounded.woff") format("woff"),
    /* FF3.6+, IE9, Chrome6+, Saf5.1+*/ url("../fonts/ttf/IRAN-Rounded.ttf")
      format("truetype");
}

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}

body {
  line-height: 1;
}

ol,
ul {
  list-style: none;
}

blockquote,
q {
  quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

body {
  -webkit-text-size-adjust: none;
}

mark {
  background-color: transparent;
  color: inherit;
}

input::-moz-focus-inner {
  border: 0;
  padding: 0;
}

input,
select,
textarea {
  -moz-appearance: none;
  -webkit-appearance: none;
  -ms-appearance: none;
  appearance: none;
}

/* Basic */

@-ms-viewport {
  width: device-width;
}

/* width */
::-webkit-scrollbar {
  width: 10px;
  border-radius: 5px;
}

/* Track */
::-webkit-scrollbar-track {
  background: #fdf2e9;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: #dc9554;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #de7e24;
  cursor: pointer;
}

*,
html,
body {
  font-family: "Merriweather";
  scroll-behavior: smooth !important;
}

body {
  direction: rtl;
  margin: 0;
  background: #000000;
}

a {
  color: #fdf2e9;
}

a:visited {
  color: #fdf2e9;
}

.pointer-cursor {
  cursor: pointer;
}

.header {
  background: #000000;
  padding: 0 64px 64px 64px;
}

.header-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-direction: row-reverse;
  gap: 20px;
}

.menu-and-title {
  display: flex;
  flex-direction: column;
}

.menu {
  color: #fdf2e9;
  font-size: 22px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.menu-list {
  display: inline-flex;
  list-style-type: none;
  direction: ltr;
  gap: 32px;
  margin: 0;
}

.menu-list a {
  text-decoration: none;
  color: #fdf2e9;
  text-wrap: nowrap;
}

.header-content {
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 90%;
  opacity: 50%;
  z-index: 1;
}

.menu-and-title .title {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  margin-top: 30px;
  margin-right: -170px;
  gap: 30px;
}

.title-fa {
  font-style: normal;
  font-weight: 400;
  text-align: center;
  color: #fdf2e9;
}

.title-en {
  font-family: "Merriweather";
  font-style: normal;
  font-weight: 400;
  font-size: 90px;
  line-height: 100.97%;
  text-align: right;
  color: #fdf2e9;
  display: flex;
  justify-content: flex-start;
  flex-direction: column;
  text-align: left;
}

.pair {
  display: flex;
  flex-direction: column;
  gap: 55px;
}

.activity {
  background-color: #1a1a1a;
  padding: 64px;
}

.activity-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 64px;
}

.activity-row:not(:first-child) {
  margin-top: 64px;
}

.activity-row-1 {
  display: grid;
  grid-template-columns: 420px 1fr;
}

.activity-item {
  min-height: 420px;
}

.activity-item-label {
  display: flex;
  height: 48px;
  flex-direction: column;
  flex-shrink: 0;
  padding: 15px;
  color: #1a1a1a;
}

.square-class {
  height: 100%;
  width: 100%;
}

.activity-item-mask {
  /* width: 420px; */
  height: 95.4px;

  background: rgba(217, 217, 217, 0.6);
  backdrop-filter: blur(7.5px);
  /* Note: backdrop-filter has minimal browser support */

  border-radius: 0px 0px 60px 60px;
  margin-top: -95.4px;
}

.activity-item-image-2 {
  width: 100%;
}

/*  ------------ About */

.about {
  background: var(--gray-7, #454545);
  display: flex;
  justify-content: flex-start;
  padding: 30px 0;
}

.about-seperator {
  display: flex;
  align-items: center;
}

.about-images {
  display: flex;
  align-items: center;
}

.about-images-back {
  display: flex;
  align-items: flex-end;
  margin-bottom: -30px;
}

.empty-section {
  width: 10%;
}

.about-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-left: 20px;
}

.about-text-header {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 50px;
}

.about-text-header-content {
  color: var(--gray-6, #6f6f6f);
  text-align: center;
  font-size: 40px;
  font-style: normal;
  font-weight: 400;
  line-height: 116.967%;
}

.active {
  color: white;
}

.full-width {
  width: 100%;
  margin-top: 45px;
}

.about-text-content {
  max-height: 530px;
  overflow: hidden;
  color: var(--color-1, #fdf2e9);
  text-align: left;
  text-overflow: ellipsis;
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: 120%;
  margin-top: 45px;
  max-width: 420px;
  overflow: auto;
  padding: 20px;
  direction: ltr;
}

.about-text-content .english-text {
  direction: ltr;
}

.about-text-content-farsi {
  direction: ltr;
}

.about-images-main {
  position: absolute;
  margin-top: 50px;
}

.about-images-main,
.about-images-main-back {
  width: 40vw;
}

.about-seperator-img {
  width: 10vw;
}

/* ------------------ news */

.news {
  display: flex;
  flex-direction: column;
  color: #fdf2e9;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background-color: #1a1a1a;
}

.news-column {
  margin: 20px 0;
}

.news-column:not(:first-child) {
  border-right: #fdf2e9 1px solid;
}

.news-box {
  margin: 20px;
  direction: ltr;
}

.news-box:not(:first-child) {
  border-top: #fdf2e9 1px solid;
}

.news-box-content-text {
  text-align: left;
}

.column-1 .news-box {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px 0;
}

.column-1 .news-box .news-box-header {
  font-size: 20px;
  line-height: 25px;
}

.column-1 .news-box .news-box-content {
  display: flex;
  gap: 15px;
}

.column-1 .news-box .news-box-footer {
  font-size: 8px;
}

.column-2 .news-box {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px;
}

.column-2 .news-box .news-box-header {
  font-size: 20px;
  line-height: 25px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.column-2 .news-box .news-box-header .news-box-header-text {
  text-align: justify;
}

.column-2 .news-box .news-box-header .news-box-header-image img {
  width: 100%;
}

.column-2 .news-box .news-box-content {
  display: flex;
  gap: 15px;
  flex-direction: column-reverse;
}

.column-2 .news-box .news-box-footer {
  font-size: 8px;
}

.column-3 .news-box {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px;
}

.column-3 .news-box .news-box-header {
  font-size: 26px;
  line-height: 35px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.column-3 .news-box .news-box-header .news-box-header-text {
  text-align: justify;
}

.column-3 .news-box .news-box-header .news-box-header-image img {
  width: 100%;
}

.column-3 .news-box .news-box-content {
  display: flex;
  gap: 15px;
  flex-direction: column-reverse;
}

.column-3 .news-box .news-box-footer {
  font-size: 8px;
}

.column-4 .news-box {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px;
}

.column-4 .news-box .news-box-header {
  font-size: 26px;
  line-height: 35px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.column-4 .news-box .news-box-header .news-box-header-text {
  text-align: justify;
}

.column-4 .news-box .news-box-content {
  display: flex;
  gap: 15px;
  flex-direction: column-reverse;
}

.column-4 .news-box .news-box-footer {
  font-size: 8px;
}

/* gallery -------------------------------------- */
.gallery {
  background-color: #000000;
  color: var(--color-1, #fdf2e9);
}

.gallery .slide-1 {
  display: flex;
  flex-direction: row-reverse;
  padding: 5%;
}

.gallery .text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.gallery .text .title {
  font-size: 32px;
  font-weight: 400;
  line-height: 115.467%;
}

.gallery .text .content {
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  text-align: justify;
  padding: 25px;
  margin-left: 10px;
}

.gallery .text .gallary-footer {
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  text-align: justify;
  padding: 25px;
  margin-left: 10px;
}

.gallery .navigation {
  position: relative;
  margin-top: 20px;
  cursor: pointer;
  display: flex;
  gap: 10px;
}

/* academy ----------------------- */
.academy {
  background-color: #646464;
  color: var(--color-1, #fdf2e9);
  display: flex;
  padding: 20px;
  justify-content: space-between;
  direction: ltr;
  line-height: 25px;
}

/* footer -------------------------------------- */
.footer {
  background-color: #454545;
  color: var(--color-1, #fdf2e9);
  display: flex;
  padding: 20px;
  justify-content: space-between;
}

.footer .right {
  display: flex;
}

.footer .left li {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  gap: 10px;
}

.footer-menu-list {
  list-style: none;
  margin-right: 10px;
}

/* ----------- slider */

/* .fade {
  opacity: 0;
  animation: fade 3s linear;
}

@keyframes fade {
  0%,
  100% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
} */
.text {
  margin-top: -40px;
  color: var(--color-1, #fdf2e9);
}

.fade {
  -webkit-animation: fadeinout 5s forwards;
  animation: fadeinout 5s forwards;
}

@-webkit-keyframes fadeinout {
  0%,
  100% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
}

@keyframes fadeinout {
  0%,
  100% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
}

/* ------------ slider */

.anchor {
  background-color: #fdf2e9;
  display: flex;
  width: 50px;
  height: 50px;
  padding: 5px;
  align-items: center;
  justify-content: center;
  position: fixed;
  bottom: 15px;
  right: 15px;
  border-radius: 50%;
  z-index: 2;
  cursor: pointer;
}

.anchor img {
  width: 60%;
}

/* ----------------- slider */
.caption-heading {
  background: #895a2eb3;
  padding: 10px 20px;
}

.caption .caption-subhead {
  letter-spacing: 0 !important;
  word-spacing: 0 !important;
  display: block;
  background-color: #eae7e57a;
  color: black !important;
  padding: 5px 20px;
}

/* ---------------------- timeline */
#timeline {
  direction: ltr;
}

@media (min-width: 1000px) {
  #timeline .demo-card:nth-child(even) .head::after,
  #timeline .demo-card:nth-child(odd) .head::after {
    position: absolute;
    content: "";
    width: 0;
    height: 0;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
  }

  #timeline .demo-card:nth-child(even) .head::before,
  #timeline .demo-card:nth-child(odd) .head::before {
    position: absolute;
    content: "";
    width: 9px;
    height: 9px;
    background-color: #bdbdbd;
    border-radius: 9px;
    /* box-shadow: 0px 0px 2px 8px #f7f7f7; */
  }
}
/* Some Cool Stuff */
.demo-card:nth-child(1) {
  order: 1;
}

.demo-card:nth-child(2) {
  order: 11;
}

.demo-card:nth-child(3) {
  order: 2;
}

.demo-card:nth-child(4) {
  order: 12;
}

.demo-card:nth-child(5) {
  order: 3;
}

.demo-card:nth-child(6) {
  order: 13;
}

.demo-card:nth-child(7) {
  order: 4;
}

.demo-card:nth-child(8) {
  order: 14;
}

.demo-card:nth-child(9) {
  order: 5;
}

.demo-card:nth-child(10) {
  order: 15;
}

.demo-card:nth-child(11) {
  order: 6;
}

.demo-card:nth-child(12) {
  order: 16;
}

.demo-card:nth-child(13) {
  order: 7;
}

.demo-card:nth-child(14) {
  order: 17;
}

.demo-card:nth-child(15) {
  order: 8;
}

.demo-card:nth-child(16) {
  order: 18;
}

.demo-card:nth-child(17) {
  order: 9;
}

#timeline {
  padding: 100px 0;
  background: #272727;
  border-top: 1px solid rgba(191, 191, 191, 0.4);
  border-bottom: 1px solid rgba(191, 191, 191, 0.4);
}
#timeline h1 {
  text-align: center;
  font-size: 3rem;
  font-weight: 200;
  margin-bottom: 20px;
}
#timeline p.leader {
  text-align: center;
  max-width: 90%;
  margin: auto;
  margin-bottom: 45px;
}
#timeline .demo-card-wrapper {
  position: relative;
  margin: auto;
  z-index: 0;
}
@media (min-width: 1000px) {
  #timeline .demo-card-wrapper {
    display: flex;
    flex-flow: column wrap;
    width: 1170px;
    height: 4700px;
    margin: 0 auto;
  }
}
#timeline .demo-card-wrapper::after {
  z-index: 1;
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  border-left: 1px solid rgba(191, 191, 191, 0.4);
}
@media (min-width: 1000px) {
  #timeline .demo-card-wrapper::after {
    border-left: 1px solid #bdbdbd;
  }
}
#timeline .demo-card {
  position: relative;
  display: block;
  margin: 10px auto 80px;
  max-width: 94%;
  z-index: 2;
}
@media (min-width: 480px) {
  #timeline .demo-card {
    max-width: 80%;
    box-shadow: 0px 1px 22px 4px rgba(0, 0, 0, 0.07);
  }

  #timeline .demo-card--step14 {
    margin-top: 0 !important;
  }
}
@media (min-width: 720px) {
  #timeline .demo-card {
    max-width: 70%;
  }

  #timeline .demo-card--step14 {
    margin-top: 0 !important;
  }
}
@media (min-width: 1000px) {
  #timeline .demo-card {
    max-width: 450px;
    /* height: 400px; */
    margin: 90px;
    margin-top: 45px;
    margin-bottom: 45px;
  }
  #timeline .demo-card:nth-child(odd) {
    margin-right: 45px;
  }
  #timeline .demo-card:nth-child(odd) .head::after {
    border-left-width: 15px;
    border-left-style: solid;
    left: 100%;
  }
  #timeline .demo-card:nth-child(odd) .head::before {
    left: 491.5px;
  }
  #timeline .demo-card:nth-child(even) {
    margin-left: 45px;
    margin-top: 55px;
  }
  #timeline .demo-card:nth-child(even) .head::after {
    border-right-width: 15px;
    border-right-style: solid;
    right: 100%;
  }
  #timeline .demo-card:nth-child(even) .head::before {
    right: 489.5px;
  }
  #timeline .demo-card:nth-child(2) {
    margin-top: 180px;
  }
  #timeline .demo-card--step17 {
    margin-top: 165px !important;
  }
}
#timeline .demo-card .head {
  position: relative;
  display: flex;
  align-items: center;
  font-weight: 400;
  direction: ltr;
}
#timeline .demo-card .head .number-box {
  display: inline;
  float: left;
  margin: 15px;
  padding: 13px 5px 5px 5px;
  font-size: 35px;
  line-height: 35px;
  font-weight: 600;
  background: rgba(0, 0, 0, 0.17);
}

#timeline .demo-card .head h2 {
  text-transform: uppercase;
  font-size: 1.3rem;
  font-weight: inherit;
  letter-spacing: 2px;
  margin: 0;
  padding-bottom: 6px;
  line-height: 1rem;
}
@media (min-width: 480px) {
  #timeline .demo-card .head h2 {
    font-size: 140%;
    line-height: 1.2rem;
  }
}
#timeline .demo-card .head h2 span {
  display: block;
  font-size: 0.6rem;
  margin: 0;
}
@media (min-width: 480px) {
  #timeline .demo-card .head h2 span {
    font-size: 0.8rem;
  }
}

#timeline .demo-card .body {
  border-top: 0;
  padding: 15px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  direction: ltr;
  text-align: justify;
  line-height: 5px;
}

#timeline .demo-card .body p {
  font-size: 14px;
  line-height: 18px;
  margin-bottom: 15px;
}
#timeline .demo-card .body img {
  display: block;
  width: 100%;
}
#timeline .demo-card--step1 {
  background-color: #454545;
}
#timeline .demo-card--step1 .head::after {
  border-color: #454545;
}
#timeline .demo-card--step2 {
  background-color: #454545;
}
#timeline .demo-card--step2 .head::after {
  border-color: #454545;
}
#timeline .demo-card--step3 {
  background-color: #454545;
}
#timeline .demo-card--step3 .head::after {
  border-color: #454545;
}
#timeline .demo-card--step4 {
  background-color: #454545;
}
#timeline .demo-card--step4 .head::after {
  border-color: #454545;
}
#timeline .demo-card--step5 {
  background-color: #454545;
}
#timeline .demo-card--step5 .head::after {
  border-color: #454545;
}
#timeline .demo-card--step6 {
  background-color: #454545;
}
#timeline .demo-card--step6 .head::after {
  border-color: #454545;
}
#timeline .demo-card--step7 {
  margin-top: 15px;
  background-color: #454545;
}
#timeline .demo-card--step7 .head::after {
  border-color: #454545;
}
#timeline .demo-card--step8 {
  background-color: #454545;
}
#timeline .demo-card--step8 .head::after {
  border-color: #454545;
}
#timeline .demo-card--step9 {
  background-color: #454545;
}
#timeline .demo-card--step9 .head::after {
  border-color: #454545;
}
#timeline .demo-card--step10 {
  background-color: #454545;
}
#timeline .demo-card--step10 .head::after {
  border-color: #454545;
}
#timeline .demo-card--step11 {
  background-color: #454545;
}
#timeline .demo-card--step11 .head::after {
  border-color: #454545;
}
#timeline .demo-card--step12 {
  background-color: #454545;
}
#timeline .demo-card--step12 .head::after {
  border-color: #454545;
}
#timeline .demo-card--step13 {
  background-color: #454545;
}
#timeline .demo-card--step13 .head::after {
  border-color: #454545;
}
#timeline .demo-card--step14 {
  margin-top: 165px;
  background-color: #454545;
}
#timeline .demo-card--step14 .head::after {
  border-color: #454545;
}
#timeline .demo-card--step15 {
  background-color: #454545;
}
#timeline .demo-card--step15 .head::after {
  border-color: #454545;
}
#timeline .demo-card--step16 {
  background-color: #454545;
}
#timeline .demo-card--step16 .head::after {
  border-color: #454545;
}
#timeline .demo-card--step17 {
  background-color: #454545;
}
#timeline .demo-card--step17 .head::after {
  border-color: #454545;
}

/* --------------------------- timeline slider */
/**
 * Carousel.sass
 * @author: Dang Van Thanh
 * @github: https://github.com/dangvanthanh/carousel.sass
 * @description: A Simple Carousel Pure CSS Using Sass
 * @version: 1.0.0
 */
.carousel
  > input[type="radio"]:nth-child(5):checked
  ~ .carousel__next
  > label:nth-child(1),
.carousel
  > input[type="radio"]:nth-child(5):checked
  ~ .carousel__prev
  > label:nth-child(4),
.carousel
  > input[type="radio"]:nth-child(4):checked
  ~ .carousel__next
  > label:nth-child(5),
.carousel
  > input[type="radio"]:nth-child(4):checked
  ~ .carousel__prev
  > label:nth-child(3),
.carousel
  > input[type="radio"]:nth-child(3):checked
  ~ .carousel__next
  > label:nth-child(4),
.carousel
  > input[type="radio"]:nth-child(3):checked
  ~ .carousel__prev
  > label:nth-child(2),
.carousel
  > input[type="radio"]:nth-child(2):checked
  ~ .carousel__next
  > label:nth-child(3),
.carousel
  > input[type="radio"]:nth-child(2):checked
  ~ .carousel__prev
  > label:nth-child(1),
.carousel
  > input[type="radio"]:nth-child(1):checked
  ~ .carousel__next
  > label:nth-child(2),
.carousel
  > input[type="radio"]:nth-child(1):checked
  ~ .carousel__prev
  > label:nth-child(5) {
  opacity: 1 !important;
  visibility: visible;
  z-index: 3;
}

*,
*:before,
*:after {
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
}

body {
  background: #fcfcfc;
  margin: 0;
}

.timeline-container {
  /* width: 900px;
  min-width: 900px; */
  /* margin: 50px/ auto; */
  width: 100%;
  height: 100%;
}

.carousel {
  width: 100%;
  position: relative;
  overflow: hidden;
}
.carousel > input[type="radio"] {
  position: absolute;
  left: 0;
  opacity: 0;
  top: 0;
  visibility: visible;
}
.carousel > input[type="radio"]:checked ~ .carousel__items .carousel__item,
.carousel > input[type="radio"]:checked ~ .carousel__prev > label,
.carousel > input[type="radio"]:checked ~ .carousel__next > label {
  opacity: 0;
  visibility: hidden;
}
.carousel
  > input[type="radio"]:nth-child(1):checked
  ~ .carousel__items
  .carousel__item:nth-child(1) {
  opacity: 1;
  visibility: visible;
}
.carousel
  > input[type="radio"]:nth-child(1):checked
  ~ .carousel__nav
  > label:nth-child(1) {
  background: #ccc;
  cursor: default;
  pointer-events: none;
}
.carousel
  > input[type="radio"]:nth-child(2):checked
  ~ .carousel__items
  .carousel__item:nth-child(2) {
  opacity: 1;
  visibility: visible;
}
.carousel
  > input[type="radio"]:nth-child(2):checked
  ~ .carousel__nav
  > label:nth-child(2) {
  background: #ccc;
  cursor: default;
  pointer-events: none;
}
.carousel
  > input[type="radio"]:nth-child(3):checked
  ~ .carousel__items
  .carousel__item:nth-child(3) {
  opacity: 1;
  visibility: visible;
}
.carousel
  > input[type="radio"]:nth-child(3):checked
  ~ .carousel__nav
  > label:nth-child(3) {
  background: #ccc;
  cursor: default;
  pointer-events: none;
}
.carousel
  > input[type="radio"]:nth-child(4):checked
  ~ .carousel__items
  .carousel__item:nth-child(4) {
  opacity: 1;
  visibility: visible;
}
.carousel
  > input[type="radio"]:nth-child(4):checked
  ~ .carousel__nav
  > label:nth-child(4) {
  background: #ccc;
  cursor: default;
  pointer-events: none;
}
.carousel
  > input[type="radio"]:nth-child(5):checked
  ~ .carousel__items
  .carousel__item:nth-child(5) {
  opacity: 1;
  visibility: visible;
}
.carousel
  > input[type="radio"]:nth-child(5):checked
  ~ .carousel__nav
  > label:nth-child(5) {
  background: #ccc;
  cursor: default;
  pointer-events: none;
}
.carousel__items {
  margin: 0;
  padding: 0;
  list-style-type: none;
  width: 100%;
  height: 230px;
  position: relative;
}
.carousel__item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  transition: opacity 2s;
  -webkit-transition: opacity 2s;
}
.carousel__item img {
  width: 100%;
  vertical-align: middle;
}
.carousel__prev > label,
.carousel__next > label {
  border: 1px solid #fff;
  border-radius: 50%;
  cursor: pointer;
  display: block;
  width: 25px;
  height: 25px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  transition: all 0.3s ease;
  -webkit-transition: all 0.3s ease;
  opacity: 0;
  z-index: 2;
}
.carousel__prev > label:hover,
.carousel__prev > label:focus,
.carousel__next > label:hover,
.carousel__next > label:focus {
  opacity: 0.5 !important;
}
.carousel__prev > label:before,
.carousel__prev > label:after,
.carousel__next > label:before,
.carousel__next > label:after {
  content: "";
  position: absolute;
  width: inherit;
  height: inherit;
}
.carousel__prev > label:before,
.carousel__next > label:before {
  background: linear-gradient(
      to top,
      #fff 0%,
      #fff 10%,
      rgba(51, 51, 51, 0) 10%
    ),
    linear-gradient(to left, #fff 0%, #fff 10%, rgba(51, 51, 51, 0) 10%);
  width: 30%;
  height: 30%;
  top: 33%;
}
.carousel__prev > label {
  left: 2%;
}
.carousel__prev > label:before {
  left: 40%;
  top: 33%;
  transform: rotate(135deg);
  -webkit-transform: rotate(135deg);
}
.carousel__next > label {
  right: 2%;
}
.carousel__next > label:before {
  left: 25%;
  transform: rotate(315deg);
  -webkit-transform: rotate(315deg);
}
.carousel__nav {
  /* position: absolute; */
  bottom: 3%;
  left: 0;
  text-align: center;
  width: 100%;
  z-index: 3;
}
.carousel__nav > label {
  border: 1px solid #fff;
  display: inline-block;
  border-radius: 50%;
  cursor: pointer;
  margin: 0 0.125%;
  width: 20px;
  height: 20px;
}

/*  ------------ modal ------------ */
/* Style the Image Used to Trigger the Modal */
#myImg {
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s;
}

#myImg:hover {
  opacity: 0.7;
}

/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  padding-top: 100px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0, 0, 0); /* Fallback color */
  background-color: rgba(0, 0, 0, 0.9); /* Black w/ opacity */
}

/* Modal Content (Image) */
.modal-content {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
}

/* Caption of Modal Image (Image Text) - Same Width as the Image */
#caption {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  text-align: center;
  color: #ccc;
  padding: 10px 0;
  height: 150px;
}

/* Add Animation - Zoom in the Modal */
.modal-content,
#caption {
  animation-name: zoom;
  animation-duration: 0.6s;
}

@keyframes zoom {
  from {
    transform: scale(0);
  }
  to {
    transform: scale(1);
  }
}

/* The Close Button */
.close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
}

.close:hover,
.close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px) {
  .modal-content {
    width: 100%;
  }
}

.farsi-context {
  font-family: IRANRounded !important;
  line-height: 24px;
}

/* ------------ notification */
.notification-title {
  width: 300px;
  font-size: 14px;
  font-weight: 500;
  color: #303030;
  margin-top: 0;
  margin-bottom: 0;
}
.notification--reminder {
  display: flex;
  flex-direction: column-reverse;
  gap: 15px;
  padding: 20px;
  position: fixed;
  bottom: 0;
  z-index: 9999999999999;
  background: #fff;
  transform: translateY(80px);
  animation: notification--in linear 500ms;
  animation-iteration-count: 1;
  transform-origin: 50% 50%;
  animation-fill-mode: forwards; /*when the spec is finished*/
  -webkit-animation: notification--in linear 500ms;
  -webkit-animation-iteration-count: 1;
  -webkit-transform-origin: 50% 50%;
  -webkit-animation-fill-mode: forwards; /*Chrome 16+, Safari 4+*/
  -moz-animation: notification--in linear 500ms;
  -moz-animation-iteration-count: 1;
  -moz-transform-origin: 50% 50%;
  -moz-animation-fill-mode: forwards; /*FF 5+*/
  -o-animation: notification--in linear 500ms;
  -o-animation-iteration-count: 1;
  -o-transform-origin: 50% 50%;
  -o-animation-fill-mode: forwards; /*Not implemented yet*/
  -ms-animation: notification--in linear 500ms;
  -ms-animation-iteration-count: 1;
  -ms-transform-origin: 50% 50%;
  -ms-animation-fill-mode: forwards; /*IE 10+*/
}

@keyframes notification--in {
  0% {
    transform: translate(0px, 80px);
  }
  100% {
    transform: translate(0px, 0px);
  }
}

@-moz-keyframes notification--in {
  0% {
    -moz-transform: translate(0px, 80px);
  }
  100% {
    -moz-transform: translate(0px, 0px);
  }
}

@-webkit-keyframes notification--in {
  0% {
    -webkit-transform: translate(0px, 80px);
  }
  100% {
    -webkit-transform: translate(0px, 0px);
  }
}

@-o-keyframes notification--in {
  0% {
    -o-transform: translate(0px, 80px);
  }
  100% {
    -o-transform: translate(0px, 0px);
  }
}

@-ms-keyframes notification--in {
  0% {
    -ms-transform: translate(0px, 80px);
  }
  100% {
    -ms-transform: translate(0px, 0px);
  }
}
.move--down {
}
.notification--reminder .notification-title {
  font-weight: 500;
}
.notification--reminder .notification-title a {
  text-decoration: none;
  background: #1e1e1e;
  border: 1px solid #1e1e1e;
  color: #fff;
  display: inline-block;
  height: 40px;
  letter-spacing: 1px;
  line-height: 40px;
  padding: 0 10px;
  text-transform: uppercase;
  -webkit-transition: all 0.5s ease 0s;
  transition: all 0.5s ease 0s;
}
.notification--reminder .notification-title a:hover {
  border: 1px solid #aaaaaa;
  color: #8b8b8b;
  background: transparent;
}
.notification--wrapper {
  position: fixed;
  height: 100vh;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 99999;
  top: 0;
}
@media (max-width: 767px) {
  .notification--reminder .notification-title {
    font-size: 14px;
  }
  .notification--reminder {
    padding: 30px;
  }
  .notification--reminder .notification-title a {
    display: inline-block !important;
    margin-top: 15px;
    margin-left: 0px;
  }
}
/* ------------------------- top navbar */
.topnav {
  overflow: hidden;
  display: flex;
}

.topnav a {
  float: left;
  display: block;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
}

.active {
  color: white;
}

.topnav .icon {
  display: none;
}

.topnav a:hover,
.dropdown:hover .dropbtn {
  background-color: #555;
  color: white;
}

.dropdown-content a:hover {
  background-color: #ddd;
  color: black;
}

.dropdown:hover .dropdown-content {
  display: block;
}

@media screen and (max-width: 736px) {
  .topnav li:not(:first-child),
  .dropdown .dropbtn {
    display: none;
  }
  .topnav a.icon {
    float: right;
    display: block;
  }

  .topnav {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
  .topnav.responsive {
    position: relative;
  }
  .topnav.responsive .icon {
    position: absolute;
    left: 56px;
    top: 0;
  }
  .topnav.responsive li {
    float: none;
    display: block;
    text-align: left;
  }
  .topnav.responsive .dropdown {
    float: none;
  }
  .topnav.responsive .dropdown-content {
    position: relative;
  }
  .topnav.responsive .dropdown .dropbtn {
    display: block;
    width: 100%;
    text-align: left;
  }
}
/* ------------------------- end top navbar */

/* ------------------------- new responsive style  */

@media screen and (max-width: 480px) {
  html,
  body {
    min-width: 320px;
  }
}

@media screen and (min-width: 1152px) {
  html {
    font-size: 13pt;
  }

  .title-fa {
    font-size: 4rem;
    line-height: 5rem;
    width: 250px;
  }

  .title-en {
    font-size: 3rem;
    width: 300px;
  }

  /* ----------------------- */
  .gallery .container {
    height: 100vh;
  }

  h1 {
    font-size: 4rem;
  }

  .news-box-content {
    font-size: 0.9rem;
    line-height: 1.1rem;
  }

  .footer-menu-list {
    font-size: 1.2rem;
  }
}

@media screen and (max-width: 1152px) {
  html {
    font-size: 14pt;
  }

  .title-fa {
    font-size: 3rem;
    line-height: 4rem;
    width: 200px;
  }

  .title-en {
    font-size: 2rem;
    width: 200px;
    margin-right: -75px;
  }

  .menu .topnav {
    font-size: 18px;
    gap: 0;
    width: 100px;
  }

  .menu-list .topnav li a {
    padding: 14px 10px;
    font-size: 16px;
  }

  .farsi-context {
    line-height: 20px;
  }
  /* ----------------------- */
  .gallery .container {
    height: 75vh;
  }

  h1 {
    font-size: 3rem;
  }

  /* ----------------------- */
  .about-text-header-content {
    font-size: 1.5rem;
  }

  .about-text-content {
    font-size: 1rem;
  }

  /* ----------------------- */

  .news {
    grid-template-columns: repeat(2, 1fr);
  }

  .news-box-content {
    font-size: 0.9rem;
    line-height: 1rem;
  }

  /* ----------------------- */

  .footer-menu-list {
    font-size: 1rem;
  }
}

@media screen and (max-width: 736px) {
  html {
    font-size: 12pt;
  }

  .header {
    padding-left: 32px;
  }

  .title-fa {
    font-size: 2rem;
    line-height: 3rem;
    width: 130px;
  }

  .title-en {
    font-size: 1rem;
    width: 90px;
    margin-right: -100px;
  }

  .menu {
    font-size: 18px;
    gap: 20px;
  }

  /* ----------------------- */
  .gallery .container {
    height: 50vh;
  }

  h1 {
    font-size: 2rem;
  }

  /* ----------------------- */
  .about {
    flex-direction: column;
    align-items: center;
    padding: 30px 10px;
  }

  .about-images-main {
    margin-top: unset;
    position: relative;
  }

  .about-images-back,
  .empty-section {
    display: none;
  }

  .about-seperator {
    transform: rotate(90deg);
    height: 70px;
  }

  /* ----------------------- */

  .news {
    grid-template-columns: repeat(1, 1fr);
  }

  .news-box-content {
    font-size: 0.8rem;
    line-height: 1rem;
  }

  .footer-menu-list {
    font-size: 0.75rem;
  }
}

@media screen and (max-width: 480px) {
  html {
    font-size: 11pt;
  }

  .title-fa {
    font-size: 1rem;
    line-height: 2rem;
    width: 80px;
  }

  .title-en {
    font-size: 0.75rem;
    width: 35px;
    margin-right: -50px;
  }

  /* ----------------------- */
  .gallery .container {
    height: 25vh;
  }

  h1 {
    font-size: 1rem;
  }

  .caption-heading {
    padding: 5px 10px;
  }

  .caption .caption-subhead {
    padding: 2.5px 10px;
  }

  /* academy ----------------------- */
  .academy {
  }
  /* ----------------------- */
  .footer {
    flex-direction: column;
    align-items: center;
  }

  .footer-menu-list {
    font-size: 1rem;
  }
}
