/* Custom styles for Chris Kalahiki's website */

/* Header layout */
.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.header-container h1 {
  margin: 0;
  font-size: 1.8em;
}

/* Control the logo size */
header img {
  max-width: 200px; /* Adjust this value to make the logo smaller or larger */
  height: auto;
  display: block;
  margin: 0 auto 20px;
  border-radius: 50%; /* Make profile picture circular */
}

/* Hamburger Menu Styling */
.hamburger-menu {
  position: relative;
}

.hamburger-icon {
  display: block;
  cursor: pointer;
  width: 30px;
  height: 22px;
  position: relative;
  margin: 0;
}

.hamburger-icon span {
  display: block;
  position: absolute;
  height: 3px;
  width: 100%;
  background: #333;
  border-radius: 3px;
  opacity: 1;
  left: 0;
  transform: rotate(0deg);
  transition: .25s ease-in-out;
}

.hamburger-icon span:nth-child(1) {
  top: 0px;
}

.hamburger-icon span:nth-child(2) {
  top: 9px;
}

.hamburger-icon span:nth-child(3) {
  top: 18px;
}

.hamburger-icon.active span:nth-child(1) {
  top: 9px;
  transform: rotate(135deg);
}

.hamburger-icon.active span:nth-child(2) {
  opacity: 0;
  left: -60px;
}

.hamburger-icon.active span:nth-child(3) {
  top: 9px;
  transform: rotate(-135deg);
}

/* Navigation styling */
nav#nav-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out;
  width: 100%;
  margin-bottom: 20px;
}

nav#nav-menu.active {
  max-height: 300px;
}

nav ul {
  list-style-type: none;
  padding: 0;
  margin: 10px 0;
}

nav ul li {
  margin-bottom: 10px;
}

nav ul li a {
  display: block;
  padding: 8px 10px;
  background-color: #f5f5f5;
  color: #333;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.3s ease;
}

nav ul li a:hover {
  background-color: #0366d6;
  color: #fff;
}

/* Content styling */
h1, h2, h3, h4, h5, h6 {
  /* color: #0366d6; */
  margin-top: 24px;
  margin-bottom: 16px;
}

a {
  /* color: #0366d6; */
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Project cards */
.project-card {
  border: 1px solid #e1e4e8;
  border-radius: 6px;
  padding: 16px;
  margin-bottom: 16px;
  transition: all 0.3s ease;
}

.project-card:hover {
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Publication styling */
.publication {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e1e4e8;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  header {
    text-align: center;
  }
  
  .wrapper {
    padding: 15px;
  }
}