* {
  padding: 0;
  margin: 0;
  border: 0;
}
*,
*:before,
*:after {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
:focus,
:active {
  outline: none;
}
a:focus,
a:active {
  outline: none;
}
nav,
footer,
header,
aside {
  display: block;
}
html,
body {
  height: 100%;
  width: 100%;
  font-size: 100%;
  line-height: 1;
  font-size: 14px;
  -ms-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}
input,
button,
textarea {
  font-family: inherit;
}
input::-ms-clear {
  display: none;
}
button {
  cursor: pointer;
}
button::-moz-focus-inner {
  padding: 0;
  border: 0;
}
a,
a:visited {
  text-decoration: none;
}
a:hover {
  text-decoration: none;
}
ul li {
  list-style: none;
}
img {
  vertical-align: top;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: 400;
}
/* ================================================================= */
.wrapper {
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
}
.header {
  width: 100%;
  line-height: 80px;
  background-color: rgb(184, 184, 184);
  padding: 0px 50px;
  font-size: 36px;
  position: fixed;
  z-index: 5;
}
.content {
  display: flex;
  padding: 80px 0px 0px 0px;
}
.sidebar {
  flex: 0 0 200px;
  padding: 20px 10px;
  width: 200px;
  position: fixed;
  overflow-y: auto;
  height: 100vh;
}
.sidebar::-webkit-scrollbar {
  width: 3px;
}
.sidebar::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 3px;
}
.sidebar::-webkit-scrollbar-track {
  background-color: rgba(0, 0, 0, 0.2);
}
.sidebar__endpoint {
  text-align: center;
  height: 30px;
  line-height: 30px;
  cursor: pointer;
  margin: 0px 0px 15px 0px;
  user-select: none;
  color: #000;
  transform-style: preserve-3d;
  position: relative;
  transition: 0.5s;
}
.sidebar__endpoint span {
  position: absolute;
  border-radius: 2px;
  width: 100%;
  height: 100%;
  left: 0;
  font-size: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: inset 0px 0px 10px rgba(0, 0, 0, 0.2), 2px 2px 4px rgba(0, 0, 0, 0.2);
}
.sidebar__endpoint span:first-child {
  top: 0;
  transform: rotateX(0deg) translate3d(0, 0, 15px);
}
.sidebar__endpoint span:last-child {
  bottom: -50%;
  background-color: #dfdfdf;
  transform: rotateX(-90deg);
}
.sidebar__endpoint.active {
  transform: rotateX(90deg);
}

.main {
  flex: 1 1 auto;
  overflow: auto;
  margin: 0px 0px 0px 200px;
}
.search {
  display: flex;
  line-height: 30px;
  padding: 10px;
  position: absolute;
  background-color: #fff;
  z-index: 10;
  user-select: none;
  width: calc(100% - 200px);
  position: fixed;
}
.input {
  border: 1px solid #000;
  padding: 0px 10px;
  border-radius: 3px;
}
.search__btn {
  cursor: pointer;
  margin: 0px 10px;
  padding: 0px 10px;
  box-shadow: inset 0px 0px 10px rgba(0, 0, 0, 0.2), 2px 2px 4px rgba(0, 0, 0, 0.2);
  transition: 0.4s;
  border-radius: 3px;
}
.search__btn:hover {
  background-color: rgb(223, 223, 223);
}
.main__content {
  padding: 0px 4px;
  /* column-count: 5;
  column-gap: 0px; */
  margin: 50px 0px 0px 0px;
}
.img {
  display: inline-block;
  margin: 4px;
  width: calc(100% / 5 - 8px);
  min-height: 300px;
  box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.1);
  text-align: center;
}
.img img {
  width: 100%;
  height: auto;
  background-color: rgb(223, 223, 223);
  background-size: cover;
  border-radius: 3px;
  /* opacity: 0.03; */
}
.img span {
  line-height: 0px;
  font-size: 22px;
  position: relative;
  top: 100px;
}
.categories {
  text-align: center;
  padding: 0px 0px 5px 0px;
  margin: 0px 0px 10px 0px;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 1px;
  color: #fff;
  text-shadow: 1px 1px 5px black, 1px 1px 10px black;
}
