* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

[data-theme="light"] {
  --color-bg: #dae3e7;
  --color-txt: #000000;
  --color-bg-section: #fff;

  --color-bg-icon: #b1b8c0;
  --color-fg-icon: #fff;

  --color-sub-title: gray;

  --color-link: rgb(66, 33, 255);
  --bg-icon-tran: #000000;

  --color-bg-middleGreen:#54ba4e;
}

[data-theme="dark"] {
  --color-bg: #000000bd;
  --color-txt: #ffffff;
  --color-bg-section: #333;

  --color-bg-icon: #ffffff;
  --color-fg-icon: #000000;

  --color-sub-title: #fff;

  --color-link: rgb(170, 150, 255);
  --bg-icon-tran: #005707;
  --color-bg-middleGreen:#0b8a05;
}

body {
  height: 100vh;
  /* font-family: 'Poppins', sans-serif; */
  font-family: "Montserrat", sans-serif;
  background-color: var(--color-bg);
  transition: 0.3s;
}

.profile-area {
  width: 100%;
  background-color: var(--color-bg-section);
  padding: 20px;
}

img {
  width: 100%;
  object-fit: cover;
}

/* Gide System */

.container {
  width: 1320px;
  margin: auto;
}
.col-12 {
  width: 100%;
}
.col-8 {
  width: 66.6666666%;
}
.col-6 {
  width: 50%;
}
.col-4 {
  width: calc(100% / 3);
}
.col-2 {
  width: calc(100% / 6);
}
.row {
  display: flex;
  gap: 25px;
}
.d-flex {
  display: flex;
  justify-content: center;
}

.content-right {
  display: flex;
  align-items: center;
}
.profile-area .content-right .profile-img {
  width: 150px;
  height: 150px;
}
.profile-area .content-right .profile-img img {
  width: 100%;
}

/* news category */

.latest-project .overflow-img {
  position: relative;
}
.latest-project .overflow-img .feature-img-container::after {
  content: "NEWS";
  text-align: center;
  align-content: center;
  width: 200px;
  height: 50px;
  background-color: rgb(20, 147, 252);
  color: #fff;
  position: absolute;
  right: -70px;
  top: 5px;
  transform: rotate(45deg);
}
.profile-area .sub-content .prof-media-icon {
  display: flex;
  list-style-type: none;
  display: flex;
  justify-content: center;
  align-items: center;
}

.profile-area .sub-content .prof-media-icon .link-icon {
  display: flex;
  justify-content: center;
  padding: 7px 10px;
  width: 30px;
  margin-right: 8px;
  border-radius: 100px;
  background-color: var(--color-bg-icon);
  color: var(--color-fg-icon);
  text-decoration: none;
  transition: 0.3s;
}
.profile-area .sub-content .prof-media-icon .link-icon:hover {
  color: var(--color-bg-icon);
  background-color: var(--bg-icon-tran);
  transform: scale(1.1);
}
.mt-1 {
  margin-top: 10px;
}
.mb-3 {
  margin-bottom: 30px;
}
.me-1 {
  margin-right: 10px;
}

main {
  margin-top: 50px;
}
.profile-area .sub-content .profile-title {
  margin-bottom: 10px;
  color: var(--color-txt);
}
.profile-area .sub-content {
  margin-left: 20px;
}
.profile-area .prof-subtitle {
  color: gray;
  color: var(--color-sub-title);
}

.profile-area .content-left {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-self: flex-end;
  justify-content: center;
}
.profile-area .content-left .dark-mode {
  position: relative;
  margin-bottom: 50px;
  display: flex;
  align-items: center;
  color: var(--color-txt);
}
.profile-area .content-left .dark-mode button {
  width: 50px;
  height: 18px;
  cursor: pointer;
  border: 1px solid gray;
}

.profile-area .content-left .dark-mode button {
  width: 40px;
  height: 18px;
  background-color: #fff;
  border-radius: 25px;
  margin-right: 10px;
  font-weight: 600;
}
.profile-area .content-left .dark-mode button::before {
  position: absolute;
  top: 4px;
  left: 4px; /* 25px */
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 100px;
  background-color: #bdbaba;
  transition: 0.3s;
}

.profile-area .content-left .dark-mode button.active::before {
  left: 25px;
  /* display: block; */
}

.portfolio-area .content-left .contact-me {
  display: flex;
  justify-content: center;
}
.profile-area .content-left .contact-me .link-contact {
  background: var(--color-bg-middleGreen);
  color: white;
  padding: 12px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: .3s;
}
.profile-area .content-left .contact-me .link-contact:hover{
  background: #09b800;
  
}

.main-profile .content-main {
  width: 100%;
}
.main-profile .content-main .about-me {
  background-color: var(--color-bg-section);
  padding: 40px 30px;
  line-height: 25px;
  border-radius: 5px;
  word-break: break-all;
}
.main-profile .content-main .about-me h1 {
  color: var(--color-txt);
}
.main-profile .content-main .about-me p {
  color: var(--color-txt);
  font-size: 14px;
}

