@import url("https://fonts.googleapis.com/css2?family=Oswald:wght@200..700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Jost:ital,wght@0,100..900;1,100..900&display=swap");

:root {
  --dark-theme: #0d1117;
  --dark-border: gray;
  --dark-shadow: #0d1117;
  --dark-color: #fff;
}

body.dark {
  background: #0d1117;
}

body,
ul,
li,
a {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  color: black;
  text-decoration: none;
  overflow-x: hidden;
  transition: 0.2s all;
}

@media (min-width: 768px) {
  body.dark p,
  body.dark .upper-text,
  body.dark .lower-text,
  body.dark a {
    color: var(--dark-color);
  }
}

body.dark .github-icon {
  filter: invert(1);
}

.Logo {
  height: 7vh;
}

.nav-bar {
  display: flex;
}

.nav-elements {
  display: flex;
  align-items: center;
  margin-left: 4vh;
  flex: 1;
}

.nav-elements p {
  display: flex;
  flex-direction: column;
  font-family: "Jost";
}

.nav-elements a {
  transition: 0.2s all;
}

.nav-elements a:hover {
  color: gray;
  transition: 0.2s all;
}

.nav-elements li {
  margin-right: 10vh;
  list-style: none;
  font-family: "Jost";
  font-weight: 470;
}

.mode-toggle {
  height: 3vh;
  transition: 0.2s all;
}

.mode-toggle:hover {
  transform: scale(1.1);
}

.menu-toggle {
  display: none;
  font-size: 2rem;
  cursor: pointer;
  margin-left: auto;
  margin-right: 2vh;
}

/* UPPER PART IS OVER */

.upper-text {
  font-size: clamp(40px, 10vw, 200px);
  display: flex;
  justify-content: center;
  font-family: "Oswald";
  z-index: 0;
  margin: 0;
  margin-top: 10vh;
  text-shadow: 2px 2px 3px gray;
  font-weight: 400;
}

.lower-text {
  font-size: clamp(30px, 8vw, 180px);
  font-family: "Oswald";
  font-weight: 100;
  display: flex;
  justify-content: center;
  z-index: 1;
  margin: 0;
  margin-top: -55px;
  border-bottom: 1px rgb(245, 245, 245) solid;
}

.Man-picture {
  height: 450px;
  z-index: 999;
  display: block;
  margin: -17vh auto;
}
/* PROFILE */
.container-profile {
  border-top: 1px solid rgb(245, 245, 245);
  width: 100%;
  min-height: 90vh;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 10vh;
  gap: 10vw; /* gap'ı vh yerine vw yaparak yatay boşluğu ekrana uyumlu hale getirdim */
}

.profile-content {
  width: 50%;
  margin-left: 10vw; /* Mobilde kalkacak */
}

.profile-description {
  font-family: "Jost";
  letter-spacing: 0.1em;
  line-height: 1.5em;
  font-weight: 400;
  font-size: clamp(14px, 1.2vw, 18px); /* Dinamik font */
}

.profile-button {
  font-family: "Jost";
  font-weight: 400;
  font-size: 14px;
  width: 110px;
  height: 33px;
  background-color: #fff;
  border: 1px solid black;
  border-radius: 20px;
  margin-top: 3vh;
  cursor: pointer;
  transition: 0.2s all;
}

.profile-button:hover {
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
  transition: 0.2s all;
  border: none;
  background-color: gray;
  color: #fff;
}

.profile-picture {
  height: clamp(180px, 25vw, 250px); /* Resim boyutu ekrana göre ayarlandı */
  border-radius: 40px;
  object-fit: cover;
  margin-bottom: 5vh;
  box-shadow: rgba(241, 241, 241, 0.2) 0px 8px 24px;
}

.github-icon {
  margin-right: 10px;
  margin-left: 20px;
  height: 20px;
  transition: 0.2s all;
}

