html {
  scroll-behavior: smooth;
}
* {
  /*outline: 1px solid red !important;*/
}
@font-face {
  font-family: "dana";
  src: url(/dana/woff/dana-black.woff);
}
/* @import url("https://fonts.googleapis.com/css2?family=Vazirmatn:wght@100..900&display=swap"); */

body {
  font-family: "dana", sans-serif;
  background: #212529;
}
.page {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 0px;
  align-items: start;
}
.saidbar {
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding: 20px;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #0b0d0e 0%, #101415 100%);
  height: 100vh;
  position: sticky;
  top: 0;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 10px 0 40px rgba(0, 0, 0, 0.25);
}
.saidbar img {
  width: 180px;
  height: 180px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid #20c997;
  box-shadow: 0 0 0 2px rgba(32, 201, 151, 0.04),
    0 0 0 5px rgba(32, 201, 151, 0.12);
  transition: 0.4s ease;
}
.saidbar img:hover {
  transform: scale(1.04);
}
.saidbar h2 {
  font-size: 22px;
  margin-top: 15px;
  margin-right: 35px;
  color: #e9ecef;
}
.menu-saidbar {
  text-decoration: none;
  color: #ddd;
  list-style: none;
  line-height: 2.4;
  padding: 0;
  margin: 0;
  width: 100%;
}
.menu-saidbar li {
  gap: 20px;
  margin: 5px 0;
}
.menu-saidbar li a {
  text-decoration: none;
  color: rgba(233, 236, 239, 0.55);
  padding: 9px 12px;
  border-radius: 10px;
  transition: 0.3s ease;
}
.menu-saidbar li a:hover {
  color: #20c997;
  background: rgba(32, 201, 150, 0.473);
  transform: translateX(-5px);
}
/********MAIN***********/
.main {
  display: flex;
  flex-direction: column;
  position: relative;
}
.hero-container img {
  object-fit: cover;
  position: relative;
  opacity: 0.42;
  width: 100%;
  filter: grayscale(50%);
  background-size: cover;
  background-position: center;
}
.hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  background: #111;
}
.hero-container::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(33, 37, 41, 0.95),
    rgba(33, 37, 41, 0.35),
    rgba(33, 37, 41, 0)
  );
  pointer-events: none;
}
.hero-text {
  display: flex;
  flex-direction: column;
  position: absolute;
  padding: 25px;
  align-items: flex-start;

  line-height: 1.2;
  z-index: 2;
  right: 10%;
}
.hero-text h2 {
  color: #20c997;
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 4px;
}
.hero-text h1 {
  color: #fff;
  font-size: clamp(40px, 4vw, 60px);
  font-weight: 800;
  margin-bottom: 5px;
  text-shadow: 0 0 30px rgba(0, 0, 0, 0.4);
}
.hero-text h3 {
  color: rgba(255, 255, 255, 0.7);
  font-size: 30px;
  font-weight: 500;
}
.btn-hero {
  padding: 12px 30px;
  font-size: 18px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #20c997;
  border-radius: 30px;
  background: #20c997;
  cursor: pointer;
  color: #10201b;
  transition: 0.3s ease;
  box-shadow: 0 0 20px rgba(32, 201, 151, 0.03);
}
.btn-hero:hover {
  transform: translateY(-3px);
}
/* **************************ABOUT_ME********************* */
.about-me {
  background-color: #212529 !important;
}
.opacity-about {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  margin-top: -90px;
  position: relative;
}
.opacity-about h1 {
  font-size: clamp(70px, 10vw, 130px);
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 800;
  position: relative;
  color: rgba(255, 255, 255, 0.045);
}
.opacity-about h2 {
  position: absolute;
  font-size: 36px;
  font-weight: 500;
  margin-top: 80px;
  color: #e9ecef;
}
.opacity-about h2::after {
  content: "";
  display: block;
  width: 65px;
  height: 3px;
  margin-top: 15px;
  margin-right: 30px;
  border-radius: 10px;
  background: #20c997;
  box-shadow: 0 0 15px rgba(32, 201, 151, 0.4);
}
/* ****************************** */
.about-texts {
  background-color: #212529 !important;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  padding: 20px;
  gap: 15px;
  color: #ddd;
  margin-top: -120px;
}
.about-text {
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: center;
}
.about-text h1 {
  font-size: 26px;
  font-weight: 700;
  color: rgba(221, 221, 221, 0.445);
}
span {
  color: green;
}
.about-text p {
  line-height: 1.8;
  font-size: 18px;
  font-weight: 700;
}
.about-skills {
  display: flex;
  flex-direction: column;
  padding: 15px;
  margin-top: 70px;
}
.menu-ul {
  list-style: none;
  font-size: 22px;
  line-height: 2.9;
}
.menu-ul li {
  border-bottom: 1px solid #ddd;
}
.menu-ul button {
  padding: 12px 30px;
  font-size: 18px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #20c997;
  border-radius: 30px;
  background: #20c997;
  cursor: pointer;
  color: #10201b;
  transition: 0.3s ease;
  box-shadow: 0 0 20px rgba(32, 201, 151, 0.03);
  margin-top: 20px;
}
.skills {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  padding: 20px;
  background-color: #212529;
  margin-top: 40px;
}
.skill {
  padding: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 0.3;
  border-right: 1px solid rgba(221, 221, 221, 0.226);
}
.skill h2 {
  font-size: 35px;
  font-weight: 600;
  color: rgba(221, 221, 221, 0.26);
}
.skill p {
  color: #ddd;
  font-size: 18px;
  font-weight: 700;
}
/* *********************WHAT I DO******************* */
.i-do-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  padding: 30px;
  gap: 15px;
}
.i-do-card {
  display: flex;
  flex-direction: column;
  color: rgba(233, 236, 230, 0.55);
  transition: 0.35s ease;
  overflow: hidden;
  padding: 30px;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  position: relative;
  background: #171b1e;
}
.i-do-card::before {
  position: absolute;
  width: 100px;
  height: 100px;
  top: -50px;
  left: -50px;
  border-radius: 50%;
  background: #20c997;
  opacity: 0.04;
  transition: 0.04s ease;
}
.i-do-card:hover {
  transform: translateY(-6px);
  border-color: rgba(32, 201, 151, 0.03);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25), 0 0 25px rgba(32, 201, 151, 0.04);
}
.i-do-card:hover::before {
  transform: scale(2);
}
.i-do-card i {
  margin-bottom: 10px;
  font-size: 30px;
  color: #20c997;
}
.i-do-card img {
  width: 45px;
  height: 45px;
  object-fit: contain;
  margin-bottom: 10px;
}

