/**********************
* GENERAL
**/
:root {
    --color-white: #ffffff;
    --color-turquoise-start: #00c9ff;
    --color-turquoise-end: #92fe9d;
    --font-base: "Manrope", "Roboto", Helvetica, Arial, sans-serif;
    --spacing-unit: 1rem;
    --box-shadow: 6px 6px 18px 0px rgba(0, 0, 0, 0.3);
}

body {
    margin: 0;
    font-family: var(--font-base);
    line-height: 1.6;
    color: #333;
    font-size: 1.1rem;
    width: 100%;
    overflow-x: hidden;
}

main {
    width: 100%;
}




/**********************
* TYPO
**/
h1,
h2,
h3 {
    margin: 0 0 calc(var(--spacing-unit)*2) 0;
    font-weight: bold;
}

h1 {
    font-size: 3rem;
    margin: 0;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
}

h3 {
    font-size: 2rem;
}

p {
    margin: 0 0 var(--spacing-unit) 0;
}





/**********************
* HEADER
**/
.site-header {
    position: relative;
    background: url("../img/headerbg.png") no-repeat center center;
    background-size: cover;
    height: 80vh;
    color: var(--color-white);
}

.site-header .header-content {
    position: absolute;
    left: 10vw;
    bottom: 15vh;
}

.site-header p {
    display: block;
    color: #ccc;
    font-size: 1.8rem;
    margin: 0 0.25rem 0 0;
}

.site-header .header-bar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    padding: 1rem 2rem;
}

.site-header .header-bar img {
    height: 2.5rem;
    width: auto;
}






/**********************
* SECTIONS
**/
.section {
    padding: calc(var(--spacing-unit) * 4) calc(var(--spacing-unit) * 2);
    text-align: left;
    min-height: 70vh;
}

.section--white {
    background-color: var(--color-white);
}

.section--turquoise {
    background: linear-gradient(180deg, #5e9dbf 27%, #2f5f7a 87%);
    color: #fff;
}

.section--slider {
    padding-left: 0;
    padding-right: 0;
}

.section--slider .container {
    padding-left: calc(var(--spacing-unit) * 2);
    padding-right: calc(var(--spacing-unit) * 2);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}



/* white section content box */
.content-box-wrapper {
    position: relative;
    /* allow decorative element */
}

.content-box-wrapper h2 {
    position: relative;
    z-index: 10;
}

.content-box {
    position: relative;
    background-color: var(--color-white);
    padding: calc(var(--spacing-unit) * 2);
    border-radius: 1vw;
    box-shadow: var(--box-shadow);
    text-align: left;
    z-index: 10;
}

/* decorative image inside content box (using img tag) */
.content-box-wrapper .content-decor {
    position: absolute;
    top: -12vw;
    right: -14vw;
    width: 50vw;
    height: 40vw;
    z-index: 5;
    user-select: none;
    pointer-events: none;
}




/**********************
* CRITERIA TABLE
**/
.criteria-table {
    width: 100%;
    border-collapse: collapse;
}

.criteria-table th,
.criteria-table td {
    padding: 0.6rem 1rem;
    vertical-align: top;
    text-align: left;
}

.criteria-table th {
    white-space: nowrap;
    font-weight: bold;
    width: 11rem;
    color: #555;
}

.criteria-table tr:not(.criteria-spacer) {
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.criteria-table .criteria-spacer td {
    padding: 0.5rem 0;
    border: none;
}


@media (max-width: 768px) {
    :root {
        font-size: 80%;
    }

    h1 {
        font-size: 2.3rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    h3 {
        font-size: 1.4rem;
    }

    .site-header {
        height: 50vh;
    }

    .site-header .header-content {
        bottom: 10vh;
        left: calc(var(--spacing-unit) * 2)
    }

    .section {
        min-height: auto;
        padding-top: calc(var(--spacing-unit) * 3);
        padding-bottom: calc(var(--spacing-unit) * 3);
    }

    .section--slider .container {
        padding-left: calc(var(--spacing-unit) * 1.5);
        padding-right: calc(var(--spacing-unit) * 1.5);
    }

    .content-box {
        padding: 1.25rem;
        border-radius: 1rem;
    }

    .content-box-wrapper .content-decor {
        top: -15vw;
        right: -30vw;
        width: 80vw;
        height: 60vw;
    }

    .criteria-table,
    .criteria-table tbody,
    .criteria-table tr,
    .criteria-table th,
    .criteria-table td {
        display: block;
        width: 100%;
    }

    .criteria-table tr:not(.criteria-spacer) {
        padding: 0.35rem 0;
    }

    .criteria-table th {
        width: auto;
        white-space: normal;
        padding: 0.45rem 0.75rem 0.2rem;
    }

    .criteria-table td {
        padding: 0 0.75rem 0.55rem;
    }

    .criteria-table .criteria-spacer {
        display: none;
    }
}