:root {
  --gradient: linear-gradient(0.5turn, #Edf2f7, #F2F2F2);
  --ff-roboto: "Roboto", sans-serif;
  --transition: 0.25s ease-in-out;
  --section-padding: 80px 0;

  --medium-sea-green: #009952;
  --silver-chalice: #ADADAD;
  --granite-gray: #757575;
  --sonic-silver: #6d757d;
  --dodger-blue: #0180ff;
  --my-blue: #3498db;
  --my-blue--hover: #2980b9;
  --oxford-blue: #202d46;
  --light-gray: hsl(0, 0%, 80%);
  --gunmetal: #2e333d;
  --cultured: #F1F2F3;
  --charcoal: #313d49;
  --white: #FFFFFF;
  --jet: #404040;

  --font-size-1: 28px;
  --font-size-2: 26px;
  --font-size-3: 24px;
  --font-size-4: 20px;
  --font-size-5: 18px;
  --font-size-6: 16px;
  --font-size-7: 14px;
  --font-size-8: 12px;

  --font-weight-300: 300;
  --font-weight-500: 500;
  --font-weight-700: 700;
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

li { 
  list-style: none; 
}

a { 
  text-decoration: none; 
}

input {
  font: inherit;
  background: none;
  width: 100%;
}

button {
  background: none;
  border: none;
  font: inherit;
  cursor: pointer;
}

a, img, span, input, button, ion-icon { 
  display: block; 
}

ion-icon { 
  --ionicon-stroke-width: 25px; 
}

:focus { 
  outline-offset: 4px; 
}

::marker { 
  color: #6d757d;; 
}

html {
  font-family: "Roboto", sans-serif;
  scroll-behavior: smooth;
}

body { 
  background: #FFFFFF;
}

::-webkit-scrollbar { 
  width: 10px; 
}

::-webkit-scrollbar-track { 
  background: #E6E6E6; 
}

::-webkit-scrollbar-thumb { 
  background: #CCCCCC;
}

::-webkit-scrollbar-thumb:hover { 
  background: #B3B3B3; 
}

.container { 
  padding: 0 15px; 
}

.btn {
  color: #202d46;
  font-size: var(--font-size-7);
  font-weight: var(--font-weight-500);
  text-transform: capitalize;
  padding: 10px 34px;
  border: 1px solid #CCCCCC;
  border-radius: 4px;
}

.btn-primary {
  background:  #0180ff;
  color: #FFFFFF;
  border-color:  #0180ff;
}

.logo-color {
  color: #0180ff;
}

.btn-primary:is(:hover, :focus) { 
   background-color: #2980b9;
}

.h1, .h2, .h3, .h4 {
  color: #2e333d;
  font-weight: var(--font-weight-500);
}

.h1 { 
  font-size: var(--font-size-1); 
}

.h2 { 
  font-size: var(--font-size-2); 
}

.h3 { 
  font-size: var(--font-size-3);
}

.h4 { 
  font-size: var(--font-size-4); 
}

.section-text {
  color: #6d757d;;
  line-height: 1.6;
}

.section-subtitle {
  color: #6d757d;;
  font-size: var(--font-size-8);
  font-weight: var(--font-weight-500);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 25px;
}

header {
  padding: 10px 20px;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #FFFFFF;
  z-index: 4;
  transition: 0.25s ease-in-out;
}

header.active { 
  box-shadow: 0 1px 3px #313d49;
}

.container { 
  padding: 0 15px; 
}

header .container {
  max-width: unset;
  padding: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-open-btn, .nav-close-btn {
  font-size: 35px;
  padding: 5px;
  color: #ADADAD;
}

:is(.nav-open-btn, .nav-close-btn) ion-icon { 
  --ionicon-stroke-width: 40px; 
}

.navbar {
  background: #FFFFFF;
  position: fixed;
  top: 0;
  right: -280px;
  width: 280px;
  height: 100vh;
  padding-top: 60px;
  visibility: hidden;
  transition:  0.25s ease-in-out;
  box-shadow: -2px 0 4px #404040;
}

.navbar.active {
  right: 0;
  visibility: visible;
}

.nav-close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
}

.navbar-link {
  color: #757575;
  font-size: var(--font-size-5);
  font-weight: var(--font-weight-500);
  padding: 20px;
}

.navbar-link:is(:hover, :focus) { 
  background: #F1F2F3;
  color: #3498db;
}

/* .navbar-item:not(:last-child) { 
  border-bottom: 1px solid red; 
} */

.navbar .btn-primary {
  text-align: left;
  padding: 20px;
  width: 100%;
  border-radius: 0;
}

.hero {
  position: relative;
  padding-top: 145px;
  padding-bottom: 40px;
  z-index: 1;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #FFFFFF;
  z-index: -1;
}

.hero-content {
  text-align: center;
  margin-bottom: 40px;
}

.hero-title { 
  margin-bottom: 30px; 
}

.hero-form { 
  margin-bottom: 25px; 
}

.input-field {
  font-weight: var(--font-weight-300);
  padding: 14px 18px;
  border-radius: 4px;
  margin-bottom: 25px;
}

.hero .btn-primary { 
  margin-inline: auto;
  /* width: 100%; */
}

.hero-text {
  color: #6d757d;
  font-size: var(--font-size-7);
  margin-bottom: 25px;
}

.hero-text span:not(:last-child) { 
  margin-bottom: 10px; 
}

.service {
  padding: var(--section-padding);
  text-align: center;
}

.service .section-title { 
  margin-bottom: 15px; 
}

.service .section-text { 
  margin-bottom: 45px; 
}

.cta {
  padding: 0 0 var(--section-padding);
  text-align: center;
}

.cta-title {
  color: #2e333d;
  font-size: var(--font-size-4);
  font-weight: var(--font-weight-500);
  margin-bottom: 20px;
}

.cta .btn-primary {
  margin-inline: auto;
  margin-bottom: 10px;
}

/* .cta-button-wrapper > a {
  color: #6d757d;
  font-size: 14px;
  text-decoration: underline;
  display: inline-block;
} */

/* .cta-button-wrapper > a:is(:hover, :focus) { 
  color: var(--granite-gray); 
} */

.footer-top {
  padding: var(--section-padding) 50px;
  background: #F1F2F3;
}

.footer-brand { 
  margin-bottom: 40px; 
}

.footer-logo { 
  margin-bottom: 30px; 
}

.footer-link-box {
  display: grid;
  gap: 40px;
}

.footer-list li:not(:last-child) { 
  margin-bottom: 10px; 
}

.footer-list li:first-child { 
  margin-bottom: 15px; 
}

.footer-link {
  color: #6d757d;
  max-width: 150px;
}

.footer-link:is(:hover, :focus) { 
  text-decoration: underline; 
}

.divider {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent, #E6E6E6 25% 75%, transparent);
}

.footer-bottom {
  padding: 30px 0;
  background: #F1F2F3;
  text-align: center;
}

.copyright {
  color: #6d757d;
  line-height: 1.5;
  margin-bottom: 15px;
}

.copyright > a {
  color: inherit;
  display: inline-block;
}

.copyright > a:is(:hover, :focus) { 
  text-decoration: underline; 
}

.social-list {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 13px;
}

.social-list > li { 
  position: relative; 
}

.social-list > li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 0;
  right: -6px;
  width: 1px;
  height: 100%;
  background: #6d757d;
}

.social-link { 
  color: #6d757d; 
}

.social-link:is(:hover, :focus) { 
  text-decoration: underline; 
}

/* Responsiveness */

/* Responsiveness - Larger than 450px  */

@media (min-width: 450px) {

  :root {
    --font-size-1: 30px;
  }

  .container { 
    padding: 0 25px; 
  }

  /* Hero */
  .hero-text {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 13px;
  }

  .hero-text span:not(:last-child) {
    position: relative;
    margin-bottom: 0;
  }

  .hero-text span:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 0;
    right: -6px;
    width: 1px;
    height: 100%;
    background: #6d757d;
  }

  /* Service */
  .card-text { 
    max-width: 300px; 
  }

  /* CTA */
  .cta-title {
    --font-size-4: 25px;
    padding-inline: 30px;
  }

  /* Footer */
  .footer-link-box { 
    grid-template-columns: 1fr 1fr; 
  }
}