.i-do-card h1 {
  margin: 0 0 10px;
  color: #e9ecef;
  font-size: 22px;
  font-weight: 700;
}
/* ******************SKILLS****************** */
.my-skills {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  padding: 5px;
  gap: 10px 0 20px;
}
.name-skill {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  padding: 20px;
  margin: 0;
  margin-bottom: -12px;
}
.name-skill h3 {
  color: rgba(221, 221, 221, 0.527);
  font-size: 16px;
  font-weight: 500;
  margin: 0;
}
.html,
.java,
.react,
.web,
.tailwind {
  width: 100%;
  height: 6px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.07);
  overflow: hidden;
}
.html1,
.java1,
.react1,
.web1,
.tailwind1 {
  height: 100%;
  border-radius: inherit;
  background: #20c997;
  box-shadow: 0 0 12px rgba(32, 201, 151, 0.35);
}
.html {
  width: 95%;
  height: 7px;
  border-radius: 12px;
  background-color: rgba(221, 221, 221, 0.137);
  position: relative;
}
.html1 {
  width: 90%;
  height: 7px;
  border-radius: 12px;
  position: absolute;
  background-color: #20c997;
  z-index: 200;
}
.java {
  width: 95%;
  height: 7px;
  border-radius: 12px;
  background-color: rgba(221, 221, 221, 0.137);
  position: relative;
}
.java1 {
  width: 60%;
  height: 7px;
  border-radius: 12px;
  position: absolute;
  background-color: #20c997;
  z-index: 200;
}
.react {
  width: 95%;
  height: 7px;
  border-radius: 12px;
  background-color: rgba(221, 221, 221, 0.137);
  position: relative;
}
.react1 {
  width: 70%;
  height: 7px;
  border-radius: 12px;
  position: absolute;
  background-color: #20c997;
  z-index: 200;
}
.web {
  width: 95%;
  height: 7px;
  border-radius: 12px;
  background-color: rgba(221, 221, 221, 0.137);
  position: relative;
}
.web1 {
  width: 80%;
  height: 7px;
  border-radius: 12px;
  position: absolute;
  background-color: #20c997;
  z-index: 200;
}
.tailwind {
  width: 95%;
  height: 7px;
  border-radius: 12px;
  background-color: rgba(221, 221, 221, 0.137);
  position: relative;
}
.tailwind1 {
  width: 70%;
  height: 7px;
  border-radius: 12px;
  position: absolute;
  background-color: #20c997;
  z-index: 200;
}
.btns-skill {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 50px;
  padding: 15px;
}
.btn-skill {
  display: inline-flex;
  padding: 12px 58px;
  background-color: #20c997;
  border: none;
  color: #212529;
  border-radius: 20px;
  font-size: 16px;
  font-weight: 400;
}
/* ******************************MY_WORKS*************** */
.my-works {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 250px 400px;
  gap: 15px;
  padding: 30px;
}

