/* Global Styles */

* {
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
}

h1,
h2,
h3 {
  color: #333;
}

a {
  text-decoration: none;
  color: #337ab7;
}

a:hover {
  color: #23527c;
}

/* Blue Social Section */
.blue-section {
  background-color: #336699;
  padding: 20px;
}

.blue-section img {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

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

.blue-section h1 {
  color: #fff; /* White */
}

.blue-section h2 {
  color: white;
}

/* Hero Section Styles */
.hero {
  display: grid;
}

#centered-image {
  width: calc(6%); /* Subtracting the margin to avoid overlap */
}

#profile-image {
  border-radius: 1px 1px 1px 1px;
}

.grid-container {
  max-width: 800px; /* sets a maximum width for the hero section */
  margin: auto; /* centers the content vertically and horizontally */

  display: flex;
  justify-content: space-between;

  gap: 20px; /* adds some spacing between elements */

  @media (max-width: 768px) {
    flex-direction: column;
    align-items: center;
  }
}

/* Project Grid Styles */

.project-grid {
  display: grid;
  gap: 20px;
  margin-top: 40px;
}

@media (min-width: 768px) { /* adjust this value to your desired breakpoint */
  .project-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 767px) {
  .project-grid {
    grid-template-columns: auto; /* switch to a single column for smaller screens */
  }
}

.project-card {
  background-color: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 10px 10px 0 0;
}

.project-grid #socnet-image {
  width: calc(6%); /* Subtracting the margin to avoid overlap */
  border-radius: 0 0 0 0;
}

h2 {
  margin-top: 20px;
  font-size: 18px;
}

p {
  color: #666;
  font-size: 14px;
  line-height: 1.5rem;
}

/* Footer Styles */

.footer {
  background-color: #336699;
  padding: 10px;
  text-align: center;
}