@font-face {
    font-family: BebasNeue-Regular;
    src: url('BebasNeue-Regular.ttf')
}

@font-face {
    font-family: Inter;
    src: url('Inter-VariableFont_opsz,wght.ttf')
}

/*body fonts*/
@font-face {
    font-family: poppinsBold;
    src: url('Poppins-Bold.ttf')
}

@font-face {
    font-family: poppinsLite;
    src: url('Poppins-Light.ttf')
}

@font-face {
    font-family: poppinsMed;
    src: url('Poppins-Medium.ttf')
}

@font-face {
    font-family: poppins;
    src: url('Poppins-Regular.ttf')
}

@font-face {
    font-family: poppinsSemiBold;
    src: url('Poppins-SemiBold.ttf')
}

@font-face {
    font-family: Montserrat;
    src: url('Montserrat-VariableFont_wght.ttf')
}

/*heading font*/
@font-face {
    font-family: Jost;
    src: url('Jost-VariableFont_wght.ttf')
}

@font-face {
    font-family: Lexend;
    src: url('Lexend-VariableFont_wght.ttf')
}

@font-face {
    font-family: Saira;
    src: url('Saira-VariableFont_wdth,wght.ttf')
}

@font-face {
    font-family: SigmarOne;
    src: url('SigmarOne-Regular.ttf')
}

@font-face {
    font-family: TitanOne;
    src: url('TitanOne-Regular.ttf')
}


/*:root { --base-color: #333333; }*/
:root {
    --base-color: #9aa098;
    --accent-color: #b0b9b4;
    --passion-color: rgb(106 35 35);
    --passion-color-adj: rgb(122 41 41);
    --passion-accent-color: rgb(10 97 95);
    --color-visited: rgb(17 17 17 / 50%);
    --ui-color: rgb(122 138 117);
    --ui-visited-color: rgb(97 116 91);
    --ui-hover-color: hsl(106 18% 50%);
}


/*body {background-color: #333333; }/*font-family: BebasNeue-Regular, sans-serif; src: url('BebasNeue-Regular.ttf');}*/
body {
    background-color: var(--base-color)
}

/*font-family: BebasNeue-Regular, sans-serif; src: url('BebasNeue-Regular.ttf');}*/
body {
    padding: 0px;
    margin: 0px;
}

img {
    width: 100%;
    display: block;
}

/*header {background: linear-gradient(#443344, #333333);}*/
header {
    background: linear-gradient(to right, var(--accent-color) 1%, var(--accent-color) 15%, var(--base-color) 100%);
    display: grid;
    grid-template-columns: auto 1fr;
    min-height: 8rem;
}

.pay-off {
    display: grid;
    font-family: 'BebasNeue-Regular';
    font-size: 7rem;
    color: var(--passion-color);
    margin: 0;
    line-height: 1;
    max-width: 40rem;
    margin: 0 auto;
    margin-block: 2rem;
}

.pay-off_main {
    grid-column: 1;
}

.pay-off_detail {
    grid-column: 2;
    font-size: 1.85rem;
    align-self: center;
    padding-left: 1rem;
    color: var(--passion-accent-color);
    width: 5rem;
}

.top-logo span {
    font-family: SigmarOne;
    line-height: 1;
    font-size: 1.75rem;
}

.top-logo {
    padding-inline-start: 2rem;
    padding-block-start: .666rem;
}


.word-mark span {
    display: block;
}

/*.word-mark { padding-inline-start: 1rem; }*/
/*.top-logo a {text-decoration: none; color: #111111;}*/
.top-logo a {
    text-decoration: none;

    color: var(--passion-color-adj);
    display: block;
    padding-block-start: .5rem;
}


.link-bar {
    font-family: Lexend;
    font-weight: bold;
    margin-inline: 2rem;
    padding-top: 1rem;
    text-align: center;
}


.link-bar a {
    font-size: 1rem;
}

.link-bar a {
    text-decoration: none;
}

.link-bar a {
    font-weight: bold;
    padding-left: 2rem;
    color: #111111
}

.link-bar p {
    font-weight: bold;
    padding-left: 2rem;
}

.link-bar a:hover {
    font-weight: bold;
    padding-left: 2rem;
    color: #222222
}


/*-----------moves stuff right of sidebar----------*/

/*.content {display: grid; width: 100%; grid-template-columns: auto 1fr; img {width: 100%}}*/
/*.content {display: flex; justify-content: center; }*/
/*.content {display: flex; justify-content: center; align-items:center }/* centers button island */
/*.content {display: inline-grid; justify-content: center; align-items:center;}/* centers button island */



/*-----------Top Bar Alignment----------*/
.top-nav {
    display: flex;
    justify-content: center;
}

.top-nav ol li {
    list-style-type: none;
    margin-inline: 2rem;
    display: inline-block;
}

