/* General Styles */
body {
  background-color: #111;
  color: #fff;
  font-family: 'Arial', sans-serif;
  margin: 0;
  padding: 0;
}

/* Header Styles */
header {
  background-color: #222;
  padding: 20px;
  border-bottom: 2px solid #555;
  display: flex; /* Flexbox for header layout */
  justify-content: space-between; /* Space between title and nav */
  align-items: center;
}

header .container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%; /* Ensure container takes full width */
}

header h1 a {
  color: #fff;
  text-decoration: none;
  font-size: 2rem;
}

/* Navigation Styles */
nav {
  display: flex;
  align-items: center;
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 20px;
}

nav ul li {
  display: inline;
}

nav ul li a {
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.3s ease;
}

nav ul li a:hover,
nav ul li.active a {
  color: #d2b266;
}

/* Contact Section Styles */
#contact {
  padding: 40px 20px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.section-container {
  max-width: 1200px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
}

/* Contact Content Styles */
.contact-content {
  max-width: 600px;
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

p {
  font-size: 1rem;
  margin-bottom: 20px;
}

/* Social Media Icons Styles */
.social-media {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.social-links {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.top-row {
  margin-bottom: 20px; /* Space between top row and bottom row */
}

.bottom-row {
  display: flex;
  gap: 10px;
}

.social-icon {
  color: #fff;
  font-size: 24px;
  transition: color 0.3s ease, transform 0.3s ease;
}

.social-icon img {
  width: 30px; /* Adjust size as needed */
  height: 30px; /* Maintain aspect ratio */
}

.social-icon:hover {
  color: #1da1f2; /* Customize for each social media platform */
  transform: scale(1.1); /* Slightly enlarge the icon on hover */
}

/* Resume Button Styles */
.resume-button {
  display: inline-block;
  padding: 10px 20px;
  margin-top: 20px;
  background-color: #d2b266;
  color: #111;
  text-decoration: none;
  font-size: 1rem;
  border-radius: 5px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.resume-button:hover {
  background-color: #c99314;
  color: #fff;
}

/* Animated Graphic Styles */
.animated-graphic {
  display: flex;
  align-items: center;
}

.animated-graphic img {
  width: 450px; /* Adjust the size as needed */
  height: auto;
  animation: float 3s ease-in-out infinite;
}

/* Animation */
@keyframes float {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
  100% {
    transform: translateY(0);
  }
}

/* Responsive Styles */
@media (max-width: 768px) {
  header {
    flex-direction: column; /* Stack header items vertically */
  }

  nav {
    width: 100%; /* Make nav take full width */
    text-align: center; /* Center-align nav items */
    margin-top: 20px; /* Space between title and nav */
  }

  nav ul {
    flex-direction: column; /* Stack nav items vertically */
    gap: 10px;
  }

  nav ul li {
    display: block; /* Display nav items as blocks */
  }

  .contact-content {
    max-width: 100%; /* Full width for contact content */
  }

  .animated-graphic img {
    width: 100%; /* Ensure graphic fits container */
    height: auto; /* Maintain aspect ratio */
  }
}

@media (max-width: 480px) {
  header h1 a {
    font-size: 1.5rem;
  }

  h1 {
    font-size: 1.5rem;
  }

  p {
    font-size: 0.9rem;
  }
}
