/*----------Spacing, Typography and Images----------*/
html, body {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden; /* Stops global browser window bouncing/scrolling */
}
/*For debugging
body {
  outline: 2px solid red;
}
.page-content {
  outline: 10px solid rgb(51, 255, 0);

}*/

/*Font*/
body {
  font-family: "Times New Roman", Times, serif;
}

/*Color scheme*/
:root {
  /*--textpanels-color: rgba(51, 51, 51, 0.85); Original*/
  --textpanels-color: rgba(42, 42, 42, 0.85);
  --bgdefault-color: #0d0d0d;
  --text-color:white;
}
/*Background fade in speed*/
:root {
  --fadein-speed: 0.25s;
}

/* desktop */
:root {  
  --space: 40px;
  --padding: 18px;

  --font-h1: 48px;
  --font-h2: 36px;
  --font-h3: 28px;

  --font-nav:22px;
  --font-body: 18px;
  --font-small: 15px;

  --line-height-tight: 1.15;
  --line-height-body: 1.55;
}
/* tablet */
@media (max-width: 900px)  {
  :root {
    /*--space: 32px;*/
    --space: 40px;
    --padding: 17px;

    --font-h1: 40px;
    --font-h2: 32px;
    --font-h3: 26px;

    --font-nav:21px;
    --font-body: 17px;
    --font-small: 15px;

    --line-height-tight: 1.2;
    --line-height-body: 1.55;
  }
}
/*mobile*/
@media (max-width: 600px)  {
  :root {
    /*--space: 24px;*/
    --space: 32px;
    --padding: 16px;

    --font-h1: 32px;
    --font-h2: 26px;
    --font-h3: 22px;

    --font-nav:20px;
    --font-body: 16px;
    --font-small: 14px;

    --line-height-tight: 1.25;
    --line-height-body: 1.6;
  }
}
/*micromobile*/
@media (max-width: 400px)  {
  :root {
    /*--space: 16px;*/
    --space: 24px;
    --padding: 15px;

    --font-h1: 28px;
    --font-h2: 24px;
    --font-h3: 20px;

    --font-nav:20px;
    --font-body: 15px;
    --font-small: 13px;

    --line-height-tight: 1.3;
    --line-height-body: 1.6;
  }
}
/*Apply fonts*/
h1 {
  font-size: var(--font-h1);
  line-height: var(--line-height-tight);
}
h2 {
  font-size: var(--font-h2);
  line-height: var(--line-height-tight);
}
p, li {
  font-size: var(--font-body);
  line-height: var(--line-height-body);
}
small {
  font-size: var(--font-small);
}
a {
  font-size: var(--font-nav);
  line-height: var(--line-height-tight)
}
h1, h2, h3, h4, h5, h6 {
  margin-top: 0;
  margin-bottom: 8px;
}
/*Background Image*/
:root{
--bg-image: url('../images/roman1.jpg');
--bg-welcome: url('../images/ren2.jpg');
--bg-bikes: url('../images/roman1.jpg');
--bg-salesforce: url('../images/ren3.jpg');
--bg-aipowered: url('../images/ren7.jpg');
--bg-howitworks: url('../images/ren4.jpg');
--bg-aboutme: url('../images/train.jpg');
}

/*----------Universal Settings----------*/
body {
  margin: 0;
  padding: 0;
}

img {
  max-width: 100%;
  height: auto;
}

/*Link Settings*/

a {
  color:var(--text-color); 
  text-decoration: none; /*removes underline */
  transition: text-shadow .25s ease-in;
  transition: text-shadow .4s ease-out;
}
a:hover {
  text-shadow:
  0 0 6px rgba(255, 255, 255, .30),
  0 0 20px rgba(19, 75, 143, 1),
  0 0 35px rgba(19, 75, 143, 1),
  0 0 50px rgba(19, 75, 143, .75);
}

/*Opacity Switch*/
body.bg-loaded::before {
  opacity: 1;
}

