/* 

----------TYPOGRAPHY----------

FONT SIZES
12px / 14px / 16px / 20px / 24px / 32px / 62px

FONT WEIGHTS
400 / 700

LINE HEIGHTS
1.2 / 1.5

LETTER SPACING
0 / -2PX

FONT FAMILY
Bahnscrift

----------COLORS----------

PRIMARY
Base: #C2D500; (WC Green)
Tint: #E0F500; (Lemon Lime)
Shade: #BBCC00; (Pear)

SECONDARY
Base: #1773A1; (Cerulean)
Tint: #197FB3; (Blue (NCS))
Shade: #14668F; (Lapis Lazuli)

TERTIARY
Base: #3A2B6C; (Tekhelet)
Tint: #473483; (Tekhelet)
Shade: #372966; (Russian Violet)

GREY
Base: #51534A; (Ebony)
Tint: #5F6156; (Ebony)
Shade: #4A4C43; (Black Olive)
White: #F5F5F4; (White Smoke)
Black: #0B0B0A; (Night)

----------BORDER RADIUS----------

4px / 8px / 20px

----------SPACING SYSTEM----------

5px / 10px / 15px / 20px / 25px / 30px / 40px / 50px / 60px / 70px / 80px / 90px / 100px / 125px / 150px / 200px / 250px / 300px / 400px / 500px

*/

/* ------------------------ GLOBAL STYLES ------------------------- */

/*#region Fonts*/
@font-face {
    font-family: "Bahnschrift";
    src: url("~/fonts/bahnschrift.ttf") format("ttf");
}

@font-face {
    font-family: "Bahnschrift SemiLight SemiConde";
    src: url("~/fonts/bahnschrift.ttf") format("ttf");
    font-stretch: semi-condensed;
    font-weight: 200;
}

@font-face {
    font-family: "Bahnschrift Condensed";
    src: url("~/fonts/bahnschrift.ttf") format("ttf");
    font-stretch: condensed;
}
/*#endregion*/

:root {
    /* FONT SIZE */
    --text-sm: 1.2rem;
    --text-md: 1.4rem;
    --text-base: 1.6rem;
    --text-paragraph: 2rem;
    --text-h5: 2.4rem;
    --text-h4: 2.8rem;
    --text-h3: 3rem;
    --text-h2: 3.2rem;
    --text-h1: 6.2rem;
    /* FONT WEIGHT */
    --font-weight-normal: 400;
    --font-weight-bold: 700;
    /* LINE HEIGHT */
    --line-height-tight: 1.2;
    --line-height-normal: 1.5;
    /* LETTER SPACING */
    --letter-spacing-tight: -2px;
    /* FONT FAMILY */
    --font-family: 'Bahnscrift', Helvetica, sans-serif;
    /* COLOR */
    --primary-base: #C2D500;
    --primary-tint: #E0F500;
    --primary-shade: #BBCC00;
    --secondary-base: #1773A1;
    --secondary-tint: #197FB3;
    --secondary-shade: #14668F;
    --tertiary-base: #3A2B6C;
    --tertiary-tint: #473483;
    --tertiary-shade: #372966;
    --grey-base: #51534A;
    --grey-tint: #5F6156;
    --grey-shade: #4A4C43;
    --white: #F5F5F4;
    --dark-grey: #333333;
    --black: #0B0B0A;
    /* MISC. */
    --nav-height: 100px;
    --footer-height: 250px;
    --logo-width: 150px;
    --box-shadow: 2px 6px 12px -4px rgba(219,219,219,0.75);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 62.5%; /*This is equivalent to setting font size to 10px, but it allows users to change their fonts in the browser if needed. 16px is the medium (reccommended) font size in the browser*/
}

body {
    font-family: var(--font-family);
    font-weight: var(--font-weight-normal);
    line-height: var(--line-height-normal);
    color: var(--grey-base);
}

html, body {
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1300px;
    margin: 0 auto;
}

