
html, body {
    font-family: "Lexend", sans-serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
    font-size: 16px;
    line-height: 1.25rem;
    background: #f3f3f3;
    scrollbar-color: #C9E3B9 #512A44;
    scrollbar-width: thin;
}

body {
    min-height: 100vh;
}

.campus-section-heading {
    font-size: 3rem;
    font-weight: 600;
    line-height: 3rem;
    color: #512A44;
    text-transform: lowercase;
    margin-bottom: 2.5rem;
    margin-top: 1.5rem;
}

.campus-section-heading:first-letter {
    text-transform: uppercase;
}

.campus-section-heading.no-transform {
    text-transform: none;
}

.campus-lead-paragraph {
    font-size: 1.5rem;
    line-height: 1.5rem;
    color: #512A44;
}

.campus-lead-paragraph p {
    margin-bottom: 2rem
}

.container {
    padding: 0 1rem;
}

@media (min-width: 768px) {
    .container {
        padding: 0 2rem;
    }
}

@media (min-width: 1200px) {
    .container {
        padding: 0 4rem;
    }
}

@media (min-width: 1400px) {
    .container {
        padding: 0 4.75rem;
    }
}

main {
    padding-top: 4.25rem;
}

@media (min-width: 1400px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
        max-width: 1380px;
    }
}


#main-footer {
    position: relative;
    background: rgba(81, 42, 68, 0.9);
    overflow: hidden;
    border-top-left-radius: 8.75rem;
    border-top-right-radius: 8.75rem;
    padding: 2rem;
    color: #C9E3B9;
}

@media (max-width: 992px) {
    #main-footer {
        border-top-left-radius: 2rem;
        border-top-right-radius: 2rem;
    }
}

@media (min-width: 768px) {
    #main-footer {
        padding: 2rem 2rem;
    }
}

@media (min-width: 1200px) {
    #main-footer {
        padding: 4rem 4.75rem;
    }
}

@media (min-width: 1400px) {
    #main-footer {
        padding: 4rem 4.75rem;
    }
}

#main-footer hr {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin: 2.5rem 0;
}

#main-footer h2 {
    font-size: 2rem;
    font-weight: 500;
    line-height: 2rem;
    margin-bottom: 2.5rem;
}

#main-footer ul {
    margin: 0;
    font-size: 1.25rem;
}

#main-footer ul li {
    line-height: 1.5;
}

#main-footer ul li a.location {
    padding-left: 2rem;
    position: relative;
    display: inline-block;
}

#main-footer ul li a.location::before {
    width: 1.5rem;
    height: 1.5rem;
    position: absolute;
    left: 0;
    top: 0.85rem;
    transform: translateY(-50%);
    display: inline-block;
    content: "";
    background: #C9E3B9;
    -webkit-mask-image: url("/assets/images/pin-icon.svg");
    mask-image: url("/assets/images/pin-icon.svg");
    mask-repeat: no-repeat;
    mask-size: auto;
    mask-position: center;
    transition: all .2s ease-in-out;
}

#main-footer small {
    font-size: 1rem;
    line-height: 1.25rem;
}

@media (max-width: 992px) {
    #main-footer small {
        display: block;
    }

    #main-footer .separator {
        display: none;
    }
}

#main-footer a {
    color: #C9E3B9;
    text-decoration: underline;
}

#intro {
    margin-bottom: 1.5rem;
}

@media (max-width: 1400px) {
    #intro {
        margin-bottom: 2rem;
    }
}

#intro .wrapper {
    padding: 9rem 0;
    color: #FFFFFF;
}

#intro h1 {
    font-size: 6rem;
    font-weight: 600;
    line-height: 6rem;
    color: #f3f3f3;
    margin-bottom: 4rem;
}

@media (max-width: 1400px) {
    #intro h1 {
        font-size: 4rem;
        line-height: 4rem;
    }
}

@media (max-width: 992px) {
    #intro h1 {
        font-size: 3.5rem;
        line-height: 3.5rem;
    }
}

#intro h2 {
    font-size: 2rem;
    font-weight: 300;
    line-height: 2rem;
    color: #f3f3f3;
    margin: 0;
}


#intro .background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background: #512A44;
    overflow: hidden;
    border-bottom-left-radius: 8.75rem;
    border-bottom-right-radius: 8.75rem;
}

@media (max-width: 992px) {
    #intro .background-image {
        border-bottom-left-radius: 2rem;
        border-bottom-right-radius: 2rem;
    }
}

#intro .background-image img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.2;
    min-width: 100%;
    min-height: 100%;
    display: block;
}


#about {
    padding-top: 12.5rem;
    padding-bottom: 4rem;
}

@media (max-width: 1400px) {
    #about {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }
}

#about #about-image-wrapper {
    background-image: url("/assets/images/mask.svg");
    background-repeat: no-repeat;
    background-position: left center;
    background-size: contain;
    padding-top: 1.5rem;
    padding-left: 1.5rem;
    padding-bottom: 1.5rem;
}

#about #about-image-wrapper img {
    max-width: 100% !important;
}

#mission {
    padding-top: 5.25rem;
    padding-bottom: 4.75rem;
}

