@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;
}

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

.wrapper {
  margin: 0;
  height: 100vh;
  background: transparent;
  font-family: "Jost", sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  color: black;
  text-align: center;
}

.Logo {
  height: 7vh;
}

.nav-bar {
  display: flex;
}

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

.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-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;
}

.Man-picture {
  height: 450px;
  z-index: 999;
  display: block;
  margin: -17vh auto;
}
/* UPPER PART IS OVER */

@media (max-width: 1920px) {
  .boxes {
    border-top: 1px solid gray;
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 5%;
    gap: 20vh;
  }

  .boxes img {
    opacity: 0.5;
  }

  .box-1,
  .box-2,
  .box-3 {
    position: relative;
    width: 17%;
    height: 20em;
    transition: 0.2s all;
  }

  .box-1:hover,
  .box-2:hover,
  .box-3:hover {
    transform: scale(1.01);
    transition: 0.2s all;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
  }

  .box-1 {
    border: 1px solid black;
    border-radius: 1em;
  }

  .box-2 {
    border: 1px solid gray;
    border-radius: 1em;
  }

  .box-3 {
    border: 1px solid blue;
    border-radius: 1em;
  }

  .box-1 img,
  .box-2 img,
  .box-3 img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    border-radius: 1em;
    transition: 0.2s all;
  }

  .description {
    background-color: #222;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    color: #fff;
    padding: 8px;
    box-sizing: border-box;
    text-align: center;
    border: none;
    border-radius: 0 0 1em 1em;
  }

  .boxes img:hover {
    cursor: pointer;
    opacity: 1;
    transition: 0.2s all;
  }

  .Man-picture {
    margin-top: 0.1%;
  }
}

/* FOOTER */

.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;
  }
}

@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 {
    margin: 10%;
    font-size: 3em;
  }

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

  .Man-picture {
    height: 200px;
    margin-top: -9%;
  }

  .boxes {
    width: 100%;
    height: auto;
    margin-top: 200%;
    padding: 1.5em;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    gap: 0;
  }

  .box-1,
  .box-2,
  .box-3 {
    position: relative;
    left: 3%;
  }

  .box-1,
  .box-2 {
    margin-bottom: 10%;
  }

  .box-1 {
    border: 1px solid black;
    border-radius: 1em;
    width: 85%;
    height: 300px;
  }

  .box-2 {
    border: 1px solid gray;
    border-radius: 1em;
    width: 85%;
    height: 300px;
  }

  .box-3 {
    border: 1px solid blue;
    border-radius: 1em;
    width: 85%;
    height: 300px;
    right: 1vh;
  }

  .box-1 img,
  .box-2 img,
  .box-3 img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    border-radius: 1em;
    transition: 0.2s all;
  }

  .description {
    background-color: #222;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    color: #fff;
    padding: 8px;
    box-sizing: border-box;
    text-align: center;
    border: none;
    border-radius: 0 0 1em 1em;
  }

  .boxes img:hover {
    cursor: pointer;
    opacity: 1;
    transition: 0.2s all;
  }

  .footer {
    margin-top: 200%;
  }
}
