/* @import url("https://fonts.googleapis.com/css?family=DM+Sans:400,500|Jost:400,500,600&display=swap");*/
@font-face {
    font-family: Vazir;
    src: url('../fonts/vazir/Vazir-FD.eot');
    src: url('../fonts/vazir/Vazir-FD.eot?#iefix') format('embedded-opentype');
    src: url('../fonts/vazir/Vazir-FD.svg#ciclefina') format('svg');
    src: url('../fonts/vazir/Vazir-FD.ttf') format('truetype');
    src: url('../fonts/vazir/Vazir-FD.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: fallback;
}
* {
  box-sizing: border-box;
}

body {
  direction: rtl;
  text-align: right;
  color: #2b2c48;
  font-family: Vazir, "Jost", sans-serif;
/*   background-image: url(./photo-1566738780863-f9608f88f3a9.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-attachment: fixed; */
  background-color: #eee;
  background: linear-gradient(to right,  var(--theme-color-1),  var(--theme-color-0_5));
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  min-height: 100vh;
  display: flex;
  flex-wrap: wrap;
  padding: 20px;
}

.card {
  max-width: 576px;
  min-width: 280px;
  width: 90%;
  margin: auto;
  margin-bottom: 20px;
  overflow-y: auto;
  position: relative;
  z-index: 1;
  overflow-x: hidden;
  background-color: white;
  display: flex;
  transition: 0.3s;
  flex-direction: column;
  border-radius: 10px;
  box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.2);
}

.ui-page-active {
  position: absolute;
  left: 50%;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
}

.card[data-state="#about"] {
  height: auto;
}
.card[data-state="#about"] .card-main {
  padding-top: 0;
}

.card[data-state="#contact"] {
  height: auto;
}

.card[data-state="#experience"] {
  height: auto;
}

.card.is-active .card-header {
  height: 80px;
}
.card.is-active .card-cover {
  height: 100px;
  top: -50px;
}
.card.is-active .card-avatar {
  transform: none;
  right: 20px;
  width: 50px;
  height: 50px;
  bottom: 10px;
}
.card.is-active .card-fullname,
.card.is-active .card-jobtitle {
  right: 86px;
  transform: none;
}
.card.is-active .card-fullname {
  bottom: 18px;
  font-size: 19px;
  color: #fff;
  text-align: right;
}
.card.is-active .card-jobtitle {
  bottom: 16px;
  letter-spacing: 1px;
  font-size: 10px;
  color: #fff;
  text-align: right;
}

.card-header {
  position: relative;
  display: flex;
  height: 200px;
  flex-shrink: 0;
  width: 100%;
  transition: 0.3s;
}
.card-header * {
  transition: 0.3s;
}

.card-cover {
  width: 100%;
  height: 100%;
  position: absolute;
  height: 160px;
  top: -20%;
  left: 0;
  will-change: top;
  background-size: cover;
  background-position: center;
  filter: blur(30px);
  transform: scale(1.2);
  transition: 0.5s;
}

.card-avatar {
  width: 100px;
  height: 100px;
  box-shadow: 0 8px 8px rgba(0, 0, 0, 0.2);
  border-radius: 50%;
  -o-object-position: center;
     object-position: center;
  -o-object-fit: cover;
     object-fit: cover;
  position: absolute;
  bottom: 0;
  right: 50%;
  transform: translateX(50%) translateY(-64px);
}

.card-fullname {
  position: absolute;
  bottom: 0;
  font-size: 22px;
  font-weight: 700;
  text-align: center;
  white-space: nowrap;
  transform: translateY(-10px) translateX(-50%);
  left: 50%;
}

.card-jobtitle {
  position: absolute;
  bottom: 0;
  font-size: 11px;
  white-space: nowrap;
  font-weight: 500;
  opacity: 0.7;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin: 0;
  left: 50%;
  transform: translateX(-50%) translateY(-7px);
}

.card-main {
  position: relative;
  flex: 1;
  display: flex;
  padding-top: 10px;
  flex-direction: column;
}

.card-subtitle {
  font-weight: 700;
  font-size: 13px;
  margin-bottom: 8px;
}

.card-content {
  padding: 20px;
}

.card-desc {
  line-height: 1.6;
  color: #636b6f;
  font-size: 14px;
  margin: 0;
  font-weight: 400;
  font-family: Vazir, "DM Sans", sans-serif;
}