.linkedin-icon {
  margin-right: 10px;
  height: 20px;
  transition: 0.2s all;
}

.instagram-icon {
  margin-right: 10px;
  height: 20px;
  transition: 0.2s all;
}

.github-icon:hover {
  transition: 0.2s all;
  transform: scale(1.1);
  cursor: pointer;
}

.linkedin-icon:hover {
  transition: 0.2s all;
  transform: scale(1.1);
  cursor: pointer;
}

.instagram-icon:hover {
  transition: 0.2s all;
  transform: scale(1.1);
  cursor: pointer;
}

body.dark .header {
  color: var(--dark-color);
}

@media only screen and (min-width: 1024px) {
  .profile-description {
    width: 85%;
  }

  .container-profile {
    gap: 5vw;
  }

  .profile-content {
    width: 55%;
    margin-left: 0;
  }

  .profile-button {
    width: 100px;
    height: 30px;
    font-size: 13px;
  }

  .header-wrapper {
    font-family: "Jost";
    width: 100%;
    height: 30em;
    justify-content: center;
    align-items: center;
  }

  .header {
    font-family: "Jost";
    width: 100%;
    text-align: center;
    margin-bottom: 10%;
    text-shadow: 2px 2px 4px rgba(156, 156, 156, 0.6),
      -2px -2px 4px rgba(83, 83, 83, 0.3);
  }

  .header-wrapper ul {
    padding-right: 20em;
    width: 60%;
    margin: 0 auto;
  }

  .header-wrapper ul li {
    margin-bottom: 10%;
    font-size: large;
    width: 25%;
    padding: 10px;
    border: 2px solid gray;
    border-radius: 1em;
    text-align: center;
  }

  body.dark .header-wrapper ul li {
    color: var(--dark-color);
  }

  .sitting-man {
    height: 400px;
    transform: scaleX(-1);
    position: relative;
    left: 60%;
    bottom: 33em;
  }

  .workers {
    padding: 10em;
  }

  .all-workers .workers,
  .pp,
  .pp-dugme,
  .pp-yumak {
    position: relative;
    right: 14em;
  }

  .workers h1 {
    width: 100%;
    text-align: center;
    font-family: "Jost";
    text-shadow: 2px 2px 4px rgba(95, 94, 94, 0.6),
      -2px -2px 4px rgba(83, 83, 83, 0.3);
    padding-bottom: 3em;
    border-bottom: 1px solid gray;
    margin-left: 0.3em;
  }

  body.dark .workers h1 {
    color: var(--dark-color);
  }

  .pp {
    border: 4px solid rgba(141, 139, 139, 0.688);
    border-radius: 50%;
    height: 13em;
    width: 13em;
    position: relative;
    left: -10em;
  }

  .pp img {
    border-radius: 50%;
    height: 13em;
    margin-right: 5em;
  }

  .workers h2 {
    width: 200px;
  }

  .pp-yumak {
    box-shadow: 2px 2px 4px rgba(156, 156, 156, 0.6),
      -2px -2px 4px rgba(83, 83, 83, 0.3);
    width: 13em;
    height: 13em;
    border-radius: 50%;
    border: 4px solid rgb(28, 28, 28);
    overflow: hidden;
    position: relative;
    right: 8em;
  }

  .pp-dugme {
    width: 13em;
    height: 13em;
    border-radius: 50%;
    border: 4px solid pink;
    overflow: hidden;
    position: relative;
    left: -6em;
  }

  .pp-dugme img {
    position: relative;
    bottom: 4em;
    height: 28em;
  }

  .Dugme-p {
    position: relative;
    left: 4em;
  }

  .Dugme-h2 {
    position: relative;
    left: 2.4em;
  }

  .pp-yumak img {
    position: relative;
    bottom: 4em;
    height: 28em;
  }

  .Yumak-h2,
  .Dugme-h2 {
    position: relative;
    right: -0.9em;
  }

  .Yumak-p {
    position: relative;
    left: 2em;
  }

  .text-group {
    font-family: "Jost";
    position: relative;
    top: 10em;
    right: 19em;
  }

  body.dark .text-group {
    color: var(--dark-color);
  }

  .text-group p {
    position: relative;
    right: 1.5em;
    bottom: 1.5em;
    font-weight: 300;
    font-style: italic;
  }

  .all-workers {
    display: flex;
    justify-content: center;
    width: 85em;
    align-items: center;
    margin-top: 3em;
  }
}

