@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Indie+Flower&display=swap');
@import url('https://fonts.googleapis.com/css2?family=M+PLUS+Rounded+1c:wght@300&display=swap');
* {
  box-sizing: border-box;
  list-style-type: none; 
  user-select:none
}
html, body,
ul, ol, li,
h1, h2, h3, h4, h5, h6, p,
form, input, div {
  margin: 0;
  padding: 0; 
}
ol, ul { list-style: none; }
body {
  font-family: 'Indie Flower', 'M PLUS Rounded 1c', sans-serif;
} 

@keyframes fadeOut {
  0%   {opacity: 1;}
  100% {opacity: 0;}
}
@keyframes fadeIn {
  0%   {opacity: 0;}
  100% {opacity: 1;}
}
@keyframes fadeDown {
  0%  {
    opacity: 1;
    height: 100%;
    top: 0;
  }
  100%  {
    opacity: 0;
    height: 0;
    top: 100vh;
  }
}

/* 1 */
#firstTitleWrap {
  display: flex;
  height: 100vh;
  width: 100%;
  justify-content: center;
  align-items: center;
  margin: 0;
  animation : fadeOut 1s 6s forwards;
}
#firstTitle {
  display: flex;
  width: max-content;
  overflow: hidden;
  color: #e597b2;
}
#firstTitle span{
  margin-right: 4px;
  animation: firstTitle 5s both;
}
@keyframes firstTitle{
  0%   { transform: translate(0%, 105%); }
  20%  { transform: translate(0%, 0%);}
  80%  { transform: translate(0%, 0%);}
  100% { transform: translate(0%, 105%); }
}
#firstTitle span:nth-child(2){
  animation-delay: 0.2s;
}
#firstTitle span:nth-child(3){
  animation-delay: 0.4s;
}
#firstTitle span:nth-child(4){
  animation-delay: 0.6s;
}
#firstTitle span:nth-child(5){
  animation-delay: 0.8s;
}
#firstTitle span:nth-child(6){
  animation-delay: 1s;
}
#firstTitle span:nth-child(7){
  animation-delay: 1.2s;
}
#firstTitle span:nth-child(8){
  animation-delay: 1.4s;
}
#firstTitle span:nth-child(9){
  animation-delay: 1.6s;
}

/* 2 */
#secondWrap{
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100%;
  margin: 0;
  animation : fadeIn 1s 6s both,
  fadeDown 1s 14.5s forwards;
}
.secondDevided{
  position: relative;
  width: 25%;
}
.ball{
  position: absolute;
  top: 10vh;
  left: 46%;
  width: 20px;
  height: 20px;
  border-radius: 100px;
}
.ball1{
  background-color: #e597b2;
  animation: ballDown 5s 6.5s both, 
  ballExpand 1.2s 12.5s both;
}
.ball2{
  background-color: #dae697;
  animation: ballDown 5s 6.7s both, 
  ballExpand 1.2s 12.5s both
}
.ball3{
  background-color: #97e6ca;
  animation: ballDown 5s 6.9s both, 
  ballExpand 1.2s 12.5s both;
}
.ball4{
  background-color: #a397e6;
  animation: ballDown 5s 7.1s both, 
  ballExpand 1.2s 12.5s both;
}
@keyframes ballDown {
  0%   { transform: translateY(0); }
  20%  { transform: translateY(80vh); }
  40%  { transform: translateY(50vh); }
  60%  { transform: translateY(80vh); }
  80%  { transform: translateY(60vh); }
  90%  { transform: translateY(80vh); }
  100% { transform: translateY(80vh); }
}
@keyframes ballExpand {
  0%   { 
    height: 20px;
    width: 20px;
   }
  100% { 
    height: 100%; 
    width: 100%;
    transform: translateY(0);
    top: 0;
    left: 0;
    border-radius: 0;
  }
}
/* 3 */
#thirdWrap{
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100%;
  justify-content: center;
  vertical-align: middle;
  align-items: center;
  animation : fadeIn 2s 15s both;
}
#pinkSquare{
  position: fixed;
  top: 35vh;
  left: 25vw;
  height: 30vh;
  width: 50vw;
  background-color: #e597b2;
  color: white;
  animation: fuwafuwa 3s infinite ease-in-out  alternate;
  opacity: 1;
}
#pinkContainer{
  text-align: center;
  position: relative;
  height: 30vh;
  width: 100%;
}
#maintitle{ 
  line-height: 30vh;
  font-size: 40px;
  font-weight: normal;
}
@keyframes fuwafuwa {
  0%   {transform:translate(0, 0) rotate(-4deg);}
  50%  {transform:translate(0, -4px) rotate(0deg);}
  100% {transform:translate(0, 0) rotate(4deg);}
}

#subtitle{
  position: absolute;
  top: 110%;
  right: 20px;
  color: #e597b2;
}
#footer{
  position: fixed;
  bottom: 0;
  width: 100vw;
}
#sns {
  display:flex;
  flex-flow:row wrap;
  justify-content: center;
  margin-bottom: 20px;
}
.snsbtn {
  border-radius:50%;
  position:relative;
  display:block;
  width:50px;
  height:50px;
  font-size:30px;
  text-decoration:none;
  transition: all .4s  ease;
  background-color:#fff;
  color:#e597b2;
}
.twitter, .insta {margin-right: 24px;}
.snsbtn:hover{
  text-decoration:none;
  color: white;
  background: #e597b2;
}
.snsbtn i{
  position:absolute;
  top:50%;
  left:50%;
  transform:translate(-50%,-50%);  
}
.snsbtn span{
  position: absolute;
  bottom: 0;
  left: -25px;
  width: 100px;
  border-radius: 8px;
  background: #e597b2;
  text-align: center;
  font-size: 12px;
  transition: all .4s  ease;
  opacity: 0;
  transform: rotate(45deg);
}
.snsbtn:hover span{
  bottom: 60px;
  opacity: 1;
  transform: rotate(0deg);
}