/*----------Full Page Classes----------*/
.welcome-page {
  background-color: var(--bgdefault-color);
  --bg-image: var(--bg-welcome); /*default background image*/
  z-index: 0;
  min-height: 100vh;
  min-height: 100dvh;
  padding-top: var(--space);
  width: 100%;
  overflow-y: hidden;
}

.bikes {
  background-color: var(--bgdefault-color);
  --bg-image: var(--bg-bikes); /*default background image*/
  z-index: 0;
  min-height: 100vh;
  min-height: 100dvh;
  padding-top: var(--space);
  width: 100%;
  overflow-y: hidden;
}


.salesforce-page {
  background-color: var(--bgdefault-color);
  --bg-image: var(--bg-salesforce); /*default background image*/
  z-index: 0;
  min-height: 100vh;
  min-height: 100dvh;
  padding-top: var(--space);
  width: 100%;
  overflow-y: hidden;
  position: relative;
  z-index: 99;
}

.aipowered-page {
  background-color: var(--bgdefault-color);
  --bg-image: var(--bg-aipowered); /*default background image*/
  z-index: 0;
  min-height: 100vh;
  min-height: 100dvh;
  padding-top: var(--space);
  width: 100%;
  overflow-y: hidden;
}

.about-me {
  background-color: var(--bgdefault-color);
  --bg-image: var(--bg-aboutme); /*default background image*/
  z-index: 0;
  min-height: 100vh;
  min-height: 100dvh;
  padding-top: var(--space);
  width: 100%;
  overflow-y: hidden;
}

.page-content {
  display: flex;
  flex-direction: column;
  justify-content: top;  
  /*height set by javascript*/
  padding-top: var(--space);
  padding-bottom: var(--space);
  box-sizing: border-box;
  padding-left: var(--space);
  padding-right: var(--space);
  overflow: hidden;
}
@media (max-width: 700px) {
  .page-content {
    padding-top: var(--space);
    padding-bottom: var(--space); 
    margin: 0px auto; /* center */
    align-items: flex-start;
    flex-direction: row;
  }
}

/*----------ToolBar Classes----------*/
/*Both desktop and mobile*/
nav {
  width: 100%;
   z-index: 100; 
   position: relative;
}

/*Desktop toolbar*/
.nav-links {
  list-style-type: none;
  box-sizing: border-box;
  display: flex;
  gap: 24px;
  margin: 0;
  padding: 0;
  background-color: var(--textpanels-color);
  /*background-color: rgba(51, 51, 51, 0.75);*/
  backdrop-filter: blur(2px);
  box-shadow:
  0 4px 18px rgba(0, 0, 0, 0.35),
  0 0 12px rgba(255, 255, 255, 0.06);
  width: 100%;
}

.nav-links li a {
  display: block;
  color: var(--text-color);
  text-align: center;
  padding: var(--padding) var(--padding);
  text-decoration: none;
}

/* Salesforce RevOps Dropdown Menu */
.dropdown-menu {
  display: none; /* hide links by default */
    position: absolute;
    margin: 3px;
    box-sizing: border-box;
    flex-direction: column;
    list-style: none;
    /*margin-left:.25vw;*/
    /*gap: 12px;*/
    background-color: rgba(40, 70, 110, .85);
    /*
    outline-color: rgba(51, 51, 51, 1);
    outline-width: .25vw;
    outline-style: solid;*/
    outline-color: rgba(40, 70, 110, .85);
    outline-width: .25vw;
    outline-style: solid;
    max-width: 60vw;
    z-index: 101;
    backdrop-filter: blur(2px);
    padding: 0px 0px 0px 0px;
}
@media (max-width: 700px)
{
  .dropdown-menu {
    top: 50%;         
    position:relative;
    width:100%;
    /*max-width: 60vw;*/
    background-color: rgba(135, 45, 55, .85);
    outline-width: 0;
    outline-style: none;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    top: 0;
    gap: 0px;
    margin: 0px;
  }
}
/* JavaScript class toggle */
.dropdown-menu.show {
  display: block; 
}
/* 
.dropdown-menu a {
  color:var(--text-color); 
  text-decoration: none; 
  transition: text-shadow .25s ease-in;
  transition: text-shadow .4s ease-out;
}
.dropdown-menu a:hover {
  text-shadow:
  0 0 6px rgba(255, 255, 255, .30),
  0 0 20px rgba(19, 75, 143, 1),
  0 0 35px rgba(19, 75, 143, 1),
  0 0 50px rgba(19, 75, 143, .75);
}*/

