/* Mobile styles */
@media screen and (max-width: 768px) {
  .navbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .navbar-left, .navbar-right {
    display: none;
  }

  .navbar-center {
    flex: 1;
    text-align: center;
  }

  .navbar {
    align-items: center;
  }

  .navbar .nav-item {
    display: block;
    padding: 10px;
  }

  .navbar .contact-button {
    background-color: #3366ff;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    margin-top: 10px;
    display: block;
    text-align: center;
  }

  /* Optional: Add a hamburger menu for mobile */
  .hamburger-menu {
    display: block;
    cursor: pointer;
    margin-left: auto;
    padding: 10px;
  }

  .hamburger-menu .bar {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 5px 0;
  }

  .navbar-left, .navbar-right {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
  }

  .navbar-left.active, .navbar-right.active {
    display: flex;
  }

  main {
      flex-direction: column;
      padding: 10px;
  }
  
  .image-container {
      max-width: 100%;
      position: absolute;
  }

  .image-container img {
      opacity: 0.8;
  }

  main > .image-container {
    max-width: 100%;
    display: flex;
    font-size: 40px;
    justify-content: center;
    flex-direction: column;
    align-items: center;
  }

  .text-container {
      position: relative;
      top: auto;
      left: auto;
      transform: none;
      padding: 20px;
      max-width: 100%;
      padding-top: 20px;
  }

  #summary-header {
    margin-bottom: 0px;
    padding-bottom: 0px;
  }

  #platforms {
    font-size: 2em;
    color: #2636B2;
    font-family: var(--font-family-inter);
    font-weight: 100;
  }

  #letscollaborate {
    align-items: center;
    justify-content: center;
  }

  #letscollaborate > .image-container {
    position: relative;
    margin-left: auto;
    margin-right: auto;
  }

  /* we will be thrilled */
  #nice-message {
    position: relative;
      margin-top:400px;
      padding: 100px 20px; /* Reduced padding for mobile devices */
      font-size: 28px; /* Adjusted font size for smaller screens */
      line-height: 34px;
      width: 90%; /* Increased width to ensure the text doesn't get too narrow */
  }

  .box {
    margin-left: auto; 
    margin-right: auto; 
  }

  #letstalk {
    display: flex;
  }

  #nice-message {
    font-size: 1.4em;
  }
  
  #summary-header > header {
    font-size: 2em;
    font-weight: 600;
  }

  #summary-header > p {
    font-size: 1.4em;
    line-height: 1.2;
  }

  .team-member img {
    width: 100px;
  }

  .footer-content {
    height: auto;
    padding-top: 100px;
    width: 100%;
    font-family: var(--font-family-inter);
    font-weight: 100;
    font-size: 18px;
    justify-content: center;
    align-items: center;
  }

  .text-container h1 {
    font-size:2em;
    max-width: 300px;
    margin: auto;
    line-height: 1.5;
  }


  .text-container p {
    margin-top:50px;
    font-size:  1.3em;
    max-width: 400px;
  }
}
