@import "tailwindcss/base";
@import "tailwindcss/components";
@import "tailwindcss/utilities";

:root {
    /* BRAND COLOURS */
    --brand-black: #1d1d1d;
    --brand-gray-light: #f3f3f3;
    --brand-gray-mid: #6a6a6a;
    --brand-orange: #ce4b12;
    --brand-orange-active: #7c2d0c;
    --brand-orange-hover: #a53d0e;
    --brand-orange-light: #f5d9ce;
    --brand-orange-light-hover: #faece7;
    --brand-teal: #004f59;
    --brand-teal-hover: #003f47;
    --brand-teal-light: #ebf0f1;
    --brand-teal-mid: #74afb7;
    --brand-teal-outline: #7aa2a7;
    --brand-white-hover: #fefaf8;
    --brand-yellow: #fcc134;
    --brand-yellow-light: #eae8de;

    /* SCREEN SIZES */
    --screen-xxs: 375px;
    --screen-xs: 480px;
    --screen-sm: 640px;
    --screen-md: 768px;
    --screen-lg: 1024px;
    --screen-xl: 1280px;
    --screen-2xl: 1536px;
}

@layer components {
    .white-background p a {
        @apply text-brand-orange underline hover:text-brand-orange-hover active:text-brand-orange-active;
    }

    .teal-background p a {
        @apply text-white underline;
    }

    p a {
        @apply text-brand-black underline;
    }
}

@layer utilities {
    .bg-chevron-down {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7' viewBox='0 0 12 7' fill='%23004F59'%3E%3Cpath d='M1.41 0L6 4.32659L10.59 0L12 1.33198L6 7L0 1.33198L1.41 0Z'/%3E%3C/svg%3E");
        background-position-x: calc(100% - 0.875rem);
    }
}

* {
    font-synthesis: none !important;
}

[x-cloak] {
    display: none !important;
}

@font-face {
    font-family: "Inter";
    src: url("../fonts/Inter/Inter.ttf") format("truetype");
}

@font-face {
    font-family: "Inter";
    src: url("../fonts/Inter/InterItalic.ttf") format("truetype");
    font-style: italic;
}

html {
    font-family: "Inter", sans-serif;
}

.honeypot {
    display: none;
}

.container-1 {
    width: 100%;
    display: flex;
    justify-content: center;
}

.container-1 > * {
    width: 100%;
    max-width: 1400px;
    padding-left: 1rem;
    padding-right: 1rem;
}

.btn-link {
    font-size: 1.1875rem;
    font-style: normal;
    font-weight: 500;
    line-height: normal;

    &:hover {
        text-decoration: underline;
    }
}

.btn {
    display: flex;
    min-height: 3rem;
    padding: 0.8125rem 1rem;
    justify-content: center;
    align-items: center;
    gap: 0.625rem;
    border-radius: 0.5rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    text-align: center;
    font-size: 1.1875rem;
    font-weight: 600;
    line-height: normal;

    &:hover {
        background: linear-gradient(0deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.2) 100%), #fff;
        box-shadow: none;
    }

    &:active {
        background: linear-gradient(0deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.4) 100%), #fff;
        box-shadow: none;
    }
}

.btn.btn-white {
    color: white;
    border-color: rgba(255, 255, 255, 0.3);

    &:hover {
        color: var(--brand-black);
        background: linear-gradient(0deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.2) 100%), white;
        border-color: transparent;
    }

    &:active {
        color: var(--brand-black);
        background: linear-gradient(0deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.4) 100%), white;
        border-color: transparent;
    }
}

.btn.btn-black {
    color: var(--brand-black);
    border-color: rgba(0, 0, 0, 0.1);

    &:hover {
        color: white;
        background: linear-gradient(0deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.2) 100%), var(--brand-black);
        border-color: transparent;
    }

    &:active {
        color: white;
        background: linear-gradient(0deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.4) 100%), var(--brand-black);
        border-color: transparent;
    }
}

.btn.btn-teal {
    color: var(--brand-black);
    border-color: var(--brand-teal);
    box-shadow: none;

    &:hover {
        color: white;
        background: linear-gradient(0deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.2) 100%), var(--brand-teal);
        border-color: transparent;
    }

    &:active {
        color: white;
        background: linear-gradient(0deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.4) 100%), var(--brand-teal);
        border-color: transparent;
    }
}

.btn.btn-orange {
    color: var(--brand-black);
    border-color: var(--brand-orange);
    box-shadow: none;

    &:hover {
        color: white;
        background: linear-gradient(0deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.2) 100%), var(--brand-orange);
        border-color: transparent;
    }

    &:active {
        color: white;
        background: linear-gradient(0deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.4) 100%), var(--brand-orange);
        border-color: transparent;
    }
}

.btn-filled {
    display: flex;
    min-height: 3rem;
    padding: 0.8125rem 1rem;
    justify-content: center;
    align-items: center;
    gap: 0.625rem;
    border-radius: 0.5rem;
    border: 2px solid transparent;
    background-color: white;
    color: var(--brand-black);
    text-align: center;
    font-size: 1.1875rem;
    font-weight: 600;
    box-shadow: 0 2px 4px 0 rgba(29, 29, 29, 0.3);
    line-height: normal;

    &:hover {
        background: linear-gradient(0deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.2) 100%), #fff;
        box-shadow: none;
    }

    &:active {
        background: linear-gradient(0deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.4) 100%), #fff;
        box-shadow: none;
    }
}

