/* Universal Styles */
body {
  font-family: 'Rubik', sans-serif;
  display: flex;
  margin: 0;
}

/* Universal Image Tag */
img {
  max-width: 100%; /* Prevents images from exceeding screen width */
  height: auto; /* Maintains aspect ratio */
  display: block; /* Removes extra space below images */
}

main {
  padding: 30px;
}

.main-section {
  width: 100%;
  margin-bottom: 40px;
}

.main-section header {
  font-size: 35px;
  font-weight: 600;
}

.main-section p {
  color: #525252;
  font-size: 15px;
}

#navbar {
  width: 35%;
  background: #111;
  padding: 20px;
  display: flex;
  flex-direction: column;
}

.logo {
  width: 20%;
}

.company {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
}

#navbar header {
  margin-top: auto;
  margin-bottom: auto;
  padding-left: 10px;
  text-align: center;
  font-size: 20px;
  font-weight: 500;
  color: orangered;
}

#navbar ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  padding-left: 5px;
  padding-right: 5px;
}

#navbar ul li {
  padding-top: 15px;
}

#navbar ul li a {
  text-decoration: none;
  color: #fff;font-size: 20px;
  transition: all 0.5s;
}

#navbar ul li a:hover {
  padding-left: 5px;
}

/* Responsive Styles */
@media (max-width: 768px) {
  body {
    flex-direction: column;
  }

  #navbar {
    width: 100%;
    padding: 15px;
  }

  .logo {
    width: 30%; /* Adjust logo size for smaller screens */
  }

  #navbar header {
    font-size: 18px; /* Slightly smaller header for mobile */
  }

  .main-section header {
    font-size: 28px; /* Smaller header for main content */
  }

  .main-section p {
    font-size: 16px; /* Slightly larger text for better readability on mobile */
  }

  main {
    padding: 20px; /* Reduce padding for smaller screens */
  }
}

@media (max-width: 480px) {
  .logo {
    width: 40%; /* Larger logo for very small screens */
  }

  #navbar header {
    font-size: 16px; /* Even smaller header for very small screens */
  }

  .main-section header {
    font-size: 24px; /* Smaller header for very small screens */
  }

  .main-section p {
    font-size: 18px; /* Larger text for better readability on very small screens */
  }

  main {
    padding: 15px; /* Further reduce padding for very small screens */
  }
}