/* Global Styles */

* {
  box-sizing: border-box;
}

body {
font-family: "Baskerville Old Face";  
font-style: normal; 
font-variant: normal; 
font-weight: 400; 
line-height: 20px;
  margin: 0;
  padding: 5px;
  background-color: #f2f1f1;
  color: #101010;
}

h1 {
  font-size: 3rem;
  margin: 0;
}

h2 {
  font-size: 2rem;
}

p {
  font-size: 1rem;
  line-height: 1;
}

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

a {
  color : black;
  border-radius: 5px;
  cursor: pointer;
  transition: color 0.3s ease;
  text-decoration: none;
}



.literature{
  font-style: italic;
}
.literature:hover {
  color: blue;
  font-style: italic;
}

/* Header Styles */

header {
  background-color: #d3d3d3;
  border-bottom: 1px solid #ddd;
  display: flex;
  align-items: center;
  padding: 0rem;
  position: sticky;
  top: 0;
  z-index: 1000;
}


nav ul {
  display: flex;
}

nav li {
  margin-left: 2rem;
}

/* Main Styles */

main {
  margin: 2rem;
  padding-left: 2%;
}

section {
  margin-bottom: 2rem;
}

thead td {
  text-align: center;
  padding-left: 20px;
  padding-right: 20px;
}


/* Footer Styles */

footer {
  background-color: #d3d3d3;
  color: black;
  text-align: center;
  padding: 1rem;
}


.dashboard {
  box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;  
  padding: 10px;
  background-color: #d3d3d3;
}

.dashboardOff {
  display: none;
}

.dropbtn {
  cursor: pointer;
}

/* The container <div> - needed to position the dropdown content */
.dropdown {
  position: relative;
  display: inline-block;
}

/* Dropdown Content (Hidden by Default) */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f1f1f1;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

/* Links inside the dropdown */
.dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

/* Change color of dropdown links on hover */
.dropdown-content a:hover {background-color: #ddd;}

/* Show the dropdown menu (use JS to add this class to the .dropdown-content container when the user clicks on the dropdown button) */
.show {display:block;}



/* Responsive Styles */

@media only screen and (max-width: 600px) {
  header {
    flex-direction: column;
  }

  nav ul {
    flex-direction: column;
    margin-top: 1rem;
  }

  nav li {
    margin-left: 0;
    margin-bottom: 1rem;
  }
}
