*{
  box-sizing: border-box;
}

body{
  font-family: 'Cuprum', sans-serif;
  font-size: 15px;
  line-height: 1.5;
  padding: 0;
  margin: 0;
  width: 100%;
  height: 100vh;
  background-color: #272727;
}

.hidden{
  display: none;
}

.visible-mobile {
  display: none;
}

header{
  background-color: #272727;
  min-height: 80px;
}

header::after{
  content:'';
  display:block;
  width: 85%;
  height: 80px;

  -webkit-box-shadow:0 0 20px rgba(0,0,0,0.5);
  -moz-box-shadow:0 0 20px rgba(0,0,0,0.5);
  box-shadow:0 0 20px rgba(0,0,0,0.5);
  top:0%;
  bottom:0;
  left:10px;
  right:10px;
  -moz-border-radius:100px / 10px;
  border-radius:100px / 10px;

  position: absolute;
  bottom: 0;
  left: 10%;
  z-index: -1;
}

nav{
  padding: 8px;
}

.logo{
  float: left;
  padding: 8px;
  margin-left: 9%;
  margin-top: 8px;
}

.logo a{
  color: #49abbf;
  text-transform: uppercase;
  font-size: 32px;
  letter-spacing: 2px;
  text-decoration: none;
}

nav ul{
  float: right;
  margin-right: 5%;
}
nav ul li{
  display: inline-block;
  float: left;
  padding: 10px 0 0 40px;
}
nav ul li a{
  color: #49abbf;
  text-decoration: none;
  text-transform: capitalize;
  font-size: 18px;
  letter-spacing: 1px;
  transition: all .3s ease;
}
nav ul li a:hover{
  color: #d6d6d6;
}

@media screen and (max-width: 864px){
  .logo{
    padding: 0;
    position: absolute;
  }
  .nav-wrapper{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: #fff;
    opacity: 0;
    transition: all 0.2s ease;
  }
  .nav-wrapper ul{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
  }
  .nav-wrapper ul li{
    display: block;
    float: none;
    width: 100%;
    text-align: right;
    margin-bottom: 10px;
  }
  .nav-wrapper ul li:nth-child(1) a{
    transition-delay: 0.05s;
  }
  .nav-wrapper ul li:nth-child(2) a{
    transition-delay: 0.1s;
  }
  .nav-wrapper ul li:nth-child(3) a{
    transition-delay: 0.18s;
  }
  .nav-wrapper ul li:nth-child(4) a{
    transition-delay: 0.3s;
  }
  .nav-wrapper ul li:not(:first-child){
    margin-left: 0;
  }
  .nav-wrapper ul li a{
    padding: 10px 24px;
    opacity: 0;
    color: grey;
    font-size: 18px;
    letter-spacing: 1px;
    transform: translateX(-20px);
    transition: all 0.2s ease;
  }

  .nav-btn{
    position: absolute;
    right: 15px;
    top: 15px;
    display: block;
    width: 48px;
    height: 48px;
    cursor: pointer;
    z-index: 2;
    border-radius: 50%;
  }
  .nav-btn i{
    display: block;
    height: 2px;
    background: #49abbf;
    border-radius: 2px;
    margin-left: 14px;
  }
  .nav-btn i:nth-child(1){
    margin-top: 16px;
    width: 24px;
  }
  .nav-btn i:nth-child(2){
    margin-top: 6px;
    opacity: 1;
    width: 20px;
  }
  .nav-btn i:nth-child(3){
    margin-top: 6px;
    width: 24px;
  }
  #nav:checked + .nav-btn{
    transform: rotate(45deg);
  }
  #nav:checked + .nav-btn i{
    background: grey;
    transition: transform 0.2s ease;
  }
  #nav:checked + .nav-btn i:nth-child(1){
    transform: translateY(8px) rotate(180deg);
  }
  #nav:checked + .nav-btn i:nth-child(2){
    opacity: 0;
  }
  #nav:checked + .nav-btn i:nth-child(3){
    transform: translateY(-8px) rotate(90deg);
  }
  #nav:checked ~ .nav-wrapper{
    z-index: 1;
    opacity: .95;
  }
  #nav:checked ~ .nav-wrapper ul li a{
    opacity: 1;
    transform: translateX(0);
  }
}


/*-----card list-----*/

.height50{
  height: 50px;
}

.height20{
  height: 20px;
}

.card-list {
	max-width: 1200px;
	margin: 0 auto;
}
.list-grid {
	margin: 0 auto;
	padding: 0;
	list-style: none;
	display: flex;
  flex-wrap: wrap;
  justify-content: center;
	/* text-align: center; */
	width: 80%;
}

.list-grid::after {
  content: '';
  width: 420px;
  margin: 20px 20px 20px 20px;
  visibility: hidden;
}

.card-frame {
  width: 420px;
  max-width: 80%;
  position: relative;
  display: inline-block;
  margin: 20px 20px 20px 20px;
}
.card-frame:before {
  display: block;
  content: "";
  width: 100%;
  padding-top: 75%;
}
.card-frame > .content {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: inline-block;
}

.card-frame-hidden {
  width: 420px;
  max-width: 80%;
  position: relative;
  display: inline-block;
  margin: 20px 20px 20px 20px;
}
.card-frame-hidden:before {
  display: block;
  content: "";
  width: 100%;
  padding-top: 75%;
}
.card-frame-hidden > .content {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: inline-block;
}

.content{
	padding: 0;
  width: 100%;
  display: inline-block;
  text-align: center;
  background-color: #000;
  overflow: hidden;
}

.card-title{
  width: 80%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
}
.card-frame h1{
  color: #fff;
  font-size: 28px;
  font-weight: normal;
}
.card-frame p{
  color: #fff;
  font-size: 20px;
  font-weight: lighter;
}

img{
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  transition: all 0.5s ease 0s;
  transform-origin: center center;
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-user-drag: none;
  user-drag: none;
  -webkit-touch-callout: none;
}
img:hover{
  transform: scale(1.08);
  opacity: .2;
}
img:active{
  transform: scale(1.08);
  opacity: .2;
}

@media only screen and (max-width: 1155px){
  .card-frame {
    width: 320px;
  }
  .card-frame-hidden {
    width: 320px;
  }
  .list-grid::after {
    content: '';
    width: 320px;
    margin: 20px 20px 20px 20px;
    visibility: hidden;
  }
}

@media all and (min-width: 660px) and (max-width: 904px){
  .card-frame {
    width: 420px;
  }
}

@media screen and (max-width: 904px){
  .card-frame-hidden{
    visibility: hidden;
    display: none;
  }
}

@media screen and (max-width: 480px){
  .logo{
    margin-left: 5%;
  }
  .visible-mobile{
    display: block;
  }
  .hidden-mobile{
    display: none;
  }
  .card-frame {
    margin: 10px 0 10px 0;
  }
  .list-grid{
    width: 95%;
  }
}

.anime {
  transform: scale(0);
  opacity: 0;
}

.hide {
  display: none;
}

.filters {
  width: 80%;
  margin: auto;
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

.filters button {
  background: none;
  border: none;
  padding: 10px 10px;
  color: white;
  font-size: 16px;
  cursor: pointer;
  font-family: 'Cuprum', sans-serif;
  position: relative;
  transition: color 0.3s;
  line-height: 1.8;
}

.filters button:hover {
  color: #70C6D6;
}

.filters .separator {
  margin: 0 10px;
  color: white;
}

.underline {
  position: absolute;
  height: 2px;
  width: 0;
  background-color: white;
  transition: all 0.3s cubic-bezier(0, 0.44, 0.26, 0.99);
}