/* CSS is how you can add style to your website, such as colors, fonts, and positioning of your
   HTML content. To learn how to do something, just try searching Google for questions like
   "how to change link color." */

/*fonts*/
body {
  background-color: #0E1217;
  color: #3d7d22;
  font-family: sans-serif;
  font-size: 20px;
  padding: 50px;
}

h1, h2, h3 {
  color: #3f9c2f;
  font-family: "times";
}

h1 {
  font-size: 40px;
  text-align: center;
}

h2 {
  font-size: 35px;
}

h3 {
  font-size: 27px;
}

div {
  background-color: black;
  padding: 25px;
  border-style: solid; 
  border-color: #253740;
  border-width: 5px;
  border-radius: 30px;
  
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  gap: 30px;
}

/*flexbox*/

section {
  display: flex;
  flex-wrap: wrap;
  flex-flow: row wrap;
  justify-content: space-around;
  gap: 30px;
}

subsection {
  background-color: #0E1217;
  border-style: solid; 
  border-color: #253740;
  border-width: 5px;
  border-radius: 30px;
  
  padding: 10px;
  
  flex: 1;
  min-width: 500px;
  
  overflow-y: auto;
  scrollbar-color: black green;
}

/*case by case layout changes*/

.note {
  flex-direction: column;
  max-height: 250px;
}

.updates {
  flex-direction: column;
}

.main {
  flex-direction: row;
}

.scrollable {
  max-height: 500px;
}

/*navbar styling*/
.navbar {
  display: flex;
  flex-wrap: wrap;
  flex-flow: column wrap;
  justify-content: flex-start;
  
  background-color: #0E1217;
  border-style: solid; 
  border-color: #253740;
  border-width: 5px;
  border-radius: 30px;
  
  position: relative;
  z-index: 999;
}

.navbar ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.navbar li {
  display: inline-block;
}

.navbar li a {
  color: #3d7d22;
  display: block;
  padding: 10px 20px;
  text-decoration: none;
}

.navbar ul ul {
  position: absolute;
  top: 100%;
  display: none;
  background-color: #0E1217;
  border-style: solid; 
  border-color: #253740;
  border-width: 5px;
  border-top: none;
}

.navbar ul ul li {
  display: block;
}

.navbar li:hover ul {
  display: block;
}

.navbar ul ul li a:hover, .navbar ul ul li a {
  background-color: #0E1217;
  
}

