::selection {
    background-color: var(--highlight-purple);
    color: var(--background-white);
}

body {
    background-color: var(--background-grey);
    font-family: var(--body-font);
    font-size: 16px;
    line-height: 1.618;
}

header {
    font-family: var(--header-font);
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.7rem;
}

p {
    font-size: 1.2rem;
}

@media (min-width: 992px) {
    .fixed-top {
        position: static;
    }
}

footer {
    bottom: 0;
    width: 100%;
    background: var(--linear-gradient-circle);
    color: var(--background-white);
}

i {
    color: var(--button-purple);
}

a {
    color: var(--button-purple);
    text-decoration-line: underline;
    text-decoration-style: dotted;

    &:hover,
    &:focus,
    &:active {
        color: var(--hover-purple);
        text-decoration-style: solid;
    }
}

.accordion-button::after {
    background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23bf00ff'><path fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/></svg>") !important;
}

.btn.btn-primary {
    background-color: var(--button-purple);
    color: var(--background-white);
    border-color: var(--button-purple);
    padding: 10px 20px;
    box-shadow: 0 0 7px var(--highlight-purple);
    transition: 0.5s;
    &:hover,
    &:focus,
    &:active {
        background-color: var(--hover-purple);
        border-color: var(--button-purple);
        box-shadow: 0 0 15px var(--hover-purple);
        transform: scale(1.05);
    }
}

.btn.btn-secondary {
    background-color: var(--background-grey);
    color: var(--button-purple);
    border-color: var(--button-purple);
    border-width: 1.5px;
    padding: 10px 20px;
    box-shadow: 0 0 7px var(--highlight-purple);
    transition: 0.5s;
    &:hover,
    &:focus,
    &:active {
        background-color: var(--background-grey);
        color: var(--hover-purple);
        border-color: var(--hover-purple);
        box-shadow: 0 0 15px var(--hover-purple);
        transform: scale(1.05);
    }
}

#cards > div {
    transition: 0.5s;

    &:hover {
        transform: translateY(-8px);
    }
}

#to-top {
    position: fixed;
    bottom: 10px;
    right: 10px;

    .fa-circle-arrow-up {
        color: darkgray;
        transition: 0.5s;

        &:hover {
            color: var(--button-purple);
        }
    }
}

.index {
    body {
        position: relative;
        min-height: 100vh;
        background-color: var(--background-grey);
        font-family: var(--body-font);
    }

    #cta {
        background-image: url("/Images/CTA-primary-Groter.jpg");
        background-size: cover;
        background-position: center top;
        background-attachment: fixed;
        min-height: 500px;
        background-repeat: no-repeat;

        & h1 {
            color: #fefefe;
            text-shadow: 2px 2px 7px var(--text-shadow-blue);
        }
    }

    header {
        font-family: var(--header-font);
    }

    h1 {
        text-align: center;
    }

    div article {
        background-color: var(--background-white);
        border-radius: 10px;
        box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.5);
    }

    article img {
        border-radius: 0 0 10px 10px;
    }

    .versus img:first-child {
        clip-path: polygon(0 0, 100% 0, 80% 100%, 0% 100%);
        position: relative;
        width: 55%;
    }
    .versus img:last-child {
        clip-path: polygon(20% 0, 100% 0, 100% 100%, 0% 100%);
        position: absolute;
        width: 55%;
        right: 0;
    }

    .gradient {
        background: var(--linear-gradient);
    }

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

    @media screen and (min-width: 768px) {
        article:nth-child(odd) img {
            border-top-right-radius: 10px;
            border-bottom-left-radius: 0;
        }

        article:nth-child(even) img {
            border-top-left-radius: 10px;
            border-bottom-right-radius: 0;
        }
    }

    @media screen and (min-width: 992px) {
        h1 {
            font-size: 50px;
        }

        h2 {
            font-size: 35px;
        }

        #cta {
            min-height: 600px;
        }
    }
}