@import url("https://fonts.googleapis.com/css2?family=JetBrains+Mono&family=Poppins&display=swap");

body {
  font-family: "Poppins", sans-serif;
  box-sizing: border-box;
  outline: none;
  overflow-x: hidden;
  background-color: #64ccc5;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

header {
  margin: 0;
  padding: 0;
  outline: none;
  width: 100%;
}

header > nav {
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin: 1rem auto;
  width: fit-content;
}

header > nav * {
  display: inline-block;
  margin: auto;
  color: #a5f1e9;
  cursor: pointer;
}

header > nav a {
  font-size: 1rem;
  border-radius: 18px;
  text-decoration: none;
  transition: all 0.4s;
}

header > nav ul {
  display: flex;
  gap: 40px;
}

header > nav ul > a:hover {
  font-size: 1.2rem;
  padding: 10px;
  background-color: #35a29f;
  border-radius: 28px;
}

#overview {
  display: flex;
  align-items: center;
  flex-direction: column;
  height: 100dvh;
  width: 80%;
}

#overview h1 {
  font-size: 5.6rem;
  letter-spacing: 3px;
  color: #35a29f;
}

#overview p {
  margin: 0 10%;
  text-align: justify;
  font-size: 1.3rem;
  color: #a5f1e9;
}

#overview p span {
  color: #35a29f;
  font-size: 1.3rem;
}

#overview .cmdline {
  margin: auto;
  padding: 0.5rem;
  min-width: fit-content;
  display: flex;
  justify-content: left;
  align-items: center;
  border-radius: 18px;
  border: none;
  background-color: #35a29f;
}

.cmdline a {
  text-decoration: none;
  margin-right: 0.5rem;
  padding: 0.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  width: fit-content;
  border-radius: 10px;
  border: none;
  background-color: #a5f1e9;
  color: #35a29f;
  font-size: 1.2rem;
}

.cmdline code {
  font-family: "JetBrains Mono", monospace;
  width: fit-content;
  font-size: 1.2rem;
  margin: 0 auto;
  color: #a5f1e9;
}

#api-endpoint {
  width: 80%;
}

#api-endpoint h2 {
  text-align: center;
  font-size: 3.7rem;
  letter-spacing: 3px;
  color: #35a29f;
}

.endpoints button {
  display: inline-block;
  height: 40px;
  width: 60px;
  border-radius: 10px;
  border: none;
  background-color: #35a29f;
  color: #fff;
  font-size: 1.1rem;
}

.endpoints p,
span {
  display: inline-block;
  position: relative;
  color: #fff;
  font-size: 1.1rem;
}

#guide {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  flex-direction: column;
  height: 100dvh;
  width: 100%;
}

#documentation {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 80%;
}

.request {
  height: 50vh;
  width: 30vw;
  position: relative;
  border-radius: 18px;
  background-color: #fff;
}

.request .top-bar > * {
  display: inline-block;
  height: 18px;
  width: 18px;
  margin: 14px 0 0 8px;
  border-radius: 50%;
  background-color: #333;
  z-index: 333;
}

.response {
  height: 50vh;
  width: 30vw;
  position: relative;
  border-radius: 18px;
  background-color: #fff;
}

.response .top-bar > * {
  display: inline-block;
  height: 18px;
  width: 18px;
  margin: 14px 0 0 8px;
  border-radius: 50%;
  background-color: #333;
  z-index: 333;
}

.top-bar .red {
  background-color: #ff605c;
}

.top-bar .yellow {
  background-color: #ffbd44;
}

.top-bar .green {
  background-color: #00ca4e;
}

#documentation hr {
  border-top: 1px solid #64ccc5;
}

.request code {
  display: inline-block;
  padding: 15px;
  font-family: "JetBrains Mono", monospace;
  font-size: 1.05rem;
}

.response code {
  display: inline-block;
  padding: 15px;
  font-family: "JetBrains Mono", monospace;
  font-size: 1.05rem;
}

#contribution {
  height: 100dvh;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.contribution-details {
  height: 100%;
  width: 80%;
}

.contribution-details h2 {
  text-align: center;
  font-size: 3.7rem;
  letter-spacing: 3px;
  color: #35a29f;
  width: 100%;
}

#contribution h3 {
  color: #a5f1e9;
  font-size: 1.5rem;
}

.cmd-line {
  min-height: 80px;
  width: 100%;
  display: flex;
  justify-content: left;
  align-items: center;
  border-radius: 18px;
  border: none;
  background-color: #333;
}

.cmd-line code {
  margin: 0 20px;
  font-family: "JetBrains Mono", monospace;
  font-size: 1.1rem;
  color: #fff;
}

footer p {
  font-weight: 900;
  font-size: 1.4rem;
  color: #35a29f;
  text-align: center;
}

