@import url("https://fonts.googleapis.com/css?family=Lora");
:root {
  --body-padding: 800px;
}

html,
body {
  padding: 0;
  margin: 0;
  scroll-behavior: smooth;
  max-width: 100vw;
  overflow-x: hidden;
}
body {
  font-family: "Lora", sans-serif;
  color: rgb(82, 82, 82);
}
body {
  overflow-x: hidden;
  max-width: 100vw;
}
.my-picture {
  height: 200px;
  border-radius: 4px;
  position: absolute;
  top: 100px;
  left: 40px;
  transition: all 0.5s;
}
.container {
  justify-content: space-between;
  margin-bottom: 250px;
}
.title {
  position: absolute;
  top: 205px;
  left: 250px;
  transition: all 0.5s;
}
.upper-half {
  height: 202px;
  width: 100%;
  background-color: rgba(24, 182, 100, 0.282);
  margin: 0;
}
.my-journey,
.skills {
  text-align: center;
  margin-bottom: 100px;
}
.my-journey p,
.skills p {
  text-align: left;
  margin-left: 50px;
  margin-right: 50px;
}
.development-projects,
.my-instagram-container,
.my-social-works {
  text-align: center;
  margin-bottom: 50px;
  margin-bottom: 100px;
}
.development-project s {
  margin-right: 50px;
}
#social {
  position: relative;
}
#social-projects {
  display: flex;
  flex-direction: row;
  overflow-x: visible;
  padding-top: 150px;
}
.development-projects p,
.my-social-works {
  display: flex;
}
.development-projects li {
  text-align: left;
  font-weight: bold;
}
.development-projects p {
  text-align: left;
}
.development-projects h1 {
  text-align: center;
}
.my-social-works li,
.my-social-works h4 {
  text-align: left;
  margin-right: 50px;
  margin-left: 50px;
}
.my-instagram-container img,
.my-social-s img,
.my-social-works img {
  height: 385px;
  border-radius: 4px;
}
.seo-project {
  margin-bottom: 100px;
}
.seo-project h1 {
  text-align: center;
  margin-left: 50px;
  margin-right: 50px;
}
.journey-projects {
  display: flex;
  flex-direction: column;
}
.seo-project ul,
.seo-project h4,
.seo-project p {
  text-align: left;
  margin-left: 50px;
  margin-right: 50px;
}
.my-social-works p {
  text-align: left;
  margin-right: 50px;
}
.light-mode {
  background-color: white;
  color: black;
}

a {
  color: rgb(37, 105, 73);
  text-decoration: none;
}

.light-mode-icon {
  height: 20px;
  transition: all 0.2s;
}

#darkModeButton {
  border: none;
  background-color: rgb(69, 91, 85);
  border-radius: 50%;
  cursor: pointer;
  z-index: 1;
  position: fixed;
  padding: 10px;
  top: 10px;
  right: 10px;
}

#darkModeButton:hover .light-mode-icon {
  scale: 1.15;
}

@media screen and (min-width: 400px) {
  body {
    width: 100%;
  }
  .seo-project {
    flex: 1;
  }
  .my-journey {
    flex: 1;
  }
  .development-projects {
    flex: 1;
  }
  .journey-projects {
    max-width: 800px;
  }
}
.dev-projects-ul {
  display: flex;
  flex-direction: column;
}
@media screen and (min-width: 1000px) {
  .journey-projects {
    padding-left: calc(50vw - calc(var(--body-padding) / 2));
  }
}

@media screen and (max-width: 800px) {
  body {
    width: 100%;
    margin-right: 50px;
  }
  .title {
    position: absolute;
    top: 190px;
    left: 220px;
    line-height: 20px;
  }
  .my-picture {
    height: 150px;
    border-radius: 4px;
    position: absolute;
    top: 120px;
    left: 60px;
  }

  #darkModeButton {
    border: none;
    cursor: pointer;
    z-index: 1;
  }
}
.time-line {
  position: fixed;
  top: 54px;
  right: 0;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  /* width: 120px; */
  text-align: right;
  border-radius: 10% 0 0 10%;
  background-color: transparent;
}
.time-line span {
  border: 1px solid;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}
.time-line a {
  position: absolute;
  white-space: nowrap;
  top: -5px;
  right: -120px;
  opacity: 0;
  transition: all 0.4s;
  color: white;
}
.time-line div {
  position: relative;
}
.time-line div:hover a {
  right: 20px;
  opacity: 1;
}
.time-line:hover {
  background-color: rgba(24, 182, 100, 0.282);
}
.time-line .active span {
  border-color: rgb(43, 146, 103);
  background-color: rgb(19, 84, 62);
}
.instagram-images,
.seolab-images,
.ifc-en-images,
.ifc-en-images {
  display: flex;
}

