@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400;500;700&display=swap');

body {
  padding-left: 250px;
  font-family: 'Roboto', sans-serif;
  overflow-x: hidden;
}
body * {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
.backdrop {
  display: none;
  position: fixed;
  right: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  padding: 20px;
  background: #000;
  z-index: 3;
  opacity: .7;
}
.menu-toggle {
  display: none;
  position: fixed;
  width: 100%;
  padding: 20px 60px 20px 20px;
  color: #fff;
  z-index: 5;
  text-align: right;
  background: rgba(0,0,0,0.7);
}
.menu-toggle span {
  position: absolute;
  right: 20px;
  top: 19px;
  width: 27px;
  height: 3px;
  background: #fff;
}
.menu-toggle span:nth-child(2) {
  top: 26px;
}
.menu-toggle span:nth-child(3) {
  top: 33px;
}

/**
* Header
*/
.header {
  padding: 30px 60px;
  color: #fff;
  line-height: 46px;
  font-size: 44px;
  font-weight: 900;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-shadow: -3px 3px 0 #000;  
  background: #462d95;
  background-image: linear-gradient(-45deg,#c76dff 0,#3d2781 70%,#462d95 100%);
  border-bottom: 8px solid #c76dff;  
}
.header .desc {
  margin-top: 15px;
  font-size: 15px;
  line-height: 22px;
  font-weight: 300;
  text-shadow: -1px 1px 0 #000;  
}

/**
* Sidebar
*/
.sidebar {
  position: fixed;
  left: 0;
  top: 0;
  width: 250px;
  height: 100vh;
  padding: 50px 15px;
  border-right: 1px solid #FFF;
  -webkit-box-shadow: 0 0 30px rgb(0 0 0 / 50%);
  box-shadow: 0 0 30px rgb(0 0 0 / 50%);
  z-index: 100;  
}
.sidebar .search {
  margin-bottom: 30px;
}
.sidebar .search label {
  color: #444;
  font-size: 14px;
  font-weight: 600;
}
.sidebar .search input {
  margin-top: 10px;
  width: 100%;
  height: 35px;
  padding: 0 15px;
  border: solid 1px #888;
  border-radius: 5px;
  outline: none;
}
.sidebar .categories.selected {
  display: none;
  margin-bottom: 20px;
}
.sidebar .categories svg {
  display: inline-block;
  width: 12px;
  height: 12px;
  vertical-align: middle;
  margin-left: 3px;
  margin-top: -3px;
}
.sidebar .categories .hero {
  color: #444;
  font-size: 14px;
  font-weight: 600;
}
.sidebar .categories li {
  margin-top: 10px;
  display: inline-block;
  font-size: 12px;
}
.sidebar .categories a {
  display: block;
  padding: 15px;
  color: #4e4e4e;
  background: #efefef;
  text-decoration: none;
  border-radius: 5px;
  border: solid 1px #bbbbbb;
}
.sidebar .categories a.active {
  color: #6b04ab;
  background: #ead8f5;
  border-color: #462d95;
}

/**
* List
*/
.list {
  display: flex;
  flex-wrap: wrap;
  padding: 30px 5px;
}
.list .item {
  flex: 0 0 32.3%;
  max-width: 32.3%;
  margin-left: 1%;
  margin-bottom: 100px;
  position: relative;
  padding: 20px 20px 20px 220px;
  background: #efefef;
}
.list .item .image {
  position: absolute;
  left: 0;
  top: 0;
  box-shadow: 0px 0px 15px rgba(0,0,0,0.4);
}
.list .item .image .inner {
  position: relative;
  overflow: hidden;
}
.list .item .image .inner::after {
  position: absolute;
  left: 0;
  top: 0;
  content: '';
  display: block;
  width: 100%;
  height: 100%;
  margin-top: -100px;
  margin-left: -100px;
  background: rgba(255,255,255,0.1);
  transform: rotate(220deg);
}
.list .item .image img {
  display: block;
  width: 200px;
  height: 270px;
  object-fit: fill;
}
.list .item .name {
  font-size: 20px;
  font-weight: 700;
}
.list .item .owner {
  font-size: 20px;
  margin-top: 7px;
}
.list .item .desc {
  margin: 15px 0;
  font-size: 16px;
  font-weight: 300;
  line-height: 20px;
  max-height: 100px;
  overflow: hidden;
}
.list .item a {
  display: inline-block;
  color: #fff;
  padding: 12px;
  background: #462d95;
  text-decoration: none;
}
#flipbook {
  display: none!important;
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  z-index: 150;
}
.close {
  display: none;
  cursor: pointer;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 151;
  color: #fff;
  padding: 12px;
  background: #462d95;
  text-decoration: none;  
}
#flipbook.active {
  display: block!important;
}
.close.active {
  display: inline-block!important;
}

@media(max-width: 1240px) {
  .list .item {
    flex: 0 0 48%;
    max-width: 48%;
  }
}
@media(max-width: 990px) {
  .menu-toggle {
    display: block;
  }
  body {
    padding-left: 0;
  }
  .sidebar {
    display: none;
  }
  body.menu-active .sidebar {
    display: block;
    background: #fff;
  }  
  .header {
    padding: 70px 15px 15px;
    font-size: 34px;
  }
  .header .desc {
    font-size: 13px;
  }
  .list .item {
    flex: 0 0 100%;
    max-width: 100%;
    margin: 0 0 15px;
    padding-left: 155px;
  }
  .list .item .image img {
    width: 140px;
    height: 200px;
  }
}