.child {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 25px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.06),
    rgba(255, 255, 255, 0.015)
  );

  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);

  transition: all 0.4s ease;
  justify-content: center;
  align-items: center;
}

.child-featured {
  justify-content: center;
  align-items: center;
}

.child::before {
  content: "";
  position: absolute;
  width: 130px;
  height: 130px;
  top: -70px;
  right: -50px;
  background: rgba(32, 201, 151, 0.12);
  filter: blur(45px);
  border-radius: 50%;
  pointer-events: none;
}

.child:nth-child(2) {
  grid-column: 2;
  grid-row: span 2;
}

.project-logo {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.09);
  color: #20c997;
  font-size: 24px;
  margin-bottom: 18px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25), 0 0 20px rgba(32, 201, 151, 0.06);
}

.child h3 {
  position: relative;
  margin: 0 0 8px;
  color: #f1f3f5;
  font-size: 18px;
}

.child p {
  position: relative;
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
  line-height: 1.8;
}

.child a {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 8px 15px;
  border-radius: 10px;
  background: rgba(32, 201, 151, 0.08);
  border: 1px solid rgba(32, 201, 151, 0.2);
  color: #20c997;
  text-decoration: none;
  font-size: 12px;
  transition: 0.3s ease;
}

.child a:hover {
  background: #20c997;
  color: #101415;
  box-shadow: 0 0 20px rgba(32, 201, 151, 0.2);
}

.child:hover {
  transform: translateY(-6px);
  border-color: rgba(32, 201, 151, 0.3);
  box-shadow: 0 25px 55px rgba(0, 0, 0, 0.4), 0 0 30px rgba(32, 201, 151, 0.07);
}

/*********************contact*************** */
.contact {
  display: grid;
  grid-template-columns: 30% 70%;
  gap: 10px;
  padding: 20px;
  color: #e9ecef;
}
.text-contact {
  display: flex;
  flex-direction: column;
  padding: 10px;
}
.text-contact h2 {
  font-size: 25px;
  font-weight: 600;
  margin-bottom: 5px;
}
.text-contact h1 {
  font-size: 25px;
  font-weight: 600;
}
.ul-contact {
  list-style: none;
  line-height: 2.3;
  font-size: 18px;
  font-weight: 500;
  color: #e9ecef67;
  margin-right: -35px;
}
.social-media {
  display: flex;
  flex-direction: row;
  gap: 30px;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
}
.social-media img {
  width: 30px;
  height: 30px;
  object-fit: cover;
  color: #20c997;
}
.social-media i {
}
.box-contact {
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding: 20px;
}
.send {
  display: flex;
  flex-direction: row;
  gap: 15px;
  align-items: center;
  justify-content: center;
}
.name-box {
  display: flex;
  padding: 16px 35px;
  background: #111214af;
  color: #e9ecef;
  font-size: 18px;
  font-weight: 600;
  border: 1px solid #343a40;
  border-radius: 12px;
  transition: 0.3s ease;
}
.comment-box {
  display: flex;
  text-align: top;
  resize: vertical;
  height: 190px;
  background: #111214af;
  color: #e9ecef;
  font-size: 18px;
  font-weight: 600;
  border: 1px solid #343a40;
  transition: 0.3s ease;
  border-radius: 12px;
  padding: 10px;
}
.name-box:hover {
  background-color: #20c9962a;
  box-shadow: 0 0 12px rgba(32, 201, 151, 0.25);
}
.comment-box:hover {
  background-color: #20c9962a;
  box-shadow: 0 0 12px rgba(32, 201, 151, 0.25);
}
#contact-toggle {
  display: none;
}
.contact-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 25px;
  width: 200px;
  margin-right: 400px;
  background: #20c997;
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  border-radius: 16px;
  cursor: pointer;
  transition: 0.3s;
}
.contact-btn:hover {
  background: #18a97f;
  box-shadow: 0 0 20px rgba(32, 201, 151, 0.45);
  transform: translateY(-2px);
}
.contact-box {
  width: 300px;
  height: 70px;
  margin-top: 12px;
  margin-right: 375px;
  padding: 0 18px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: rgba(33, 37, 41, 0.85);
  border: 1px solid rgba(32, 201, 151, 0.45);
  border-radius: 14px;
  backdrop-filter: blur(10px);
  color: white;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.3s ease, trnsform 0.3s ease, visibility 0.3s;
}
.phone-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.phone-info strong {
  color: #fff;
  font-size: 16px;
  letter-spacing: 1px;
}
#contact-toggle:checked + .contact-btn + .contact-box {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* ******************RESPANSIVE*************** */

