:root {
    /* fonts */
    --jv-title-font: 'Bebas Neue', sans-serif;
    --jv-subtitle-font: 'Fira Sans', sans-serif;
    --jv-heading-font: 'Bebas Neue', sans-serif;
    --jv-body-font: 'Roboto', sans-serif;

    /* colors */
    --jv-dark-color: #212121;
    --jv-light-color: #deeefb;
    --jv-background-color: #f2f2f2;

    /* base text styles */
    --jv-title-color: var(--jv-dark-color);
    --jv-font-size: 1.2rem;
    --jv-font-weight: 400;
    --jv-line-height: 1.5rem;

    --jv-title-font: 'IBM Plex Sans', sans-serif;
    --jv-subtitle-font: 'IBM Plex Sans', sans-serif;
    --jv-heading-font: 'Raleway', sans-serif;
    --jv-body-font: 'Roboto', sans-serif;
}

/* #region Element Overrides */
body {
    font-family: var(--jv-body-font);
    font-size: var(--jv-font-size);
    font-weight: var(--jv-font-weight);
    line-height: var(--jv-line-height);
    color: var(--jv-dark-color);
    background-color: var(--jv-background-color);
}

h1,
.h1,
h2,
.h2,
h3,
.h3,
h4,
.h4,
h5,
.h5,
h6,
.h6 {
    font-family: var(--jv-heading-font);
    font-weight: 700;
    text-transform: uppercase;
    color: var(--jv-title-color);
    letter-spacing: 0.1rem;
}

section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.btn-primary {
    --bs-btn-bg: var(--jv-theme-750);
    --bs-btn-border-color: var(--jv-theme-750);
    --bs-btn-hover-bg: var(--jv-theme-800);
    --bs-btn-hover-border-color: var(--jv-theme-800);
    --bs-btn-active-bg: var(--jv-theme-900);
    --bs-btn-active-border-color: var(--jv-theme-900);
}

.btn-outline-primary {
    --bs-btn-color: var(--jv-theme-700);
    --bs-btn-border-color: var(--jv-theme-700);
    --bs-btn-hover-bg: var(--jv-theme-700);
    --bs-btn-hover-border-color: var(--jv-theme-700);
    --bs-btn-active-bg: var(--jv-theme-800);
    --bs-btn-active-border-color: var(--jv-theme-800);
}

a {
    color: var(--jv-theme-800);
}

a:hover {
    color: var(--jv-theme-700);
}

/* #endregion Element Overrides */

#home {
    background-image: url(/img/header-bg-576.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;

    @media (min-width: 567px) {
        background-image: url(/img/header-bg-798.png);
    }

    @media (min-width: 768px) {
        background-image: url(/img/header-bg-992.png);
    }

    @media (min-width: 992px) {
        background-image: url(/img/header-bg-1200.png);
    }

    @media (min-width: 1200px) {
        background-image: url(/img/header-bg-1400.png);
    }

    @media (min-width: 1400px) {
        background-image: url(/img/header-bg-full.jpg);
    }

    &::before {
        content: '';
        position: absolute;
        inset: 0;
        backdrop-filter: brightness(0.7);
        z-index: 0;
    }

    #home-content {
        z-index: 1;

        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        padding: 2rem;
        max-width: 996px;

        @media (min-width: 768px) {
            padding: 6rem;
        }

        img {
            width: 100%;
            filter: drop-shadow(2px 2px 2px);
        }
    }
}

footer {
    background-color: var(--jv-theme-900);
}

footer .card {
    background-color: var(--jv-theme-800);

    a {
        color: var(--jv-theme-600);

        &:hover {
            color: var(--jv-theme-300);
        }
    }
}

footer .bi {
    font-size: 2rem;
    padding: 0.25rem;
    transition: color 0.5s;
    color: var(--jv-theme-700);
}

footer .bi:hover {
    color: var(--jv-theme-300);
}

.section-page {
    padding-top: 5rem;
    padding-bottom: 8rem;
    position: relative;
    margin-top: -3rem;
}

.section-page > .container::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3rem;
    z-index: 1;
    /* clip-path: ellipse(50% 100% at top center); */
    clip-path: polygon(0% 0%, 50% 100%, 100% 0%);
}

/* 
.section-page:nth-child(even)>.container::after {
    clip-path: polygon(0% 0%, 100% 0%, 0% 100%);
}

.section-page:nth-child(odd)>.container::after {
    clip-path: polygon(100% 100%, 100% 0%, 0% 0%);
} */

.section-page:nth-child(even),
.section-page:nth-child(even) > .container::after {
    background-color: var(--jv-theme-400);
}

.section-page:nth-child(odd),
.section-page:nth-child(odd) > .container::after {
    background-color: var(--jv-theme-300);
}

.attribution-container {
    position: relative;
    overflow: hidden;
    width: min-content;
}

.attribution-container > .attribution {
    background-color: rgba(0, 0, 0, 0.7);
    color: var(--jv-theme-200);
    font-size: 0.8rem;

    transform: translateY(100%);
    transition: transform 0.2s ease-in;
}

.attribution > a {
    color: var(--jv-theme-400);
}

.attribution-container:hover > .attribution {
    transform: translateY(0);
}

/******* MEDIA QUERIES *******/

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
    .mainTitle {
        font-size: 7rem;
        line-height: 5.5rem;
    }

    .subTitle {
        font-size: 1.7rem;
        line-height: 1.2rem;
        letter-spacing: 0.19rem;
        padding-top: 0.25rem;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
}

/* X-Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
}

/* XX-Large devices (larger desktops, 1400px and up) */
@media (min-width: 1400px) {
}
