:root{
    --onyx:#2B2A28;
    --graphite:#5F5B58;
    --graphitewash:#5f5b5818;
    --ashwood:#BCB7B3;
    --ashwoodwash:#e4e2e0;
    --teal:#2C9199;
    --tealwash:#72c2c8;
}
/* =================================Fonts========================== */
@font-face {
  font-family: "Gotham";
  src: url("assets/Fonts/Gotham/Gotham-Thin.otf") format("opentype");
  font-weight: 100;
  font-style: normal;
}
@font-face {
  font-family: "Gotham";
  src: url("assets/Fonts/Gotham/Gotham-Light.otf") format("opentype");
  font-weight: 300;
  font-style: normal;
}
@font-face {
  font-family: "Gotham";
  src: url("assets/Fonts/Gotham/Gotham-Book.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: "Gotham";
  src: url("assets/Fonts/Gotham/Gotham-Medium.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
}
@font-face {
  font-family: "Gotham";
  src: url("assets/Fonts/Gotham/Gotham-Bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
}
@font-face {
  font-family: "Gotham";
  src: url("assets/Fonts/Gotham/Gotham-Black.otf") format("opentype");
  font-weight: 900;
  font-style: normal;
}


@font-face {
  font-family: "LibreBaskerville";
  src: url("assets/Fonts/LibreBaskerville/LibreBaskerville-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: "LibreBaskerville";
  src: url("assets/Fonts/LibreBaskerville/LibreBaskerville-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
}
@font-face {
  font-family: "LibreBaskerville";
  src: url("assets/Fonts/LibreBaskerville/LibreBaskerville-Italic.ttf") format("truetype");
  font-weight: 400;   /* ← important fix */
  font-style: italic;
}
/* ======================================================= */
body{
    display: flex;
    align-items: center;
}
#ServexContainer{
    position: relative;
    top: 12vh;
    width: 72vw;
    height: 74vh;
    margin: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: rgba(50, 50, 105, 0.15) 0px 2px 5px 0px, rgba(0, 0, 0, 0.05) 0px 1px 1px 0px;
    /* box-shadow: rgba(0, 0, 0, 0.08) 0px 4px 12px; */
    /* box-shadow: rgba(0, 0, 0, 0.1) -4px 9px 25px -6px; */
}
#bodyContainer{
    display: flex;
    flex-direction: row;
    width: 100%;
    height: 86%;
}
#canvasContainer{
    position: relative;
    left: 0%;
    width: 60%;
    height: 100%;
}
.corner {
    position: absolute;
    top: 0;
    left: 0;
    width: 40px;              
    height: 40px;             
    border-top: 2px solid var(--graphite);    
    border-left: 2px solid var(--graphite);  
}
#clearCanvas {
    width: 100%;
    height: 100%;
}
#clearCanvas:focus{
    outline: none;
}
#featureContainer {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: start;
    top: 0%;
    right: 0%;
    width: 40%;
    height: 100%;
    background: #FFFFFF;
    border-radius: 6px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.04);
}