h1, h2, h3, h4, h5 {
    font-weight: var(--font-weight-bold);
    line-height: var(--line-height-tight);
    color: var(--grey-shade);
}

h1 {
    font-size: var(--text-h1);
}

h2 {
    font-size: var(--text-h2);
}

h3 {
    font-size: var(--text-h3);
}

h4 {
    font-size: var(--text-h4);
}

h5 {
    font-size: var(--text-h5);
}

p, label {
    font-size: var(--text-paragraph);
}

a {
    display: inline-block;
    text-decoration: none;
    font-size: var(--text-base);
}

    a:link, a:visited, a:hover, a:active {
        color: var(--grey-base)
    }

ul {
    list-style: none;
}

span {
    display: inline-block;
}

.small-text {
    font-size: var(--text-sm);
}

.mobile-heading-break {
    display: none;
}

/*#region Flex*/
.flex {
    display: flex;
}

    .flex.column {
        flex-direction: column;
    }

    .flex .left {
        justify-content: flex-start;
    }

    .flex .center {
        justify-content: center;
    }

    .flex .right {
        justify-content: flex-end;
    }

.order-2 {
    order: 2;
}

.center {
    justify-content: center;
}

.between {
    justify-content: space-between;
}

.space {
    justify-content: space-evenly;
}

.wrap {
    flex-wrap: wrap;
}

.align-center {
    align-items: center;
}
/*#endregion*/

/* ------------------------ COMPONENTS ------------------------- */

.btn {
    font-weight: 400;
    font-size: var(--text-base);
    text-decoration: none;
    padding: 1.5rem 3rem;
    border-radius: 8px;
}

.btn-primary, .btn-primary:link, .btn-primary:visited {
    color: var(--grey-base);
    background-color: var(--primary-base);
    border: 2px solid var(--primary-base);
    transition: 0.5s;
}

    .btn-primary:hover, .btn-primary:active {
        color: var(--grey-base);
        background-color: var(--primary-shade);
        border: 2px solid var(--primary-shade);
        transform: scale(1.05, 1.05);
        box-shadow: 0px 3px 6px var(--grey-base);
    }

.btn-primary-outline, .btn-primary-outline:link, .btn-primary-outline:visited {
    color: var(--primary-base);
    background-color: transparent;
    border: 2px solid var(--primary-base);
    transition: 0.5s;
}

    .btn-primary-outline:hover, .btn-primary-outline:active {
        color: var(--dark-grey);
        background-color: var(--primary-shade);
        border: 2px solid var(--primary-shade);
        transform: scale(1.05, 1.05);
        box-shadow: 0px 3px 6px var(--grey-base);
    }

.btn-secondary, .btn-secondary:link, .btn-secondary:visited {
    color: var(--white);
    background-color: var(--secondary-base);
    border: 2px solid var(--secondary-base);
    transition: 0.5s;
}

    .btn-secondary:hover, .btn-secondary:active {
        color: var(--white);
        background-color: var(--secondary-shade);
        border: 2px solid var(--secondary-shade);
        transform: scale(1.05, 1.05);
        box-shadow: 0px 3px 6px var(--grey-base);
    }

.btn-tertiary, .btn-tertiary:link, .btn-tertiary:visited {
    color: var(--white);
    background-color: var(--tertiary-base);
    border: 2px solid var(--tertiary-base);
    transition: 0.5s;
}

    .btn-tertiary:hover, .btn-tertiary:active {
        color: var(--white);
        background-color: var(--tertiary-shade);
        border: 2px solid var(--tertiary-shade);
        transform: scale(1.05, 1.05);
        box-shadow: 0px 3px 6px var(--grey-base);
    }

.highlight {
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 4px;
}

.highlight-primary {
    background-color: var(--primary-base);
}

.highlight-secondary {
    background-color: var(--secondary-base);
}

.highlight-tertiary {
    background-color: var(--tertiary-base);
}

