* {box-sizing:border-box}
nav {
    position: fixed;
    display: flex; 
    justify-content: space-between; 
    padding: 1rem 2rem;
    font-family: 'Lato', sans-serif;
    color: #eee;
    background-color: #0e0e0e;
    width: 100%;
  }
nav ul {
    display: flex; 
    list-style: none; 
  }
nav li {
    padding-left: 1rem; 
  }
a {
  outline: none;
  text-decoration: none;
}

a:link {
  color: #eee;
  border-bottom: 1px solid;
  border-color: #eee;
}

a:visited {
  color: #eee;
}

a:focus {
  border-bottom: 1px solid;
  background: #eee;
}

a:hover {
  border-bottom: 1px solid;
  background: red;
}

a:active {
  background: red;
  color: white;
}
body{
  margin: 0;
  justify-content: center;
  align-items: center;
  font-family: 'Lato', sans-serif;
  background: #0e0e0e;
  color: white;

}

#row {
  display: flex;
  height: 90vh;
  overflow: hidden; 
}

#left-div {
  flex: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  
}

#left-div h1 {
  font-size: 3em;
}

#right-div {
  margin-top: 5%;
  height: 80vh;
  flex: 50%;
  overflow-y: scroll;  
  display: flex;
  flex-direction: column;
  justify-content: left;
  align-items: left;
}

::-webkit-scrollbar {
  width: 10px;  /* for vertical scrollbars */
  height: 10px; /* for horizontal scrollbars */
}

/* Targets the draggable part of the scrollbar */
::-webkit-scrollbar-thumb {
  background-color: red;  /* Red scrollbar thumb */
  border-radius: 10px;  /* Circular ends */
}

/* Hides the scrollbar track (part the thumb slides within) */
::-webkit-scrollbar-track {
  background: transparent;  /* Makes the track invisible */
}

/* Additional style for Firefox */
* {
  scrollbar-width: thin;  /* Makes the scrollbar "thin" */
  scrollbar-color: red transparent;  /* Red thumb with no track visibility */
  scroll-margin-block-end: 10px;
}

@media (max-width: 768px) {

  nav {
    position:relative;
  }

  nav li {
      padding: 0.5rem 0.5rem;
  }
  #row {
      flex-direction: column;
      height: auto;
      margin: 2%;
  }
  #left-div h1 {
        font-size: 2em; /* Smaller font size for smaller screens */
    }
 
}

@media (max-width: 480px) {
  nav {
      padding: 0.5rem 1rem;
  }

  ::-webkit-scrollbar {
      width: 8px; /* Smaller scrollbar on mobile */
  }
}


