:root {
    --color-green: #30451F;
    --color-purple: #83628D;
    --color-wine: #763C52;
    --color-red: #861131;
    --color-blue: #385B6C;
    --color-darkerblue: #004364;
    --color-yellow: #FFE86C;
    --color-darkyellow: #C1A40B;
    --color-white: #fff;
}

.bg-green {
    background-color: var(--color-green);
}

.bg-purple {
    background-color: var(--color-purple);
}

.bg-wine {
    background-color: var(--color-wine);
}

.bg-red {
    background-color: var(--color-red);
}

.bg-blue {
    background-color: var(--color-blue);
}

.bg-yellow {
    background-color: var(--color-yellow);
}

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

.text-green {
    color: var(--color-green);
}

.text-purple {
    color: var(--color-purple);
}

.text-wine {
    color: var(--color-wine);
}

.text-red {
    color: var(--color-red);
}

.text-blue {
    color: var(--color-blue);
}

.text-darkerblue {
    color: var(--color-darkerblue);
}

.text-yellow {
    color: var(--color-yellow);
}

.text-white {
    color: var(--color-white);
}

body {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
}

* {
    font-display: swap;
}

.logo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    transition: transform .25s ease-in-out;

    left: 70px;
    top: 30px;

    img {
        height: 70px;
        width: auto;
    }

    &:hover {
        transform: scale(1.05) translateY(-5px);
        cursor: pointer;
    }
}

@media screen and (max-width: 1024px) {
    .logo {
        width: 90px;
        height: 90px;
        left: 20px;

        img {
            height: 50px;
            width: auto;
        }
    }
}

@media screen and (max-width: 768px) {
    .logo {
        left: 10px;
    }
}

img.img-pf {
    width: 300px;
    aspect-ratio: 1/1;
    object-fit: cover;
    object-position: center;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    display: block;
}

img.img-big {
    --img-radius: 150px;
    width: 45%;
    height: calc(100% - 50px);
    max-height: 900px;
    max-width: 900px;
    object-fit: cover;
    object-position: center;
    position: absolute;
    border-color: #fff;
    border-style: solid;
    border-width: 0;


    &.img-big--left {
        left: 0;
        border-top-right-radius: var(--img-radius);
        border-right-width: 3px;
        border-bottom-width: 3px;
    }

    &.img-big--right {
        right: 0;
        border-bottom-left-radius: var(--img-radius);
        border-left-width: 3px;
        border-bottom-width: 3px;
    }

    &.img-big--top {
        top: 0;
    }

    &.img-big--bottom {
        bottom: 0;
    }

    &.img-big--autoheight {
        height: auto;
        max-height: 100%;
    }
}

img.img-bg {
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: center;
    position: absolute;
    z-index: 0;
    left: 0;
    top: 0;
}

img.round {
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
    aspect-ratio: 1/1;
}

.rounded {
    border-radius: 50px !important;

    &.rounded--small {
        border-radius: 30px !important;
    }
}

img.aspect-ratio-16-9 {
    aspect-ratio: 16/9;
    object-fit: cover;
    object-position: center;
}

img.aspect-ratio-4-3 {
    aspect-ratio: 4/3;
    object-fit: cover;
    object-position: center;
}

img.aspect-ratio-1-1 {
    aspect-ratio: 1/1;
    object-fit: cover;
    object-position: center;
}

