:root {
  --primary-color: #E32D4B;
  --secondary-color: #111111;
  --third-color: #1e1e1e;
  --light-text-color: white;
  --dark-text-color: #111111;
  --font-base: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --radius-small: 6px;
  --radius-big: 12px;
}

body {
  font-family: var(--font-base);
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
  padding: 0;
}

* {box-sizing: border-box;}

/* Tipografia */
h1 { font-size: 48px; line-height: 1.15; font-weight: 700;}
h2 { font-size: 36px; line-height: 1.2; font-weight: 700;}
h3 { font-size: 28px; line-height: 1.25; font-weight: 700;}
h4 { font-size: 22px; line-height: 1.3; font-weight: 700;}
h5 { font-size: 18px; line-height: 1.4; font-weight: 500;}
h6 { font-size: 16px; line-height: 1.4; font-weight: 500;}
p  { font-size: 16px; line-height: 1.6; font-weight: 300;}
h1, h2, h3, h4, h5, h6, p {margin: 0; font-family: var(--font-base);}

/* Tipografia */
.btn {
    display: inline-block;
    text-align: center;
    font-weight: 500;
    font-size: 16px;
    text-decoration: none;
    text-transform: uppercase;
    padding: 16px 34px;
    background-color: var(--primary-color);
    color: var(--light-text-color);
    border: solid 1px var(--primary-color);
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn:hover {
    background: none;
    color: var(--primary-color);
    border: solid 1px var(--primary-color);
}

.btn-2 {
    display: inline-block;
    text-align: center;
    font-weight: 500;
    font-size: 16px;
    text-decoration: none;
    text-transform: uppercase;
    padding: 16px 34px;
    background-color: white;
    color: var(--secondary-color);
    border: solid 1px white;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-2:hover {
    background: none;
    color: white;
}
.hero-height {min-height: 80vh}
.top-margin {margin-top: 56px;}
.top-margin-small {margin-top: 6px;}
.top-margin-mid {margin-top: 12px;}
.top-margin-large {margin-top: 24px;}
.top-margin-xl {margin-top: 36px;}
.light-color {color: var(--light-text-color);}
.primary-color {color: var(--primary-color);}
.center-text {text-align: center}
.center-items {display: flex; flex-direction: column; align-items: center; justify-content: center;}
.grid-2 {display:grid; grid-template-columns: 1fr 1fr; gap: 40px;}
.grid-3 {display:grid; grid-template-columns: 1fr 1fr 1fr; gap: 30px;}
.grid-4 {display:grid; grid-template-columns: 1fr 1fr 1fr 1fr; gap: 40px;}

section {padding: 110px 12% 95px 12%;}

/* Homepage */

.topbar {
    background-color: var(--primary-color);
    min-height: 50px;
}

.home-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.9)), 
                url(images/stock-hero.avif);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-title {font-size: 64px; font-weight: 900;}

/* Countdown */
.countdown {
  display: flex;
  flex-direction: row;
  gap: 16px;
  justify-content: center;
  align-items: center;
}

.time-box {
  min-width: 90px;
  border-radius: 14px;
  color: var(--light-text-color);
  text-align: center;
}

.time-box h2 {
    font-size: 48px;
}

.time-box span {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}

.time-box small {
  display: block;
  margin-top: 6px;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.7;
  color: var(--primary-color);
}

.dark-bg {background-color: var(--third-color);}

.card {
    background-color: var(--secondary-color);
    color: var(--light-text-color);
    padding: 45px;
    border-bottom: solid 7px var(--primary-color);
    border-right: solid 7px var(--primary-color);
}





@media (max-width: 768px){
  section {padding: 80px 6% 70px 6%;}
  h1 { font-size: 32px; }
  h2 { font-size: 26px; }
  h3 { font-size: 22px; }
  h4 { font-size: 18px; }
  h5 { font-size: 16px; }
  h6 { font-size: 15px; }
  p  { font-size: 15px; }
  small { font-size: 13px; }  
  .grid-2, .grid-3 {grid-template-columns: 1fr; gap: 20px;}
  .hero-title {font-size: 42px;}
  .countdown {gap: 10px;}
  .time-box {min-width: 70px; padding: 12px 8px;}
  .time-box span {font-size: 1.5rem;}
  .time-box h2 {font-size: 32px;}
  .card {padding: 30px;}
  .btn, .btn-2 {font-size: 15px;}
}