/*Mobile Menu*/
/*Mobile Menu Container*/
.nav-header {
  width:100%;
  align-items: center;
  padding: 14px 2.8vw;
  display: none; /*Hidden by default (desktop)*/
  background-color: var(--textpanels-color);
  backdrop-filter: blur(2px);
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.1),
  0 0 6px rgba(0, 0, 0, 0.8);
}
/*Menu Header*/
.nav-title {
  color: white;
  font-weight: bold;
  font: 80px;
}
/*Hamburger Button*/
.nav-toggle {
  background: none;
  border: none;
  color: var(--text-color);
  cursor: pointer;
}

/*Mobile Switch*/
@media (max-width: 700px) {

  .nav-header {
    display: flex; /* show hamburger */
  }

  .nav-links {
    display: none; /* hide links by default */
    position: absolute;
    flex-direction: column;
    /*margin-left:.25vw;*/
    /*gap: 12px;*/
    background-color: rgba(40, 70, 110, .85);
    /*
    outline-color: rgba(51, 51, 51, 1);
    outline-width: .25vw;
    outline-style: solid;*/
    /*outline-color: rgba(40, 70, 110, .85);
    outline-width: .25vw;
    outline-style: solid;*/
    max-width: 60vw;
    z-index: 10;
    backdrop-filter: blur(2px);
    /*box-shadow:
  0 4px 18px rgba(0, 0, 0, 0.35),
  0 0 12px rgba(255, 255, 255, 0.06);*/
  }
  .nav-links.show {
    display: flex; /* show when toggled */
  }
}

/*----------Page Specific Classes----------*/

/*Welcome Page*/
.welcome-page::before {
  background-color: var(--bgdefault-color);
  opacity: 0;
  transition: opacity var(--fadein-speed) ease-in;
  content: "";
  position: fixed;
  inset: 0;
  background:
    var(--bg-image) center/cover no-repeat fixed;
  z-index: -1;
}

.welcome-text-box {
  display: flex;
  background-color: var(--textpanels-color);
  padding: var(--padding);
  border-radius: 8px;
  color: var(--text-color);
  max-width: 525px;
  text-align: left;
  line-height: 1.25;
  backdrop-filter: blur(1px);
  flex-direction: column;
  overflow-y:auto;
  flex: 1 1 0;
  box-shadow:
  0 4px 18px rgba(0, 0, 0, 0.35),
  0 0 12px rgba(255, 255, 255, 0.06);
}
.welcome-text-box h1 {
margin-top: 0;
}

/*-----ML Predictions Page-----*/
.bikes::before {
  background-color: var(--bgdefault-color);;
  opacity: 0;
  transition: opacity var(--fadein-speed) ease-in;
  content: "";
  overflow: hidden;
  position: fixed;
  inset: 0;
  background:
    var(--bg-image)  center/cover no-repeat;
  z-index: -1;
}

.bike-layout {
  display: flex;
  gap: var(--space); /* space between left and right columns */
  overflow: hidden;
  height: 100%;
  max-width: 100%;
}

.bike-toc {
  width: 25%;
  display: flex;
  overflow-y: auto;
  flex-direction: column;
  background-color: var(--textpanels-color);
  padding: var(--padding);
  border-radius: 8px;
  color: var(--text-color);
  /*max-width: 900px;*/
  text-align: left;
  line-height: 1.25;
  backdrop-filter: blur(2px);
  box-shadow:
  0 4px 18px rgba(0, 0, 0, 0.35),
  0 0 12px rgba(255, 255, 255, 0.06);
}
@media (max-width: 700px) {
  .bike-toc {
    display: none;
    width: 0;        
    padding: 0;
  }
}
/*Indents subsection in table of contents*/
.subsection {
    display: block;
    margin-left: 20px;     
    margin-top: 4px;       
}