.icon-wrapper {
    width: 7.5rem;
    height: 7.5rem;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.icon-wrapper-primary {
    background-color: var(--primary-base);
}

.icon-wrapper-secondary {
    background-color: var(--secondary-base);
}

.icon-wrapper-tertiary {
    background-color: var(--tertiary-base);
}

.icon {
    width: 50%;
    filter: invert(1);
}

.error-messages {
    font-size: 16px;
    font-weight: bold;
    color: red;
    margin-top: 25px;
}

.input-error {
    border: 1px solid red;
}

.display-none {
    display: none;
}

.italics {
    font-style: oblique;
}

@supports (clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%)) {
    .text-reveal {
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transform: translateY(-3em);
    }

    .text-reveal-landing {
        transition: all 1.5s;
    }
}

@supports not (clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%)) {
    .text-reveal {
        opacity: 0;
        transform: translateY(3em);
        transition: opacity 0.5s ease, transform 0.5s ease;
    }
}

.animate__slide-left {
    opacity: 0;
    transform: translateX(-2000px);
}

.animate__slide-right {
    opacity: 0;
    transform: translateX(4000px);
}

.animate__drop-top {
    opacity: 0;
    transform: translateY(-4000px);
}

.animate__drop-top-left {
    opacity: 0;
    transform: translateX(-2000px);
    transform: translateY(-2000px);
}


/* ------------------------ SECTIONS ------------------------- */

/* ------HEADER------ */
.header {
    position: relative;
    height: var(--nav-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 5;
}

.logo-image {
    width: var(--logo-width);
}


.landing {
    height: 60vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.landing-image {
    position: absolute;
    top: 0;
    width: 100%;
    height: calc(60vh + var(--nav-height));
    background: linear-gradient(rgba(51, 51, 51, 0.75), rgba(0, 0, 0, 0.75)), url("../images/unsplash_high-fives.jpg");
    background-size: cover;
}

.landing-heading {
    color: var(--white);
    z-index: 5;
}

/* ------INFORMATIONAL SECTIONS------ */
.icon-grid {
    min-height: 30rem;
    margin: 15rem 0rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    row-gap: 5rem;
    column-gap: 5rem;
    justify-items: center;
    align-items: center;
}

.icon-grid-item {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    justify-items: center;
    align-items: center;
    max-height: 10rem;
    column-gap: 1.5rem;
}

.icon-grid-heading, .icon-grid-paragraph {
    grid-column: 2 / span 4;
}

.icon-grid-paragraph {
   font-weight: 700;
}

.evaluate {
    min-height: 50rem;
    margin: 15rem 0rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.evaluate-heading {
    text-align: center;
}

.evaluate-cards {
    display: grid;
    margin: 5rem 0rem;
    grid-template-columns: repeat(4, 1fr);
    row-gap: 2rem;
    column-gap: 2rem;
    justify-items: center;
    align-items: flex-start;
}

.card {
    display: flex;
    flex-direction: column;
    background-color: var(--white);
    min-height: 44rem;
    border: none;
    box-shadow: var(--box-shadow);
}

.card-heading {
    background-color: var(--secondary-base);
    color: var(--white);
    padding: 1rem;
    text-align: center;
    font-size: 2.4rem;
}

.card-paragraph {
    margin: 1.5rem 2rem;
}

.card-list {
    list-style: disc;
    padding-left: 4.5rem;
    font-size: var(--text-paragraph);
    margin-bottom: 1.5rem;
}

.basic-section {
    min-height: 50rem;
    margin: 20rem 0rem;
    display: flex;
    flex-direction: column;
}

.basic-section-heading {
    text-align: center;
    margin-bottom: 6rem;
}

.basic-section-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 10rem;
    justify-items: center;
    align-items: center;
}

/*.basic-section-image {
    grid-area: image;
}

.basic-section-paragraph {
    grid-area: text;
}*/

.basic-section-image {
    max-width: 50rem;
}

/*.tools {
    min-height: 50rem;
    margin: 5rem 0rem 10rem 0rem;
    display: flex;
    flex-direction: column;
}

.tools-heading {
    text-align: center;
    margin-bottom: 5rem;
}

.tools-list li {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.tools-wrapper {
    display: flex;
    flex-direction: column;
    margin-left: 1.5rem;
}*/

.stylized-bullet-section {
    min-height: 50rem;
    padding: 10rem 0rem;
    margin: 10rem 0rem;
    display: flex;
    flex-direction: column;
    background-color: var(--white);
    border-radius: 7rem;
    box-shadow: var(--box-shadow);
}

.stylized-bullet-heading {
    text-align: center;
    margin-bottom: 5rem;
}

.stylized-bullet-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 2rem;
    justify-items: center;
    align-items: center;
}

.stylized-bullet-image {
    max-width: 400px;
}

.stylized-bullet-list {
    font-size: var(--text-paragraph);
    max-width: 500px;
}

    .stylized-bullet-list li {
        display: flex;
        align-items: center;
        margin-bottom: 2rem;
    }

        .stylized-bullet-list li img {
            max-width: 20px;
            max-height: 20px;
            margin-right: 3rem;
        }

.icon-grid-section {
    min-height: 30rem;
    margin: 5rem 0rem;
}

.icon-grid-section {
    min-height: 50rem;
    margin: 15rem 0rem 10rem 0rem;
}

    .icon-grid-section .icon-grid {
        margin: 8rem 0rem;
    }

.icon-grid-section-heading {
    text-align: center;
    grid-column: 1 / span 5;
}

.icon-grid-item__center-heading {
    grid-column: 1 / span 5;
}
/* ------FOOTER------ */
.footer {
    height: var(--footer-height);
    background-color: var(--dark-grey);
    color: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.5rem;
    padding: 1.5rem;
    font-size: var(--text-md);
}

.footer p {
    margin-bottom: 0px;
}

    .footer h5 {
        color: var(--white);
        margin-bottom: 1.5rem;
    }

    .footer a:link, .footer a:visited, .footer a:hover, .footer a:active {
        font-size: var(--text-paragraph);
        color: var(--white);
        text-decoration: underline;
    }

.copyright {
    font-size: var(--text-sm);
    margin-top: 1.5rem;
}


/* ------CONTACT------ */

#sectionForm {
    min-height: calc(100vh - var(--nav-height) - var(--footer-height));
    margin: 10rem 0rem;
}

