/* ------------------------------------------------- */
/* VARIABLES & GLOBALS */
/* ------------------------------------------------- */
:root {
    --white: #FFFFFF;
    --grey: #E8E8E8;
    --blue: #21064D;
    --purple: #7E00D6;
    --dark-purple: #6800B1;
    --tt-purple: #512485;
    --pink: #E92080;
}

/* Body */
body {
    font-family: "apertura", sans-serif !important;
    font-weight: 400 !important;
    font-style: normal !important;
    color: var(--white);
}

/* Headings */
h1, h2, h3, h4, h5, h6, .bold {
    font-family: "apertura", sans-serif !important;
    font-weight: 700 !important;
    font-style: normal !important;
    color: var(--white);
}

h1 {
    margin-bottom: 0.5em;
}

h2, h3, .bold {
    margin-bottom: 0.75em;
}

h3 {
    font-size: var(--bs-font-size-lg);
}

h4 {
    font-size: var(--bs-font-size-md);
}
/* ------------------------------------------------- */



/* ------------------------------------------------- */
/* LAYOUT */
/* ------------------------------------------------- */
.section {
    padding: 2.5em 1.5em;
    overflow: hidden !important;
}

/* Backgrounds */
.blue-bg {
    background-color: var(--blue);
}

.purple-bg {
    background-color: var(--purple);
}

.dark-purple-bg {
    background-color: var(--dark-purple);
}

.pink-bg {
    background-color: var(--pink);
}

.white-bg {
    background-color: var(--white);
}

.white-bg * {
    color: var(--blue);
}

/* Important */
.mt-0 {
    margin-top: 0 !important;
}

.mb-0 {
    margin-bottom: 0 !important;
}

.row {
    --bs-gutter-x: 0 !important;
}
/* ------------------------------------------------- */



/* ------------------------------------------------- */
/* HERO */
/* ------------------------------------------------- */
.hero p {
    margin-bottom: 1.75em;
}

.hero-suptitle p {
    background-color: var(--purple);
    padding: 0.25em 0.5em;
    margin-bottom: 0.75em;
    width: fit-content;
}

.hero-subtitle p {
    background-color: var(--pink);
    padding: 0.25em 0.5em;
    font-size: 1.15em;
    margin-bottom: 1em;
    width: fit-content;
}

.hero-text {
    position: relative;
    z-index: 1;
}

.hero-image img {
    width: 300%;
    display: block;
    margin: -120% 0% -100% -100%;
}
/* ------------------------------------------------- */



/* ------------------------------------------------- */
/* ABOUT */
/* ------------------------------------------------- */
.about h2 {
    text-align: center;
}

/* About containers */
.about-klt, .about-wywr, .about-atc {
    align-items: flex-start;
}

/* About bullet containers */
.about-klt-1, .about-klt-2, 
.about-wywr-1, .about-wywr-2,
.about-atc-1, .about-atc-2 {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-top: 1em;
    padding-bottom: 1em;
}

.about-klt-3, .about-wywr-3, .about-atc-3 {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-top: 1em;
    padding-bottom: 0;
    margin: 0 auto;
}

/* About icons/images  */
.about-klt-1 img, .about-klt-2 img, .about-klt-3 img {
    width: 55%;
    max-width: 175px;
    padding-bottom: 1em;
}

.about-wywr-1 img, .about-wywr-2 img, .about-wywr-3 img,
.about-atc-1 img, .about-atc-2 img, .about-atc-3 img {
    width: 55%;
    max-width: 175px;
    padding-bottom: 1.25em;
}
/* ------------------------------------------------- */



/* ------------------------------------------------- */
/* BEGIN THE COURSE */
/* ------------------------------------------------- */
.begin-image img {
    width: 300%;
    display: block;
    margin: -110% -100% -90% -100%;
}

.begin-cta h2, .begin-cta p {
    text-align: center;
}

.begin-toptip {
    background-color: var(--tt-purple);
    position: relative;
    padding: 0.5em;
    font-size: 1.15em;
}

.begin-cta a {
    text-decoration: none;
}

.begin-start-btn {
    position: relative;
    background-color: var(--pink);
    border: 3px solid var(--pink);
    padding: 1em;
    transition: all 250ms ease-in-out;
}

.begin-start-btn:link, .hero-start-btn:visited {
    background-color: var(--pink);
    border: 3px solid var(--pink);
}

.begin-start-btn:hover {
    background-color: var(--pink);
    border: 3px solid var(--white);
}

.begin-start-btn:active {
    background-color: var(--pink);
    border: 3px solid var(--pink);
}

.begin-start-btn p {
    margin-bottom: 0;
    font-size: 1.15em;
}

.bi-chevron-right {
    stroke: var(--white);
}
/* ------------------------------------------------- */



/* ------------------------------------------------- */
/* ADDITIONAL RESOURCES */
/* ------------------------------------------------- */
.resources-text h2 {
    text-align: center;
}

.resources-text p {
   margin-bottom: 1.75em; 
   text-align: center;
}

.col a {
    text-decoration: none;
    height: 100%;
}

div.resources-links > div.row > div.col:nth-of-type(1), div.resources-links > div.row > div.col:nth-of-type(3) {
    padding-right: 0rem;
}

div.resources-links > div.row > div.col:nth-of-type(2), div.resources-links > div.row > div.col:nth-of-type(4) {
    padding-left: 0rem;
}

/* Card styling */
.card {
    --bs-card-border-width: none;
}

.card-body {
    padding: 0 !important;
    transition: all 250ms ease-in-out;
    background-color: var(--grey);
}