.bike-content {
  scroll-padding-top: 80px;
  width: 65%;
  overflow-y: auto;
  background-color: var(--textpanels-color);
  padding: var(--padding) var(--padding);
  border-radius: 8px;
  color: var(--text-color);
  height:100%;
  text-align: left;
  backdrop-filter: blur(2px);
  box-shadow:
  0 4px 18px rgba(0, 0, 0, 0.35),
  0 0 12px rgba(255, 255, 255, 0.06);

}
@media (max-width: 700px) {
  .bike-content {
    width: 100%;       
  }
}

/*-----AI Powered Marketing-----*/
.aipowered-page::before {
  background-color: var(--bgdefault-color);;
  opacity: 0;
  transition: opacity var(--fadein-speed) ease-in;
  content: "";
  position: fixed;
  inset: 0;
  background:
  /*linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)),*/
    var(--bg-image) center/cover no-repeat fixed;
  z-index: -1;
}
body.bg-loaded::before {
  opacity: 1;
}

.aipowered-layout {
  display: flex;
  gap: var(--space); /* space between left and right columns */
  overflow: hidden;
  height: 100%;
  max-width: 100%;
  
}
@media (max-width: 700px) {
  .aipowered-layout {
    flex-direction: column-reverse;
    overflow: auto;       
  }
}

.aipowered-toc {
  width: 25%;
  display: flex;
  flex-direction: column;
  height: 100%;
  /*background-color: rgba(40, 70, 110, .85);*/
  /*background-color: rgba(0, 132, 102,.85);*/
  background-color: rgba(0, 110, 85,.85);
  /*background-color: rgba(0, 168, 120,.85);*/
  padding: var(--padding);
  border-radius: 8px;
  color: var(--text-color);
  /*max-width: 900px;*/
  text-align: left;
  line-height: 1.25;
  backdrop-filter: blur(2px);
  box-shadow:
  0 4px 18px rgba(0, 0, 0, 0.35),
  0 0 12px rgba(255, 255, 255, 0.06);
}
@media (max-width: 700px) {
  .aipowered-toc {
    width: 100%;
    box-sizing: border-box;
    min-height: 0px;
    flex: 1 1 0%;          
  }
}

#chat_output_a {
    /*flex: 1 1 0%;*/
    flex: 0 0 48%;
    border: 3px solid rgba(255,255,255,0.3);
    overflow-y: auto;
    font-family: "IBM Plex Mono", monospace;
    padding: 3px;
    border-radius: 6px;
}
@media (max-width: 700px) {
  #chat_output_a {
    flex: 0 0 58%;        
  }
}

#chat_output_b {
    /*flex: 1 1 0%;*/
    flex: 0 0 20%;
    border: 3px solid rgba(255,255,255,0.3);
    overflow-y: auto;
    font-family: "IBM Plex Mono", monospace;
    padding: 3px 0px 0px 0px;
    border-radius: 6px;
}
@media (max-width: 700px) {
  #chat_output_b {
    display: None;        
  }
}


.chat-input-area {
  display: flex;
  position: relative;
  align-items: flex-end;
  gap: 0.5rem 0px;
  padding: 0.75rem 3px 3px 0px;
  /*border-top: 1px solid rgba(255,255,255,0.15);*/
  margin-top: auto;
  margin-bottom: auto;
}

.chat-text-area {
  flex: 1;
  min-height: 36px;
  max-height: 36px;
  padding: 3px 0px;
  border-radius: 8px;
  background: rgba(255,255,255,0.1);
  color: white;
  font-size: 12px;
  line-height: 12 px;
  font-size: 16px;
  overflow-y: auto;
}
@media (max-width: 700px) {
  .chat-text-area {
  min-height: 18px;
  max-height: 18px;        
  }
}

.chat-text-area:empty::before {
  content: attr(placeholder);
  color: rgba(255,255,255,0.5);
}

.chat-text-area:focus {
  outline: none;
  border: 1px solid rgba(200, 200, 200, .25);
}
#send_btn {
  position: absolute;
  right: 20px;
  padding: 3px 0px 3px 3px;
  border: none;
  border-radius: 8px;
  background: rgba(255,255,255,0);
  color: rgb(0, 0, 0);
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease;
  font-size: 18px;
}

