/*

-- 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
Bold: 600

- Line heights
Default: 1
1.05
Paragraph default: 1.6

--02 COLORS
- Primary: #bf9c62
- Tints: #d2ba91
- Shades: #604e31
- Accents:
- Greys:
#555
#333

--- 05 SHADOWS

--- 06 BORDER-RADIUS
Default: 9px;
Medium: 11px;

--- 07 WHITESPACE

- Spacing system (px)
2 / 4 / 8 / 12 / 16 / 24 / 32 / 48 / 64 / 80 / 96 / 128
*/

html {
    /* font-size: 10px; */
    /* 10px / 16px = 0.625 = 62.5% */
    /* Percentage of user's browser font-size setting */
    font-size: 62.5%;
    overflow-x: hidden;
    scroll-behavior: smooth;
}


* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}


body {
    border-top: none !important;
    font-family: "Rubik", sans-serif;
    line-height: 1;
    font-weight: 400;
    color: #555;
    overflow-x: hidden;
}

/****************************************/
     /*       SCROLL UP       */
/***************************************/
.arrow-up-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: none;
    background-color: #a38d67;
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 20px;
    width: 40px;
    height: 40px;
    transition: opacity 0.2s ease-in-out;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    display: none;
}

.arrow-up-btn--show {
    /* Show the button when this class is added */
    display: block;
}

/****************************************/
/*  GENERAL REUSABLE COMPONENTS  */
/***************************************/

.heading-primary,
.heading-secondary,
.heading-tertiary {
    font-weight: 700; /*add bold to a text */
    color: #333;
    letter-spacing: -0.5px;
}

.heading-primary {
    font-size: 4.2rem; 
    line-height: 1.05;  /*modify space between lines */
    margin-bottom: 3.2rem;
}

.heading-secondary {
    font-size: 2.8rem;
    line-height: 1.2;
    margin-bottom: 4.6rem;
}

.heading-tertiary {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 3.2rem;
}

.subheading {
    display: block;
    font-size: 2.6rem;
    font-weight: 400;
    color: #bf9c62;
    margin-bottom: 2.6rem;
    letter-spacing: 0.75px;
}

.subheading-gallery {
    font-size: 2.6rem;
    font-weight: 400;
    color: #bf9c62;
    margin-bottom: 2.6rem;
    letter-spacing: 0.75px;
}

.subheading--top {
    margin-top: 4.8rem;
}

.subheading--bottom {
    margin-top: 3.2rem;
}

.btn,
.btn:link, 
.btn:visited {
    display: inline-block;
    text-decoration: none;
    font-size: 2rem;
    font-weight: 500;
    padding: 1.6rem 3.2rem;
    border-radius: 9px;
/*Put the transition on the original "state" */
    transition: all 0.4s;
}

.btn--full:link,
.btn--full:visited {
    background-color: #997d4e;
    color: #fff;
}

.btn--full:hover,
.btn--full:active {
    background-color: #866d45;
}

.btn--outline:link,
.btn--outline:visited {
    background-color: #fff;
    color: #555;
}

.btn--outline:hover,
.btn--outline:active {
    background-color: #d2ba91;
    /*border: 3px solid #fff; /*add border to button */ 
    /*Trick to add border inside a button */
    box-shadow: inset 0 0 0 2px #fff;
}
.link:link,
.link:visited{
    display: inline-block;
    color:#997d4e;
    text-decoration: none;
    border-bottom: 1px solid currentColor;
    padding-bottom: 2px;
    transition: all 0.3s;
    margin-left: 16.8rem;
}

.link:hover,
.link:active {
    color: #735e3b;
    border-bottom: 1px solid transparent;
}

.list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap:1.6rem;
}

.list-item {
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    gap:1.6rem; 
    line-height: 1.2;
}

.list-icon {
    width: 3rem;
    height: 3rem;
    color: #cf711f;
}

/* HELPER/SETTINGS CLASSES */

.margin-right-sm { /*pseudo class */
    margin-right: 1.2rem !important;
}

.margin-bottom-md {
    margin-bottom: 4.8rem !important;
}

.center-text {
    text-align: center;
}

.center-text-gallery {
    text-align: center;
    background-color:#f2ece0;
    width: 100%;
}

.strong {
    font-weight: 500;
}

.container { /*this will be always used to center a component on the webpage */
    max-width: 120rem;
    padding: 0 3.2rem;
    margin: 0 auto;
}

.container-gallery-text { /*this will be always used to center a component on the webpage */
   padding-top: 3.2rem;
    margin: 0 auto;
    width: 100%;
}


.grid {
    display: grid;
    column-gap: 6.4rem;
    row-gap: 9.6rem;
    align-items: center;
  /*  margin-bottom: 9.6rem; */
}

/*
.grid:last-child {
    margin-bottom: 0;
}*/

.grid:not(:last-child){
    margin-bottom: 9.6rem; 
}

.grid--2-cols {  /*this is how you do a deviation of a grid class for example */
    grid-template-columns: repeat(2, 1fr); /* set up a two column grid */
}

.grid--3-cols {  /*this is how you do a deviation of a grid class for example */
    grid-template-columns: repeat(3, 1fr); /* set up a three column grid */
}

.grid--4-cols {  /*this is how you do a deviation of a grid class for example */
    grid-template-columns: repeat(4, 1fr); /* set up a four column grid */
}

/*.grid--5-cols {  
    grid-template-columns: repeat(5, 1fr); 
} */

.grid--center-v {
    align-items: center;
}