.main-profile .content-main .latest-project {
  padding: 40px 30px;
  background-color: var(--color-bg-section);
  border-radius: 5px;
  width: 100%;
}
.main-profile .content-main .latest-project h1 {
  margin-bottom: 20px;
  color: var(--color-txt);
}
.main-profile .content-main .latest-project .sub-title-latest {
  margin: 20px 0;
  font-size: 16px;
  color: var(--color-sub-title);
  font-weight: 600;
}
.latest-project p {
  line-height: 25px;
  font-size: 14px;
  color: var(--color-sub-title);
}
.overflow-img {
  overflow: hidden;
}
.main-profile .content-main .latest-project img {
  width: 100%;
}

.main-profile .content-main .latest-project .latest-pro-body {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.latest-project .latest-project-btn a {
  display: inline-block;
  padding: 15px 20px;
  background-color: rgb(1, 153, 204);
  border-radius: 5px;
  transform: scale(1);
  transition: 0.3s;
}
.latest-project .latest-project-btn a:hover {
  transform: scale(1.1);
  background-color: rgb(2, 115, 153);
  border-radius: 5px;
}

.latest-project .latest-project-btn a,
.fa-thumbs-up {
  /* margin-left: 10px; */
  text-decoration: none;
  color: #fff;
  font-size: 15px;
}

.link-back-project {
  margin-left: 0;
}

/* template section */

.template-area {
  margin-top: 50px;
}
.template-area .card {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
.template-area .card .card-img {
  width: 900px;
  /* height: 900px; */
  margin-bottom: 20px;
}
.template-area h2 {
  color: var(--color-txt);
}
.template-area a {
  color: var(--color-link);
}

.template-area .card img {
  width: 100%;
  height: 100%;
}

.template-area .card .card-body .template-title,
.template-desc {
  margin-bottom: 15px;
}
.template-area .card .card-body .template-desc {
  font-size: 14px;
}
.template-link {
  font-size: 14px;
  text-decoration: none;
}
.template-link:hover {
  font-size: 14px;
  text-decoration: underline;
}
/* portfolio section */
.prof {
  background-color: var(--color-bg-section);
  margin-bottom: 30px;
  padding: 20px 25px;
  border-radius: 5px;
}

.profile-info .contact-info ul {
  list-style-type: none;
  color: var(--color-txt);
}
.profile-info .contact-info ul li a {
  text-decoration: none;
  color: var(--color-txt);
}
.profile-info .contact-info ul li a:hover {
  text-decoration: underline;
  color: var(--color-txt);
}
.profile-info .contact-info ul li {
  padding: 10px 0;
}
.profile-info .contact-info ul li .info {
  padding: 0 15px;
}

.prof-title,
.prof-desc,
.progress {
  margin-bottom: 20px;
  color: var(--color-txt);
}
.profile-info .prof-desc {
  color: var(--color-txt);
  font-size: 15px;
}

/* progress */

.df {
  display: flex;
  margin-bottom: 40px;
  justify-content: space-between;
}
.profile-info .progress .progress-content .length-progress {
  position: relative;
}
.profile-info .progress .progress-content .length-progress::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -26px;
  width: calc(100% - 70px);
  height: 14px;
  background-color: var(--color-bg-middleGreen);
  border-radius: 8px;
  z-index: 2;
}
.profile-info .progress .progress-content .length-progress.last::before {
  width: calc(100% - 90px);
}
.profile-info .progress .progress-content .length-progress::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -26px;
  width: 100%;
  height: 14px;
  background-color: rgb(216, 216, 216);
  border-radius: 8px;
  z-index: 1;
}

.profile-info .progress .progress-content .length-progress span {
  color: var(--color-sub-title);
  font-size: 14px;
}
.prof a:hover {
  text-decoration: underline;
}

.link-skill {
  display: block;
  text-decoration: none;
  font-size: 15px;
  margin-top: 50px;
  color: var(--color-link);
}

/* testimonials section */
.testimonials-area p {
  color: var(--color-sub-title);
}
.testimonials-area .link-testimonials {
  display: block;
  text-decoration: none;
  font-size: 15px;
  margin-top: 20px;
  color: var(--color-link);
}
.ttm-quote {
  color: var(--color-txt);
}

.educations-area .fa-graduation-cap {
  margin-right: 20px;
  color: var(--color-txt);
}
.educations-area p {
  margin-bottom: 20px;
  margin-left: 40px;
  color: var(--color-sub-title);
}
.educations-area span {
  color: var(--color-txt);
}

/* language section */
.languages-area .lang-stars {
  color: rgba(3, 230, 33, 0.911);
  margin: 10px 0;
}

.languages-area span {
  color: var(--color-txt);
}

/* Toggle active */
