/*==================== VARIABLES CSS ====================*/
:root {
  --height-header: 60px;

  --primary-1: #2b4243;
  --primary-2: #ae6f31;
  --primary-3: #80874c;
  --primary-4: #afb47a;
  --primary-5: #fafafa;
  --primary-6: #ffffff;
  --primary-7: #f5f5f5;
  --primary-8: #eaeaea;

  --text-color: #f2f4f7;
  --text-dark-color: #000;

  --text-muted: #b0b8c1;

  --scroll-thumb-color: var(--primary-1);
  --scroll-thumb-hover-color: var(--primary-2);

  --big-font-size: 2.5rem; /*40px*/
  --h1-font-size: 2rem; /*24px*/
  --h2-font-size: 1.75rem; /*20px*/
  --h3-font-size: 1.5rem; /*18px*/
  --h4-font-size: 1.25rem; /*16px*/
  --normal-font-size: 0.8rem;
  --small-font-size: 0.8rem;
  --smaller-font-size: 0.7rem;
}

@media screen and (min-width: 768px) {
  :root {
    --big-font-size: 3rem; /*48px*/
    --h1-font-size: 2.25rem; /*32px*/
    --h2-font-size: 2rem; /*24px*/
    --h3-font-size: 1.45rem; /*20px*/
    --h4-font-size: 1.5rem; /*18px*/
    --normal-font-size: 0.9rem;
    --small-font-size: 0.9rem;
    --smaller-font-size: 0.85rem;
  }
}
/*==================== BASE ====================*/
* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

html {
  scroll-behavior: smooth;
  margin: 0 !important;
}

body {
  margin: 0;
  font-family: "Arial";
  font-size: var(--normal-font-size);
  background-color: var(--primary-5);
  color: var(--text-dark-color);
  transition: background-color 0.3s ease, color 0.3s ease;
}

h1,
h2,
h3,
h4 {
  color: var(--primary-4);
  font-weight: 600;
}

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

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

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

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

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

textarea {
  resize: none;
}

hr {
  display: block;
  height: 1px;
  border: 0;
  border-bottom: 1px #e2e2e2 solid;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:active,
input:-webkit-autofill:focus {
  background-color: var(--primary-4) !important;
  color: var(--text-color) !important;
  -webkit-text-fill-color: var(--text-color) !important;
}

select {
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
}

select::-ms-expand {
  display: none;
}

.select-down {
  pointer-events: none !important;
}

section,
aside {
  margin-top: 12px;
}

.frist-section {
  margin-top: 0 !important;
}

.container {
  padding: 0 1rem;
  width: 100%;
  margin: auto;
}

.section-breadcrumbs {
  padding: 12px 0;
  background: var(--primary-5);
  border-bottom: 1px solid var(--primary-8);
}

.section-breadcrumbs a,
.section-breadcrumbs p,
.section-breadcrumbs span {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.9em;
  transition: color 0.3s ease;
}

.section-breadcrumbs a {
  color: var(--primary-1);
}

.section-breadcrumbs a:hover {
  color: var(--text-dark-color);
}

.section-breadcrumbs .breadcrumb_last {
  color: var(--text-dark-color);
  font-weight: 600;
}

/*========== SCROLL BAR ==========*/
::-webkit-scrollbar {
  width: 0.4rem;
  height: 0.4rem;

  background-color: var(--primary-5);
  border-radius: 5rem;
}
::-webkit-scrollbar-thumb {
  background-color: var(--scroll-thumb-color);
  border-radius: 0.5rem;
}
::-webkit-scrollbar-thumb:hover {
  background-color: var(--scroll-thumb-hover-color);
}

#particles-js {
  position: fixed;
  width: 100vw;
  height: 100vh;
  top: 0;
  left: 0;
  z-index: -1;
  pointer-events: none;
}

/*==================== RESPONSIVE ====================*/
@media screen and (min-width: 768px) {
  section,
  aside {
    margin-top: 12px;
  }

  .btn {
    min-width: 140px;
  }
}

@media screen and (min-width: 1024px) {
  section,
  aside {
    margin-top: 12px;
  }
  .container {
    max-width: 1000px;
  }

  .container-toplist {
    max-width: 800px;
  }
}

@media screen and (min-width: 1080px) {
  section,
  aside {
    margin-top: 12px;
  }
  .container {
    max-width: 1080px;
  }

  .container-toplist {
    max-width: 1000px;
  }
}

@media screen and (min-width: 1280px) {
  section,
  aside {
    margin-top: 12px;
  }
  .container {
    max-width: 1200px;
  }
}
