@import url(https://fonts.googleapis.com/css?family=Roboto:400,300);

.logo {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo > img {
  border-radius: 50%;
}

.logo > p {
  font-size: larger;
  font-weight: 600;
}

.menu > ul {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

.menu > ul > li > a {
  position: relative;
  color: var(--text-color);
  text-decoration: none;
  padding: 5px 0;
  transition: color 0.3s ease;
  font-weight: 600;
}

.menu > ul > li > a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  width: 100%;
  height: 2px;
  background-color: var(--theme-color);
  transition: transform 0.3s ease;
}

.menu > ul > li > a:hover::after,
.menu > ul > li > a:active::after {
  transform: translateX(-50%) scaleX(1);
}

.menu > ul > li > a:hover,
.menu > ul > li > a:active {
  color: var(--theme-color);
}

.hContainer {
  width: 100%;
  height: 6rem;
  border-radius: 6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 0.6rem;
  overflow: hidden;
  background-color: var(--bg-color);
  box-shadow: 0 0 1.25rem var(--box-shadow-color);
}

.fixed {
  position: fixed;
  top: 0;
  font-size: 1.1rem;
  font-weight: 600;
  font-family: "Vazir";
  border-radius: 0;
  box-shadow: 0 0 1.25rem var(--box-shadow-color);
  width: 100%;
  z-index: 9999;
}

.fixedDark {
  position: fixed;
  top: 0;
  font-size: 1.1rem;
  font-weight: 600;
  font-family: "Vazir";
  border-radius: 0;
  box-shadow: 0 0 1.25rem var(--box-shadow-color);
  width: 100%;
  z-index: 9999;
}

.hBtns {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

.themeBtn {
  font-size: 2rem;
  cursor: pointer;
  border-radius: 50%;
  padding: 0.25rem;
  transition: all 0.35s;
}

.bx-moon-star:hover {
  background-color: #1c1c1c37;
}

.bx-sun-dim:hover {
  background-color: #ffffff26;
}

.contactMe {
  border-radius: 6rem !important;
  margin-left: 1rem;
}

.contactMe:hover p {
  transform: translateX(2.35rem) scale(1.8) !important;
  fill: #fff;
}

.bodyContainer {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 1rem;
}

.jobAnime {
  display: flex;
  gap: 0.5rem;
  font-size: larger;
}

.sec1 {
  display: flex;
  position: sticky;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.infoSec {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 2rem;
}

.apName {
  color: var(--theme-color);
}

.infoBtns {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.getResume {
  background-color: transparent;
  border: 2px solid var(--theme-color);
  transition: all 0.5s;
}

.getResume:hover {
  background-color: var(--theme-color);
  color: white;
}

/* collaboration btn */
button,
.collaboration {
  font-family: "Vazirmatn";
  font-size: 15px;
  background: var(--theme-color);
  color: var(--text-color);
  fill: rgb(155, 153, 153);
  padding: 0.7em 1em;
  padding-left: 0.9em;
  display: flex;
  align-items: center;
  cursor: pointer;
  border: none;
  border-radius: 10px;
  font-weight: 1000;
}

.collaboration span {
  display: block;
  margin-left: 0.3em;
  transition: all 0.3s ease-in-out;
  color: white;
}

.collaboration p {
  display: block;
  transform-origin: center center;
  transition: transform 0.3s ease-in-out;
}

.collaboration:hover {
  background: var(--theme-color);
}

.collaboration:hover p {
  transform: scale(1.25);
  transition: 0.5s linear;
}

.collaboration:hover p {
  transform: translateX(3.5rem) scale(1.8);
  fill: #fff;
}

.collaboration:hover span {
  opacity: 0;
  transition: 0.5s linear;
}

.collaboration:active,
button:active:not(.otherLinksBtn) {
  transform: scale(0.95);
}

.space > h1 {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 2.5rem;
  direction: rtl;
}

.space > h1 > span {
  text-wrap: nowrap;
}

.space hr {
  margin-top: 1rem;
  max-width: 80%;
}

.sec2 {
  display: flex;
  align-items: center;
  justify-content: center;
  direction: rtl;
  flex-wrap: wrap;
  gap: 2rem;
}

.sec2 > section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

.skillsContainer {
  position: relative;
}

.skillsContainer::after {
  content: attr(data-val);
  position: absolute;
  top: 0;
  left: 0;
}

.sec3 {
  flex-wrap: wrap;
  direction: rtl;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  gap: 1rem;
}

.projects {
  width: 20rem;
  background-color: rgb(35, 35, 35);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 10px 5px;
  border-radius: 1rem;
  overflow: hidden;
  text-align: center;
  background-color: #e6eaffbf;
  box-shadow: 0 0 5px rgb(60, 60, 60);
  gap: 1rem;
}

.projects > img {
  width: 19rem;
  height: 12rem;
  border-radius: 0.75rem;
}

.projects > p {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-align: justify;
  direction: rtl;
  padding: 0 5px;
  font-weight: 650;
}

.projects > button {
  width: 100%;
  color: white !important;
  text-align: center !important;
  display: flex;
  align-items: center;
  justify-content: center;
}

.projectInfoContainer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  direction: rtl;
  gap: 1.5rem;
  padding: 1rem;
}

.projectInfoContainer img {
  width: 90%;
  height: 25%;
}

.projectInfoContainer p {
  width: 90%;
  color: var(--text-color);
  text-align: right;
}

.projectInfoContainer h2 {
  width: 90%;
  color: var(--text-color);
  text-align: center;
}

.projectInfoContainer button {
  width: 95%;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: large;
  color: white;
}

.sec4,
.sec5 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: max-content;
  position: relative;
}

#exitBtn,
#formExit {
  display: none;
  position: absolute;
  top: 4rem;
  right: 2rem;
  padding: 8px 12px;
  background: #f44336;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  z-index: 1000;
}

.contactForm {
  display: flex;
  flex-direction: column;
  align-items: baseline;
  justify-content: center;
  gap: 1.5rem;
  direction: rtl;
}

.contactForm > div :is(input, textarea, select),
input {
  font-size: large;
  padding: 0.5rem;
  width: 20rem;
  resize: none;
  position: relative;
}

.contactForm > div > textarea {
  height: 10rem;
}

.contactForm > div > label {
  font-weight: 600;
  text-wrap: nowrap;
}

.inpContainer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.sec5 {
  flex-direction: row;
  justify-content: space-evenly;
  direction: rtl;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.formBtns {
  width: 20rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.formBtns button {
  width: 100%;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white !important;
}

.links {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  position: relative;
}

.otherLinksBtn {
  display: none;
  position: absolute;
  right: -4rem;
  transform: rotate(-90deg);
  border-radius: 0;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  color: white;
}

/* Links Styles */
#social-platforms {
  position: relative;
  font-size: 1rem;
  text-align: center;
  height: 250px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.btn {
  clear: both;
  white-space: nowrap;
  font-size: 0.8em;
  display: inline-block;
  border-radius: 5px;
  box-shadow: 0 1px 5px 0 rgba(0, 0, 0, 0.35);
  margin: 2px;
  -webkit-transition: all 0.5s;
  -moz-transition: all 0.5s;
  transition: all 0.5s;
  overflow: hidden;
}

.btn:hover {
  box-shadow: 0 5px 15px 0 rgba(0, 0, 0, 0.45);
}

.btn:focus {
  box-shadow: 0 3px 10px 0 rgba(0, 0, 0, 0.4);
}

.btn > span,
.btn-icon > i {
  float: left;
  padding: 13px;
  -webkit-transition: all 0.5s;
  -moz-transition: all 0.5s;
  transition: all 0.5s;
  line-height: 1em;
}

.btn > span {
  padding: 14px 18px 16px;
  white-space: nowrap;
  color: #fff;
  background: #b8b8b8;
}

.btn:focus > span {
  background: #9a9a9a;
}

.btn-icon > i {
  border-radius: 5px 0 0 5px;
  position: relative;
  width: 13px;
  text-align: center;
  font-size: 1.25em;
  color: #fff;
  background: #212121;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.btn-icon > i:after {
  content: "";
  border: 8px solid;
  border-color: transparent transparent transparent #222;
  position: absolute;
  top: 13px;
  right: -15px;
}

.btn-icon:hover > i,
.btn-icon:focus > i {
  color: #fff;
}

.btn-icon > span {
  border-radius: 0 5px 5px 0;
}

/*Facebook*/
.btn-facebook:hover > i,
.btn-facebook:focus > i {
  color: #3b5998;
}

.btn-facebook > span {
  background: #3b5998;
}

/*LinkedIn*/
.btn-linkedin:hover > i,
.btn-linkedin:focus > i {
  color: #007bb6;
}

.btn-linkedin > span {
  background: #007bb6;
}

.linkBtns > a > span {
  width: 13rem;
  font-size: 1.1rem;
}

/*Instagram*/
.btn-instagram:hover > i,
.btn-instagram:focus > i {
  color: #9c0039;
}

.btn-instagram > span {
  background: #9c0039;
}

/*Telegram*/
.btn-telegram:hover > i,
.btn-telegram:focus > i {
  color: #007bb6;
}

.btn-telegram > span {
  background: #007bb6;
}

/*Github*/
.btn-github:hover > i,
.btn-github:focus > i {
  color: silver;
}

.btn-github > span {
  background: #1c1c1c;
}

.foot1,
.foot2 {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

.footLinks {
  width: 50%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

.subscribe form {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.subscribe form button {
  width: 100%;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white !important;
}

.foot2 {
  justify-content: center;
}

.dashed {
  width: 90%;
  height: 2px;
  border: 2px dashed var(--text-color);
  position: relative;
}

.dashed a {
  outline: 2px solid var(--text-color);
  border: 2px dashed var(--bg-color);
  padding: 0.3rem;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  position: absolute;
  top: -1.2rem;
  left: 46%;
  background-color: var(--bg-color);
  cursor: pointer;
}

.mobileMenuContainer {
  position: absolute;
  inset: 0;
  z-index: 999;
  width: 100%;
  height: 100%;
  background-color: var(--bg-color);
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 5rem;
  color: var(--text-color);
  font-size: larger;
}

.mobileMenuContainer div,
.mobileMenuContainer div ul {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.mHeadBtns {
  width: 100%;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 2rem 0;
}

.mHeadBtns .hBtns {
  display: flex;
  flex-direction: row;
}

#mobileCheck:checked + .mobileMenuContainer {
  display: flex;
}

.responsiveMessage {
  display: none;
  color: var(--text-color);
}

.noLblForm {
  display: none;
}