/* GENERAL CSS STYLES SECTION */

/* ###################################### */
/* ######## GENERAL CSS ################# */
/* ###################################### */

/* 
/* ###################################### */
/* ########## TYPOGRAPHY ################ */
/* ###################################### */
/*
- Font-size (px)
  10/ 12/ 14/ 16/ 18/ 20/ 24/ 30/ 36/ 44/ 52/ 62/ 74/ 86/ 98

- Font-weight:
  -- Default:   400
  -- Medium:    500
  -- Semi-Bold: 600
  -- Bold:      700

- Line-height: 
  -- Default:   1
  -- Small:     1.05
  -- Medium:    1.2
  -- Paragraph: 1.6
  -- Large:     1.8

- Letter-spacing:
  -- Large text: 0.5px
  -- Smaller text: 0.75px

/* ###################################### */
/* ########### WHITE SPACE ############## */
/* ###################################### */
/*
- Spacing system (px) 
  2/ 4/ 8/ 12/ 16/ 24/ 32/ 48/ 64/ 80/ 96/ 128

/* ###################################### */
/* ############# COLORS ################# */
/* ###################################### */
/*
- Primary: 
  -- #fdfffc  Page backgrond
  -- blue     link:hover
  -- #777     description-em

- Tints:
 -- #d3f9d8   |
 -- #ebfbee  Page
 -- #ffc9c9  Gradient
 -- #f3d9fa  Colors
 -- #f8f0fc   |

 -- rgba(236, 255, 244, 0.736)  Crest Image Background


- Shades:
        -- #175824 Tartan Green 
        -- #1a286e Tartan Blue 
        -- #501e5d Tartan Purple 
        -- #b62424 Tartan Red

- Accents:

- Greys:
  -- #333
  -- #555 Font color
  -- #888
  -- #dee2e6 shadow-box border
  
/* ###################################### */
/* ############# IMAGES ################# */
/* ###################################### */
/*
/* ###################################### */
/* ############# ICONS ################## */
/* ###################################### */
/*
/* ###################################### */
/* ############# ANIMATIONS ############# */
/* ###################################### */
/*
-- links:  transition: all 0.3s;
-- images: transition: all 0.4s;
-- images: transform: scale(1.2);

/* ###################################### */
/* ############# SHADOWS ################ */
/* ###################################### */
/*
  -- box-shadow: 5px 7px 8px rgb(0, 0, 0, 0.5)
  -- border: 1px solid #dee2e

  
/* ###################################### */
/* ############# BORDER RADIUS ########## */
/* ###################################### */
/*

 -- Default:            9px
 -- Medium:             11px
 -- Shadows             11px
 -- Round/Square:       50%
 -- Rounded Background: 100%
*/
/* ###################################### */
/* ############# VARIABLES ############## */
/* ###################################### */
/*
  --dflt-bg: #fdfffc;
  --fnt-clr: #555;
  --br-dflt: 9px;
  --br-shdo: 11px;
  --br-img: 15px;

/* ###################################### */
/* ########## GLOBAL SETTINGS ########### */
/* ###################################### */

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

:root {
  --dflt-bg: #fdfffc;
  --fnt-clr: #555;
  --br-dflt: 9px;
  --br-shdo: 11px;
  --br-img: 15px;
}

html {
  font-size: 62.5%;
  /*1rem=10px*/
}

body {
  font-family: "Rubik", san-serif;
  line-height: 1;
  font-weight: 300;
  color: var(--fnt-clr);
  background-color: var(--dflt-bg);
}

strong {
  font-weight: 600;
}

figcaption {
  display: flex;
  font-size: 1rem;
  color: #999;
  width: 20rem;
  margin-left: 11rem;
  text-align: start;
  justify-content: center;
}

/* ---------------------------- */
/* ---- GRID/CONTAINER -------- */
/* ---------------------------- */

.container {
  max-width: 120rem;
  padding: 2.4rem 3.2rem;
  margin: 0 auto;
}

.grid {
  display: grid;
  gap: 1.6rem;
  padding: 1.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);
}

/* VERTICALLY CENTER GRID ITEMS */
.grid--center-vert {
  align-items: center;
}

.grid--center-horiz {
  justify-content: center;
}