.aipowered-content {
  scroll-padding-top: 80px;
  width: 65%;
  overflow-y: auto;
  background-color: var(--textpanels-color);
  padding: var(--padding) var(--padding);
  border-radius: 8px;
  color: var(--text-color);
  height:100%;
  text-align: left;
  backdrop-filter: blur(2px);
  box-shadow:
  0 4px 18px rgba(0, 0, 0, 0.35),
  0 0 12px rgba(255, 255, 255, 0.06);
}
@media (max-width: 700px) {
  .aipowered-content {
    width: 100%;
    overflow-x: none;
    box-sizing: border-box;
    min-height: 0px;
    flex: 1 1 0%;
    overflow: auto;         
  }
}

/*PDF Scroller*/
.pdf_scroller {
  display: flex;
  justify-content: center;
}

.download-btn {
  display: block;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

/*-----Chat_Plotly-----*/
.chat_plotly-page::before {
  background-color: var(--bgdefault-color);;
  opacity: 0;
  transition: opacity var(--fadein-speed) ease-in;
  content: "";
  position: fixed;
  inset: 0;
  background:
  /*linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)),*/
    var(--bg-image) center/cover no-repeat fixed;
  z-index: -1;
}
body.bg-loaded::before {
  opacity: 1;
}

.chat_plotly-layout {
  display: flex;
  gap: var(--space); /* space between left and right columns */
  overflow: hidden;
  height: 100%;
  max-width: 100%;
}
@media (max-width: 700px) {
  .chat_plotly-layout {
    flex-direction: column-reverse;
  }
}

.chat_plotly-toc {
  width: 25%;
  display: flex;
  flex-direction: column;
  height: 100%;
  /*background-color: rgba(40, 70, 110, .85);*/
  /*background-color: rgba(0, 132, 102,.85);*/
  background-color: rgba(0, 110, 85,.85);
  /*background-color: rgba(0, 168, 120,.85);*/
  padding: var(--padding);
  border-radius: 8px;
  color: var(--text-color);
  /*max-width: 900px;*/
  text-align: left;
  line-height: 1.25;
  backdrop-filter: blur(2px);
  box-shadow:
  0 4px 18px rgba(0, 0, 0, 0.35),
  0 0 12px rgba(255, 255, 255, 0.06);
}
@media (max-width: 700px) {
  .chat_plotly-toc {
    width: 100%;
    box-sizing: border-box;
    min-height: 0px;
    flex: 1 1 0%;        
  }
}

#sfchat_output_a {
    /*flex: 1 1 0%;*/
    flex: 0 0 48%;
    border: 3px solid rgba(255,255,255,0.3);
    overflow-y: auto;
    font-family: "IBM Plex Mono", monospace;
    padding: 3px;
    border-radius: 6px;
}
@media (max-width: 700px) {
  #sfchat_output_a {
    flex: 0 0 58%;        
  }
}

#sfchat_output_b {
    /*flex: 1 1 0%;*/
    flex: 0 0 20%;
    border: 3px solid rgba(255,255,255,0.3);
    overflow-y: auto;
    font-family: "IBM Plex Mono", monospace;
    padding: 3px 0px 0px 0px;
    border-radius: 6px;
}
@media (max-width: 700px) {
  #sfchat_output_b {
    display: None;        
  }
}

.sfchat-input-area {
  display: flex;
  position: relative;
  align-items: flex-end;
  gap: 0.5rem 0px;
  padding: 0.75rem 3px 3px 0px;
  /*border-top: 1px solid rgba(255,255,255,0.15);*/
  margin-top: auto;
  margin-bottom: auto;
}

.sfchat-text-area {
  flex: 1;
  min-height: 36px;
  max-height: 36px;
  padding: 3px 0px;
  border-radius: 8px;
  background: rgba(255,255,255,0.1);
  color: white;
  font-size: 12px;
  line-height: 12 px;
  font-size: 16px;
  overflow-y: auto;
}
@media (max-width: 700px) {
  .sfchat-text-area {
  min-height: 18px;
  max-height: 18px;        
  }
}