.card-body:link {
    box-shadow: none;
}

.card-body:visited {
    box-shadow: none;
}

.card-body:hover {
    transform: translate(-4px, -4px);
    box-shadow: var(--blue) 4px 4px;
}

.card-body:active {
    transform: translate(-2px, -2px);
    box-shadow: var(--blue) 2px 2px;
}

.card-title {
    background-color: var(--white);
    padding: 1em 1em 1.15em 1em;
    margin-bottom: -0.75em;
}

.card-title h3 {
    color: var(--blue);
}

.card-title img {
    width: 20px;
    height: 20px;
}

.card-text {
    background-color: var(--grey);
    color: var(--blue);
    padding: 1em;
}
/* ------------------------------------------------- */



/* ------------------------------------------------- */
/* REFERENCES */
/* ------------------------------------------------- */
.partners h2 {
    text-align: center;
}

.partners p {
   margin-bottom: 1.75em; 
   text-align: center;
}

.partners .row * {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.partners .row-2 .col-12 {
    margin: 2em 0;
}

.partners .row-2 .col-12:first-of-type {
    margin: 0 0 2em 0;
}

hr {
    height: 1.5px;
    background: var(--grey);
    font-size: 0;
    border: 0;
    width: 85vw;
    margin: 0 auto;
}

/* Partners logos */
.partners-1, .partners-2, .partners-3 {
    height: 8em;
    padding: 1.5em 0 2.25em 0;
}

.partners-link p {
    transition: all 250ms ease-in-out;
    text-align: center;
}

.partners-link p:link, .partners-link p:visited {
    text-decoration: none;
    color: var(--blue);
}

.partners-link p:hover {
    color: var(--purple);
}

.partners-link p:active {
    color: var(--pink);
}
/* ------------------------------------------------- */



/* ------------------------------------------------- */
/* MEDIA QUERIES */
/* ------------------------------------------------- */

/* Small device */
@media (min-width: 576px) {
    .section {
        padding: 2.75em 4em;
        overflow: hidden;
    }

    .about-klt, .about-wywr, .about-atc {
        display: flex;
        align-content: flex-start;
    }
}

/* Medium device */
@media (min-width: 768px) {
    p {
        font-size: 1.15em;
    }

    h1 {
        font-size: 2.15em;
    }

    h2 {
        font-size: 1.65em;
    }

    h3 {
        font-size: 1.32em;
    }

    h4 {
        font-size: 1.15em;
    }

    .hero-image img {
        width: 200%;
        display: block;
        margin: -75% 0% -65% -50%;
    }

    .begin-image img {
        width: 225%;
        display: block;
        margin: -85% -50% -70% -62%;
    }

    div.resources-links > div.row > div.col:nth-of-type(1), div.resources-links > div.row > div.col:nth-of-type(3) {
        padding-right: .375rem;
    }

    div.resources-links > div.row > div.col:nth-of-type(2), div.resources-links > div.row > div.col:nth-of-type(4) {
        padding-left: .375rem;
    }

    .partners-1, .partners-2, .partners-3 {
        height: 7em;
    }

    .partners .row-2 .col-12:nth-of-type(1), .partners .row-2 .col-12:nth-of-type(2), .partners .row-2 .col-12:nth-of-type(3) {
        display: flex;
        align-items: center;
        margin: 2em auto;
        padding: 0 1.5em;
    }

    hr {
        display: none !important;
    }

    .hr-2 {
        display: block !important;
    }
}

/* Large device */
@media (min-width: 1024px) {
    * {
        text-align: left !important;
    }

    p {
        font-size: 1.25em;
    }

    h1 {
        font-size: 2.25em;
    }

    h2 {
        font-size: 1.75em;
    }

    h3 {
        font-size: 1.42em;
    }

    h4 {
        font-size: 1.25em;
    }

    .section {
        padding: 4em 6em;
        overflow: hidden;
    }

    .begin-image img {
        width: 225%;
        display: block;
        margin: -80% -50% -70% -70%;
    }

    .hero-summary p {
        margin-bottom: 0;
    }

    .about {
        display: flex;
    }

    .about img {
        width: 7vw;
        height: auto;
        margin-left: -1.5vw;
    }

    .about-klt-1, .about-klt-2, .about-klt-3, 
    .about-wywr-1, .about-wywr-2, .about-wywr-3, 
    .about-atc-1, .about-atc-2, .about-atc-3 {
        flex-direction: row;
        align-items: start;
    }

    .section.about-klt {
        padding: 4em 3em 4em 5em;
        margin: 0 auto;
    }

    .section.about-wywr {
        padding: 4em 3em 4em 3em;
        margin: 0 auto;
        background-color: var(--purple);
        
    }

    .section.about-atc {
        padding: 4em 5em 4em 3em;
        margin: 0 auto;
        background-color: var(--dark-purple);
    }

    .resources {
        display: flex;
    }

    .resources-text {
        padding-right: 2em;
    }

    .hr-2 {
        display: none !important;
    }

    .partners-link {
        text-align: left !important;
    }

    .partners .row * {
        align-items: start;
        text-align: start;
    }

    .partners .row-2 .col-12:nth-of-type(1), .partners .row-2 .col-12:nth-of-type(2), .partners .row-2 .col-12:nth-of-type(3) {
        align-items: start;
        margin: 2em 0 0 0 !important;
    }
}

@media (min-width: 1280px) {
    .partners-1, .partners-2, .partners-3 {
        height: 8.5em;
    }
}
/* ------------------------------------------------- */