@media screen and (min-width: 480px) {
  
  /************
 TWO COLUMN LAYOUT
  ************/
  
  #primary {
    width: 50%;
    float: left;
    margin-left: 60px;
     /* Contact info box */
  border: 2px solid #000;   /* black border */
  padding: 20px;            /* spacing inside the box */
  border-radius: 10px;      /* optional: rounded corners */
  background: #ffffff20;    /* optional: subtle transparent background */
  box-shadow: 0 4px 8px rgba(0,0,0,0.1); /* optional: soft shadow */

   
    
}

  #secondary {
    width: 40%;
    float: right;
    /* Contact info box */
  border: 2px solid #000;   /* black border */
  padding: 20px;            /* spacing inside the box */
  border-radius: 10px;      /* optional: rounded corners */
  background: #ffffff20;    /* optional: subtle transparent background */
  box-shadow: 0 4px 8px rgba(0,0,0,0.1); /* optional: soft shadow */
}

  }
  
  /************
page portfolio
  ************/
  
  #gallery li {
    width: 28.3333%;
  }
  
  #gallery li:nth-child(4n) {
    clear: left;
  }
  
    
  

@media screen and (min-width: 660px) {
  /************
Header
  ************/
    nav {
    background: none;
    float: right;
    font-size: 1.125em;
      margin-right: 5%;
      text-align: right;
      width: 45%;
    }
    
    #logo {
      float: left;
      margin-left: 5%;
      text-align: left;
      width: 45%;
    }
    
    h1 {
      font-size: 2.5em;
    }
    
    h2 {
      font-size: 0.825em;
      margin-bottom: 20px;
    }
    
    header {
      border-bottom: 5px solid #599a6800;
      margin-bottom: 60px;
    }
  
   /************
ABout
  ************/
  .profile-photo {
    float: left;
    margin: 0 5% 80px 0;
  }
}
/* Default nav (desktop/tablet) */
nav ul {
  list-style: none;
  margin: 0 10px;
  padding: 0;
  display: flex;          /* horizontal by default */
  gap: 20px;              /* spacing between links */
  justify-content: flex-end;  /* ✅ pushes items to the right */
}

/* Mobile nav (stacked) */
@media (max-width: 768px) {
  nav ul {
    flex-direction: column;   /* stack links vertically */
    margin: 0;
    padding: 10px;
    background: #33333300;    /* optional: dark background */
    justify-content: flex-start; /* ✅ reset so mobile doesn’t push right */
  }

  nav ul li {
    text-align: center;       /* center links */
    margin: 5px 0;            /* spacing between items */
  }

  nav ul li a {
    color: #000000;           /* link color */
    text-decoration: none;
    display: block;
    padding: 8px 0;
  }
}



 