/*
 * HEADER SECTION
 */
.header-background {
    grid-row-start: 1;
    grid-column-start: 1;
    height: 70vh;
    width: 100%;
}

.header-content {
    grid-column-start: 1;
    grid-row-start: 2;
    text-align: center;
    z-index: 10;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    position: relative;
    transform: translateY(-50%);
}

.header-content-image {
    grid-column-start: 1;
    grid-row-start: 1;
    position: relative;
    margin-left: -3rem;
    margin-right: -2rem;
}
.header-content-image img{
    width: 100%;
    position: absolute;
    bottom: -1rem;
    left: 0;
    right: 0;
}

.header-content-title-box {
    grid-column: span 3 / span 3;
    grid-column-start: 1;
    grid-row-start: 2;
    background-color: var(--secondary-color);
    border-radius: 0 0 0.5rem 0.5rem;
    border: solid 2px var(--grey-300);
}

.header-content-title {
    height: 100%;
    grid-column: span 3 / span 3;
    grid-column-start: 1;
    grid-row-start: 2;
    z-index: 10;
    padding: 1rem;
}

.header-content-title h1 {
    font-size: 1.2rem;
    line-height: 1.6rem;
    text-transform: uppercase;
    font-weight: 800;
    font-family: 'Montserrat', sans-serif; font-weight: 800; text-transform: uppercase;
}

.header-content-type-prebox {
    grid-column-start: 1;
    grid-row-start: 1;
    background-color: var(--primary-color);
    border: solid 2px var(--grey-300);
    border-right: 0;
    border-bottom: 0;
}

.header-content-type-box {
    grid-column: span 2 / span 2;
    grid-column-start: 2;
    grid-row-start: 1;
    display: flex;
    font-size: 0.75rem;
    font-weight: 600;
}

.header-content-type-box-flavour {
    text-transform: uppercase;
    padding: 0.5rem 2.5rem 0.5rem 1.5rem;
    background-color: var(--primary-color);
    border: solid 2px var(--grey-300);
    border-left: 0;
    border-bottom: 0;
}

.header-content-type-box-weight {
    text-transform: uppercase;
    padding: 0.5rem 1.5rem;
    background-color: var(--grey-450);
    border-radius: 0 0.5rem 0 0;
    border: solid 2px var(--grey-300);
    border-left: 0;
    border-bottom: 0;
}

.header-accordions {
    margin-top: -2rem;
}
.header-accordion{
    border-bottom: 1px solid var(--grey-100);
}
.header-accordion--open .header-accordion-svg{
    rotate: -90deg;
}

.header-accordion--open .header-accordion-text{
    padding-bottom: 0.5rem;
}

.header-accordion-header {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    color: var(--primary-color);
    text-transform: uppercase;
    font-weight: 600;
    font-size: 1.25rem;
    line-height: 1.75rem;
}
.header-accordion-text {
    line-height: 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out;
}

.header-accordion-text table {
    width: 100%;
    border-collapse: collapse;
}
.header-accordion-text table td:last-child {
    text-align: right;
}

.header-accordion-svg {
    fill: var(--primary-color);
    height: 1rem;
    width: 1rem;
    rotate: 90deg;
}

