body  {
  margin: 0;
  background: linear-gradient(rgb(40,40,40) 0%, rgb(28,28,28) 10%);
  background-repeat: no-repeat;
  background-position: right bottom;
  font-family: "Segoe UI Light";
  color: rgb(235,235,235);
  min-height: 100vh;
}

#HL2ModsLogo {
  min-height:100vh;
  background-repeat: no-repeat;
  background-position: right bottom;
  background-image:url(hl2mods.png);
}
hr {
  padding:0px;
  margin: 0px;
  border: none;
}
h1 {
  font-style: italic;
  font-weight: 50;
  font-size: 2.3rem;
  padding: 1rem 3rem;
  margin:0px;
  color:rgb(200,200,255);
}
h2 {
  font-size: 1.9rem;
  color: rgb(215,215,215);
  font-weight: 600;
  letter-spacing: 0.65rem;
  margin-left: 1.5rem;
}
h3 {
  font-size: 1.8rem;
  font-style: italic;
  text-align:left;
  color: rgb(200,200,200);
  padding: 1rem 3rem;
  margin-block-start: 0px;
  margin-block-end: 0px;
}
small {font-size: 1.6rem;
font-family: "consolas", monospace;
font-style: italic;
padding:1rem 3rem;
}
sb {font-size:0.8rem;text-align: center}
p {font-size: 1.5rem;}
pre {
  font-size: 1.3rem;
  font-family: "consolas", monospace;
  padding: 0rem 3rem;
}
h4 {
  font-size: 1.6rem;
  color: #ddd;
  text-align: center;
  margin:0.6rem;
  padding-top:0.2rem;
  padding-bottom:0.5rem;
  padding-left: 1rem;
  padding-right:1rem;
  border:1px solid #333;
  align-self: center;
}
h4 a {
  color:orange;
}
h5 {
  font-size: 2.4rem;
  line-height:0rem;
  margin: 3rem;
  font-family: "consolas", monospace;
  font-weight: 100;
  text-align: center;
}

#Orange {color:orange;}
#TextSize1 {font-size:3rem;}
#TextSize2 {font-size:1.2rem;margin-left:1rem;}
#TextSize3 {font-size:0.8rem;text-align: left;}

a { text-decoration: none; color : inherit; border: 0px; outline-style: none; -moz-outline-style: none;}
a:active, a:hover { text-decoration: underline;text-decoration-thickness:2px;border: 0px; outline-style: none; -moz-outline-style: none;}
a:focus { outline: none; outline-style: none; -moz-outline-style: none;}

td, th {
  font-size: 2.3rem;
  text-align:center;
  color: rgb(215,215,215);
}

.boxes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-content: left;
  border:none;
}

.gridlist {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  align-content: center;
}

.box {
  border: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.box > a {
  width: 100%;
  color:orange;
  font-size:2rem;
  padding:0px;
  text-align: center;
}

.infobox {
  border: 2px solid rgba(100,100,100,0.2);
  padding: 0.2rem;
  background: rgb(20,20,20);
  margin-top: 1rem;

}

.top-bar {
  text-align: center;
  padding-left: 1.2rem;
  padding-right: 1.2rem;
  padding-top: 1rem;
  padding-bottom: 1.2rem;
  font-family: "leelawadee ui";
  font-weight: bold;
  font-size: 1.4rem;
  border-left:solid 2px rgb(63,63,63);
  background-color: rgb(31,31,31);
}

.project {
  font-size: 2.6rem;
  color: rgb(215,215,215);
  font-weight: 600;
  letter-spacing: 0.6rem;
  padding-left:0.65rem;
  border-bottom: 2px solid rgb(150,150,150);
  padding-top:2.6rem;
}

.project2 {
  font-size: 1.8rem;
  color: rgb(215,215,215);
  font-weight: 600;
  letter-spacing: 0.6rem;
  padding-left:0.65rem;
  border-bottom: 2px solid rgb(150,150,150);
  padding-top:2.6rem;
}

.project-table {
  margin-left:30%;
  margin-right: auto;
  margin-top:2rem;
}

.xentable {
  width:auto;
  margin-left:auto;
  margin-right:auto;
  margin-top:0rem;
  margin-bottom:2.8rem;
}

.line {
  border-bottom: 1px solid #333;
  width:auto;
}

.selected {
  height: 4rem;
  align-content: center;
}

.main-select {
  background: linear-gradient(rgb(40,40,40) 0%, rgb(28,28,28) 50%, rgb(40,40,40) 100%);
  height: 4rem;
  align-content: center;
  transition: background 0.2s;
  position: relative;
  z-index: 2;
}

.main-select::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(#1d1d1d 0%, #1d1d1d 100%);
  opacity: 0;
  transition: opacity 0.2s;
  z-index: 1;
  pointer-events: none;
}

.main-select:hover:not(.selected)::after {
  opacity: 1;
}

.main-select.selected {
  background: linear-gradient(#1a1a1a 0%, #1a1a1a 100%);
}

.main-select.selected::after {
  opacity: 0; /* overlay not needed for selected, since background is set */
}

.main-select span {
  position: relative;
  z-index: 2;
}

.box a {
  text-decoration: none;
  display: block;
}