.grid--center-both {
  align-items: center;
  justify-items: center;
}

/* ---------------------------- */
/* ------ HEADINGS ------------ */
/* ---------------------------- */

.heading-primary,
.heading-secondary,
.heading-tertiary {
  font-weight: 500;
  color: #333;
  letter-spacing: -0.5px;
}

.heading-primary {
  font-size: 9.6rem;
  line-height: 1.05;
  margin-bottom: 1.6rem;
}

.heading-secondary {
  font-size: 4.4rem;
  line-height: 1.2;
  margin-bottom: 9.6rem;
}

.heading-tertiary {
  font-size: 4.4rem;
  line-height: 1.2;
  margin-top: 2.4rem;
  margin-bottom: 3.2rem;
  /* font-family: "Genos", sans-serif; */
}

.subheading {
  /* display: block; */
  font-size: 2.4rem;
  font-weight: 500;
  color: #333;
  text-transform: uppercase;
  margin-bottom: 1.6rem;
  letter-spacing: 0.75px;
  /* font-family: "Genos", sans-serif; */
}

.description {
  font-size: 2.0rem;
  line-height: 1.4;
  font-weight: 400;
  color: #333;
  margin-bottom: 2.4rem;
  margin-left: 2.4rem;
  margin-right: 2.4rem;
  /* max-width: 80rem; */
}

/* ---------------------------- */
/* --------- LINKS ------------ */
/* ---------------------------- */

.link:link,
.link:visited {
  display: inline-block;
  font-size: 1.6rem;
  font-weight: 500;
  color: #333;
  text-decoration: none;
  padding: 2px 4.8px 2px 4.8px;
  transition: all 0.3s;
}

.link:hover,
.link:active {
  color: blue;
  /* box-shadow: inset 0 0 0 2px #888; */
  /* border: 1px solid currentColor; */
}

/* ---------------------------- */
/* ------- BUTTONS ------------ */
/* ---------------------------- */

.btn,
.btn:link,
.btn:visited {
  display: inline-block;
  text-decoration: none;
  font-size: 2rem;
  font-weight: 600;
  padding: 1.6rem 3.2rem;
  border-radius: 9px;
  transition: all 0.3s;

  /*only necessary for .btn */
  border: none;
  cursor: pointer;
}

.btn--full:link,
.btn--full:visited {
  background-color: gray;
  color: #fff;
}

.btn--full:hover,
.btn--full:active {
  background-color: gray;
}

/* BG color button */
.btn--form {
  background-color: gray;
  color: #fdf2e9;
  padding: 1.2rem;
  align-self: end;
}

/* BG color change */
.btn--form:hover {
  background: #fff;
  color: var(--fnt-clr);
}

/* BG color button */
.btn--outline:link,
.btn--outline:visited {
  background-color: #fff;
  color: var(--fnt-clr);
}

/* BG outline (inside) */
.btn--outline:hover,
.btn--outline:active {
  background-color: tan;
  /*Trick to add border INSIDE*/
  box-shadow: inset 0 0 0 3px #fff;
}

/* ---------------------------- */
/* ---------- LISTS ----------- */
/* ---------------------------- */

.list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}

/*icon, diet-type name*/
.list-item {
  font-size: 1.8rem;
  display: flex;
  align-items: center;
  gap: 1.6rem;
  line-height: 1.2;
}

.list-img {}

/*list checkmark icon*/
.list-icon {
  color: gary;
  height: 3rem;
  width: 3rem;
}

/* Select the element that has focus. */
/* Only: keyboard events or other user inputs */
*:focus {
  outline: none;
  /* border around input */
  box-shadow: 0 0 0 0.8rem rgba(225, 225, 225, 0.5);
}

/* ---------------------------- */
/* ------ MARGIN/ALIGN -------- */
/* ---------------------------- */

.margin-right-sm {
  margin-right: 2.4rem !important;
}

.margin-left-md {
  margin-left: 4.8rem !important;
}

.margin-left-sm {
  margin-left: 2.4rem !important;
}

.margin-bottom-md {
  margin-bottom: 4.8rem !important;
}

.center-text {
  text-align: center;
}

/* ---------------------------- */
/* ---------- FOOTER ---------- */
/* ---------------------------- */

.footer {
  padding: 9.6rem 0;
}