#sectionForm h1 {
    text-align: center;
    margin: 5rem 0rem;
}

.logo-dots-sm {
    max-width: 100px;
}

    #sectionForm .form-row {
        padding: 0% 10%;
        margin-bottom: 25px;
    }

        #sectionForm .form-row label {
            display: inline-block;
            max-width: 100%;
            margin-bottom: 5px;
            font-weight: bold;
        }

        #sectionForm .form-row input {
            font-size: 2.6rem;
            line-height: 3.6rem;
            padding: 0px 4px;
            margin: 1px;
        }

        #sectionForm .form-row textarea {
            font-size: 2.6rem;
            padding: 4px;
            margin: 1px;
        }

        #sectionForm .form-row #btnContact {
            width: 90px;
        }


/* ------------------------ MEDIA QUERIES ------------------------- */

/* XL - LARGE LAPTOPS: 1280px - 1536px */
@media (max-width: 87rem) {
    /* 1392px / 16px = 87rem */
    /* 87rem X 16px = 1392px */

    html {
        /* 9px / 16px = 56.25% */
        font-size: 56.25%;
    }
}

/* LG - SMALL LAPTOPS: 1024px - 1280px */
@media (max-width: 77rem) {
    /* 1225px / 16px = 76.56 > 77rem */
    /* 77rem X 16px = 1232px */

    html {
        /* 8px / 16px = 50% */
        font-size: 50%;
    }

    .stylized-bullet-image {
        max-width: 35rem;
    }
}


@media (max-width: 68rem) {
    /* 1080px / 16px = 67.5 > 68rem */
    /* 68rem X 16px = 1088px */

    .icon-grid {
        margin: 15rem 5rem;
    }

        .evaluate-cards {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 6rem;
        column-gap: 8rem;
    }

    .card {
        max-width: 330px;
    }
}


