/* 
--- 01 TYPOGRAPHY SYSTEM

Font sizes (px)
10 / 12 / 14 / 16 / 18 / 20 / 24 / 30 / 36 / 44 / 52 / 62 / 74 / 86 / 98

- Font weights
Default: 400
Medium: 500
Semi-bold: 600
Bold: 700

- Line heights
Default: 1
Paragraph default: 1.6
Small: 1.05

- Letter spacing
-0.5px
0.75px

--- COLORS

- Primary: #5E3023
- Tints:  #efeae9
- Shades: #7e594f
- Accents
- Greys:
#555
#333

--- 05 SHADOWS

--- 06 BORDER RADIUS

--- 07 WHITESPACE

SPACING SYSTEM (px)
2 / 4 / 8 / 12 / 16 / 24 / 32 / 48 / 64 / 80 / 96 / 128
*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    font-size: 62.5%;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    font-family: 'Rubik', sans-serif;
    line-height: 1;
    font-weight: 400;
    color: #555;
    overflow-x: hidden;
}

/* ******************************************************* */
/* GENERAL COMPONENTS */
/* ******************************************************* */

.container {
    max-width: 120rem;
    padding: 0 3.2rem;
    margin: 0 auto;
}

.grid {
    display: grid;
    column-gap: 6.4rem;
    row-gap: 9.6rem;
}

.grid--2-cols {
    grid-template-columns: repeat(2, 1fr);
}

.grid--3-cols {
    grid-template-columns: repeat(3, 1fr);
}

.grid--4-cols {
    grid-template-columns: repeat(4, 1fr);
}

.grid--5-cols {
    grid-template-columns: repeat(5, 1fr);
}

.grid--center-v {
    align-items: center;
}

.btn,
.btn:link,
.btn:visited {
    display: inline-block;
    text-decoration: none;
    font-size: 2rem;
    padding: 1.6rem 3.2rem;
    border-radius: 9px;
    transition: all 0.3s;
    font-weight: 600;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.btn--full:link,
.btn--full:visited {
    background-color: #5E3023;
    color: #fff;
}

.btn--full:hover,
.btn--full:active {
    background-color: #552b20;
}

.btn--outline:link,
.btn--outline:visited {
    background-color: #fff;
    color: #555;
}


.btn--outline:hover,
.btn--outline:active {
    background-color: #efeae9;
    box-shadow: inset 0 0 0 3px #fff;
}

.btn--form {
    background-color: #cfc1bd;
    color: #333;
    align-self: end;
}

.btn--form:hover,
.btn--form:active {
    /* background-color: #552b20; */
    color: #552b20;
}

.margin-right-sm {
    margin-right: 1.6rem !important;
}

.heading-primary,
.heading-secondary,
.heading-tertiary {
    font-weight: 700;
    color: #333;
    letter-spacing: -0.5px;
}

.heading-primary {
    font-size: 5.2rem;
    line-height: 1.05;
    margin-bottom: 3.2rem;
}

.heading-secondary {
    font-size: 4.4rem;
    line-height: 1.2;
    margin-bottom: 9.6rem;
}

.heading-tertiary {
    font-size: 3.6rem;
    line-height: 1.2;
    margin-bottom: 3.2rem;
}

.subheading {
    display: block;
    font-size: 1.6rem;
    font-weight: 500;
    color: #7e594f;
    text-transform: uppercase;
    margin-bottom: 1.6rem;
    letter-spacing: 0.75px;
}

*:focus {
    outline: none;
    box-shadow: 0 0 0 0.8rem rgba(126, 89, 79, 0.51);
}