@media (max-width: 1400px) {
    #mission {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }
}

#mission #mission-image-wrapper {
    width: 100%;
    margin-top: -1.5rem;
    margin-left: 3.75rem;
    max-width: 330px;
    max-height: 396px;
    aspect-ratio: 33/40;
    position: relative;
    background: #512A44;
    -webkit-mask-image: url("/assets/images/mask.svg");
    mask-image: url("/assets/images/mask.svg");
    mask-repeat: no-repeat;
    mask-size: contain;
}

#mission #mission-image-wrapper .zone {
    position: absolute;
    opacity: 0.9;
}

#mission #mission-image-wrapper .zone:nth-child(3n) {
    bottom: 0;
    left: 39%;
    aspect-ratio: 3/2;
    width: 62%;
    border-top-left-radius: 20%;
    background-image: url("/assets/images/mission-3.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

#mission #mission-image-wrapper .zone:nth-child(3n + 1) {
    top: 0;
    left: 39%;
    aspect-ratio: 1;
    width: 41%;
    border-bottom-left-radius: 20%;
    background-image: url("/assets/images/mission-1.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

#mission #mission-image-wrapper .zone:nth-child(3n + 2) {
    top: 33%;
    left: 0;
    aspect-ratio: 1;
    width: 41%;
    border-top-right-radius: 20%;
    border-bottom-right-radius: 20%;
    background-image: url("/assets/images/mission-2.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

#products {
    padding-top: 16rem;
    padding-bottom: 4rem;
}

@media (max-width: 1400px) {
    #products {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }
}

#products .product {
}

#products .product.flip-card {
    perspective: 1000px;
    overflow: visible;
}

#products .product.flip-card .flip-card-inner {
    display: grid; /* here */
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

#products .product.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

#products .product.flip-card .flip-card-front,
#products .product.flip-card .flip-card-back {
    grid-area: 1/1; /*and here */
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    background: #FFFFFF;
    border-radius: 2rem;
    overflow: hidden;
    box-shadow: 0.25rem 0.25rem 1.25rem rgba(0, 0, 0, 0.1);
    padding-bottom: 1.5rem;
}

#products .product.flip-card .flip-card-back {
    background-color: gray;
    transform: rotateY(180deg);
    position: relative;
}

#products .product.flip-card .flip-card-back img {
    object-fit: cover;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    max-width: 110%;
}


#products .product .product-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 3/2;
    overflow: hidden;
}

#products .product .product-image-wrapper img {
    display: block;
    width: 100%;
}

#products .product .product-heading h3 {
    font-size: 2.5rem;
    font-weight: 600;
    line-height: 2.5rem;
    text-transform: uppercase;
    text-align: center;
    color: #512A44;
    padding: 1.25rem 0 0.5rem 0;
    margin: 0;
}

#career {
    padding-top: 10rem;
    padding-bottom: 4rem;
}

@media (max-width: 1400px) {
    #career {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }
}

#career p {
    text-align: justify;
}

#career .career-links {
    padding-left: 5rem;
    height: 10rem;
}

@media (max-width: 992px) {
    #career .career-links {
        padding: 0 2rem;
    }
}

@media (max-width: 1400px) {
    #career .career-links {
        height: auto;
    }
}

#location {
    padding-top: 20rem;
    padding-bottom: 20rem;
}

#location .location-embed-map {
    display: block;
    border-radius: 5rem;
    aspect-ratio: 1;
}

#location .location-embed-map .home-marker {
    display: block;
    width: 40px;
    height: 40px;
    background: #512A44;
    border-radius: 4px;
}

#location .location-embed-map .home-marker::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 6px 5px 0 5px;
    border-color: #512A44 transparent transparent transparent;
    transform: rotate(0deg);
}

#location .location-embed-map .home-marker img{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50%;
    height: auto;
}


#location .location-swapping-headings-wrapper {
    display: inline-block;
    height: 8rem;
    float: right;
}

#location .location-swapping-headings-wrapper h2.campus-section-heading {
    text-transform: none;
}

@media (max-width: 1400px) {
    #location {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }

    #location .location-swapping-headings-wrapper {
        float: none;
        display: block;
    }
}

.simple-page-container {
    background: #512A44;
    margin-top: 1.5rem;
    margin-bottom: 3rem;
    border-radius: 8.75rem;
    padding: 4.75rem 4.75rem;
}

.simple-page-content {
    border-radius: 4rem;
    padding: 5rem 2.5rem;
    font-size: 1.25rem;
    font-weight: 300;
    line-height: 120%;
    color: #512A44;
}

.simple-page-content .campus-lead-paragraph {
    line-height: 120%;
}

.simple-page-content a {
    color: #512A44;
    background: #C9E3B9;
    display: inline;
}

.simple-page-content a::before {
    content: '';
    display: inline-block;
}

@media (max-width: 992px) {
    .simple-page-container {
        border-radius: 2rem;
        padding: 1rem;
    }

    .simple-page-content {
        border-radius: 1rem;
        padding: 2rem 0.5rem;
        font-size: 1.25rem;
    }
}