/* Responsiveness - Larger than 500px  */
@media (min-width: 500px) {
  :root {
    --font-size-1: 32px;
    --font-size-2: 32px;
    --font-size-3: 30px;
    --font-size-4: 19px;
    --font-size-5: 15px;
  }

  .container {
    max-width: 480px;
    margin-inline: auto;
  }

  .btn { 
    --font-size-7: 17px; 
  }

  .section-text,
  .card-text { 
    font-size: var(--font-size-6); 
  }

  /* Hero */
  .input-field { 
    font-size: 17px; 
  }
}

/* Responsiveness - Larger than 768px  */

@media (min-width: 768px) {
  :root {
    --font-size-1: 40px;
    --font-size-2: 34px;
    --font-size-3: 32px;
  }

  .container { 
    max-width: 820px; 
  }

  /* Hero */
  /* .hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  } */

  .hero-content {
    text-align: center;
    margin-bottom: 0;
  }

  .hero .btn-primary { 
    margin-inline: 0; 
  }

  .hero-text { 
    justify-content: center; 
  }

  /* Service */
  .service .section-text {
    max-width: 650px;
    margin-inline: auto;
  }

  .service-list {
    grid-template-columns: 1fr 1fr;
    gap: 60px 0;
  }

  /* API */
  .api-top,
  .api-bottom {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: center;
  }

  .api-bottom .api-content {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
  }

  /* Contribute and faq */
  .contribute .section-title,
  .faq .section-title {
    max-width: 600px;
    margin-inline: auto;
  }

  .contribute-list { 
    grid-template-columns: 1fr 1fr; 
  }

  /* Contact */
  .contact .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 40px;
  }

  /* CTA */
  .cta-card {
    box-shadow: 0 15px 30px hsla(0, 0%, 0%, 0.07);
    padding-block: 60px;
    border-radius: 16px;
  }

  .cta-title {
    --font-size-4: 30px;
    padding-inline: 0;
    max-width: 550px;
    margin-inline: auto;
  }

  /* Footer */
  .footer-link-box { 
    grid-template-columns: repeat(4, 1fr); 
  }

  .footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .copyright {
     margin-bottom: 0; 
  }
}