@media (max-width: 780px) and (min-width: 551px) {
  .page {
    grid-template-columns: 190px minmax(0, 1fr);
  }

  .saidbar {
    padding: 15px 10px;
  }

  .saidbar img {
    width: 100px;
    height: 100px;
  }

  .saidbar h2 {
    font-size: 18px;
    margin-right: 0;
    text-align: center;
  }

  .menu-saidbar li a {
    font-size: 14px;
    padding: 7px 10px;
  }

  .about-texts {
    grid-template-columns: 1fr;
  }

  .skills {
    grid-template-columns: repeat(2, 1fr);
  }

  .i-do-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .my-skills {
    grid-template-columns: 1fr;
  }

  .btn-skill {
    margin: 30px auto 0;
    display: flex;
  }

  .my-works {
    grid-template-columns: repeat(2, 1fr);
  }
  .child {
    display: flex;
    flex-direction: column;
  }
  .contact {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
    justify-content: center;
    width: max-content;
  }

  .box-contact {
    width: 100%;
  }
  .box-contact {
    width: 100%;
    min-width: 0;
    padding: 15px;
  }
  .send {
    width: 100%;
    flex-direction: column;
    gap: 10px;
  }
  .name-box {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }
  .comment-box {
    width: 100%;
    box-sizing: border-box;
  }
  .text-contact {
    flex-direction: column;
  }
  .btn-skill {
    margin-left: 100px;
  }
}
@media (max-width: 551px) {
  .page {
    display: block;
  }
  .saidbar {
    position: relative;
    width: fit-content;
    height: 100vh;
    box-shadow: none;
    border-left: none;
  }
  .saidbar .saidbar img {
    display: none;
    width: 80px;
    height: 80px;
  }
  .menu-saidbar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2px;
  }
  .about-texts {
    display: flex;
    flex-direction: column;
    padding: 20px;
  }
  .skills {
    grid-template-columns: repeat(2, 1fr);
    padding: 20px 10px;
    margin-top: 20px;
  }
  .i-do-cards {
    grid-template-columns: 1fr;
    padding: 20px;
    gap: 12px;
  }
  .my-skills {
    grid-template-columns: 1fr;
    padding: 20px;
  }
  .my-works {
    grid-template-columns: 1fr;
    gap: 15px;
    padding: 15px;
  }
  .child {
    display: flex;
    flex-direction: column;
    padding: 15px;
  }
  .child:nth-child(2) {
    grid-column: 2;
    grid-row: span 2;
  }
  .contact {
    grid-template-columns: 1fr;
    gap: 40px;
    width: fit-content;
  }
  .box-contact {
    width: 100%;
  }
  .box-contact {
    width: 100%;
    min-width: 0;
    padding: 15px;
  }
  .send {
    width: 100%;
    flex-direction: column;
    gap: 10px;
  }
  .name-box {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }
  .comment-box {
    width: 100%;
    box-sizing: border-box;
  }
  .text-contact {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .text-contact ul li {
  }
}
