/*You can add styles to format your tooltip here*/
/* --- Responsive + layout fixes (mobile + resizable windows) --- */
:root{
  --bg: #F3EBE5;
  --bg-dark: #534749;
  --text: #000;
  --accent: #FED7DE;
  --pad: clamp(16px, 4vw, 72px);
  --nav-h: 64px;
}

a {
  color: black;      /* text color */
  text-decoration: none; /* remove underline */
  /* font-weight: 500;*/
} 

.center_plot {
    margin: auto; 
    text-align: center;
}

.section {
    margin-top: 60px;
    text-align: center;
    font-family: 'Chalkduster';
    /* font-family: 'Comic Sans MS', 'Comic Sans', 'cursive';  */
    color: #64442D;
}


h3{
    margin-top: 30px;
    font-family: 'Chalkduster'; 
    color: #64442D;
    font-size: 22px;
}

h4{
    margin-top: 30px;
    font-family: 'Chalkduster'; 
    color: #64442D;
}

p.class_indent1 {
    margin-top: 30px;
    margin-bottom: 20px;
    margin-right: 60px;
    margin-left: 60px;
  }

div.class_indent {
    margin-top: 30px;
    margin-bottom: 10px;
    margin-right: 70px;
    margin-left: 70px;
  }

p.interaction_tips {
    color: #eb95a9;
    font-family: 'Chalkduster'; 
    font-style: italic;
    text-align: center;
    /* font-family: cursive; */
}

/* new */
* {
    box-sizing: border-box;
  }
  
  body {
    font-family: Arial, Helvetica, sans-serif;
    margin: 0;
    background: var(--bg); /* prevents white gaps around sections */
  }
  
  /* Style the header */
  .header {
    padding: 80px;
    text-align: center;
    background: #F3D9DD;
    color: #64442D;
  }
  
  /* Increase the font size of the h1 element */
  .header h1 {
    font-size: 40px;
  }

  .intro {
    /* to do: flexible padding */
    padding: var(--pad);
    font-size: clamp(16px, 2.2vw, 20px);
    text-align: center;
    background: #F3EBE5;
    color: black;
  }

  .project_des {
    /* to do: flexible padding */
    /* padding: 75px; */
    font-size: 15px;
    /* text-align: center; */
    /* font-family: Arial; */
    background: #f3ddcc;
    color: black;
  }

  .project_intro {
    /* to do: flexible padding */
    padding: var(--pad);
    line-height: 1.6;
    font-size: clamp(16px, 2.2vw, 20px);
    text-align: center;
    background: #F3EBE5;
    color: #64442D;
    font-family: 'Chalkduster';
  }

  .introtext{
    width: min(60ch, 100%);
    display: inline-block; 
    text-align: left;
  }
  
  /* Style the top navigation bar */
  .navbar {
    background-color: #534749;
    /* background-color: #333; */
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0 12px;
    min-height: var(--nav-h);
    flex-wrap: wrap;
    position: relative;
  }
  
  /* Style the navigation bar links */
  .navbar a {
    font-size: 17px;
    display: block;
    color: #FED7DE;
    text-align: center;
    padding: 16px 12px;
    text-decoration: none;
    font-family: 'Chalkduster';
  }

  .navbar a.brand{
    font-size: 18px;
    white-space: nowrap;
  }

  .nav-actions{
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: flex-end;
    flex: 1 1 auto;
  }

  .nav-toggle{
    display: none;
    background: transparent;
    border: none;
    color: #FED7DE;
    font-size: 24px;
    padding: 8px 10px;
    cursor: pointer;
  }
  
  /* Right-aligned link */
  .navbar a.right {
    margin-left: auto;
  }
  
  /* Change color on hover */
  /* .navbar a:hover {
    background-color: #FBE4E4;
    color: black;
  } */
  
  /* Column container */
  .row {  
    display: flex;
    flex-wrap: wrap;
  }

  /* Add padding BETWEEN each column (if you want) */
  .row,
  .row > .column {
    padding: 8px;
  }

  /* Create four equal columns that floats next to each other */
  .column {
    float: left;
    width: 25%;
  }

  /* Clear floats after rows */ 
  .row:after {
    content: "";
    display: table;
    clear: both;
  }
  
  /* Create two unequal columns that sits next to each other */
  /* Sidebar/left column */
  .side {
    flex: 30%;
    background-color: #f1f1f1;
    padding: 20px;
  }
  
  /* Main column */
  .main {   
    flex: 70%;
    background-color: #F3EBE5;
    padding: 20px;
  }
  
  /* Fake image, just for this example */
  /* .fakeimg {
    background-color: #aaa;
    width: 100%;
    padding: 20px;
  } */
  
  /* Footer */
  .footer {
    padding: 20px;
    text-align: center;
    background: #ddd;
  }
  
  /* Responsive layout - when the screen is less than 1024px wide, make the two columns stack on top of each other instead of next to each other */
  @media screen and (max-width: 1024px) {
    .row {   
      flex-direction: column;
    }
  }
  
  /* Responsive layout - when the screen is less than 400px wide, make the navigation links stack on top of each other instead of next to each other */
  @media screen and (max-width: 400px) {
    .navbar a {
      width:100%;
    }
  }

.highlightname {
    /* background-color: #F8CFCF; */
    background-color: #F8CFCF;
    /* background-color: #fbc2c2; */
    color: black;
}

.highlight {
    background-color: #F8CFCF;
    /* background-color: #FBE4E4; */
    /* background-color: plum; */
    color: black;
}

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

.button {
display: inline-block;
padding: 10px 20px;
text-align: center;
text-decoration: none;
color: #FED7DE;
background-color: #534749;
border-radius: 20px;
border: 2px solid #534749;
outline: none;
transition: 0.3s;
font-family: 'Chalkduster';
}

.button:hover {
/* background-color: #FBE4E4; */
background-color: #F3EBE5;
border: 2px solid #534749;
color: black;
}

/* Set height of body and the document to 100% to enable "full page tabs" */
body, html {
  margin: 0;
  font-family: Arial;
  background: var(--bg);
}


/* Style tab links (only the actual tab buttons, not the hamburger) */
.navbar .tablink{
  /* background-color: #555; */
  background-color: #534749;
  color: #FED7DE;
  display: block;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 12px 14px;
  font-size: 17px;
  font-family: 'Chalkduster';
  text-align: center;
  border-radius: 999px;
  white-space: nowrap;
}

.navbar .tablink:hover {
  /* background-color: #FBE4E4; */
  background-color: #534749;
  color: #FED7DE;
}

/* Style the tab content (and add height:100% for full page content) */
.tabcontent {
  color: black;
  display: none;
  padding: 0;
  min-height: calc(100vh - var(--nav-h)); /* fixes bottom "white edges" on smaller windows */
  background: var(--bg);
}

/* #Intro {background-color: #F2E3D8;} */
#Intro {background-color: #F3EBE5;}
#Projects {background-color: #F3EBE5;}
#More {background-color: #F3EBE5;}

@media (max-width: 900px){
  .introtext{
    width: 100%;
  }

  .navbar{
    flex-wrap: wrap; /* allow dropdown to take its own row and push content down */
  }

  .nav-toggle{
    display: block;
  }

  .nav-actions{
    position: static; /* keep in normal flow so it doesn't cover content */
    width: 100%;
    background-color: #534749;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 0;
    display: none;
  }

  .nav-actions.open{
    display: flex;
  }

  .nav-actions .tablink{
    width: 100%;
    border-radius: 0;
  }
}