<style>

* {
  box-sizing: border-box;
}

body {
  background-color: #f0f2f5; 
  margin: 0;
  font-family: Calibri, Arial, Helvetica, sans-serif;
}

.wrapper {
  max-width: 60%;       
  min-height: 100vh;    /* Ensures the white background goes to the bottom of the screen */
  margin: 0 auto;       
  background: #ffffff;  
  padding: 10px;        
  display: flex;        /* Puts the left column and main content side-by-side */
  gap: 40px;            
}

/* Left Column Layout */
.left-col {
  display: flex;
  flex-direction: column; /* Stacks logo above the sidebar */
  align-items: center;    /* Centers the logo horizontally over the sidebar */
  width: 200px;           /* Matches your sidebar width */
  gap: 20px;              /* Space between logo and sidebar */
}

/* Logo styling */
.logo {
  width: 120px; 
  height: 150px;
  margin-top: 10px;
}

/* Updated Side Navigation */
.sidenav {
  width: 100%;            /* Fills the 200px width of the left column */
  background-color: #111; 
  border-radius: 8px;   
  flex-grow: 1;           /* Forces the sidebar to stretch to the bottom */
  overflow: hidden;     
}

/* Side navigation links */
.sidenav a {
  color: white;
  padding: 16px;
  text-decoration: none;
  display: block;
}

.sidenav a:hover {
  background-color: #ddd;
  color: black;
}

/* Style the content area */
.content {
  flex-grow: 1;         
  display: flex;
  flex-direction: column; 
  align-items: center;   
  text-align: center;
  padding-top: 170px;
}

/* --- RESPONSIVE STYLES FOR MOBILE & TABLETS --- */
@media screen and (max-width: 768px) {
  
  /* Make the wrapper take up the full screen width instead of just 60% */
  .wrapper {
    max-width: 100%;
    padding: 15px;
    flex-direction: column; /* Stacks the left column and main content vertically */
    gap: 20px;
  }

  /* Make the left column span the full width */
  .left-col {
    width: 100%;
  }

  /* Turn the sidebar into a horizontal menu instead of a vertical block */
  .sidenav {
    width: 100%;
    display: flex;          /* Aligns navigation links side-by-side */
    justify-content: space-around; /* Distributes links evenly across the phone screen */
  }

  .sidenav a {
    flex-grow: 1;
    text-align: center;
    padding: 12px;         /* Slightly smaller padding for smaller thumbs */
  }

  /* Adjust content padding so it looks neat on a phone */
  .content {
    padding-top: 10px;
  }
}

</style>