.btn-filled.btn-white {
    color: var(--brand-black);
    background: white;
    box-shadow: 0 2px 4px 0 rgba(29, 29, 29, 0.3);

    &:hover {
        background: linear-gradient(0deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.2) 100%), white;
        box-shadow: none;
    }

    &:active {
        background: linear-gradient(0deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.4) 100%), white;
        box-shadow: none;
    }
}

.btn-filled.btn-black {
    color: white;
    background: var(--brand-black);
    box-shadow: 0 2px 4px 0 rgba(29, 29, 29, 0.3);

    &:hover {
        background: linear-gradient(0deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.2) 100%), var(--brand-black);
        box-shadow: none;
    }

    &:active {
        background: linear-gradient(0deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.4) 100%), var(--brand-black);
        box-shadow: none;
    }
}

.btn-filled.btn-teal {
    color: white;
    background: var(--brand-teal);
    box-shadow: 0 2px 4px 0 rgba(0, 79, 89, 0.3);

    &:hover {
        background: linear-gradient(0deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.2) 100%), var(--brand-teal);
        box-shadow: none;
    }

    &:active {
        background: linear-gradient(0deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.4) 100%), var(--brand-teal);
        box-shadow: none;
    }
}

.btn-filled.btn-orange {
    color: white;
    background: var(--brand-orange);
    box-shadow: 0 2px 4px 0 rgba(206, 75, 18, 0.3);

    &:hover {
        background: linear-gradient(0deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.2) 100%), var(--brand-orange);
        box-shadow: none;
    }

    &:active {
        background: linear-gradient(0deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.4) 100%), var(--brand-orange);
        box-shadow: none;
    }
}

.btn-search {
    display: flex;
    min-height: 3rem;
    width: 3rem;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 0.5rem;
    align-items: center;
    justify-content: center;

    &:hover {
        background-color: #171717;
    }

    &:active {
        background-color: #111;
    }
}

.btn-caption {
    display: flex;
    height: 3rem;
    padding: 0.6875rem 0.625rem;
    justify-content: center;
    align-items: center;
    gap: 0.625rem;
    flex-shrink: 0;
    color: white;
    border-radius: 0.5rem;
    background: rgba(0, 0, 0, 0.5);

    &:hover {
        border-radius: 0.5rem;
        background: rgba(0, 0, 0, 0.8);
    }
}

.btn-arrow {
    display: flex;
    height: 3.4375rem;
    width: 3.4375rem;
    flex-shrink: 0;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    background-color: white;

    &:hover {
        background-color: var(--brand-orange-light);
    }

    &:active {
        background-color: var(--brand-orange-light);
    }
}

/* MOBILE STYLES */
h1 {
    max-width: 100%;
    font-size: 3.125rem;
    line-height: 3.125rem;
    font-weight: 700;
    overflow-wrap: break-word;
    word-break: break-word;
}

h2,
h1.h2 {
    max-width: 100%;
    font-size: 2.25rem;
    line-height: 2.5rem;
    font-weight: 700;
    overflow-wrap: break-word;
    word-break: break-word;
}

h3 {
    max-width: 100%;
    font-size: 1.875rem;
    line-height: 1.875rem;
    font-weight: 700;
    overflow-wrap: break-word;
    word-break: break-word;
}

h4 {
    max-width: 100%;
    font-size: 1.425rem;
    line-height: 1.995rem;
    font-weight: 700;
    overflow-wrap: break-word;
    word-break: break-word;
}

p {
    font-size: 1.0625rem;
    line-height: 1.4;
}

.teal-background p {
    color: white;
}

a.text-link {
    color: var(--brand-orange);
    width: fit-content;

    &:hover {
        color: var(--brand-orange-hover);
        text-decoration: underline;
    }

    &:active {
        color: var(--brand-orange-active);
        text-decoration: underline;
    }
}

.column-content ul {
    padding-left: 1em;
    list-style: disc;
}

.column-content ol {
    padding-left: 1em;
    list-style: decimal;
}

.default-header {
    margin-top: calc(5rem + 1px);
}

.sponsorship-header {
    margin-top: calc(7.375rem + 1px);
}

.translate-text-white-link p a {
    color: white;
    width: fit-content;
}

.translate-text-orange-link p a {
    color: var(--brand-orange);
    width: fit-content;

    &:hover {
        color: var(--brand-orange-hover);
    }

    &:active {
        color: var(--brand-orange-active);
    }
}

/* END MOBILE STYLES */

/* DESKTOP STYLES */
@media (min-width: 1024px) {
    h1 {
        font-size: 3.5rem;
        font-style: normal;
        font-weight: 700;
        line-height: 100%;
    }

    h2,
    h1.h2 {
        font-size: 2.5rem;
        font-style: normal;
        font-weight: 700;
        line-height: 100%;
    }

    h3 {
        font-size: 2rem;
        font-style: normal;
        font-weight: 700;
        line-height: 100%;
    }

    h4 {
        font-size: 1.4rem;
        font-style: normal;
        font-weight: 700;
        line-height: 140%;
    }

    p {
        font-size: 1.125rem;
    }

    .container-1 > * {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .btn {
        width: fit-content;
    }

    .default-header {
        margin-top: calc(6rem + 1px);
    }

    .sponsorship-header {
        margin-top: calc(8.8125rem + 1px);
    }
}

@media (min-width: 1280px) {
    .container-1 > * {
        padding-left: 4rem;
        padding-right: 4rem;
    }
}

@media (min-width: 1536px) {
    .container-1 > * {
        padding-left: 6rem;
        padding-right: 6rem;
    }
}

/* END DESKTOP STYLES */