/*.top-nav a { color:#111111; font-family: BebasNeue-Regular; src: url('BebasNeue-Regular.ttf'); font-size: 16px; text-decoration: none; font-weight: bold;} worked but is there extra?*/
/*.top-nav a { color:#111111; font-family: BebasNeue-Regular; font-size: 16px; text-decoration: none; font-weight: bold; font-size: 24px;}*/
.top-nav a {
    color: #111111;
    font-family: Lexend;
    font-size: 16px;
    text-decoration: none;
    font-weight: bold;
    font-size: 24px;
}

/*.top-nav a:hover { color:#222222; font-family: "Helvetica Neue"; font-size: 16px; font-weight: bold; text-decoration: underline;}*/
.top-nav a:hover {
    color: #222222;
    font-family: Inter;
    font-size: 16px;
    font-weight: bold;
    text-decoration: underline;
    font-size: 22px;
}


/*-----------Side bar spacing and layout----------*/
.sub-nav ol li {
    list-style-type: none;
    margin-block: 10px;
}

/*.sub-nav {margin-inline-start: -45px;background-color: #443344;
position: relative; animation: slideOut; animation-duration: 1s; animation-iteration-count: 1;}*/




/*-----------Side bar fonts and links----------*/

.sub-nav p {
    color: #222222;
    font-family: Inter;
    font-size: 16px;
    font-weight: bold;
    text-decoration: underline;
}



.buttonIsland {
    display: grid;
    grid-template-columns: 1fr 3fr 1fr;
    background-color: var(--accent-color);
    margin-inline: 5rem;
    justify-content: center;
    align-items: center
}

.sub-nav {
    display: flex;
    justify-content: center;
    align-items: center
}

/* centers button island */
.leftNav {
    grid-column: 1;
    grid-row: 1;
}

.rightNav {
    grid-column: 3;
    grid-row: 1;
}

.centerPic {
    grid-column: 2;
    grid-row: 1;
}



.buttonIsland ol {
    padding: 0px;
}

.buttonIsland a {
    display: block;
    width: 20rem;
    color: #111111;
    font-family: Saira;
    font-size: 1.75rem;
    font-weight: bold;
    text-decoration: none;
    padding: .5rem;
    background-color: var(--ui-color);
    text-align: center;

}


.buttonIsland a:visited {

    background-color: var(--ui-visited-color);
    color: var(--color-visited);
}

.buttonIsland a:hover {

    background-color: var(--ui-hover-color);
}


.feature {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    font-family: poppins;
    padding-block: 2rem;
    margin-inline: 5rem;
}

.feature h1 {
    font-family: Lexend;
}

article {
    padding-left: 2rem;
    padding-right: 2rem;
}

/*.desc {background:#555555; padding:50px; width:600px;}*/
/*.role {background:#555555; padding:50px; width:600px;}*/

.blurb {
    background: var(--accent-color);
    padding: 2rem 4rem;
    ;
}

.roles {
    background: var(--accent-color);
    padding: 2rem 4rem;
}

.role ol {
    background: #555555
}


footer {
    display: flex;
    justify-content: center;
}

@media (width <=1300px) {
    .buttonIsland {
        grid-template-columns: 1fr auto;
        grid-template-rows: auto auto;
    }

    .centerPic {
        grid-column: 1;
        grid-row: 1 / span 2;

    }

    .leftNav {
        grid-column: 2;
        grid-row: 1;
    }

    .rightNav {
        grid-column: 2;
        grid-row: 2
    }

    .feature {
        display: grid;
        grid-template-columns: 1fr;
    }

}

@media (width <=1000px) {
    .buttonIsland {
        grid-template-columns: 1fr;
    }

    .centerPic {
        grid-column: 1;
        grid-row: 1;

    }

    .leftNav {
        grid-column: 1;
        grid-row: 2;
        text-align: center
    }

    .rightNav {
        grid-column: 1;
        grid-row: 3;
        text-align: center;
    }

    .buttonIsland ol {
        padding: 0px;
        display: inline-block;
    }

    .feature {
        display: grid;
        grid-template-columns: 1fr;
    }
}

@media (width <=885px) {
    .pay-off {
        font-size: 13vw;
    }
}
@media (width <=660px) {

    .buttonIsland {
        grid-template-columns: 1fr;
    }

    .centerPic {
        grid-column: 1;
        grid-row: 1;

    }

    .leftNav {
        grid-column: 1;
        grid-row: 2;
    }

    .rightNav {
        grid-column: 1;
        grid-row: 3
    }

    .feature {
        display: grid;
        grid-template-columns: 1fr;
        margin-inline: 0;
    }

    .pay-off {
        margin-inline: 3rem;
    }

    .e-mail-txt {
        display: inline-block;
        max-width: 10rem;
        overflow: hidden;
        text-overflow: ellipsis;
        position: relative;

        &::after {
            content: '@';
            display: inline-block;
            position: absolute;
            right: 0;
            top: 0;
        }
    }

}

@media (width <=442px) {

    .e-mail-txt {
        display: none;
    }
}
