/*==================== VARIABLES CSS ====================*/
:root {
  --height-header: 60px;
  --primary-color: #232351;
  --secondary-color: #5558b7;
  --text-header-color: #fff;
  --background-body-color: #f0f0f0;

  --text-color: #302f2d;

  --scroll-thumb-color: var(--primary-color);
  --scroll-thumb-hover-color: var(--secondary-color);

  --big-font-size: 2.5rem; /*40px*/
  --h1-font-size: 1.75rem; /*24px*/
  --h2-font-size: 1.5rem; /*20px*/
  --h3-font-size: 1.25rem; /*18px*/
  --h4-font-size: 1rem; /*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: 2rem; /*32px*/
    --h2-font-size: 1.75rem; /*24px*/
    --h3-font-size: 1.5rem; /*20px*/
    --h4-font-size: 1.25rem; /*18px*/
    --normal-font-size: 1rem;
    --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", sans-serif;
  font-size: var(--normal-font-size);
  background-color: var(--background-body-color);
  color: var(--text-color);
}

h1,
h2,
h3,
h4 {
  color: var(--primary-color);
  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);
}

/* h2:target::before {
  content: "";
  display: block;
  height: var(--height-header);
  margin-top: calc(-1 * var(--height-header));
  visibility: hidden;
} */

p,
span,
a,
li,
input,
textarea,
select,
option,
label {
  font-size: var(--normal-font-size);
  color: var(--text-color);
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

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

textarea {
  resize: none;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:active,
input:-webkit-autofill:focus {
  background-color: var(--input-color) !important;
  color: var(--text-color) !important;
  -webkit-box-shadow: 0 0 0 1000px var(--input-color) inset !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: 1rem;
}

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

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

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

.btn {
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 100%;
  height: 38px;
  line-height: 36px;
  padding: 0 10px;
  color: var(--primary-color);
  font-size: 15px;
  font-weight: bold;
  border: 2px solid transparent;
  border-radius: 5px;
  border-color: var(--primary-color);
  background-color: #fff;
  cursor: pointer;
  opacity: 1;
  transition: all 0.3s ease;
  gap: 4px;
}

.btn:hover {
  opacity: 0.6;
}

.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: #fff;
}

.btn-secondary {
  background-color: #02a9dc;
  border-color: #02a9dc;
  color: #fff;
}

.btn-register {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
  color: #fff;
}

.section-breadcrumbs {
  padding: 12px 0;
  background-color: white;
  border-bottom: 1px solid #f0f0f0;
}

.section-breadcrumbs a,
.section-breadcrumbs p,
.section-breadcrumbs span {
  color: #555555;
  font-weight: 600;
}

.section-breadcrumbs a:hover {
  color: #0073aa;
}

.section-breadcrumbs a {
  color: #5f79ff;
}

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

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

  background-color: var(--scroll-bar-color);
  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);
}

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

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

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

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

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

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