*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    overflow: hidden;
    color: #fff;
    user-select: none;

}

@font-face {
    font-family: kor;
    src: url('../fonts/kor.woff');
}

#container{
    width: 300px;
    height: 250px;
    position: relative;
    cursor: pointer;
    font-family: kor, sans-serif;
}

#red{
    position: absolute;
    width: 351px;
    height: 251px;
    background-image: url('../img/red.svg');
    background-size: 100%;
    z-index: 99;
    left: 100%;
    animation: slideIn 0.6s 1s forwards;
}
@keyframes slideIn {
    0%{
        left: 0%;
    }
    100%{
        left: -220px;
    }
    
}

#bg{
    width: 100%;
    height: 100%;
    background-image: url('../img/bg.jpg');
    background-size: 300px;
    background-position: center;
    transform: scale(3);
    animation: aniBG 5s ease-out forwards;
    position: absolute;
}

#gradient{
    position: absolute;
    background: #000;
    z-index: 9;
    opacity: 0;
    width: 100%;
    height: 100%;
    animation: fadeGrade 1s 1s forwards;
}

@keyframes fadeIn {
    0%{
        opacity: 0;
    }
    100%{
        opacity: 1;
    }
    
}

@keyframes fadeGrade {
    0%{
        opacity: 0;
    }
    100%{
        opacity: 0.3;
    }
}

@keyframes aniBG {
    0%{
        transform: scale(1.5) rotate(8deg) translateX(0px);

    }
    100%{

        transform: scale(1) rotate(0deg) translateX(30px);

    }
    
}

.btn {
    border-radius: 25px;
    background-color: rgb(206, 37, 44);
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 170px;
    height: 42px;
    z-index: 11;
    position: absolute;
    bottom: -80px;
    text-align: center;
    z-index: 999;
    right: 10px;
    letter-spacing: 2px;
    font-size: 16px;
    line-height: 16px;
    padding-top: 3px;
    animation: slideUp 1s 1s forwards, pulse 5s 5s infinite;
    text-transform: uppercase;
  }

  @keyframes slideUp {
      0%{
          bottom: -40px;
      }
      100%{
          bottom: 14px;
      }
  }

  @keyframes pulse {
    0%{
        transform: scale(1);
    }
    50%{
        transform: scale(1);
    }
    60%{
      transform: scale(1.1);
    }
    70%{
        transform: scale(1);
    }
    80%{
      transform: scale(1.1);
    }
    90%{
        transform: scale(1);
    }
    100%{
      transform: scale(1);
    }
    
    
  }
  
  #logo{
      position: absolute;
      z-index: 999;
      top: -80px;
      width: 134px;
      height: 78px;
      left: -2px;
      background-image: url('../img/logo.png');
      background-repeat: no-repeat;
      background-position: center;
      background-size: 112px;
      animation: moveDown 0.6s 1s forwards;
  }

  @keyframes moveDown {
      0%{
          top: -80px;
      }
      100%{
          top: 0px;
      }
      
  }

  #text{
    position: absolute;
    z-index: 999;
    font-size: 22px;
    line-height: 24px;
    top: 53px;
    text-align: left;
    width: 173px;
    left: 125px;
    opacity: 0;
    animation: fadeIn 1s 2s forwards;
  }