/*
Theme Name: Gabe Brasil Blog
Author: Gabe Brasil
Version: 1.3
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

/* VARIABLES */
:root {
  /* colors */
  --bg-primary: #111827;
  --bg-secondary: #1f2937;
  --border: #5a5b5d;
  --primary: #d8b4fe;
  --text-light: #d1d5db;

  /* others */
  --radius: 8px;
  --weight: 600;
  --family: "Poppins", sans-serif;
}

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

html,
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

body {
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  font-family: var(--family);
  background-color: var(--bg-primary);
  color-scheme: dark;
}

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

ul {
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6,
ul,
p {
  margin: 0;
}

/* CLASSES */
.gb-container {
  width: 100%;
  max-width: 1250px;
  margin-left: auto;
  margin-right: auto;
}

.gb-no-post {
  color: var(--text-light);
}

/* SCROLLBAR */
html,
body {
  /* width */
  &::-webkit-scrollbar {
    width: 10px;
  }

  /* Track */
  &::-webkit-scrollbar-track {
    background: transparent;
  }

  /* Handle */
  &::-webkit-scrollbar-thumb {
    background: var(--bg-secondary);
    border-radius: 2px;
  }

  /* Handle on hover */
  &::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
  }
}

/* "figure" é tag do WP. */
.gb-single__content figure {
  /* width */
  &::-webkit-scrollbar {
    width: 10px;
    height: 10px;
  }

  /* Track */
  &::-webkit-scrollbar-track {
    background: transparent;
  }

  /* Handle */
  &::-webkit-scrollbar-thumb {
    background: var(--bg-primary);
    border-radius: 2px;
  }

  /* Handle on hover */
  &::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
  }
}
