@import url(/nav.css);
@import url(/container-0.css);
@import url(/main-0.css);
@import url(/copyright.css);
@import url(/header.css);
@import url(/main-content.css);
@import url(/header-title.css);
@import url(/banner-0.css);
@import url(/photo-text.css);
@import url(/content-0.css);

:root {
    --max-content-width: 1100px;

    --grey: #575656;
    --red: #be0e34;
    --off-white: #f7f8f6;
    --alabaster: #e4e6d6;
}

* {
    /* transition: font-size .3s ease; */
    scroll-margin-top: 90px;
}

html {
    scroll-behavior: smooth;
    text-rendering: optimizeSpeed;
    hyphens: auto;
    font-family: 'BeVietnamPro' !important;
    font-display: swap;

    @media (max-width: 1285px) {
        & {
            font-size: 14px;
        }
    }

    @media (max-width: 768px) {
        & {
            font-size: 13px;
        }
    }

    @media (max-width: 568px) {
        & {
            font-size: 12px;
        }
    }

    @media (max-width: 320px) {
        & {
            font-size: 11px;
        }
    }
}

custom-accordion2 {
    touch-action: pan-x pan-y;
}

body {
    font-family: BeVietnamPro !important;
    margin: 0;
    color: var(--grey);
    overflow-y: auto;
}

h1,
h2,
h3,
h4,
p {
    margin: 0;
}

h2 {
    font-size: 3.5rem;
    font-weight: 600;

    @media (max-width: 768px) {
        font-size: 2.6rem;
    }
}

h4 {
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 1.5;
}

small {
    font-size: 1.2rem;
    font-weight: 100;
    line-height: 2rem;
}

b,
strong {
    font-weight: bold;
}

a {
    color: var(--red);
    text-decoration: none;
}

p {
    font-size: 1.2rem;
    font-weight: 200;
    line-height: 2.3rem;
    margin: 0;

    a {
        text-decoration: underline;
        color: var(--red);
    }
}

angled-element {
    display: block;
    --angled-padding-top: 0px;
    --angled-padding-bottom: 0px;

    >.banner-0 {
        padding-top: calc(1.5rem + var(--angled-padding-top));
        padding-bottom: calc(1.5rem + var(--angled-padding-bottom));
    }
}

.carousel-image {
    width: 100%;
    min-width: 0;
    padding: 2.5rem 5rem;
    box-sizing: border-box;
    justify-self: center;
    align-self: center;
    object-fit: contain;
    object-position: center;
}

.subjects {
    display: grid;
    gap: 1rem;

    &.column-3 {
        grid-template-columns: repeat(3, 1fr);
    }

    &.column-4 {
        grid-template-columns: repeat(4, 1fr);
    }


    .subject {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: .5rem;
        width: 100%;
        min-width: 0;
        font-size: 1.2rem;
        font-weight: 500;
        color: var(--grey);

        img {
            aspect-ratio: 1;
            width: 100%;
            object-fit: cover;
            object-position: center;
        }
    }
}

#cookies {
    display: none;
}

a-carousel > div:not(.content) {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    overflow-y: auto;

    a {
        color: inherit;
    }

    img,lite-youtube {
        width: 75%;
        aspect-ratio: 16 / 9;
        flex-shrink: 0;
    }
}