.card-social {
  display: flex;
  align-items: center;
  padding: 0 15px;
  margin-bottom: 30px;
}
.card-social svg {
  fill: #a5b5ce;
  width: 16px;
  display: block;
  transition: 0.3s;
}
.card-social a {
  color: #8797a1;
  height: 32px;
  width: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
  background-color: rgba(93, 133, 193, 0.05);
  border-radius: 50%;
  margin-left: 10px;
}
.card-social a:hover svg {
  fill: #637faa;
}
.card-social a:last-child {
  margin-right: 0;
}

.card-buttons {
  display: flex;
  background-color: #fff;
  margin-top: auto;
  position: sticky;
  bottom: 0;
  right: 0;
}
.card-buttons button {
  flex: 1 1 auto;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  background: 0;
  font-size: 13px;
  border: 0;
  padding: 15px 5px;
  cursor: pointer;
  color: #5c5c6d;
  transition: 0.3s;
  font-family: Vazir, "Jost", sans-serif;
  font-weight: 500;
  outline: 0;
  border-bottom: 3px solid transparent;
}
.card-buttons button.is-active, .card-buttons button:hover {
  color: #2b2c48;
  border-bottom: 3px solid #8a84ff;
  background: linear-gradient(to bottom, rgba(127, 199, 231, 0) 0%, rgba(207, 204, 255, 0.2) 44%, rgba(211, 226, 255, 0.4) 100%);
}

.card-section {
  display: none;
}
.card-section.is-active {
  display: block;
  -webkit-animation: fadeIn 0.6s both;
          animation: fadeIn 0.6s both;
}

@-webkit-keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translatey(40px);
  }
  100% {
    opacity: 1;
  }
}

@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translatey(40px);
  }
  100% {
    opacity: 1;
  }
}
.card-timeline {
  margin-top: 30px;
  position: relative;
}
.card-timeline:after {
  background: linear-gradient(to top, rgba(134, 214, 243, 0) 0%, #516acc 100%);
  content: "";
  left: 42px;
  width: 2px;
  top: 0;
  height: 100%;
  position: absolute;
  content: "";
}

.card-item {
  position: relative;
  padding-left: 60px;
  padding-right: 20px;
  padding-bottom: 30px;
  z-index: 1;
}
.card-item:last-child {
  padding-bottom: 5px;
}
.card-item:after {
  content: attr(data-year);
  width: 10px;
  position: absolute;
  top: 0;
  left: 37px;
  width: 8px;
  height: 8px;
  line-height: 0.6;
  border: 2px solid #fff;
  font-size: 11px;
  text-indent: -35px;
  border-radius: 50%;
  color: rgba(134, 134, 134, 0.7);
  background: linear-gradient(to bottom, #a0aee3 0%, #516acc 100%);
}

.card-item-title {
  font-weight: 500;
  font-size: 14px;
  margin-bottom: 5px;
}

.card-item-desc {
  font-size: 13px;
  color: #6f6f7b;
  line-height: 1.5;
  font-family: Vazir, "DM Sans", sans-serif;
}

.card-contact-wrapper {
  margin-top: 20px;
}

.card-contact {
  display: flex;
  align-items: center;
  font-size: 13px;
  color: #6f6f7b;
  font-family: Vazir, "DM Sans", sans-serif;
  line-height: 1.6;
  cursor: pointer;
}
.card-contact + .card-contact {
  margin-top: 16px;
}
.card-contact svg {
  flex-shrink: 0;
  width: 30px;
  min-height: 34px;
  margin-left: 12px;
  transition: 0.3s;
  padding-left: 12px;
  border-left: 1px solid #dfe2ec;
}

.contact-me {
  border: 0;
  outline: none;
  background: linear-gradient(to right, rgba(83, 200, 239, 0.8) 0%, rgba(81, 106, 204, 0.8) 96%);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
  color: #fff;
  padding: 12px 16px;
  width: 100%;
  border-radius: 5px;
  margin-top: 25px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  font-family: Vazir, "Jost", sans-serif;
  transition: 0.3s;
}

/* NEW CSS */
.gallery-vc {
  width: 100%;
  margin: auto;
  border-radius: 3px;
  overflow: hidden;
	gap: 5px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.img-c {
  width:32%;
  aspect-ratio: 1 / 1; 
  float: right;
  position: relative;
  overflow: hidden;
  padding: 10px;
}

.img-w {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0px;
  top: 0px;
  background-size: cover;
  background-position: center;
  cursor: pointer;
  transition: transform ease-in-out 300ms;
}

.img-w img {
  display: none;
}

.img-c {
  transition: width ease 400ms, height ease 350ms, left cubic-bezier(0.4, 0, 0.2, 1) 420ms, top cubic-bezier(0.4, 0, 0.2, 1) 420ms;
}

.img-c:hover .img-w {
  transform: scale(1.08);
  transition: transform cubic-bezier(0.4, 0, 0.2, 1) 450ms;
}

.img-c.active {
  width: 100% !important;
  height: 100% !important;
  position: absolute;
  z-index: 2;
}

.img-c.postactive {
  position: absolute;
  z-index: 2;
  pointer-events: none;
}

.img-c.active.positioned {
  left: 0 !important;
  top: 0 !important;
  transition-delay: 50ms;
}

.vCard-list {
    -webkit-font-smoothing: antialiased;
    font-family: 'Vazir', Roboto,sans-serif;
    font-size: 1rem;
    line-height: 1.75rem;
    font-weight: 400;
    letter-spacing: .009375em;
    text-decoration: inherit;
    text-transform: inherit;
    margin: 0;
    padding: 8px 0;
    list-style-type: none;
}

.vCard-list-item {
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    position: relative;
    -webkit-align-items: center;
    -moz-box-align: center;
    align-items: center;
    -webkit-justify-content: flex-start;
    -moz-box-pack: start;
    justify-content: flex-start;
    cursor: pointer;
    overflow: hidden;
    height: auto;
    padding: 0.5rem 0.5rem;
}

.vCard-list-item:hover {
    background-color: rgba(59,181,93,0.04);
}

.vCard-contact ul.vCard-list {
    margin: 1.375rem 0px;
    padding: 0px;
}

.vCard-list .ripple {
	flex-shrink: 0;
	width: 30px;
	min-height: 34px;
	margin-left: 12px;
	transition: 0.3s;
	padding-left: 12px;
	border-left: 1px solid #c4c8d5;
	/* font-size: 20px; */
    color: #6f6f7b;
    font-family: "DM Sans", sans-serif;
    line-height: 1.6;
    cursor: pointer;
}

.vCard-list-item h6 {
    font-weight: 500;
}

.vCard-list-item .label {
    font-size: .875rem;
    color: #757589;
}

a.media.vCard-list-item {
    text-decoration: none;
	color: #6f6f7b;
}

.vcard-branding {
    margin-bottom: 20px;
	width:100%;
	height:80px;
}

.vcard-branding a {
	text-decoration: none;
	font-size: 13px;
}

#vc-preload {
	visibility: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(72,219,179);
    z-index: 10000;
}

#vc-preload .loader-section {
    max-width: 480px;
    min-width: 320px;
    width: 90%;
    height: 320px;
    overflow: hidden;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 1px 1px 25px 0px rgba(88, 88, 88, .35)
}

#vc-preload .loader-cover {
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
    height: 50%;
}

