html,
body {
  height: 100%;
  width: 100%;
}

body {
  background: grey;
  background-image: url("bg.jpeg");
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  background-attachment: fixed;
  font-family: "Roboto", sans-serif;
}

@keyframes animatedBackground {
  from {
    transform: translate(0, -5px);
    opacity: 0;
  }
  to {
    transform: translate(0px, 0px) rotateZ(0.001deg);
    margin-top: 0;
    opacity: 1;
  }
}

header {
  background-color: rgba(0, 0, 0, 0.5);
  width: 100%;
}

header h1 {
	color: white;
	margin: 0;
	padding-bottom: 10px;
	margin-top: -10px;
}

header .sizeControl input{
	color: white;
	background: transparent;
	border: none;
	font-weight: bold;
	font-size: 1.8rem;
	cursor: pointer;
}

header .sizeControl {
	position: absolute;
	right: 10px;
}

footer {
  background-color: rgba(0, 0, 0, 0.5);
  margin-top: auto;
}

/* #5d8a64 */

body::before {
  content: "";
  width: 100%;
  height: 100%;
  position: fixed;
  background: black;
  opacity: 0.7;
  top: 0;
  left: 0;
  z-index: -1;
}

#links-wrap {
  text-align: center;
  height: 100%;
  width: 100%;
}

.category-wrapper {
  animation: animatedBackground 0.35s ease-in;
}

.category h2 {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 18px;
  font-weight: 600;
  color: white;
}

.category {
  background-color: rgba(0, 0, 0, 0.5);
  margin: 10px 10px;
  padding: 16px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
}

@media (max-width: 800px) {
  .category-wrapper {
    padding: 0 10px;
  }
  .category {
    width: 100%;
    margin: 10px 0;
  }
}

.sisterPages-wrapper {
  display: flex;
  flex-wrap: wrap;
  background: transparent;
  padding: 10px;
  color: white;
  text-decoration: none;
}

.sisterPages-wrapper > div {
  margin: 0 10px;
}

.sisterPages-wrapper a {
  color: white;
}


.category-wrapper {
  display: flex;
  flex-wrap: wrap;
}

.link {
  display: flex;
}

.link a {
  flex-grow: 1;
  text-align: center;
  text-decoration: none;
  text-shadow: 0 1px 0 rgb(5, 13, 4);
  font-size: 14px;
  background-color: rgba(56, 153, 71, 0.7);
  color: white;
  padding: 6px 12px 4px 12px;
  min-width: 200px;
  border-top: 1px solid #5d8a64;
  border-right: 1px solid #315136;
  border-bottom: 1px solid #315136;
  border-left: 1px solid #5d8a64;
}

.link a:hover {
  background-color: rgba(46, 130, 58, 1);
}


