::-webkit-scrollbar {
  display: none;
}

::selection {
  background-color: black;
  color: white;
}

body {
  font-family: Arial, sans-serif;
  color: black;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  background-color: #f4f4f4;
}

header, main, footer {
  padding: 20px;
  margin: 0 auto;
  max-width: 1200px;
}

header {
  background-color: #333;
  color: white;
  align-items: center;
  padding: 10px 20px;
}

header span {
  margin: 0 10px;
}

header .concept {
  margin: 0px 2px;
  font-size: 0.8em;
}

header .range {
  font-size: 1.2em;
  position: relative;
  cursor: zoom-in;
}

header .range > span {
  display: none;
  position: absolute;
  left: -10px;
  top: 20px;
  background-color: #fff;
  color: #333;
  padding: 2px 5px;
  border-radius: 3px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
  font-size: 0.6em;
  z-index: 2;
}

header .range:hover > span {
  display: inline-block;
}

header > nav {
  float: right;
}

nav .navbar ul {
  display: flex;
  list-style-type: none;
  padding: 0;
  margin-top: -3px;
}

nav .navbar li {
  margin: 0px 10px;
  cursor: pointer;
  border: 1px solid white;
  padding: 5px;
  border-radius: 5px;
}

main {
  margin-top: 20px;
}

.card {
  position: relative;
  background-color: white;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  transition: all 0.5s;
  cursor: zoom-in;
  overflow: hidden;
}

.card > h1 {
  margin-top: 0px;
  margin-bottom: 5px;
  color: #333;
}

.card span {
  font-size: 0.9em;
  color: #666;
}

.card p {
  margin: 10px 0;
}

.card ul {
  list-style-type: none;
  padding: 0;
  margin: 2px 0;
}

.card ul li {
  display: inline-block;
  padding: 4px 10px;
  margin: 2px 5px 0 0;
  border-radius: 5px;
  color: #333;
}

.lang li {
  border: 2px solid #ffcccc;
}

.tag li {
  border: 2px solid #ccffcc;
}

.target li {
  border: 2px solid #ccccff;
}

a.repository {
  position: relative;
  float: right;
  background-color: #1f883d;
  padding: 10px;
  border-radius: 5px;
  text-decoration: none;
  color: #ffffffee;
  box-shadow: 0 0 10px rgba(173, 255, 47, 0.3);
  z-index: 1;
  transition: all 0.5s;
}

a.repository:hover {
  background-color: #0e772c;
}

.repo-svg {
  fill: #ffffffee;
  vertical-align: text-bottom;
}

.card .caption {
  position: absolute;
  left: 0px;
  top: 100%;
  padding: 0px 20px;
  width: 100%;
  height: 100%;
  transition: all 0.5s;
  color: white;
  background-color: rgba(0, 0, 0, 0.8);
}

.card.selected {
  transform: scale(1.02);
  cursor: zoom-out;
}

.card.selected .caption {
  top: 0px;
}

.caption > ul {
  width: 95%;
}

.caption > ul > li {
  background-color: white;
  color: black;
}

footer {
  background-color: #333;
  color: white;
  text-align: center;
  padding: 20px;
}

footer address {
  margin: 0;
}

footer a {
  color: white;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}