.sfchat-text-area:empty::before {
  content: attr(placeholder);
  color: rgba(255,255,255,0.5);
}

.sfchat-text-area:focus {
  outline: none;
  border: 1px solid rgba(200, 200, 200, .25);
}
#sfsend_btn {
  position: absolute;
  right: 20px;
  padding: 3px 0px 3px 3px;
  border: none;
  border-radius: 8px;
  background: rgba(255,255,255,0);
  color: rgb(0, 0, 0);
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease;
  font-size: 18px;
}

.chat_plotly-content {
  /*scroll-padding-top: 80px;*/
  width: 65%;
  overflow-y: auto;
  background-color: var(--textpanels-color);
  padding: var(--padding) var(--padding);
  border-radius: 8px;
  color: var(--text-color);
  height:100%;
  text-align: left;
  backdrop-filter: blur(2px);
  box-shadow:
  0 4px 18px rgba(0, 0, 0, 0.35),
  0 0 12px rgba(255, 255, 255, 0.06);
}
@media (max-width: 700px) {
  .chat_plotly-content {
    width: 100%;
    overflow-x: none;
    box-sizing: border-box;
    min-height: 0px;
    flex: 1 1 0%;
    overflow: auto;          
  }
}

/*-----Salesforce Rev Ops-----*/
.salesforce-page::before {
  background-color: var(--bgdefault-color);
  opacity: 0;
  transition: opacity var(--fadein-speed) ease-in;
  content: "";
  position: fixed;
  inset: 0;
  background: var(--bg-image) center/cover no-repeat fixed;
  z-index: -1;
}

.Salesforce-layout {
  display: flex;
  gap: var(--space); /* space between left and right columns */
  overflow: hidden;
  height: 100%;
  max-width: 100%;
}

.Salesforce-toc {
  width: 25%;
  display: flex;
  overflow-y: auto;
  flex-direction: column;
  background-color: var(--textpanels-color);
  padding: var(--padding);
  border-radius: 8px;
  color: var(--text-color);
  /*max-width: 900px;*/
  text-align: left;
  line-height: 1.25;
  backdrop-filter: blur(2px);
  box-shadow:
  0 4px 18px rgba(0, 0, 0, 0.35),
  0 0 12px rgba(255, 255, 255, 0.06);
}
@media (max-width: 700px) {
  .Salesforce-toc {
    display: none;
    width: 0;        
    padding: 0;
  }
}
/*Indents subsection in table of contents*/
.subsection {
    display: block;
    margin-left: 20px;     
    margin-top: 4px;       
}

.salesforce-content {
  scroll-padding-top: 80px;
  width: 65%;
  overflow-y: auto;
  background-color: var(--textpanels-color);
  padding: var(--padding) var(--padding);
  border-radius: 8px;
  color: var(--text-color);
  height:100%;
  text-align: left;
  backdrop-filter: blur(2px);
  box-shadow:
  0 4px 18px rgba(0, 0, 0, 0.35),
  0 0 12px rgba(255, 255, 255, 0.06);

}

@media (max-width: 700px) {
  .salesforce-content {
    width: 100%;       
  }
}

/*-----How It Works Page-----*/
.howitworks-page {
  background-color: var(--bgdefault-color);
  --bg-image: var(--bg-howitworks); /*default background image*/
  z-index: 0;
  padding-top: var(--space);
  width: 100dvw;
  overflow-y: hidden;
  box-sizing: border-box;
  position: relative; 
  min-height: 100vh;      
  min-height: 100dvh;     
  overflow: hidden;  
  box-sizing: border-box;
}

.howitworks-page::before {
  background-color: var(--bgdefault-color);
  opacity: 0;
  transition: opacity var(--fadein-speed) ease-in;
  content: "";
  position: absolute;
  inset: 0;
  background:
    var(--bg-image) center/cover no-repeat;
  z-index: -10;
}

