:root {
  --l: #f6f6f6;
  --d: #0a0b0a;
  --g: #dba622;
  --r: #660404;
}

* {
  margin: 0;
  line-height: calc(1em + 0.5rem);
}

html {
  scroll-behavior: smooth;
}

body {
  background-image: url("../images/blog-posts-bg.webp");
  background-repeat: repeat;
  background-size: 400px; 
  background-position: top left;
  background-color: var(--d);
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
  user-select: none;
}

button {
  display: inline-block;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  text-transform: uppercase;
  font-family: inherit;
}

/* ? media queries to edit css responsiveness */

/* mobile */
/* @media (min-width: 320px) {
 
} */

/* landscape mobile */
/* @media (min-width: 568px) {

} */

/* tablet */
/*@media (min-width: 768px) {

} */

/* desktop */
/* @media (min-width: 1024px) {
 
} */

/* ? Boxes content */
.container {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  /* border: 2px solid; */
}

html {
  scroll-behavior: smooth;
  scroll-padding: 10%;
}

body {
  overflow-x: hidden;
}

/* ? Separates content */
.section {
  margin-bottom: 2rem;
}

/* !controls responsive system */

/* mobile */
@media (min-width: 320px) {
  .container {
    max-width: 320px;
  }
}

/* landscape mobile */
@media (min-width: 568px) {
  .container {
    max-width: 568px;
  }
}

/* tablet */
@media (min-width: 768px) {
  .container {
    max-width: 768px;
  }
}

/* desktop */
@media (min-width: 1024px) {
  .container {
    max-width: 1024px;
  }
}
