:root {
    /*layout*/
    --site-max-width: 100%;
    --header-height: 75px;

    /*fonts*/
    --font-main: "Plus Jakarta Sans", sans-serif;
    /*--font-heading: "Libre Baskerville", serif;*/
    /*--font-heading-aux: "Merriweather", serif;*/

    /* generic colors*/
    --white: #ffffff;

    --indigo-50: #eef2ff;
    --indigo-600: #4f46e5;

    /* themed colors */
    --theme-color-text: #000000;
    --theme-color-text-trans1: #000000CC;
    --theme-color-text-trans2: #00000088;
    --theme-color-text-trans3: #00000077;

    --theme-color-reverse-text: #ffffff;
    --theme-color-reverse-text-trans1: #ffffffCC;
    --theme-color-reverse-text-trans2: #ffffff88;
    --theme-color-reverse-text-trans3: #ffffff77;

    --theme-color-background: #F9F9F8;
    --theme-color-background-dark1: #EEECE8;
    --theme-color-background-light3: #F8F8F6;

    --theme-color-accent: #EE9C2B;
    --theme-color-accent-trans1: #EE9C2BCC;
    --theme-color-accent-trans2: #EE9C2B88;
    --theme-color-accent-trans3: #EE9C2B44;
    --theme-color-primary: #326751;

    --theme-color-button: #E5E5E5;
    --theme-color-button-background: transparent;

    --theme-color-pillar1: #F5C172;
    --theme-color-background-pillar1: #F5C17255;

    --theme-color-pillar2: #76A8C3;
    --theme-color-background-pillar2: #76A8C355;

    --theme-color-pillar3: #DE8A68;
    --theme-color-background-pillar3: #DE8A6855;
}

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

html, body {
    height: 100%;
    width: 100%;
    background: black;
    color: var(--theme-color-text);
    font-family: var(--font-main);

    -webkit-font-smoothing: antialiased;
    scroll-behavior: smooth;
}

body {
    /*margin-top: var(--header-height);*/
    /*padding-top: 60px; !* Add padding to prevent content from hiding under the header *!*/
}

main {
    max-width: var(--site-max-width);
    margin: 0 auto;
    padding-top: var(--header-height);
    background-color: white;
}

h1 {
    /*font-family: var(--font-heading);*/
    font-size: 4rem;
    font-weight: 700;
}

section {
    background: var(--white);
    padding: 3rem 5rem 3rem 5rem;
}

svg {
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex-shrink: 0;
}

a {
    color: inherit;
}

@keyframes slideInFadeIn {
    from {
        opacity: 0;
        transform: translateY(32px); /*Start below its final position*/
    }
    to {
        opacity: 1;
        transform: translateY(0); /*End at its final position*/
    }
}

button {
    display: inline-flex;
    align-items: center; /*v-align*/
    justify-content: center; /*h-align*/

    /* default colors*/
    color: var(--theme-color-button);
    background-color: var(--theme-color-button-background);

    border: 1px solid var(--theme-color-button);
    border-radius: 6px;

    transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1); /* make hover effect smoother */
    cursor: pointer;
}

button:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

button:focus-visible { /* button in focus, say by navigating with a <tab> key */
    outline: 2px solid rgba(255, 255, 255, 0.5);
    outline-offset: 2px;
}

a.animated-link {
    display: flex;
    align-items: center; /*v-align*/
    justify-content: center; /*h-align*/
    gap: 0.3rem;

    /* default colors*/
    color: var(--theme-color-primary);
    font-size: 0.9rem;

    text-decoration: none;
}

a.animated-link svg {
    transition: transform 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

a.animated-link:hover {
    text-decoration: underline;
    text-underline-offset: 0.25rem;
}

a.animated-link:hover svg {
    transform: translateX(4px);
}

/* Responsive */
@media (max-width: 768px) {
    section {
        padding: 3rem;
    }
}

/* ///////////////////////////////////////////////////////////// */
button.large {
    padding: 15px 20px; /* Add padding inside the buttons */
    font-size: 16px;
    font-weight: 500;
    width: 15em;
}

button.large svg {
    width: 16px;
    height: 16px;
    margin-left: 8px;
    transition: transform 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

button.large:hover svg {
    transform: translateX(4px);
}

button.large.accent {
    background-color: var(--theme-color-accent);
    /*border: 1px solid var(--btn-color);*/
}


/* ///////////////////////////////////////////////////////////// */

.content-page-header .grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 64px;
}

@media (max-width: 1024px) { /*TODO*/
    .content-page-header .grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
}

.content-page-header .cell {
    position: relative;
    display: flex;
    height: 100%;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-around;
}

.content-page-header .description {
    font-size: 1.2rem;
    line-height: 1.5;
}

.content-page-header .badge {
    border-radius: 9999px;
    padding: 0.25rem 0.75rem;

    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.content-page-header .image {
    border-radius: 1rem;
    overflow: hidden;       /* round corners around wrapped image */
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border: 4px solid rgba(255, 255, 255, 0.1);
}

.content-page-header .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.content-page-header .caption-box {
    position: absolute;
    bottom: -1.5rem;
    left: -1.5rem;

    padding: 1.5rem;
    border-radius: 0.75rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    max-width: 15rem;

    font-size: 0.875rem;
    font-weight: 700;
}

.content-page-header .caption-box svg {
    width: 2rem;
    height: 2rem;

    margin-bottom: 0.75rem;
}

.content-page-body .paragraph {
    color: var(--theme-color-text-trans2);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    line-height: 1.5;

    margin-bottom: 2rem;
}

.content-page-body .paragraph h3 {
    color: var(--theme-color-text-trans1);
}

.content-page-body .list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

check-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

check-item svg {
    width: 24px;
    height: 24px;
    color: var(--theme-color-accent);
    flex-shrink: 0;
}