.header-bar {
    width: 100%;
    position: relative;
    background-color: var(--ashwoodwash); 
    /* height: 90px; */
    height: 14%;
    display: flex;
    align-items: center;
    z-index: 1;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    font-family: "Gotham";
}
.header-bar::before{
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;

    background: linear-gradient(
        to left,
        rgba(255,255,255,0.95) 0%,
        rgba(255,255,255,0.0) 70%
    );

    mask-image: url("assets/invpattern.png");
    mask-repeat: no-repeat;
    mask-position: right 54%;
    mask-size: 90%;
    mask-mode: luminance;
}
.header-accent {
    position: absolute;
    left: 0;
    top: 0;
    width: 12px;
    height: 100%;
    background-color: var(--onyx); 
}
.header-bar-inner {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.header-left {
    display: flex;
    align-items: baseline;
    gap: 16px;
}
.header-name {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 4px;
    color: var(--onyx); 
    position: relative;
}
.header-name::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 60%;
    height: 3px;
    background-color: var(--teal); 
}
.divider {
    color: var(--graphite); 
    font-weight: 300;
}
.header-sub {
    font-size: 16px;
    color: var(--graphite); 
    letter-spacing: 1px;
}
.header-right{
    height: 100%;
    position: absolute;
    right: 0%;
    top: 59%;
}
.header-right img {
    height: 81%;
    opacity: 0.9;
}
#optionsCol {
    height: 68%;
    position: relative;
}
#optionsMenu{
    height: 100%;
}
#intro{
    width: 100%;
    text-align: left;
    color: var(--graphite);
    font-weight: 300;
    font-size: 1em;
    padding: 3% 30px;
    line-height: 1;
    margin-top: 1.5%;
    font-family: "Gotham";
}
#clearAccordion {
    width: 100%;
    height: 100%;
    margin-bottom: 5%;
    scroll-snap-type: y mandatory;
    font-family: "Gotham";
    overflow-y: auto;
}
#clearAccordion > .card:last-child > .collapse.show{
    scroll-snap-align: start;
}
/* -----------feature------------ */
.btn-link {
    width: 100%;
    text-align: left;
    color: var(--onyx);
    font-weight: 500;
    font-size: 1.2em;
    padding: 1.5% 30px;
    line-height: 2.5;
}
.btn-link:hover {
    color: var(--teal);
    text-decoration: none;
}
/* ==================== */
.card {
    background: white;
    min-height: 70px;
    border: 0;
    /* border-bottom: 1px solid rgba(0, 0, 0, .125); */
    border-bottom: 1px solid rgba(0,0,0,0.09);
    color: var(--graphite);
    overflow: inherit;
    transition: all 0.2s ease;
}
.card-body {
    padding: 0px 5%;
    padding-bottom: 8px;
}
.accordion > .card {
    overflow: inherit;
}

.list-group {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    padding-left: 0;
    margin-bottom: 0;
    width: 100%;
    text-align: left;
}

.list-group-item {
    position: relative;
    display: inline-flex;
    padding: .75rem 1.25rem;
    background-color: #fff;
    border: none;
    text-align: left;
    color: var(--graphite);
}
.list-group-item:active {
    top: 3px;
    box-shadow: none;
}
.list-group-item.active {
    z-index: 2;
    color: var(--teal);
    background-color: #fff;
    border: none;
    font-weight: 500;
}

.list-group-item:hover {
    z-index: 1;
    color: white;
    text-decoration: none;
    background-color: var(--teal);
    font-weight: 500;
    transform: scale(1.01);
    border: none;
}

.optionNameTag {
    margin: 0;
    width: 65%;
    font-weight: 400;
}
.optionPriceTag {
    margin: 0;
    width: 30%;
    border-left: 1px solid black;
    padding-left: 4%;
    font-weight: 400;
}
div.text{
    font-size: small;
}
.material-item {
    width: 19%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0.5% 0.5%;
    border-radius: 5px;
    color: var(--graphite);
    font-family: "Gotham";
}
.material-item.active{
    color: var(--teal);
    border-bottom:2px solid var(--tealwash);
}
.material-item img, .material-item div.fade-img {
    vertical-align: middle;
    border-style: none;
    width: 70%;
    height: 50%;
    min-height: 55px;
    border-radius: 10px;
    margin-bottom: 5px;
    cursor: pointer;
}
.material-item:hover{
    color: #fff;
    background-color: var(--teal);
}

#utilitiesRow{
    display: flex;
    justify-content: start;
    align-items: center;
    height: 16%;
    position: absolute;
    bottom: 0%;
    font-family: "Gotham";
}
#utilitiesRow::before{
    content: "";
    position: absolute;
    inset: 0;
    background-image: url('assets/background.JPG');
    background-size: 101%;
    background-position:right 50%;   
    background-repeat: no-repeat;
}
#buttonsRow{
    width: 100%;
    height: 100%;
}
.buttonsCol{
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.utilitiesButton{
    height: 50%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    background-color: var(--tealwash);
    border-radius: 3px;
    color: #fff;
    font-weight: 500;
    border: none;
    cursor: pointer;
}
.utilitiesButton:hover{
    background-color: #ffffffde;
    color: var(--tealwash);
    outline: 2px solid var(--tealwash)
}
.utilitiesButton div{
    margin: 10px 6px;
}
.buttonText{
    font-size: medium;
}