:root {
    --spacing-gigantic: 11.391rem;
    --spacing-ginormous: 7.594rem;
    --spacing-humongous: 5.063rem;
    --spacing-massive: 3.375rem;
    --spacing-large: 2.25rem;
    --spacing-big: 1.5rem;
    --spacing-normal: 1rem;
    --spacing-small: 0.667rem;
    --spacing-tiny: 0.444rem;

    --font-gigantic: 11.391rem;
    --font-ginormous: 7.594rem;
    --font-humongous: 5.063rem;
    --font-massive: 3.375rem;
    --font-large: 2.25rem;
    --font-big: 1.5rem;
    --font-normal: 1rem;
    --font-small: 0.667rem;
    --font-tiny: 0.444rem;

    --weight-extra-bold: 800;
    --weight-bold: 700;
    --weight-semi: 600;
    --weight-medium: 500;
    --weight-normal: 400;
    --weight-light: 300;
    --weight-extra-light: 200;
    --weight-thin: 100;
}

:root {
    --h1: var(--weight-bold) clamp(var(--font-large), 5vw, var(--font-humongous))/calc(clamp(var(--font-large), 5vw, var(--font-humongous)) * 1.2) "Times New Roman";
    --h2: var(--weight-bold) clamp(var(--font-big), 4vw, var(--font-massive))/calc(clamp(var(--font-big), 4vw, var(--font-massive)) * 1.2) "Times New Roman";
    --h3: var(--weight-bold) clamp(var(--font-normal), 3vw, var(--font-big))/calc(clamp(var(--font-normal), 3vw, var(--font-big)) * 1.2) "Times New Roman";
    --p1: var(--weight-normal) clamp(var(--font-normal), 2vw, calc(var(--font-normal) * 1.2))/calc(clamp(var(--font-normal), 2vw, calc(var(--font-normal) * 1.2)) * 1.2) "Times New Roman";;
    --p2: var(--weight-normal) clamp(var(--font-small), 1vw, var(--font-normal))/calc(clamp(var(--font-small), 1vw, var(--font-normal)) * 1.2) "Times New Roman";;
    --p3: var(--weight-normal) clamp(var(--font-tiny), 0.5vw, var(--font-small))/calc(clamp(var(--font-tiny), 0.5vw, var(--font-small)) * 1.2) "Times New Roman";;
}

.h1 {
    font:var(--h1)
}

.h2 {
    font:var(--h2)
}

.h3 {
    font:var(--h3)
}

.p1 {
    font:var(--p1)
}

.p2 {
    font:var(--p2)
}

.p3 {
    font:var(--p3)
}

.flex-image-container {
    position: relative;
    overflow: hidden;
}

.flex-image-container > img.flex-image {
    height: 100%;
    width: 100%;
    position: absolute;
    object-fit: cover;
}



@layer reset, default, override;
@layer reset {
    * {
        margin: 0;
        padding: 0;
        border: 0;
        outline: 0;
        box-sizing: border-box;
    }

    body {
        height: 100dvh;
        width: 100dvw;
    }
}

@layer override {
    
}

body, header, main, footer {
    width: 100%;
}

body {
    width: 100%;
    min-height: 100dvh;

    display: flex;
    flex-direction: column;
    place-content: stretch start;
}

main {
    flex: 1 1 auto;
}

header, footer {
    flex: 0 0 auto;
}

main {
    display: flex;
    flex-direction: column;
    place-content: center center;
}


.section {
    width: 100%;
    /* height: 100%; */ /* when switching over to components, uncomment this line */
    padding: 2rem 2rem 2rem 2rem;

    display: flex;
    place-content: center center;
}

.section .content {
    width: 100%;
    max-width: 80rem;
    margin: auto;
}

.navigation {
    padding: 1rem 2rem 0rem 2rem;

    display: flex;
    place-content: center start;
    place-items: center center;
    gap: 0rem 3rem;
}

.navigation .logo {
    height: 4rem;
}

.navigation a {
    color: white;
    text-decoration: none;
}

.hero {
    width: 100%;
    /* height: 40dvh; */
    position: relative;
    overflow: hidden;
}

.hero .background {
    height: 100%;
    width: 100%;

    z-index: -1;
    position: absolute;
    object-fit: cover;

    filter: blur(10px) brightness(0.7);
    transform: scale(1.1);
}

.hero .meat {
    padding: 1rem 1rem 2rem 1rem;
    display: flex;
    flex-direction: column;
    place-content: center center;
    place-items: center center;
}

.hero .meat .content {
    width: 50%;
    text-align: center;
    color: white;
}


.our-home .content {
    display: flex;
    place-content: center center;
    place-items: stretch stretch;
    gap: 0 5%;
}

.our-home .content .meat {
    flex: 0 0 auto;
    display: grid;
    grid-template-columns: 2rem auto 1fr;
    grid-template-rows: auto auto auto;
    gap: 0.5rem 1rem;
}

.our-home .content .meat .grid-element {
    padding: 1rem 1rem;
    grid-column: span 3;
    
    border-bottom: solid 1px grey;    

    display: grid;
    grid-template-columns: subgrid;
    place-content: center start;
    place-items: center stretch;
}

.our-home .content .meat .grid-element .sub-grid-element:nth-child(1)  {
    /* flex: 0 0 20%; */
    display: flex;
    place-content: center start;
    place-items: center start;
    gap: 1rem;
}

.our-home .content .meat .grid-element .sub-grid-element:nth-child(1) .logo  {
    height: 2rem;
    filter: opacity(0.5);
}

.our-home .content .meat .grid-element .sub-grid-element:nth-child(2)  {
    flex: 1 1 70%;
    place-self: center start;
}

.our-home .content .candy {
    flex: 1 1 30%;
    border-radius: 2rem;
}


.footer {
    width: 100%;

    background-color: #333;
    color: #fff;
}

.footer .columns {
    max-width: 1200px;
    margin: 0 auto;

    display: flex;
    flex-flow: row nowrap;
    place-content: center center;
    place-items: stretch start;
    column-gap: 20px;
}

.footer .footer-section {
    flex: 1 1 100%;
}

.footer .footer-section.footer-logo {
    flex: 1 1 150%;
    display: flex;
    flex-direction: column;
    place-content: stretch end;
}

.footer .footer-section.footer-logo > :nth-child(1) {
    flex: 1 1 150%;
}

.footer .footer-section.footer-logo > :nth-child(1) > * {
    height: 100%;
}

.footer .footer-section.footer-logo > :nth-child(2) {
    flex: 0 0 0%;
    text-align: center;
}

.footer .footer-section.footer-logo div {
    margin-top: 10px;
    font-size: 24px;
    font-weight: normal;
    text-align: center;
}

.footer .footer-section:not(.footer-logo) {
    text-align: left;
}

.footer .footer-section h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.footer .footer-section nav a {
    display: block;
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

.footer .footer-section nav a:not(:first-child){
    margin-top: 10px;
}

.footer .footer-section nav a:hover {
    color: #aaa;
}

.footer .footer-section.footer-contact nav {
    display: flex;
    flex-flow: column nowrap;
    place-content: start start;
    place-items: start start;
}

.contact-icons img {
    width: 20px;
}

.footer-bottom {
    margin-top: 20px;
    font-size: 14px;
    text-align: center;
}