#vc-preload .loader-cover:before {
    content: '';
    background: linear-gradient(to top, rgba(49,49, 49, 0.33), rgba(189,189,189,0));
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    top: 30%;
}

#vc-preload .loader-description {
    height: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

#vc-preload .loader-description .btn {
    max-width: 25%;
}

.wait-text, .click-text {
    width: 100%;
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 5px;
    font-size: 15px;
    text-align: right;
}

.click-text {
    margin-bottom: 10px;
}

a.add-contact {
    display: flex;
    position: fixed;
    bottom: 1.3rem;
    right: 1.3rem;
    font-size: 20px;
    padding: 0 10px;
    border-radius: 100%;
    height: 60px;
    width: 60px;
    text-decoration: none;
    text-transform: none;
    text-align: center;
    justify-content: center;
    align-items: center;
    color: #fff;
    background-color: #0072ff;
    box-shadow: 1px 1px 10px 0px rgba(88, 88, 88, .35);
    z-index: 10000;
}

.ads-bottom-banner{border-radius:.625rem;object-fit:cover;min-width:280px;max-width:576px;width:90%;left: 50%;transform: translateX(-50%);position: absolute}

a.offer-btn, a.offer-btn:link, a.offer-btn:visited, a.offer-btn:active, a.offer-btn:target, a.offer-btn:focus{margin-bottom: 20px;box-shadow: 0px 1px 0px 1px rgb(88 88 88 / 30%);color: #ffffff !important;text-align: center;background-color: #ff0045 !important;border: unset;}
a.offer-btn:hover{color: #ffffff;background-color: #f70043;border: unset;}