/* CSS gene */
.Background {
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #6B1486, #65EBE8);
  background-size: 200% 200%;
  flex-direction: column;
  display: flex;
  align-items: center;
  padding-top: 50px;
  overflow: hidden;
  animation: Gradient 10s ease infinite;
}
@keyframes Gradient {

  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
  
}
.TopNyao{
  position: absolute;
  top: -25px;
  left: -95px;
  width: 400px;
  height: 250px;
}
.BotDucky{
  width: 300px;
  height: 300px;
}
.banner{
  margin-top: 70px;
  box-shadow: 15px 15px 15px rgb(20, 20, 20);
  align-items: center;
  flex-direction: column;
  display: flex;
  height: 550px;
  width: 60%;
  border: solid 3px #A7042D;
  border-radius: 25px;
  overflow: hidden;
}
.container{
  padding-left: 0px;
  padding-right:0rem
}
.Welcome{
  display: flex;
  background-color: #A7042D;
  font-family: Impact, 'Arial Narrow Bold', sans-serif;
  font-size: 55px;
  color: azure;
  width: 100%;
  height: 40%;
  margin: 0px;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  border-top-right-radius: 18px;
  border-top-left-radius: 18px;
}
.Nyao{
  border-bottom-right-radius: 23px;
  border-bottom-left-radius: 23px;
  height: 60%;
  width: 100%;
  --k: 0;
	--j: calc(1 - var(--k));
	--list: transparent calc(50% - #{$w}), red 0  calc(50% + #{$w}), transparent 0;
	place-self: center;
	object-fit: cover;
	filter: grayScale(var(--j));
	mask-composite: add, intersect, add, add;
	transition: all 1.5s;

	&:hover { --k: 1 }
}
.Intro{
  box-shadow: 15px 15px 15px rgb(20, 20, 20);
  border-radius: 25px;
  padding: 20px;
  background-color: #A7042D;
  margin-top: 50px;
  margin-bottom: 75px;
  width: 80%;
  display: flex;
  flex-direction:row;
  align-items: center;
}
.separation{
  width: 6px;
  height: 70%;
  background-color: azure;
  margin-right: 15px;
}
.txt{
  color: rgb(240, 255, 255);
  font-size: larger;
  font-family: Arial, Helvetica, sans-serif;
  padding: 15px;
}
p{
  margin-bottom: 0px!important;
}
.PresentCard{
  width: 80%;
  display: flex;
  align-items: center;
  margin-bottom: 50px;
  justify-content: space-between;
}
.Part{
  background-color: #A7042D;
  border-radius: 25px;
  box-shadow: 15px 15px 15px rgb(20, 20, 20);
  display: flex;
  width: 30%;
  align-items: center;
  transition: 1s ease-in-out;
  padding: 20px;
}
.Part:hover{
  transform: scale(1.2);
  border: solid 1px azure;
}
.PresentTxt{
  color: azure;
  font-family: Arial, Helvetica, sans-serif;
  padding: 15px;
  font-size: large;
}
.Part2{
  position: relative;
  transition: all  1s;
}
.NyaoCard{
  height: 400px;
}
.Part2:hover{
  transform: rotate(720deg) scale(2);
  display: block;
}
.hiddenTxt{
  position: absolute;
  top: 95px;
  right: 95px;
  color: rgb(7, 7, 7);
  font-size: larger;
  font-family: Arial, Helvetica, sans-serif;
}
.CarouselMeet{
  margin-bottom: 50px;
  background-color: #A7042D;
  padding: 20px;
  box-shadow: 15px 15px 15px rgb(20, 20, 20);
  border-radius: 25px;
}
/* Carousel */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  display: grid;
  place-items: center;
  background: #100721;
  font-weight: 400;
}

