*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

@font-face {
    font-family: 'Vazir';
    src: url('../fonts/Vazir.ttf') format('ttf');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Vazir';
    src: url('../fonts/Vazir-Bold.ttf') format('woff2');
    font-weight: bold;
    font-style: normal;
}



button {
  background: transparent;
  border: none;
  cursor: pointer;
  outline: none;
}

a {
  color: inherit;
}

body {
  font: normal 16px/1.5 'Vazir', Arial, sans-serif;
  background: #05b6b6;
  color: #fff;
}

/* .section SECTION
–––––––––––––––––––––––––––––––––––––––––––––––––– */

.section {
  background: #5934ad;
  display: flex;
  align-items: center;
  border-radius: 0px 0px 25px 25px;
}



.section .prev-next {
  margin: 50px;
  align-items: center;
  justify-content: center;
  justify-items: center;
  width: 150px;
}

.section .prev-next-day img {
  margin-right: 10px;
  width: 50px !important;
  height: 50px !important;
}

.section .prev-next-week img {
  margin-right: 10px;
  width: 40px !important;
  height: 40px !important;
}

.section .prev-next-month img {
  margin-right: 10px;
  width: 30px !important;
  height: 30px !important;
}




.section .container {
  width: 500px;
  max-width: 1200px;
  text-align: center;
  justify-content: center;
  align-items: center;
  margin: auto;
}

.section h1 {
  font-size: 2.5rem;
}

.section h2 {
  font-size: 1.3rem;
}


.section .panel, .section .tasks, .section .chart {
  font: bold 20px/1.5 'Vazir', Arial, sans-serif;
  color: rgb(255, 255, 255);
  background-color: #ff00d0;
  border-radius: 10px;
  padding: 10px 25px 10px 25px;
  margin-right: 75px;
  display: flex;
  margin: 25px auto;
}

.section .right-header {
  margin-right: 50px;
}

.section .right-header a {
  text-decoration: none;
}


/* TIMELINE
–––––––––––––––––––––––––––––––––––––––––––––––––– */

.timeline {
  position: relative;
  white-space: nowrap;
  overflow-x: hidden;
  overflow-y: hidden;
  /* margin-top: 300px; */
  margin-bottom: 50px;
}


.timeline ol {
  font-size: 0;
  width: 100%;
  padding: 700px 0;
  transition: all 1s;
}

.timeline ol li {
  position: relative;
  display: inline-block;
  list-style-type: none;
  width: 160px;
  height: 3px;
  background: #d3d3d3;
  direction: rtl;
}

.timeline ol li:last-child {
  width: 280px;
}

.timeline ol li:not(:first-child) {
  margin-left: 14px;
}

.timeline ol li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  left: calc(100% + 1px);
  bottom: 0;
  width: 12px;
  height: 12px;
  transform: translateY(-50%);
  border-radius: 50%;
  background: #ff00d0;
}

.timeline ol li div {
  position: absolute;
  left: calc(100% + 7px);
  width: 280px;
  padding: 15px;
  font-size: 1rem;
  white-space: normal;
  color: black;
  background: rgb(235, 235, 235);
}

.timeline ol li div::before {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  width: 0;
  height: 0;
  border-style: solid;
}

.timeline ol li:nth-child(odd) div {
  top: -16px;
  transform: translateY(-100%);
  border-radius: 10px 10px 10px 0px;
}

.timeline ol li:nth-child(odd) div::before {
  top: 100%;
  border-width: 8px 8px 0 0;
  border-color: rgb(235, 235, 235) transparent transparent transparent;
}

.timeline ol li:nth-child(even) div {
  top: calc(100% + 16px);
  border-radius: 0px 10px 10px 10px;
}

.timeline ol li:nth-child(even) div::before {
  top: -8px;
  border-width: 8px 0 0 8px;
  border-color: transparent transparent transparent rgb(235, 235, 235);
}

.timeline time {
  display: block;
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 8px;
}

/* TIMELINE ARROWS
–––––––––––––––––––––––––––––––––––––––––––––––––– */

.timeline .arrows {
  position: fixed;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  background: rgba(255, 255, 255, 0.2);
  padding: 10px 20px;
  border-radius: 50px;
  backdrop-filter: blur(5px);
}

.timeline .arrows .arrow__prev {
  margin-right: 0;
}

.timeline .disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.timeline .arrows img {
  width: 45px;
  height: 45px;
  pointer-events: none;
}


/* FOOTER STYLES
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.page-footer {
  position: fixed;
  right: 0;
  bottom: 20px;
  display: flex;
  align-items: center;
  padding: 5px;
  color: black;
  background: rgba(255, 255, 255, 0.65);
}

.page-footer a {
  display: flex;
  margin-left: 4px;
}