/* Mobil (max 768px) */
@media (max-width: 768px) {
  .container-profile {
    flex-direction: column;
    text-align: center;
    gap: 3vh;
    padding: 0 5vw;
    min-height: auto;
  }

  .profile-content {
    margin-top: 15vh;
    width: 100%;
    margin-left: 0;
  }

  .profile-button {
    margin: 3vh auto 0 auto;
  }
}

/* Küçük Telefonlar (max 480px) */
@media (max-width: 480px) {
  .profile-description {
    font-size: 14px;
    line-height: 1.4em;
  }

  .profile-button {
    width: 100px;
    height: 30px;
    font-size: 12px;
  }

  .profile-picture {
    height: 180px;
  }
}

/* PROFILE */

/* MOBILE */

@media (max-width: 320px) {
  body {
    overflow-x: auto;
  }
}

@media (max-width: 560px) {
  .upper-text {
    text-align: center;
  }
  .lower-text {
    margin-top: -20px;
    text-align: center;
  }
  .Man-picture {
    padding-top: 5vh;
  }
}

@media (max-width: 768px) {
  .nav-elements {
    display: none;
    flex-direction: column;
    align-items: center;
    background-color: white;
    width: 100%;
    position: absolute;
    top: 8vh;
    left: 0;
    border-top: 1px solid #f5f5f5;
    padding: 1rem 0;
  }

  .nav-elements.active {
    display: flex;
    max-width: 90vw;
  }

  .menu-toggle {
    display: block;
  }

  body.dark .menu-toggle {
    color: var(--dark-color);
  }

  .nav-elements li {
    margin: 1rem 0;
    margin-left: 0;
  }
  .upper-text {
    font-size: 90px;
    text-align: left;
  }

  body.dark .upper-text {
    color: var(--dark-color);
  }

  body.dark .lower-text {
    color: var(--dark-color);
    border-color: var(--dark-border);
  }

  .lower-text {
    font-size: 80px;
    padding-left: 2%;
    text-align: left;
  }

  .container-profile {
    width: 90vw;
  }

  body.dark .container-profile {
    border: none;
  }

  body.dark .profile-description {
    color: var(--dark-color);
  }

  body.dark .github-icon {
    filter: invert(1);
  }

  .Man-picture {
    height: 300px;
    margin: -15vh auto;
  }

  .header {
    width: 100%;
    height: auto;
    font-family: "Jost";
    text-align: center;
    padding-top: 15%;
    text-shadow: 2px 2px 4px rgba(95, 94, 94, 0.6),
      -2px -2px 4px rgba(83, 83, 83, 0.3);
  }

  body.dark .header {
    color: var(--dark-color);
    text-shadow: 2px 2px 4px rgba(250, 250, 250, 0.6),
      2px 2px 4px rgba(0, 0, 0, 0.3);
  }

  .header-wrapper {
    display: flex;
    height: auto;
    font-family: "Jost";
    margin: 10%;
    margin-bottom: 25%;
    padding-top: 10%;
    margin-right: 10%;
  }

  .header-wrapper li {
    margin-bottom: 20%;
    display: flex;
    padding: 10px;
    border: 2px solid gray;
    border-radius: 1em;
    width: 125%;
    font-size: small;
  }

  body.dark .header-wrapper li {
    color: var(--dark-color);
  }

  .header-wrapper ul {
    width: 400%;
  }

  .tailwind {
    width: 100%;
  }

  .sitting-man {
    height: 180px;
    position: relative;
    left: 1.5em;
    top: 5em;
    transform: scaleX(-1);
  }

  .workers {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .workers h1 {
    font-family: "Jost";
    padding-bottom: 10%;
    border-bottom: 1px solid gray;
    width: 95%;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(95, 94, 94, 0.6),
      -2px -2px 4px rgba(83, 83, 83, 0.3);
      font-size: x-large;
  }

  .workers h2 {
    font-family: "Jost";
    margin: 0;
    text-align: center;
  }

  .workers p {
    font-family: "Jost";
    width: 100%;
    margin: 0;
    margin-right: 5em;
    right: 5em;
    text-align: center;
    padding-bottom: 2em;
    border-bottom: 1px solid gray;
  }

  body.dark .workers h2 {
    color: var(--dark-color);
  }

  body.dark .workers h1 {
    color: var(--dark-color);
    text-shadow: 2px 2px 4px rgba(250, 250, 250, 0.6),
      2px 2px 4px rgba(0, 0, 0, 0.3);
  }

  body.dark .workers p {
    color: var(--dark-color);
  }

  .pp {
    border: 2px solid gray;
    width: 10em;
    height: 10em;
    border-radius: 50%;
    margin-bottom: 1em;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 10px 36px 0px,
      rgba(0, 0, 0, 0.06) 0px 0px 0px 1px;
    margin-left: 1.5em;
  }

  .pp img {
    object-fit: contain;
    border-radius: 50%;
    height: 10em;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 10px 36px 0px,
      rgba(0, 0, 0, 0.06) 0px 0px 0px 1px;
  }

  .Yumak-p,
  .Dugme-p,
  .Enes-p {
    font-weight: 300;
    font-style: italic;
  }

  .pp-yumak {
    border: 4px solid black;
    width: 10em;
    height: 10em;
    border-radius: 50%;
    margin-top: 1.34em;
    margin-bottom: 1em;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 10px 36px 0px,
      rgba(0, 0, 0, 0.06) 0px 0px 0px 1px;
    overflow: hidden;
    margin-left: 1.5em;
  }

  .pp-yumak img {
    object-fit: contain;
    height: 18em;
    position: relative;
    bottom: 1.8em;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 10px 36px 0px,
      rgba(0, 0, 0, 0.06) 0px 0px 0px 1px;
  }

  .pp-dugme {
    border: 4px solid pink;
    width: 10em;
    height: 10em;
    border-radius: 50%;
    margin-top: 1.34em;
    margin-bottom: 1em;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 10px 36px 0px,
      rgba(0, 0, 0, 0.06) 0px 0px 0px 1px;
    overflow: hidden;
    margin-left: 1.5em;
  }

  .Yumak-p,
  .Dugme-p,
  .Yumak-h2,
  .Dugme-h2 {
    position: relative;
    left: 0.5em;
  }

  .pp-dugme img {
    object-fit: contain;
    position: relative;
    height: 18em;
    bottom: 2.5em;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 10px 36px 0px,
      rgba(0, 0, 0, 0.06) 0px 0px 0px 1px;
  }

  .cat-ears img {
    position: absolute;
    height: 13em;
    z-index: 1;
    bottom: 3.7em;
  }

  .cat-ears {
    position: relative;
    right: -0.3em;
  }

  .footer {
    width: 94.99%;
  }
}

.footer {
  background-color: #222;
  color: white;
  padding: 20px 10px;
  text-align: center;
  font-family: "Jost";
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  margin-top: 10px;
}

.footer-links a {
  color: white;
  text-decoration: none;
  transition: 0.2s all;
}

.footer-links a:hover {
  transform: scale(1.1);
  transition: 0.2s all;
}

/* Responsive */
@media (min-width: 600px) {
  .footer-links {
    flex-direction: row;
    justify-content: center;
  }
}