.container {
  width: 100%;
  display: flex;
  justify-content: center;
  height: 500px;
  gap: 10px;

  > div {
    flex: 0 0 120px;
    border-radius: 0.5rem;
    transition: 0.5s ease-in-out;
    cursor: pointer;
    box-shadow: 1px 5px 15px #1e0e3e;
    position: relative;
    overflow: hidden;

    &:nth-of-type(1) {
      background: url("../img/screenshot651.png")
        no-repeat 50% / cover;
    }
    &:nth-of-type(2) {
      background: url("../img/screenshot655x2.png")
        no-repeat 50% / cover;
    }
    &:nth-of-type(3) {
      background: url("../img/screenshot660.png")
        no-repeat 50% / cover;
    }
    &:nth-of-type(4) {
      background: url("../img/screenshot662.png")
        no-repeat 50% / cover;
    }
    &:nth-of-type(5) {
      background: url("../img/screenshot664x2.png")
        no-repeat 50% / cover;
    }
    &:nth-of-type(6) {
        background: url("../img/screenshot521.png")
          no-repeat 50% / cover;
    }
    &:nth-of-type(7) {
        background: url("../img/screenshot560.png")
          no-repeat 50% / cover;
    }
    &:nth-of-type(8) {
        background: url("../img/02_Float.png")
          no-repeat 50% / cover;
    }
    &:nth-of-type(9) {
      background: url("../img/artist.png")
        no-repeat 50% / cover;
    }

    .content {
      font-size: 1.5rem;
      color: #fff;
      display: flex;
      align-items: center;
      padding: 15px;
      opacity: 0;
      flex-direction: column;
      height: 100%;
      justify-content: flex-end;
      background: rgb(2, 2, 46);
      background: linear-gradient(
        0deg,
        rgba(2, 2, 46, 0.6755077030812324) 0%,
        rgba(255, 255, 255, 0) 100%
      );
      transform: translatey(100%);
      transition: opacity 0.5s ease-in-out, transform 0.5s 0.2s;
      visibility: hidden;

      span {
        display: block;
        margin-top: 5px;
        font-size: 1.2rem;
      }
    }

    &:hover {
      flex: 0 0 250px;
      box-shadow: 1px 3px 15px #7645d8;
      transform: translatey(-30px);
    }

    &:hover .content {
      opacity: 1;
      transform: translatey(0%);
      visibility: visible;
    }
  }
}
.videoInt{
  width: 85%;
  border: solid 5px azure;
  box-shadow: 15px 15px 15px rgb(20, 20, 20);
  margin-bottom: 75px;
}
.Chaos{
  display: flex;
  flex-wrap: wrap;
  flex-direction:row;
  justify-content: space-around;
  width: 70%;
  margin-bottom: 75px;
}
.ChaosVid{
  margin-top: 25px;
  margin-right: 25px;
  width: 45%;
  border: solid  5px azure;
}

.container2 {
  width: 100%;
  display: flex;
  justify-content: center;
  height: 500px;
  gap: 10px;
  padding-right: var(--bs-gutter-x, .75rem);
  padding-left: var(--bs-gutter-x, .75rem);
  margin-right: auto;
  margin-left: auto;

  > div {
    flex: 0 0 120px;
    border-radius: 0.5rem;
    transition: 0.5s ease-in-out;
    cursor: pointer;
    box-shadow: 1px 5px 15px #1e0e3e;
    position: relative;
    overflow: hidden;

    &:nth-of-type(1) {
      background: url("../img/school.png")
        no-repeat 50% / cover;
    }
    &:nth-of-type(2) {
      background: url("../img/ebi.png")
        no-repeat 50% / cover;
    }
    &:nth-of-type(3) {
      background: url("../img/hunter.png")
        no-repeat 50% / cover;
    }
    &:nth-of-type(4) {
      background: url("../img/lazy.png")
        no-repeat 50% / cover;
    }
    &:nth-of-type(5) {
      background: url("../img/newyear.png")
        no-repeat 50% / cover;
    }
    &:nth-of-type(6) {
        background: url("../img/party.png")
          no-repeat 50% / cover;
    }
    &:nth-of-type(7) {
        background: url("../img/hunteradvent.png")
          no-repeat 50% / cover;
    }
    &:nth-of-type(8) {
        background: url("../img/winter.png")
          no-repeat 50% / cover;
    }
    &:nth-of-type(9) {
      background: url("../img/sakura.png")
        no-repeat 50% / cover;
    }

    .content {
      font-size: 1.5rem;
      color: #fff;
      display: flex;
      align-items: center;
      padding: 15px;
      opacity: 0;
      flex-direction: column;
      height: 100%;
      justify-content: flex-end;
      background: rgb(2, 2, 46);
      background: linear-gradient(
        0deg,
        rgba(2, 2, 46, 0.6755077030812324) 0%,
        rgba(255, 255, 255, 0) 100%
      );
      transform: translatey(100%);
      transition: opacity 0.5s ease-in-out, transform 0.5s 0.2s;
      visibility: hidden;

      span {
        display: block;
        margin-top: 5px;
        font-size: 1.2rem;
      }
    }

    &:hover {
      flex: 0 0 250px;
      box-shadow: 1px 3px 15px #7645d8;
      transform: translatey(-30px);
    }

    &:hover .content {
      opacity: 1;
      transform: translatey(0%);
      visibility: visible;
    }
  }
}
.BtnBot{
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  width: 80%;
  margin-bottom: 75px;
}
.btn{
  background-color: #6441a5 !important;
  border-radius: 25px !important;
  border: solid 2px azure !important;
  box-shadow: 15px 15px 20px rgb(20, 20, 20);
  transition: transform 1s !important;
  margin-bottom: 25px;
}
.btn:hover{
  transform: scale(1.25);
}