/* Responsiveness - Larger than 1024px  */

@media (min-width: 1024px) {
  :root {
    --font-size-1: 43px;
    --font-size-2: 41px;
    --font-size-3: 38px;
    --font-size-7: 16px;
    --font-size-8: 16px;

    --section-padding: 100px 0;
  }

  .container {
    max-width: 980px;
    padding: 0;
  }

  .btn {
    --font-size-7: 18px;
    padding-block: 16px;
  }

  /* Header */
  header {
    padding: 35px 15px;
    background: transparent;
  }

  header.active {
    padding: 15px;
    background: #FFFFFF;
  }

  header .container { 
    max-width: 980px; 
  }

  .nav-open-btn, .nav-close-btn { 
    display: none; 
  }

  .navbar {
    opacity: 1;
    visibility: visible;
    position: static;
    width: auto;
    height: auto;
    padding-top: 0;
    box-shadow: none;
    background: none;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .navbar-list {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-right: 20px;
  }

  .navbar-item:not(:last-child) { 
    border-bottom: none; 
  }

  .navbar-link {
    --font-size-5: 16px;
    color: #313d49;;
    padding: 0 10px;
  }

  .navbar-link:is(:hover, :focus) { 
    background: none; 
  }

  .navbar .btn-primary {
    --font-size-7: 16px;
    width: auto;
    padding: 10px 23px;
    border-radius: 4px;
  }

  /* Hero */
  .hero::before { 
    left: 50%;
  }

  .hero .container { 
    gap: 100px; 
  }

  .input-field { 
    font-size: 19px; 
  }

  /* Service */
  .service .section-text {
    --font-size-6: 18px;
    margin-bottom: 50px;
  }

  .service-list {
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
  }

  /* API */
  .api-top,
  .api-bottom { 
    gap: 40px; 
  }

  .api-top { 
    margin-bottom: 100px; 
  }

  .api-banner { 
    margin-bottom: 0; 
  }

  /* Contribute */
  .contribute-card {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 20px;
    text-align: left;
  }

  /* Faq */
  .grid-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }

  /* CTA */
  .cta-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 50px;
  }

  .cta-title {
    --font-size-4: 32px;
    margin-inline: 0;
    margin-bottom: 0;
    text-align: left;
  }

  /* Footer */
  .footer-top .container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
  }

  .footer-brand {
    max-width: 300px;
    margin-bottom: 0;
  }

  .footer-list li:not(:last-child) { 
    margin-bottom: 15px; 
  }

  .footer-list li:first-child { 
    margin-bottom: 20px; 
  }

  .footer-link { 
    min-width: 130px; 
  }
}


