:root {
--berkeley-blue: #003262;
--berkeley-gold: #FDB515;
--berkeley-gray: #DDD5C7;
}

body {
    background-color: #FFFFFF;
    color: #333333;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    height: 100%;
}

header {
    background-color: #003262; /* Berkeley Blue background */
    color: #FFFFFF;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    height: 80px; /* Adjust as needed */
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 10px 20px;
    max-width: 1200px; /* or whatever max-width you prefer for your content */
    margin: 0 auto;
}

header .logo {
height: 100%;
display: flex;
align-items: center;
background-color: white; /* Set logo background to white */
padding: 0 20px; /* Add some padding around the logo */
}

header .logo img {
height: 100%;
width: auto; /* Maintain aspect ratio */
object-fit: contain; /* Ensure the entire logo is visible */
}

header nav {
    display: flex;
    align-items: center;
    height: 100%;
    padding-right: 20px;
}

header nav a {
    color: #FFFFFF;
    text-decoration: none;
    margin: 0 15px;
    font-weight: bold;
}

header nav a:hover {
    text-decoration: underline;
}

/* nav {
background-color: var(--berkeley-gold);
padding: 0.5rem;
position: fixed;
width: 100%;
top: 60px;
z-index: 999;
}

nav ul {
list-style-type: none;
padding: 0;
margin: 0;
display: flex;
justify-content: center;
max-width: 1200px;
}

nav ul li {
margin: 0 15px;
}

nav ul li a {
color: var(--berkeley-blue);
text-decoration: none;
font-weight: bold;
} */

main {
    max-width: 800px;
    margin: 30px auto 0;
    padding: 20px;
    padding-top: 100px;
    flex: 1 0 auto;
    box-sizing: border-box;
    min-height: calc(100vh - 100px);
}

main > section:first-of-type {
    margin-top: 40px; /* Adds space between the logo and the first section */
}

section {
margin-bottom: 40px;
}

section p {
    margin-bottom: 10px;
    line-height: 1.6;
    padding-left: 20px; /* Add padding to indent the text */
}

section ul {
    padding-left: 40px; /* Add padding to indent the list items */
}

section ul ul {
    padding-left: 20px; /* Indent nested list items less */
}

h2 {
    color: #FDB515; /* Berkeley Gold */
    padding-left: 20px; /* Add padding to indent the title */
}

h2:first-of-type {
    margin-top: 20px; /* Adds a bit more space above the "About Me" heading */
}

h3 {
    color: #003262; /* Berkeley Blue */
    margin-top: 20px;
    padding-left: 20px; /* Add padding to indent the title */
}

/* h1, h2 {
color: var(--berkeley-gold);
} */

.project {
background-color: #f9f9f9;
border: 1px solid #ddd;
border-radius: 5px;
padding: 20px;
margin-bottom: 20px;
}

.project h3 {
color: var(--berkeley-blue);
}

footer {
background-color: #003262; /* Berkeley Blue */
color: #FFFFFF;
text-align: center;
padding: 10px 0;
position: relative;
width: 100%;
bottom: 0;
}

.logo-link {
    display: block;
    height: 100%;
    text-decoration: none;
}

.logo-link:hover {
    text-decoration: none;
}

.profile-photo-container {
    perspective: 1000px;
    width: 200px;
    height: 200px;
    margin: -10px auto 20px;
}

.profile-photo-flipper {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s;
    transform-style: preserve-3d;
    cursor: pointer;
}

.profile-photo-container:hover .profile-photo-flipper {
    transform: rotateY(180deg);
}

.flipper-front, .flipper-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--berkeley-gold);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.flipper-back {
    transform: rotateY(180deg);
}

.profile-photo, .uc-seal {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* chatbot simulation*/
#simulation {
    background-color: #f9f9f9;
}

#simulation-root {
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
}

.w-full {
    width: 100%;
}

.max-w-2xl {
    max-width: 42rem;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.p-4 {
    padding: 1rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

.rounded-lg {
    border-radius: 0.5rem;
}

.shadow-lg {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.text-2xl {
    font-size: 1.5rem;
}

.font-bold {
    font-weight: bold;
}

.h-96 {
    height: 24rem;
}

.border {
    border: 1px solid #e2e8f0;
}

.rounded {
    border-radius: 0.25rem;
}

.overflow-y-auto {
    overflow-y: auto;
}

.text-center {
    text-align: center;
}

.text-gray-500 {
    color: #6b7280;
}

.text-blue-600 {
    color: #2563eb;
}

.text-green-600 {
    color: #059669;
}

.text-red-600 {
    color: #dc2626;
}

@media (max-width: 768px) {
    main {
        padding: 20px 10px;
    }
    
    h2 {
        font-size: 1.5em;
    }
    
    h3 {
        font-size: 1.2em;
    }
}

/* chatbot.css */
:root {
  --berkeley-blue: #003262;
  --berkeley-gold: #FDB515;
  --berkeley-gray: #DDD5C7;
  --sidebar-width: 250px;
  --header-height: 80px;
}


#chatbot-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 300px;
  height: 400px;
  background-color: white;
  border: 2px solid var(--berkeley-blue);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  z-index: 1000;
}

#chatbot-container.closed {
  height: 50px;
}

#chatbot-header {
  background-color: var(--berkeley-blue);
  color: white;
  padding: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

#chatbot-toggle {
  background: none;
  border: none;
  color: white;
  font-size: 20px;
  cursor: pointer;
}

#chatbot-messages {
  flex-grow: 1;
  overflow-y: auto;
  padding: 10px;
  background-color: #f5f5f5;
}

/* Bot message formatting */
.bot-message {
  margin-bottom: 15px;
  line-height: 1.6;
}

.bot-message p {
  margin: 8px 0;
  line-height: 1.6;
}

.bot-message strong {
  color: var(--berkeley-blue);
}

.bot-message a {
  color: var(--berkeley-gold);
  text-decoration: underline;
}

.bot-message a:hover {
  color: var(--berkeley-blue);
}

#chatbot-input {
  display: flex;
  padding: 10px;
  border-top: 1px solid var(--berkeley-gray);
  background-color: #f5f5f5;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}

#user-input {
  flex-grow: 1;
  padding: 8px;
  border: 1px solid var(--berkeley-gray);
  border-radius: 5px;
  resize: none;
  overflow-y: auto;
  min-height: 36px;
  max-height: 100px;
  font-family: inherit;
  font-size: 14px;
  line-height: 1.4;
}

#send-button {
  background-color: var(--berkeley-gold);
  color: var(--berkeley-blue);
  border: none;
  padding: 5px 10px;
  margin-left: 5px;
  border-radius: 5px;
  cursor: pointer;
}

#user-input, #send-button {
  background-color: lightblue; /* Temporary background color for debugging */
  color: black; /* Ensure text is visible */
}