.icon-outer {
    height: 100px;
    width: 100px;
    background-color: #fff;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

img.icon {
    height: 65px;
    width: 65px;
    object-fit: contain;
    object-position: center;
    aspect-ratio: 1/1;
}

img.blur {
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: center;
    position: absolute;
    z-index: 0;
    left: 0;
    top: 0;
    opacity: .3;
    pointer-events: none;
    user-select: none;

    &.mirrored {
        transform: scaleX(-1);
    }

    &.flipped {
        transform: scaleY(-1);
    }

    &.mirrorred.flipped {
        transform: scaleX(-1) scaleY(-1);
    }
}

.section {
    position: relative;
    min-height: 90svh;

    display: flex;
    flex-direction: row;
    align-items: center;

    * {
        z-index: 4;
    }
}

h1,
h2,
h3,
h4,
h5 {
    text-wrap: balance;
    line-height: 1;
}

h1 {
    font-size: 75px;
}

h2 {
    font-size: 50px;
}

p,
ul,
ol {
    font-size: 20px;
    font-weight: 200;
    margin-bottom: 0;

    &:not(:last-of-type) {
        margin-bottom: 1em;
    }
}

.subtitle {
    font-weight: 200;
    font-size: 23px;
    text-wrap: balance;
}

@media screen and (max-width: 768px) {
    h1 {
        font-size: 45px;
    }

    h2 {
        font-size: 35px;
    }

    p,
    ul,
    ol {
        font-size: 18px;
    }

    .subtitle {
        font-size: 20px;
    }
}

.text-balance {
    text-wrap: balance;
}

.border-radius {
    border-radius: 75px;
}

.sub-logo {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;

    margin-bottom: -100px;

    img {
        height: 120px;
        width: auto;
    }

}

.btn {
    border-radius: 30px;
    font-weight: 200;
    font-size: 23px;
    text-wrap: balance;

    --bs-btn-padding-x: 1.5rem;

    &.btn-link {
        text-decoration: none;
        text-underline-offset: 5px;

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

    &.btn-primary {
        --bs-btn-bg: var(--color-darkerblue);
        --bs-btn-border-color: var(--color-darkerblue);
    }
}

@media screen and (max-width: 768px) {
    .btn {
        font-size: 20px;
    }
}

.timeline {
    >[class^="col"] {
        border-radius: 20px;
        position: relative;

        &:nth-child(1) {
            background-color: rgba(255, 255, 255, .05);
        }

        &:nth-child(2) {
            background-color: rgba(255, 255, 255, .1);
        }

        &:nth-child(3) {
            background-color: rgba(255, 255, 255, .15);
        }

        &:nth-child(4) {
            background-color: rgba(255, 255, 255, .2);
        }

        .icon-outer {
            margin-top: -70px;
        }
    }
}

@media screen and (min-width: 1024px) {
    .timeline {
        >[class^="col"] {
            &:after {
                content: '';
                height: 30px;
                width: 30px;
                background-color: #fff;
                background-image: url('img/caret-right.svg');
                background-size: 18px;
                background-position: center;
                background-repeat: no-repeat;
                border-radius: 30px;
                position: absolute;
                right: -15px;
                top: 63px;
            }

            &:last-child:after {
                display: none;
            }
        }
    }
}

@media screen and (max-width: 1024px) {
    .timeline>[class^="col"] {
        &:not(:last-child) {
            margin-bottom: 75px;
        }
    }

    .timeline>[class^="col"]:after {
        display: none;
    }
}

/* revise bullet lists */
ul.bullets {
    list-style: none;
    padding-left: 0;

    li {
        position: relative;
        padding-left: 30px;
        margin-bottom: 1em;
        font-size: 19px;
        line-height: 1;

        &:before {
            content: '';
            height: 10px;
            width: 10px;
            background-color: var(--color-yellow);
            border-radius: 50%;
            position: absolute;
            left: 0;
            top: 5px;
        }
    }

    &.bullets--darkyellow {
        li:before {
            background-color: var(--color-darkyellow);
        }
    }
}

p.small {
    font-size: 1em;
}

.line {
    height: 3px;
    width: 500px;
    background-color: #fff;
    max-width: 100%;
    display: block;
}

.card {
    width: 450px;
    max-width: 100%;
}

@media screen and (min-width: 1024px) {
    .img-contact {
        margin-top: -100px;
    }
}

.contact-icon {
    height: 32px;
    width: auto;
    vertical-align: middle;
    margin-right: 10px;
}

.contact-list {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 10px;

    a {
        color: inherit;
        text-decoration: none;
    }
}

.skiplink {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--color-yellow);
    color: var(--color-green);
    padding: 8px;
    z-index: 100;
    transition: top 0.3s;

    &:focus {
        top: 0;
    }
}