/*MD - TABLETS: 768px - 1024px */
@media (max-width: 64rem) {
    /*1017px / 16px =  63.56 > 64rem
     64rem x 16px = 1024px */

    :root {
        --footer-height: 200px;
    }

    html {
        /*7px / 16px = 43.75% */
        font-size: 43.75%;
    }

    .landing-image {
        background-position: bottom !important;
    } 

    .stylized-bullet-image {
        max-width: 30rem;
    }
}

@media (max-width: 55rem) {
    /*866px / 16px =  54.125rem > 55rem 
     55rem x 16px = 880px */

    h2.icon-grid-heading {
        font-size: var(--text-h3);
    }

    .basic-section-image {
        max-width: 47rem;
    }
}

@media (max-width: 52rem) {
    /*825px / 16px =  51.56rem > 52rem 
     52rem x 16px = 832px */

    h2.icon-grid-heading {
        font-size: var(--text-h4);
    }


    .stylized-bullet-image {
        max-width: 25rem;
    }

    .basic-section-wrapper {
        column-gap: 7rem;
    }

    .icon-grid-item {
        column-gap: 2rem;
    }
}

/*SM PHONE (LANDSCAPE) - : 576px - 768px */
@media (max-width: 48rem) {
    /*768px / 16px = 48rem */

    .basic-section-image {
        max-width: 38rem;
    }

    .icon-grid {
        margin: 15rem 0rem;
    }

    .basic-section-wrapper {
        column-gap: 5rem;
    }

    .mobile-heading-break {
        display:block;
    }

    .stylized-bullet-wrapper {
        column-gap: 1rem;
    }

    .stylized-bullet-list {
        font-size: var(--text-paragraph);
        max-width: 400px;
    }
}

@media (max-width: 44rem) {
    /*690px / 16px = 43.125 > 44rem 
     44rem x 16px = 704px */

    h2.icon-grid-heading {
        font-size: var(--text-h5);
    }

    .basic-section-wrapper {
        grid-template-columns: 1fr;
        row-gap: 10rem;
        max-width: 44rem;
        margin: 0 auto;
        justify-content: center;
    }

    .basic-section-image.order-2 {
        order: unset !important;
    }

    .evaluate-cards {
        column-gap: 6rem;
    }

    .stylized-bullet-wrapper {
        grid-template-columns: 1fr;
        row-gap: 10rem;
    }
}

/*XS PHONE (PORTRAIT) - : < 576px */
@media (max-width: 36rem) {
    /*576px / 16px = 36rem*/

    :root {
        --footer-height: 150px;
    }

    html {
/*         6px / 16px = 37.5% 
*/        font-size: 37.5%;
    }
 
    .icon-grid {
        grid-template-columns: 1fr;
        justify-items: flex-start;
        align-items: flex-start;
    }

    .icon-grid-section {
        margin: 15rem 0rem;
    }

    #sectionForm {
        margin: 10rem 0rem 0rem 0rem;
    }
}

@media (max-width: 27rem) {
    /*430px / 16px = 26.875 > 27rem*/
   /* 27rem x 16px = 432px*/

    .evaluate-cards {
        grid-template-columns: 1fr;
    }

    .card {
        max-width: 80%;
    }

    .stylized-bullet-section  {
        padding: 5rem;
    }
}


/*This isn't a supported way to animate yet but when it is it will be really nice
*//*@keyframes appear {
    from {
        opacity: 0;
        scale: 0.5;*/
/*        transform: translateX(-100px);
    clip-path: inset(100% 100% 0 0);
*/    /*}
    to {
        opacity: 1;
        scale: 1;*/
        /*        transform: translateX(0px);
        clip-path: inset(0 0 0 0);
*/
    /*}
}

.animate {
    animation: appear linear;
    animation-timeline: view();
    animation-range: entry 0 cover 40%;
}*/


