@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;
  font-family: "Jost";
  overflow-x: hidden;
}

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


.wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.Logo {
  height: 7vh;
}

.nav-bar {
  display: flex;
}

.nav-elements {
  z-index: 9999;
  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;
}

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

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

.Man-picture {
  height: 450px;
  z-index: 999;
  display: block;
  margin: -15vh auto;
}

.navigation-btn {
  width: 7em;
  height: 2.3em;
  border: 1px solid black;
  text-align: center;
  margin: 10em auto;
  border-radius: 1em;
  background-color: white;
  transition: 0.2s all;
  font-weight: 450;
}

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

.about-container {
  margin: 0 auto;
  width: 50%;
  height: 150px;
  margin-top: 13%;
  margin-bottom: 40%;
}

.about-container img {
  border-radius: 5em;
  width: 100%;
  height: 150px;
  display: block;
  object-fit: contain;
  position: relative;
  margin-bottom: 10%;
}

.about-container p {
  font-size: 1rem;
  line-height: 1.6;
  letter-spacing: 0.2px;
  max-width: 90%;
  margin: auto;
  text-align: justify;
}

.footer {
  position: static;
  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;
}

@media (min-width: 600px) {
  .footer-links {
    flex-direction: row;
    justify-content: center;
  }
  .Man-picture {
    height: 450px;
    padding-top: 5vh;
  }
}

@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) {
  body {
    overflow-x: hidden;
  }

  .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: 70px;
  }

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

  .Man-picture {
    height: 250px;
    margin: -10vh auto;
  }

  .about-container {
    width: 100%;
    height: 80px;
    margin-top: 40%;
    margin-bottom: 100%;
  }

  .about-container img {
    height: 100%;
    width: 100%;
    border-radius: 5em;
  }

  .about-container p {
    font-size: 1rem;
    line-height: 1.6;
    letter-spacing: 0.2px;
    max-width: 90%;
    margin: auto;
    text-align: justify;
  }

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

  .footer {
    margin-top: 18rem;
  }
}