@media (min-width: 768px) {
    .header-content {
        grid-template-columns: repeat(4, minmax(1, 1fr));
        width: 100%;
    }

    .header-content-image {
        grid-column-start: 1;
        grid-row-start: 2;
        margin-left: -4rem;
    }
    .header-content-image img{
        bottom: -2rem;
    }
    .header-content-title-box {
        grid-column: span 4 / span 4;
        grid-column-start: 1;
        grid-row-start: 2;
        border-radius: 0 0.5rem 0.5rem 0;
    }

    .header-content-title {
        grid-column: span 3 / span 3;
        grid-column-start: 2;
        grid-row-start: 2;
    }
    .header-content-title h1 {
        font-size: 1.6rem;
        line-height: 3.5rem;
    }

    .header-content-type-prebox {
        display: block;
    }

    .header-content-type-box {
        grid-column: span 3 / span 3;
        grid-column-start: 2;
        grid-row-start: 1;
    }

    .header-accordions {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
    .header-accordions-items {
        grid-column: span 3 / span 3;
        grid-column-start: 2;
    }

    .formula-title {
        font-size: 2.25rem;
        line-height: 2.5rem;
    }
}

/*
 * PERFORMANCE SECTION
 */
.formula-section {
    padding-top: 3rem;
    padding-bottom: 3rem;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.formula-section img{
    margin-right: auto;
    margin-left: auto;
    width: 100%;
}

.formula-title {
    color: var(--primary-color);
    font-size: 1.8rem;
    line-height: 2.2rem;
    text-transform: uppercase;
    font-weight: 800;
    text-align: center;
    margin-bottom: 0.5rem;
}

.formula-text {
    color: var(--primary-color);
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 0.5rem;
}
.formula-subtitle-box {
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    margin-left: auto;
    margin-right: auto;
}

.formula-subtitle {
    color: var(--primary-color);
    font-size: 1.8rem;
    line-height: 2.2rem;
    text-transform: uppercase;
    font-weight: 800;
    text-align: center;
}
.formula-subtitle-image {
    height: 2rem;
    width: 2rem;
    margin-right: 0.5rem;
}

@media (min-width: 768px) {
    .formula-title {
        font-size: 2.25rem;
        line-height: 2.5rem;
    }
    .formula-subtitle {
        font-size: 2.25rem;
        line-height: 2.5rem;
    }
}

/*
 * QUANTATIES SECTION
 */
.quantaties-top {
    width: 100%;
    margin-bottom: -0.5rem;
}
.quantaties-section {
    padding-top: 3rem;
    padding-bottom: 3rem;
    display: flex;
    flex-direction: column;
    background-color: var(--primary-color);
    color: white;
    position: relative;
}

.quantaties-content {
    display: flex;
    flex-direction: column;
}

.quantaties-section img{
    margin-right: auto;
    margin-left: auto;
    width: 100%;
}

.quantaties-title {
    font-size: 1.8rem;
    line-height: 2.2rem;
    text-transform: uppercase;
    font-weight: 800;
    text-align: center;
    margin-bottom: 0.5rem;
}

.quantaties-text {
    text-align: center;
    margin-bottom: 0.5rem;
    margin-top: 1rem;
}
.quantaties-subtitle-box {
    margin-top: 1rem;
    display: flex;
    align-items: center;
    margin-left: auto;
    margin-right: auto;
}
.quantaties-subtitle-image {
    height: 1.5rem;
    width: 1.5rem;
    margin-right: 0.5rem;
}
.quantaties-subtitle {
    font-size: 1.5rem;
    line-height: 2rem;
    text-transform: uppercase;
    font-weight: 800;
    text-align: center;
}

.quantaties-table {
    width: 100%;
    border: 1px solid #FFF;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    margin-top: -10px;
    font-size: 0.8rem;
}
.quantaties-table td {
    text-align: center;
    padding: 0.2rem;
    font-weight: 600;
}

.quantaties-table tr:first-child {
    background-color: #FFF;
    color: #6BA43A;
}

.quantaties-flavor-table {
    width: 100%;
    overflow: hidden;
    font-size: 0.8rem;
}

.quantaties-flavor-table td {
    text-align: center;
    padding: 0.2rem;
}

.quantaties-flavor-table td:not(:last-child):not(:first-child) {
    border-right: 1px solid #FFF;
}

.quantaties-flavor-table tr:not(:last-child) td {
    border-bottom: 1px solid #FFF;
}

.quantaties-flavor-table tr:not(:first-child) td:first-child {
    /*background-color: #FFF;
    color: black;*/
    font-weight: 600;
    border-bottom: none;
}

.quantaties-flavor-table tr:first-child {
    font-weight: 600;
}

.quantaties-flavor-table td:first-child {
    border-bottom: none !important;
}

.formula-line {
    width: 100%;
    height: 1px;
    background-color: var(--grey-100);
    margin-top: 1rem;
    margin-bottom: 1rem;
}

a.contactus-section-button,
a:link.contactus-section-button,
a:visited.contactus-section-button,
a:hover.contactus-section-button,
a:active.contactus-section-button {
    background-color: var(--orange-300);
    border-color: var(--orange-300);
    border-radius: 0.5rem;
    border-width: 1px;
    border-style: solid;
    color: white;
    font-weight: bold;
    width: fit-content;
    padding: 0.5rem 1rem;
    margin: 0 auto;
    display: block;
    text-decoration: none;
}

@media (min-width: 768px) {
    .quantaties-title {
        font-size: 2.25rem;
        line-height: 2.5rem;
    }
    .quantaties-table {
        margin-top: -20px;
        font-size: 1rem;
    }
    .quantaties-table td, .quantaties-flavor-table td {
        padding: 0.5rem;
    }
}