/* Reset default browser styling */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Basic styling for the body */
body {
  font-family: Arial, sans-serif;
  background-color: #ffffff;
  color: #000000;
  padding: 20px;
  display: flex;
  justify-content: center;
}

/* Header styling */
header {
  display: flex;
  justify-content: space-between;
  align-items: center; /* Centers the logo and menu vertically */
  border-bottom: 1px solid #000000;
  padding-bottom: 10px;
  width: 100%;
  margin-bottom: 20px;
}

/* Logo styling */
.logo {
  font-size: 24px;
  font-weight: bold;
  text-transform: uppercase;
  display: flex;
  align-items: center; /* Ensures logo text and image are aligned vertically */
}

/* Logo image styling */
.logo-image {
  width: 30px; /* Adjust size as needed */
  height: auto;
  margin-right: 10px; /* Spacing between logo image and text */
  vertical-align: middle; /* Ensures image is vertically centered */
}

/* Navigation styling */
nav ul {
  list-style: none;
  display: flex;
  align-items: center; /* Aligns menu items vertically with the logo text */
  gap: 15px;
}

nav ul li a {
  color: black;
  text-decoration: none;
  font-weight: bold;
}

nav ul li a:hover {
  text-decoration: underline;
}

/* Icon styling */
.icon {
  width: 20px;
  height: 20px;
  vertical-align: middle;
}

/* Three-column layout styling */
.container {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-top: 20px;
}

.left-column,
.right-column {
  width: 100%; /* Takes full width on mobile */
}

.center-column {
  width: 100%; /* Takes full width on mobile */
  padding: 20px;
}

/* Styling for <h1> element */
h1 {
  padding-top: 20px;
  padding-bottom: 20px;
  text-align: left;
  margin: 0;
}

/* Content section styling */
main section {
  text-align: left;
}

/* Desktop and larger screen adjustments using media query */
@media (min-width: 768px) {
  /* Change layout to three columns */
  .container {
    flex-direction: row;
    max-width: 1200px;
    margin: auto;
  }

  .left-column,
  .right-column {
    width: 25%; /* 25% width on desktop */
  }

  .center-column {
    width: 50%; /* 50% width for center column on desktop */
    margin-left: 30px;
  }

  header {
    flex-direction: row; /* Align logo and nav horizontally on larger screens */
    justify-content: space-between;
    width: 100%;
  }
}