/* Responsiveness - Larger than 1200px  */

@media (min-width: 1200px) {
  :root {

    --font-size-1: 52px;
    --font-size-2: 50px;
    --font-size-3: 46px;
    --font-size-5: 22px;
    --font-size-6: 19px;
  }

  .section-title {
    font-size: 46px;
    color: #2e333d;
    font-weight: 500;
  }

  .container { 
    max-width: 1100px; 
  }

  /* Header */
  header .container { 
    max-width: 1100px; 
  }

  .navbar-list { 
    margin-right: 30px; 
  }

  .navbar-link {
    --font-size-5: 17px;
    padding: 0 15px;
  }

  /* Hero */
  .hero { 
    padding-top: 180px; 
  }

  .hero-form { 
    margin-bottom: 40px; 
  }

  .hero .btn-primary { 
    margin-top: 40px; 
  }

  /* Service and contribute */
  .service .section-text {
    --font-size-6: 20px;
    max-width: 700px;
    margin-bottom: 70px;
  }

  .service .card-icon,
  .contribute .card-icon { 
    font-size: 70px; 
  }

  /* API */
  .api-top,
  .api-bottom { 
    gap: 60px; 
  }

  /* Contribute and faq */
  .contribute .section-title,
  .faq .section-title {
    max-width: 700px;
    margin-bottom: 80px;
  }

  /* CTA */
  .cta-title {
    --font-size-4: 38px;
    max-width: 700px;
  }

  /* Footer */
  .footer-brand { 
    max-width: 350px; 
  }

  .footer-top .h4 { 
    --font-size-5: 20px; 
  }

  .footer-link {
    font-size: 18px;
    min-width: 140px;
  }

  .copyright,
  .social-link { 
    font-size: 17px; 
  }

  .social-list { 
    column-gap: 21px; 
  }

  .social-list > li:not(:last-child)::after { 
    right: -10px; 
  }
}

/* Copy to clipboard */
.input-container {
  display: flex;
  align-items: center;
  justify-content: center;
}

.input-label {
  padding: 8px;
  font-size: 14px;
  color: #6d757d;
}

.copy-input-text {
  position: relative;
  padding: 6px;
  background: #FFFFFF;
  border: 1px solid #DDDDDD;
  border-radius: 6px;
  display: flex;
}

.copy-input-text input.input-value-text {
  padding: 8px;
  font-size: 16px;
  color: #555555;
  border: none;
  outline: none;
}

.copy-input-text button {
  padding: 10px;
  background: #0180ff;
  color: #FFFFFF;
  font-size: 16px;
  border: none;
  outline: none;
  border-radius: 6px;
  cursor: pointer;
}

.copy-input-text button:active {
  background: #2980b9;
}