.howitworks-text-box {
  display: flex;
  background-color: var(--textpanels-color);
  padding: var(--padding);
  border-radius: 8px;
  color: var(--text-color);
  max-width: 525px;
  text-align: left;
  line-height: 1.25;
  backdrop-filter: blur(1px);
  flex-direction: column;
  overflow-y:auto;
  flex: 1 1 0;
  max-height: 100%;
  box-shadow:
  0 4px 18px rgba(0, 0, 0, 0.35),
  0 0 12px rgba(255, 255, 255, 0.06);
}
/*
@media (max-width: 700px) {
  .howitworks-text-box {
    margin: var(--space) var(--space);
  }
}*/

.howitworks-text-box h1 {
margin-top: 0;
}
/*About Me Page*/
.about-me::before {
  background-color: var(--bgdefault-color);
  opacity: 0;
  transition: opacity var(--fadein-speed) ease-in;
  --bg-image: var(--bg-aboutme);
  content: "";
  position: fixed;
  inset: 0;
  background:
    var(--bg-image) center/cover no-repeat;
  z-index: -1;
}

.about-layout {
    display: flex;
    gap: var(--space);
    height: 100%;
    width: 100%;
    overflow:hidden;
}
@media (max-width: 700px) {
  .about-layout {
    flex-direction: column;
    overflow: auto;
  }
}

.about-text-box {
  background-color: var(--textpanels-color);
  padding: 24px;
  border-radius: 8px;
  color: var(--text-color);
  text-align: left;
  backdrop-filter: blur(2px);
  box-shadow:
  0 4px 18px rgba(0, 0, 0, 0.35),
  0 0 12px rgba(255, 255, 255, 0.06);
}
@media (max-width: 700px) {
  .about-text-box {
    overflow-y: auto;
  }
}
.about-image {  

    margin-top: auto;
    margin-bottom: auto;
    align-self: center;
}
.about-image img {  
    border-radius: 12px;  
    display: block;
    outline: 4px solid rgba(51, 51, 51, 0.85);
    outline-offset: -4px;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.6);
    margin-top: auto;
    margin-bottom: auto;
    align-self: center;
}
@media (max-width: 700px) {
  .about-image img {
  max-height: 35vh;
  max-height: 35dvh;
  width: auto;
  margin: 0 auto;
    }
}

.about-header {
  margin-top: 0;
  margin-bottom: 8px;
}

/*--------Plotly Dashboard------*/
 /* KPI tile layout */
#kpi-row {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}
@media (max-width: 700px) {
    #kpi-row {
        flex-direction: column; 
        gap: 3px;
        margin-top: 12px;               
    }
}

.kpi-tile {
    margin-top: 4px;
    flex: 1;
    padding: 12px 16px;
    border-radius: 8px;
    background: rgba(255,255,255,0.9);
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    font-family: system-ui, sans-serif;
}

.kpi-label {
    font-size: 12px;
    text-transform: uppercase;
    color: #666;
}

.kpi-value {
    font-size: 20px;
    font-weight: 600;
    margin-top: 4px;
}

.kpi-sub {
    font-size: 11px;
    color: #999;
    margin-top: 2px;
}

/* Chart Containers (one for each row) */
#charts-row,
#charts-row-2 {
    display: flex;
    margin-top: 4px;
    width: 100%;
    flex: 1 1 auto;
}
/* Charts by class (applies to each individually) */
/*first row*/
.chart-container {
    height: 350px;
}
/*second row*/
.chart-container.small {
    height: 300px;
    width: 33.33%;
}

/*Charts by id (applies to each individually)*/
#chart-arr {
    height: 350px;
    width: 66.66%;
}
#chart-revenue {
    height: 350px;
    width: 33.33%;
}

@media (max-width: 700px) {
    #charts-row,
    #charts-row-2 {
        flex-direction: column; /* stack vertically */
        gap: 3px;               /* tighter spacing */
    }
    .chart-container {
        height: auto;          
        min-height: 300px;
        width: 100%;
    }
    .chart-container.small {
        height: auto;          
        min-height: 300px;
        width: 100%;
    }
    #chart-arr {
      width: 100%;
    } 
    #chart-revenue {
      width: 100%;
    }
}