/* =========================================
   TELUM TARGET — BASE STYLES
========================================= */

/* =========================================
   RESET
========================================= */

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* =========================================
   HTML
========================================= */

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  background: var(--color-bg-primary)
}

/* =========================================
   BODY
========================================= */

body {
  font-family: 'Exo 2', sans-serif;
  color: var(--color-text-primary);
  background:var(--color-bg-primary);
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* =========================================
   MEDIA
========================================= */

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

/* =========================================
   INPUTS
========================================= */

input,
button,
textarea,
select {font: inherit;}

/* =========================================
   BUTTONS
========================================= */

button {
  border: none;
  background: none;
  cursor: pointer;
}

/* =========================================
   LINKS
========================================= */

a {
  color: inherit;
  text-decoration: none;
}

/* =========================================
   LISTS
========================================= */

ul,
ol { list-style: none;}

/* =========================================
   TYPOGRAPHY DEFAULTS
========================================= */

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  letter-spacing: 0.04em;
}

p {line-height: 1.8;}

/* =========================================
   SELECTION
========================================= */
::selection {
  background:rgba(193,18,31,0.18);
  color:var(--color-text-primary);
}

/* =========================================
   SCROLLBAR
========================================= */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background:rgba(0,0,0,0.04);
}

::-webkit-scrollbar-thumb {
  background:rgba(193,18,31,0.45);
  border-radius: 999px;
}

::-webkit-scrollbar-thumb:hover {
  background:rgba(193,18,31,0.65);
}

/* =========================================
   FOCUS STATES
========================================= */
:focus-visible {
  outline:2px solid var(--color-accent);
  outline-offset: 3px;
}

/* =========================================
   UTILITIES
========================================= */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: 40px;
}

.section {
  position: relative;
  padding:
    var(--section-spacing)
    40px;
}

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 1.4s cubic-bezier(0.22, 1, 0.36, 1),
    transform 1.4s cubic-bezier(0.22, 1, 0.36, 1);

  will-change:
    opacity,
    transform;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================
   RESPONSIVE
========================================= */
@media (max-width: 900px) {
  .container {padding-inline: 24px;}
  .section {
    padding:
      90px
      24px;
  }
}