.copy-input-text button:before {
  content: "Copied";
  position: absolute;
  top: -50px;
  right: 0px;
  background: #3498db;
  padding: 8px 10px;
  border-radius: 6px;
  font-size: 15px;
  display: none;
}

.copy-input-text button:after {
  content: "";
  position: absolute;
  top: -20px;
  right: 25px;
  width: 10px;
  height: 10px;
  background: #3498db;
  transform: rotate(45deg);
  display: none;
}

.copy-input-text.active button:before, .copy-input-text.active button:after {
  display: block;
}


/* Error page */
.container-error {
  max-width: 400px;
  padding: 2rem;
  margin: auto;
  display: grid;
  color: #333333;
}

.heading {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.heading h1 {
  font-size: 4rem;
  font-weight: 900;
}

.container-error h3 {
  font-size: 2rem;
  font-weight: 700;
}

.footing {
  display: grid;
  gap: 2rem;
  place-content: baseline;
  padding-top: 6px;
}

.footing p {
  font-variation-settings: 1rem;
}

.footing button {
  padding: 1rem;
  outline: none;
  border: none;
  border-radius: 5px;
  color: #FFFFFF;
  font-size: 1rem;
  font-weight: 500;
  background-color: #0180ff;
  cursor: pointer;
  transition: 0.3s;
}

.footing button:hover {
  background-color: #2980b9;
}

/* Form card */
#form__card {
  max-width: 480px;
  padding: 1rem;
  text-align: left;
  margin-bottom: 0;
  justify-content: center;
  margin-inline: auto;
  box-shadow: 0 2rem 4rem rgba(0, 0, 0, 0.25);
  border-radius: 6px;
}

.form__label {
  display: block;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: #2e333d;
}

#heading-secondary {
  font-size: 24px;
  margin-top: 16px;
}

#form__card button {
  width: 100%;
  background: #0180ff;
  color: #FFFFFF;
}

.navbar-item span {
  color: #404040;
  text-transform: capitalize;
}

.account-page h2 {
  font-size: 24px;
}

.account-page form input {
  max-width: 480px;
  padding: 8px;
}

.filtering-options {
  margin-top: 25px;
}

main {
  flex: 1;
}

.all-containers {
  min-height: 100vh;
}

.email-link {
  text-decoration: underline;
}

.quiz-game {
  color: #FFFFFF;
}

.url-docs {
  color: #404040;
}

.overlay {
  position: fixed;
  inset: 0;
  background: transparent;
  pointer-events: none;
  transition: 0.25s ease-in-out;
}

.overlay.active {
  background: #313d49;
  pointer-events: all;
}

.test-styles {
  color: #0180ff;
}

.card-coffee {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  max-width: 400px;
  text-align: center;
  padding: 20px;
  margin-top: 10px;
}

.card-img-coffee {
  width: 100px;
  margin: 0 auto;
}

.card-content-coffee {
  padding: 20px;
}

.card-coffee h2 {
  margin: 0 0 10px;
  font-size: 24px;
  color: #333;
}

.card-coffee p {
  font-size: 16px;
  color: #666;
}

.btn-coffee {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 20px;
  background-color: #ff813f;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s;
}

.btn-coffee:hover {
  background-color: #e56d30;
}

.supports {
  color: red;
}

.additional-color {
  color: #6d757d;
}

.new-section-text ul {
  margin-top: 0.75rem;
  margin-bottom: 1.25rem;
  padding-left: 1.25rem;
}

.new-section-text li {
  margin-bottom: 0.6rem;
  line-height: 1.6;
  color: #2a2a2a;
  font-size: 0.95rem;
}

.new-section-text li::marker {
  color: #3b82f6; /* subtle brand accent */
}

.new-section-text-p {
  margin-top: 0.5rem;
  margin-bottom: 1rem;
  line-height: 1.65;
  font-size: 0.95rem;
  color: #2a2a2a;
  /* max-width: 720px; */
  text-align: center;
}