/* Extra small devices (phones, 600px and down) */
@media only screen and (min-width: 300px){
  .banner{
    display: none;
  }
  .TopNyao{
    display: none;
  }
  .Part{
    display: none;
  }
  .BotDuck{
    display: flex;
    position: absolute;
    top: 730px;
  }
  .Part2{
    display: none;
  }
  .Intro{
    margin-bottom: 300px;
    font-size: 10px;
  }
  .ChaosVid{
    width: 100%;
    margin-right: 0px;
  }
  .CarouselMeet{
    width: 75%;        
    display: flex;
    justify-content: center;
  }
  .container{
    flex-direction: column;
    height: auto;
    > div{
      flex: 0 0 700px;
      margin-bottom: 25px;
      &:nth-of-type(5){
        display: none;
      }
      &:nth-of-type(6){
        display: none;
      }
      &:nth-of-type(7){
        display: none;
      }
      &:nth-of-type(8){
        display: none;
      }
      &:nth-of-type(9){
        display: none;
      }
    }
  }
  .container2{
    flex-direction: column;
    height: auto;
    max-width: 540px;
    > div{
      flex: 0 0 700px;
      margin-bottom: 25px;
      &:nth-of-type(5){
        display: none;
      }
      &:nth-of-type(6){
        display: none;
      }
      &:nth-of-type(7){
        display: none;
      }
      &:nth-of-type(8){
        display: none;
      }
      &:nth-of-type(9){
        display: none;
      }
    }
  }
  .BtnBot{
    flex-direction: row;
    flex-wrap: wrap;
    width: 85%;
    align-items: center;
    justify-content: space-evenly;
  }
}
@media only screen and (min-width: 400px) {
  .banner{
    display: none;
  }
  .TopNyao{
    display: none;
  }
  .Part{
    display: none;
  }
  .Part2{
    display: none;
  }
  .ChaosVid{
    width: 100%;
  }
  .CarouselMeet{
    width: 75%;        
    display: flex;
    justify-content: center;
  }
  .Intro{
    margin-bottom: 300px;
    font-size: 15px;
  }
  .container{
    flex-direction: column;
    height: auto;
    > div{
      flex: 0 0 700px;
      margin-bottom: 25px;
      &:nth-of-type(5){
        display: none;
      }
      &:nth-of-type(6){
        display: none;
      }
      &:nth-of-type(7){
        display: none;
      }
      &:nth-of-type(8){
        display: none;
      }
      &:nth-of-type(9){
        display: none;
      }
    }
  }
  .container2{
    flex-direction: column;
    height: auto;
    max-width: 540px;
    > div{
      flex: 0 0 700px;
      margin-bottom: 25px;
      &:nth-of-type(5){
        display: none;
      }
      &:nth-of-type(6){
        display: none;
      }
      &:nth-of-type(7){
        display: none;
      }
      &:nth-of-type(8){
        display: none;
      }
      &:nth-of-type(9){
        display: none;
      }
    }
  }
  .BtnBot{
    flex-direction: row;
    flex-wrap: wrap;
    width: 70%;
    align-items: center;
    justify-content: space-evenly;
  }
.BotDuck{
  display: flex;
  position: absolute;
  top: 950px;
}
}
@media only screen and (min-width: 500px){
.banner{
  display: none;
}
.TopNyao{
  display: none;
}
.Part{
  width: 45%;
}
.Part2{
  display: none;
}
.ChaosVid{
  width: 100%;
}
.CarouselMeet{
  width: 75%;        
  display: flex;
  justify-content: center;
}
.BotDuck{
  position: relative;
  top: 0px;
}
.Intro{
  margin-bottom: 0px;
}
.container{
  flex-direction: column;
  height: auto;
  > div{
    flex: 0 0 700px;
    margin-bottom: 25px;
    &:nth-of-type(5){
      display: none;
    }
    &:nth-of-type(6){
      display: none;
    }
    &:nth-of-type(7){
      display: none;
    }
    &:nth-of-type(8){
      display: none;
    }
    &:nth-of-type(9){
      display: none;
    }
  }
}
.container2{
  flex-direction: column;
  height: auto;
  max-width: 540px;
  > div{
    flex: 0 0 700px;
    margin-bottom: 25px;
    &:nth-of-type(5){
      display: none;
    }
    &:nth-of-type(6){
      display: none;
    }
    &:nth-of-type(7){
      display: none;
    }
    &:nth-of-type(8){
      display: none;
    }
    &:nth-of-type(9){
      display: none;
    }
  }
}
.BtnBot{
  flex-direction: row;
  flex-wrap: wrap;
  width: 55%;
  align-items: center;
  justify-content: space-evenly;
}
}