#social img {
  object-fit: fill;
}

#social h1 {
  padding: 30px;
}

.my-instagram-container p {
  padding: 0;
  width: 200px;
}
.my-social-works li {
  width: 200px;
}
.seolab-container,
.grandima-container,
.ifc-farsi-container,
.ifc-en-container {
  display: flex;
}
.seolab,
.grandima,
.ifc-farsi,
.ifc-en {
  display: flex;
  flex-direction: column;
}
.seolab-container h2,
.grandima-container h2,
.ifc-farsi-container h2,
.ifc-en-container h2 {
  text-align: left;
}
.seolab-container h4,
.grandima-container h4,
.ifc-farsi-container h4,
.ifc-en-container h4 {
  margin: 0;
}
.my-instagram {
  display: flex;
  flex-direction: column;
}
.my-instagram p,
.my-instagram h2,
.instagram-images p {
  text-align: left;
}
.instagram-account,
.seolab-profile {
  width: 150px;
  height: 231px;
}
.instagram-account-container {
  display: flex;
  flex-direction: column;
  padding-top: 0 !important;
  gap: 55px;
}
.instagram-account-container p {
  margin: 0;
  padding: 0;
}
/* .instagram-account-container div {
  gap: 70px;
} */
.instagram-account-insight1 {
  width: 190px !important;
  height: 292px !important;
}
.instagram-images,
.seolab-images,
.grandima-images,
.ifc-farsi-images,
.ifc-en-images {
  gap: 30px;
  margin-top: 20px;
}
#social-projects div {
  display: flex;
  padding: 20px;
}
.seolab li,
.grandima li,
.ifc-en li,
.ifc-farsi li {
  margin-left: 0;
}
.seolab-images img,
.grandima-images img,
.ifc-en-images img,
/* .ifc-farsi-images li, */
.ifc-farsi-images img {
  width: 197px !important;
  height: 395px !important;
}
.seolab-image,
.grandima-images,
.ifc-farsi-images,
.ifc-en-images {
  /* padding: 0;
  display: flex; */
  flex-direction: row;
  margin-top: 0;
}
.seolab h2,
.grandima h2,
.ifc-en h2,
.ifc-farsi h2 {
  margin-top: 0;
}
.instagram-account {
  width: 230px;
  height: 410px;
}
.ifc-farsi p,
.ifc-en p {
  width: 200px;
}
.contact-container {
  padding: 30px;
  position: relative;
  z-index: 1;
}
.contact-me {
  width: ۲۲px;
}
.girl {
  height: 300px;
  padding-top: 0;
  margin-top: 0;
}
.contact {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}
.social-icons {
  display: flex;
  flex-direction: row;
  margin-left: 50px;
  gap: 60px;
}
.github {
  background-image: url("/public/github.png");
  background-size: contain;
  height: 40px;
  width: 40px;
  margin-top: -70px;
}
.github:hover {
  background-image: url("/public/github green.png");
  scale: 1.2;
}
.instagram {
  background-image: url("/public/instagram.png");
  background-size: contain;
  height: 45px;
  width: 45px;
  margin-top: -70px;
}
.instagram:hover {
  background-image: url("/public/instagram green.png");
  scale: 1.2;
}
.linkedin {
  background-image: url("/public/linkedin.png");
  background-size: contain;
  height: 40px;
  width: 40px;
  margin-top: -70px;
}
.linkedin:hover {
  background-image: url("/public/linkedin green.png");
  scale: 1.2;
}
.gmail {
  background-image: url("/public/gmail.png");
  background-size: contain;
  height: 43px;
  width: 43px;
  margin-top: -70px;
}
.gmail:hover {
  background-image: url("/public/email green.png");
  scale: 1.2;
}
.youtube {
  background-image: url("/public/youtube.png");
  background-size: contain;
  height: 45px;
  width: 45px;
  margin-top: -70px;
}
.youtube:hover {
  background-image: url("/public/youtube green.png");
  scale: 1.2;
}
@media screen and (max-width: 800px) {
  .social-icons {
    margin-left: 0;
    gap: 30px;
    margin-top: 20px;
    cursor: pointer;
    z-index: auto;
  }
  .contact {
    padding-bottom: 78px;
  }
  .girl {
    height: 170px;
    margin-top: 40px;
  }
}
