*{
  margin: 0;
  border: 0;
  box-sizing: border-box;
}

body{
  height: 100vh;
  width: 100%;
  background-color: rgb(17, 17, 17);
  color: white;
}

header{
  width: 100%;
    height: 10%;
    overflow: hidden;
    position: relative;
    background-image: url(images/img1.jpeg);
    /* opacity: 0.7; */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    text-align: center;
    justify-content: center;
    animation: change 1s infinite ;
}
@keyframes change {
  0%{
    background-image: url(images/img1.jpeg);
  }
  20%{
    background-image: url(images/img2.jpeg);
  }
  40%{
    background-image: url(images/img3.jpeg);
  }
  60%{
    background-image: url(images/img4.jpeg);
  }
  80%{
    background-image: url(images/img5.jpeg);
  }
  100%{
    background-image: url(images/img6.jpeg);
  }
}
.title{
  margin: auto auto;
  height: 100%;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2em;
  /* flex-wrap: wrap; */
  /* opacity: 1;; */
}
.main{
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  /* height: 85%; */
  padding: 5px;
  flex-wrap:wrap;
}
footer{
  height: 5%;
  border-top: 1px solid white;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7%;
}
.animeday{
  margin: 5px;
  height: 80vh;
  background-color:  rgb(41, 41, 41);
  width: 200px;
  border: 1px solid white;
  border-radius: 10px;
}
.day{
  background-color: black;
  text-align: center;
  height: 7%;
  border-radius: 10px;
  font-size: larger;
  display: flex;
  align-items: center;
  justify-content: center;
}
.anime{
  height: 93%;
  width: 103%;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 0;
  margin: 2px;
}
.anime::-webkit-scrollbar{
  visibility: hidden;
}
.item {
  /* margin-bottom: 10px;
  padding-bottom: 10px; */
  margin: 20px auto;
  width: 95%;
  height: 50%;
  display: flex;
  align-items: flex-end;
  background: #343434 no-repeat center center / cover;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  transition: all 0.4s ease-in-out;
  /* -webkit-transition: all 0.4s ease-in-out;
  cursor: pointer; */
}

.item:after {
  content: "";
  display: block;
  position: absolute;
  height: 100%;
  width: 100%;
  left: 0;
  top: 0;
  background-image: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 1));
}

.item-desc {
  /* height: 15%; */
  padding: 25px 25px;
  bottom: 0;
  color: #fff;
  position: relative;
  z-index: 1;
  overflow: hidden;
  transition: all 0.4s ease-in-out;
  -webkit-transition: all 0.4s ease-in-out;
}

.item-desc h3{
  margin-bottom: 0;
}

.item-desc p {
  /* opacity: 0; */
  padding-bottom: 10px;
  bottom: 0;
  margin-top: 0;
  -webkit-transform: translateY(32px);
  transform: translateY(32px);
  transition: all 0.4s ease-in-out 0.2s;
  -webkit-transition: all 0.4s ease-in-out 0.2s;
}

@media (max-width: 600px) {
  .main{
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    min-height: 85%;
  }
  .animeday{
    width: 90%;
  }
}