/* Color values */
:root {
  --xi_orange: rgb(200,100,0); /* Xi orange */
  --dark_gray: rgb(80,80,80); /* Dark gray */
  --deep_gray: rgb(50,50,50); /* Deep gray */
  
  --text_padding: 4px 10px;
}

/* Chrome browsers */
::selection{
   background-color: var(--xi_orange);
   color: black;
}
/* Firefox-like browsers */
::-moz-selection{
   background-color: var(--xi_orange);
   color: black;
}

/* Global configuration */
body {
  background-color: black;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: 100% 100%; /* stretch */
  color: var(--xi_orange);
  font-size: 12px;
  font-family: sans-serif; /* Always add generic font at the end (fallback font) */
  letter-spacing: 1px;
  text-align: justify;
  text-justify: inter-word;
}



.navbar {
  overflow: hidden;
  background-color: var(--deep_gray);
}
.navbar a {
  float: left;
  color: white;
  text-align: center;
  padding: var(--text_padding);
  text-decoration: none;
}
.dropdown {
  float: left;
  overflow: hidden;
}
.dropdown .dropbtn {
  border: none;
  outline: none;
  color: white;
  padding: var(--text_padding);
  background-color: inherit;
  font-family: inherit;
  font-size: inherit;
  letter-spacing: inherit;
  margin: 0;
}
.navbar a:hover, .dropdown:hover .dropbtn {
  background-color: var(--xi_orange);
}
.dropdown-content {
  display: none;
  position: absolute;
  background-color: var(--dark_gray);
  min-width: 120px;
  z-index: 1;
}
.dropdown-content a {
  float: none;
  color: white;
  padding: var(--text_padding);
  text-decoration: none;
  display: block;
  text-align: left;
}
.dropdown-content a:hover {
  background-color: var(--xi_orange);
}
.dropdown:hover .dropdown-content {
  display: block;
}



/* Main text area */
.article {
  padding: 10px;
  width: 45vw;
}



/* Adapt for tablets */
@media (max-width: 1000px) {
}

/* Adapt for smartphones*/
@media (max-width: 600px) {
}

/*
.button {
  border-top: 3px solid #15f4ee;
  border-bottom: 3px solid #15f4ee;
  padding: 10px;
  cursor: pointer;
  display: grid;
  margin-left: 20px;
  margin-right: 20px;
  
  transition-duration: 0.5s;
  
  color: #15f4ee;
  align-items: center;
  text-align: center;
  text-decoration: none;
  font-size: 15;
  font-weight: 600;
  letter-spacing: 2px;
}

.button-left {
  clip-path: polygon(0% 0%, 90% 0%, 100% 100%, 10% 100%);
}

.button-center {
  clip-path: polygon(0% 0%, 100% 0%, 90% 100%, 10% 100%);
}

.button-right {
  clip-path: polygon(10% 0%, 100% 0%, 90% 100%, 0% 100%);
}

.button:hover {
  box-shadow:
    0 0 20px 0 #15f4ee inset;
  text-shadow:
    0 0 20px #15f4ee, 0 0 20px #15f4ee;
}
*/

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

h2 {
  font-size: 35px;
  text-align: center;
}

th, td {
  border: none; /* double line */
  /* border-collapse: collapse; /* single line */
  /* padding: 10px /* keeps borders */
  /* border-spacing: 10px /* shrinks borders */
}

nav {
  font-size: 20;
  font-weight: bold;
  margin: 2px;
  text-align: center; /* Centers horizontally */
  padding: 10px;
  overflow: auto;
}

/*
=== Border styles ===
dotted  dashed  solid  double  groove  ridge  inset  outset  none  hidden
border-radius: 100vw; /* Full round at both ends

=== Size units ===
px: pixels
vw: percentage of the viewport (good for text)
% : percentage of the screen (best for images) 

=== Trick to align div horizontally ===
.mycontainer {
  width:100%;
  overflow:auto;
}
.mycontainer div {
  width:33%;
  float:left;
}
- or -
.grid-container {
  display: grid;
  grid-template-columns: 33% 33% 33%;
}
with '<div class="grid-container">' in html file



=== Journal-style ===
* {
  box-sizing: border-box;
}
body {
  font-family: Arial, Helvetica, sans-serif;
}
/* Style the header
header {
  background-color: #666;
  padding: 30px;
  text-align: center;
  font-size: 35px;
  color: white;
}
/* Create two columns/boxes that floats next to each other
nav {
  float: left;
  width: 30%;
  height: 300px; /* only for demonstration, should be removed
  background: #ccc;
  padding: 20px;
}
/* Style the list inside the menu
nav ul {
  list-style-type: none;
  padding: 0;
}
article {
  float: left;
  padding: 20px;
  width: 70%;
  background-color: #f1f1f1;
  height: 300px; /* only for demonstration, should be removed
}
/* Clear floats after the columns
section::after {
  content: "";
  display: table;
  clear: both;
}
/* Style the footer
footer {
  background-color: #777;
  padding: 10px;
  text-align: center;
  color: white;
}
/* Stacks boxes vertically on small devices
@media (max-width: 600px) {
  nav, article {
    width: 100%;
    height: auto;
  }
}
/* HTML document:
<body>
<header>
	Header text
</header>
<section>
	<nav>
		<ul>
			<li>Link 1</li>
			<li>Link 2</li>
		</ul>
	</nav>
	<article>
		Article text
	</article>
</section>
<footer>
	Footer text
</footer>



=== Navbar exemple ===
<!DOCTYPE html>
<html>
<head>
<style>
body {
  margin: 0;
}

ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  width: 25%;
  background-color: #f1f1f1;
  position: fixed;
  height: 100%;
  overflow: auto;
}

li a {
  display: block;
  color: #000;
  padding: 8px 16px;
  text-decoration: none;
}

li a.active {
  background-color: #04AA6D;
  color: white;
}

li a:hover:not(.active) {
  background-color: #555;
  color: white;
}
</style>
</head>
<body>

<ul>
  <li><a class="active" href="#home">Home</a></li>
  <li><a href="#news">News</a></li>
  <li><a href="#contact">Contact</a></li>
  <li><a href="#about">About</a></li>
</ul>

<div style="margin-left:25%;padding:1px 16px;height:1000px;">
  <h2>Fixed Full-height Side Nav</h2>
  <h3>Try to scroll this area, and see how the sidenav sticks to the page</h3>
  <p>Notice that this div element has a left margin of 25%. This is because the side navigation is set to 25% width. If you remove the margin, the sidenav will overlay/sit on top of this div.</p>
  <p>Also notice that we have set overflow:auto to sidenav. This will add a scrollbar when the sidenav is too long (for example if it has over 50 links inside of it).</p>
  <p>Some text..</p>
  <p>Some text..</p>
  <p>Some text..</p>
  <p>Some text..</p>
  <p>Some text..</p>
  <p>Some text..</p>
  <p>Some text..</p>
</div>

</body>
</html>



=== Button effects ===
box-shadow: /* For neon glowing effect
  0 0 30px 0 #15f4ee inset, 0 0 30px 0 #15f4ee,
  0 0 30px 0 #15f4ee inset, 0 0 30px 0 #15f4ee;
text-shadow:
  0 0 30px #15f4ee, 0 0px 30px #15f4ee;
*/