@media (min-width: 550px) and (max-width: 920px) and (orientation: portrait) {
  header > nav a {
    font-size: 0.9rem;
    border-radius: 18px;
    text-decoration: none;
    transition: all 0.4s;
  }

  header > nav ul > a:hover {
    font-size: 1rem;
    padding: 10px;
    background-color: #35a29f;
    border-radius: 28px;
  }

  #overview {
    display: flex;
    align-items: center;
    flex-direction: column;
    height: auto;
    width: 80%;
  }

  #overview h1 {
    text-align: center;
    word-wrap: break-word;
    font-size: 4.5rem;
    letter-spacing: 3px;
    color: #35a29f;
  }

  #overview p {
    margin: 0 5%;
    text-align: justify;
    font-size: 1.1rem;
    color: #a5f1e9;
  }

  #overview p span {
    color: #35a29f;
    font-size: 1.1rem;
  }

  #overview .cmdline {
    margin: 20% auto;
    padding: 0.5rem;
    min-width: fit-content;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 18px;
    border: none;
    background-color: #35a29f;
  }

  .cmdline a {
    text-decoration: none;
    margin-right: 0.5rem;
    padding: 0.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    width: fit-content;
    border-radius: 10px;
    background-color: #a5f1e9;
    color: #35a29f;
    font-size: 1rem;
  }

  .cmdline code {
    font-family: "JetBrains Mono", monospace;
    width: fit-content;
    font-size: 0.8rem;
    margin: 0 auto;
    color: #a5f1e9;
  }

  #guide {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-direction: column;
    height: auto;
    width: 100%;
  }

  #api-endpoint {
    width: 85%;
    margin-bottom: 2rem;
  }

  #api-endpoint h2 {
    text-align: center;
    font-size: 3rem;
    letter-spacing: 3px;
    color: #35a29f;
  }

  .endpoints button {
    display: inline-block;
    height: 40px;
    width: 60px;
    border-radius: 10px;
    border: none;
    background-color: #35a29f;
    color: #fff;
    font-size: 1rem;
  }

  .endpoints p,
  span {
    display: inline-block;
    width: fit-content;
    position: relative;
    color: #fff;
    font-size: 1rem;
  }

  #documentation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 85%;
  }

  .request {
    height: 40vh;
    width: 40vw;
    position: relative;
    border-radius: 18px;
    background-color: #fff;
  }

  .response {
    height: 40vh;
    width: 40vw;
    position: relative;
    border-radius: 18px;
    background-color: #fff;
  }

  .contribution-details {
    height: auto;
    width: 85%;
  }

  .contribution-details h2 {
    text-align: center;
    font-size: 3rem;
    letter-spacing: 3px;
    color: #35a29f;
    width: 100%;
  }

  #contribution h3 {
    color: #a5f1e9;
    font-size: 1.2rem;
  }

  #contribution h3 {
    color: #a5f1e9;
    font-size: 1.3rem;
  }

  .cmd-line {
    min-height: 80px;
    width: 100%;
    display: flex;
    justify-content: left;
    align-items: center;
    border-radius: 18px;
    border: none;
    background-color: #333;
  }

  .cmd-line code {
    margin: 0 20px;
    font-family: "JetBrains Mono", monospace;
    font-size: 1rem;
    color: #fff;
  }

  footer p {
    font-weight: 900;
    font-size: 1.2rem;
    color: #35a29f;
    text-align: center;
  }
}

@media (max-width: 668px) and (orientation: portrait) {
  header > nav a {
    display: none;
    font-size: 0.7rem;
    border-radius: 18px;
    text-decoration: none;
    transition: all 0.4s;
  }

  #overview {
    display: flex;
    align-items: center;
    flex-direction: column;
    height: auto;
    width: 85%;
  }

  #overview h1 {
    text-align: center;
    word-wrap: break-word;
    font-size: 3rem;
    letter-spacing: 3px;
    color: #35a29f;
    width: 85%;
  }

  #overview p {
    margin: 0 5%;
    text-align: justify;
    font-size: 1rem;
    color: #a5f1e9;
  }

  #overview p span {
    color: #35a29f;
    font-size: 1rem;
  }

  #overview .cmdline {
    margin: 20%;
    padding: 0.5rem;
    width: 85%;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    border: none;
    background-color: #35a29f;
  }

  .cmdline a {
    margin-right: 0px;
    text-decoration: none;
    padding: 0.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    border-radius: 10px;
    background-color: #a5f1e9;
    color: #35a29f;
    font-size: 1rem;
  }

  .cmdline code {
    display: none;
    font-family: "JetBrains Mono", monospace;
    width: fit-content;
    font-size: 0.8rem;
    margin: 0 auto;
    color: #a5f1e9;
  }

  #guide {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-direction: column;
    height: auto;
    width: 100%;
  }

  #api-endpoint {
    width: 90%;
  }

  #api-endpoint h2 {
    text-align: center;
    font-size: 2.5rem;
    letter-spacing: 3px;
    color: #35a29f;
  }

  .endpoints button {
    display: inline-block;
    height: 30px;
    width: 40px;
    border-radius: 5px;
    border: none;
    background-color: #35a29f;
    color: #fff;
    font-size: 0.7rem;
  }

  .endpoints p,
  span {
    display: inline-block;
    width: fit-content;
    position: relative;
    color: #fff;
    font-size: 0.7rem;
  }

  #documentation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
    width: 90%;
  }

  .request {
    height: 45vh;
    width: 90%;
    position: relative;
    border-radius: 18px;
    background-color: #fff;
  }

  .response {
    height: 45vh;
    width: 90%;
    position: relative;
    border-radius: 18px;
    background-color: #fff;
  }

  .contribution-details {
    height: auto;
    width: 90%;
  }

  .contribution-details h2 {
    display: inline-block;
    text-align: center;
    font-size: 2.5rem;
    letter-spacing: 3px;
    color: #35a29f;
    width: 100%;
  }

  #contribution h3 {
    color: #a5f1e9;
    font-size: 1rem;
  }

  #contribution h3 {
    color: #a5f1e9;
    font-size: 1rem;
  }

  .cmd-line {
    min-height: 80px;
    width: 100%;
    display: flex;
    justify-content: left;
    align-items: center;
    border-radius: 18px;
    border: none;
    background-color: #333;
  }

  .cmd-line code {
    margin: 0 20px;
    font-family: "JetBrains Mono", monospace;
    word-wrap: break-word;
    word-break: break-all;
    font-size: 0.8rem;
    color: #fff;
  }

  footer p {
    font-weight: 900;
    font-size: 1rem;
    color: #35a29f;
    text-align: center;
  }
}