/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 600px){
.banner{
  display: none;
}
.TopNyao{
  display: none;
}
.Part{
  width: 45%;
}
.Part2{
  display: none;
}
.ChaosVid{
  width: 100%;
}
.CarouselMeet{
  width: 75%;
  display: flex;
  justify-content: center;
}
.container{
  flex-direction: column;
  height: auto;
  > div{
    flex: 0 0 700px;
    margin-bottom: 25px;
    &:nth-of-type(5){
      display: none;
    }
    &:nth-of-type(6){
      display: none;
    }
    &:nth-of-type(7){
      display: none;
    }
    &:nth-of-type(8){
      display: none;
    }
    &:nth-of-type(9){
      display: none;
    }
  }
}
.container2{
  flex-direction: column;
  height: auto;
  max-width: 540px;
  > div{
    flex: 0 0 700px;
    margin-bottom: 25px;
    &:nth-of-type(5){
      display: none;
    }
    &:nth-of-type(6){
      display: none;
    }
    &:nth-of-type(7){
      display: none;
    }
    &:nth-of-type(8){
      display: none;
    }
    &:nth-of-type(9){
      display: none;
    }
  }
}
.BtnBot{
  flex-direction: row;
  flex-wrap: wrap;
  width: 46%;
  align-items: center;
  justify-content: space-evenly;
}
}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px){
.banner{
  display: flex;
}
.Welcome{
  font-size: 40px;
}
.TopNyao{
  display: block;
}
.Part{
  width: 35%;
  display: flex;
}
.Intro{
  margin-bottom: 50px;
}
.Part2{
  display: flex;
}
.ChaosVid{
  width: 45%;
  margin-right: 25px;
}
.container{
  flex-direction: row;
  height: 500px;
  > div{
    flex: 0 0 120px;
    margin-bottom: 25px;
    &:nth-of-type(5){
      display: block;
    }
  }
}
.container2{
  flex-direction: row;
  height: 500px;
  > div{
    flex: 0 0 120px;
    margin-bottom: 25px;
    &:nth-of-type(5){
      display: block;
    }
  }
}
.BtnBot{
  flex-direction:row ;
  flex-wrap: nowrap;
  width: 85%;
  align-items: center;
  justify-content: space-evenly;
}
}

/* Large devices (laptops/desktops, 992px and up) */
@media screen and (min-width: 992px){
.container{
  flex-direction: row;
  height: 500px;
    > div{
      flex: 0 0 120px;
      margin-bottom: 25px;
      &:nth-of-type(5){
        display: block;
      }
      &:nth-of-type(6){
        display: block;
      }
      &:nth-of-type(7){
        display: block;
      }
      &:nth-of-type(8){
        display: none;
      }
      &:nth-of-type(9){
        display: none;
      }
    }
  }
  .container2{
    flex-direction: row;
    height: 500px;
    max-width: 540px;
    > div{
      flex: 0 0 120px;
      margin-bottom: 25px;
      &:nth-of-type(5){
        display: block;
      }
      &:nth-of-type(6){
        display: block;
      }
      &:nth-of-type(7){
        display: block;
      }
      &:nth-of-type(8){
        display: none;
      }
      &:nth-of-type(9){
        display: none;
      }
    }
  }
  .Welcome{
    font-size: 55px;
  }
}

/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (min-width: 1200px){
  .container{
    flex-direction: row;
    height: 500px;
    > div{
      flex: 0 0 120px;
      margin-bottom: 25px;
      &:nth-of-type(5){
        display: block;
      }
      &:nth-of-type(6){
        display: block;
      }
      &:nth-of-type(7){
        display: block;
      }
      &:nth-of-type(8){
        display: block;
      }
      &:nth-of-type(9){
        display: block;
      }
    }
  }
  .container2{
    flex-direction: row;
    height: 500px;
    max-width: 540px;
    > div{
      flex: 0 0 120px;
      margin-bottom: 25px;
      &:nth-of-type(5){
        display: block;
      }
      &:nth-of-type(6){
        display: block;
      }
      &:nth-of-type(7){
        display: block;
      }
      &:nth-of-type(8){
        display: block;
      }
      &:nth-of-type(9){
        display: block;
      }
    }
  }
}


