@font-face {
  font-family: "Archivo";
  src: url("fonts/static/Archivo-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "Archivo-expanded";
  src: url("fonts/static/Archivo_Expanded-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
}

html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  box-sizing: border-box;
}

body {
  display: flex;
  flex-direction: column;
  background-color: #ffffff;
  line-height: 1.6;
  color: #343434;
}

header {
  position: relative;
  padding: 0;
}

#header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem;
  width: 100%;
  box-sizing: border-box;
  background-color: rgba(255, 255, 255, 0);
}

#header-content nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 1rem;
}

#header-content nav li a{
  font-family: "Archivo", "poppins", sans-serif;
  color: #f5b9c0;
  margin-left: 1rem;
  font-size: 1.2rem;
  font-weight: bold;
}

a {
  text-decoration: none;
  color: inherit;
}

#header-content nav ul li:hover {
  color: rgb(201, 56, 119);
  cursor: pointer;
}

#img-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

#img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

main {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: left;
  padding: 0.5rem;
  font-family: "Archivo", sans-serif;
  font-size: 1.1rem;
}

main h2,
h3 {
  color: #08503b;
  font-family: "Archivo", sans-serif;
}

hr {
  width: 60%;
  height: 0.004rem;
  color: black;
  background-color: #a4a5a5;
  border: none;
}

.box {
  max-width: 900px;
  width: 100%;
  height: auto;
  line-height: 1.6rem;
  font-size: 1.1rem;
  margin-bottom: 2rem;
  overflow-wrap: break-word;
  box-sizing: border-box;
}

.box pre{
  overflow-x: auto;
  word-break: break-all;
}

.box p {
  margin-bottom: 1rem;
}

.box ol,
.box ul {
  margin: 1rem 0;
  padding-left: 2rem;
}

.box li {
  margin-bottom: 0.5rem;
}

.box pre {
  background-color: #f5f5f5;
  padding: 1rem;
  border-radius: 8px;
  overflow-x: auto;
  margin: 1rem 0;
}

.box code {
  background-color: #f5f5f5;
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
  font-family: monospace;
}

.box pre code {
  background-color: transparent;
  padding: 0;
}

.box a {
  color: #08503b;
  text-decoration: underline;
}

.box a:hover {
  color: #f5b9c0;
}

.box strong {
  color: #000000;
}

#footer-container {
  background-image: url("./images/wallpaper.jpg");
  width: 100%;
  height: 8rem;
  display: flex;
  justify-content: space-between;
  color: white;
  font-size: 0.8rem;
  background-size: cover;
  background-position: center;
}

#footer-contact {
  margin-right: 2rem;
  display: flex;
  align-items: center;
}

#footer-tinkerhub {
  margin: 2rem;
  display: flex;
  align-items: center;
}

@media (max-width: 768px) {
  #header-content {
    flex-direction: row;
    align-items: center;
    padding: 1rem;
  }

  #header-content nav ul {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
  }

  main h2 {
    font-size: 1.8rem !important;
  }

  .box {
    padding: 0 1rem;
  }

  #footer-container {
    flex-direction: column;
    height: auto;
    text-align: center;
    padding: 1rem;
  }

  #footer-tinkerhub,
  #footer-contact {
    margin: 1rem;
  }
}

@media (max-width: 480px) {
  #header-content nav li {
    font-size: 1rem;
  }

  main h2 {
    font-size: 1.5rem !important;
  }

  .box {
    font-size: 1rem;
  }

  #footer-container {
    font-size: 0.7rem;
  }
}
