@import url("https://use.typekit.net/ibv8dzg.css");

/* No sideways scrolling on any page (the career frame runs off the right edge on purpose).
   `hidden` is the fallback for browsers without `clip` (Safari < 16). */
html,
body {
    overflow-x: hidden;
    overflow-x: clip;
}

body {
    margin: 0;
    /* background-color: #EFEFEC; */
}

h1 {
    font-family: eb-garamond;
    font-weight: 400;
    color: #fff;
    font-size:4.75rem;
}

h2 {
    font-family: eb-garamond;
    font-weight: 500;
    font-size: 2.25rem
}

h3 {
    font-family: eb-garamond;
    font-weight:500;
    font-style: italic;
    color: #7D5E34;
}

p, ul {  font-size:16px;
    font-family: proxima-nova;
}

ul li {
    list-style: none;
    position: relative;
    line-height: 1.5;
}

/* custom bullet, centered on the first line of the item */
ul li::before {
    content: "";
    position: absolute;
    left: -30px;
    top: calc(0.75em - 10px);
    width: 20px;
    height: 20px;
    background: url(https://touchmark.com/wp-content/uploads/Bullet.svg) no-repeat center / contain;
}

#hero {
    background-image: url(../images/TM-Lifestyle-1-6033-web.jpg);
    background-size:cover;
    height:100vh;
    padding: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

#intro {
    position: relative;
    overflow: hidden;
    padding: 7rem 0;
    background-color: #F7F7F6;
}

/* Full-Life flower, recolored to #F0EFEC via mask */
#intro::before {
    content: "";
    position: absolute;
    top: 50%;
    right: -10%;
    width: min(60vw, 700px);
    aspect-ratio: 1;
    transform: translateY(-50%);
    background-color: #F0EFEC;
    -webkit-mask: url(../images/Full-Life-Flower.png) no-repeat center / contain;
    mask: url(../images/Full-Life-Flower.png) no-repeat center / contain;
    pointer-events: none;
}

#intro > .container {
    position: relative;
}

.benefits-stripe {
    background-color: #fff;
    padding: 4rem 1rem 2rem 1rem;
}

.card {
    position: relative;
    overflow: hidden;
    height: 100%;
    background-color: #F7F7F6;
}

.mobile {
    padding: 0 0 2rem 0;
}

.mobile h1 {
    font-size: 3rem;
    color: #006341;
}

/* Full-Life flower, recolored to #F0EFEC via mask */
.card::before {
    content: "";
    position: absolute;
    bottom: -15%;
    right: -20%;
    width: 80%;
    aspect-ratio: 1;
    background-color: #F0EFEC;
    -webkit-mask: url(../images/Full-Life-Flower.png) no-repeat center / contain;
    mask: url(../images/Full-Life-Flower.png) no-repeat center / contain;
    pointer-events: none;
}

.card > * {
    position: relative;
}

#build-career {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#build-career .btn {
    align-self: flex-start; /* size to the text instead of stretching across the column */
    background-color: #006341;
    color: #fff;
    padding: 10px 20px;
    font-family: proxima-nova;
    font-weight: 600;
}

#build-career-photo {
    position: relative;
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.build-career-section {
    margin-bottom: 2rem;
}

/* Gold frame: left edge tucked behind the photo, runs off the page to the right */
#build-career-photo::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    right: -100vw;
    border: 2px solid #7D5E34;
    border-right: none;
    pointer-events: none;
}

#build-career-photo img {
    position: relative;
}

/* Must stay above the max-width: 991.98px block so the mobile value can override it */
.container:has(> #fine-print) {
    padding-bottom: 6rem;
}

/* Mobile-only content: hidden from Bootstrap's lg breakpoint (992px) up */
@media (min-width: 992px) {
    .mobile {
        display: none;
    }
}

@media (max-width: 991.98px) {
    #build-career-photo {
        display: none;
    }

    .row > :has(> .card) {
        padding-bottom: 1.5rem;
    }

    .container:has(> #fine-print) {
        padding-bottom: 2rem;
    }

    .title {
        display: none;
    }

    #hero {
        height: 50vh;;
    } 

    #intro {
        padding: 2rem;
    }

    .footerLogo {
        display: block !important;
    }
}

/* Hero logo: hidden below Bootstrap's lg breakpoint (992px) */
@media (max-width: 991.98px) {
    #hero img {
        display: none;
    }
}

/* ---------- Footer ---------- */

footer {
    background-color: #006341;
    padding: 2.5rem ;
}

footer .logo {
    padding-right: 2.5rem;
}

footer p {
    font-family: eb-garamond;
    font-size: 2rem;
    color: #fff;
}

.footerLogo {
    display: flex;
    align-items: center;
}

/* drop default margins so the text and logo center on the same line */
.footerLogo p {
    margin: 0;
}

.footerLogo img {
    display: block;
}

/* ---------- Tables ---------- */

/* equal-width columns that fill the card */
.card-body table {
    width: 100%;
    table-layout: fixed;
    margin: 0.5rem 0 1rem;
    border-collapse: collapse;
    border: 1px solid #000;
}

.card-body th,
.card-body td {
    border: 1px solid #000;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

.card-body thead {
    background-color: #006341;
    color: #fff;
}
