/* Reset and base styling */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: #1d2b48;
  color: white;
  text-align: center;
  background-image: url('images/my-websiteBlue.png');
  /* Replace with actual pattern */
  background-size: 100px;
  background-repeat: repeat;
  background-blend-mode: soft-light;
}

/* Navigation Bar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background-color: #1a2438;
  position: sticky;
  top: 0;
}

.logo {
  font-weight: bold;
  font-size: 1.1rem;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #87cefa;
}

/* Hero Section */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 4rem;
}

.profile-pic img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  border: 5px solid white;
  background-color: white;
}

.name {
  font-size: 1.8rem;
  font-weight: bold;
}

.description {
  margin-top: 1rem;
  font-size: 1.2rem;
  max-width: 600px;
}

div.presentation {
  margin-top: 2rem;
  background-color: rgba(29, 43, 72, 0.8);
  padding: 3rem;
  border-radius: 0.5rem;
}

/* Burger Menu Styles */
.burger {
  display: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}

.burger span {
  width: 25px;
  height: 3px;
  background: white;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Animate burger icon when open */
.burger.open span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}
.burger.open span:nth-child(2) {
  opacity: 0;
}
.burger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
@media (max-width: 768px) {
  .burger {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: 60px;
    right: 0;
    background-color: rgba(26, 36, 56, 0.95);
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
    display: none;
  }

  .nav-links.active {
    display: flex;
  }

  div.presentation {
    margin-left: 2rem;
    margin-right: 2rem;
  }
}
