@import url('https://fonts.googleapis.com/css?family=Be+Vietnam&display=swap');
*
{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
:root
{
    --blue: #287bff;
    --white: #fff;
    --grey:  #d8d8d8;
    --black1: #222;
    --black2: #999;
    --red: rgb(199, 47, 47);
}
body
{
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    min-height: 100vh;
    overflow-x: hidden;
    font-family: "Be Vietnam", serif;
}
.container
{
    display: flex;
    flex-flow: column;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(to top, #86377b 20%, #27273c 80%)
}
.topbox
{
    position: relative;
    width:100%;
    height: 15%;
}
.indexbox
{
    display: flex;
    flex-flow: column;
    position: relative;
    border-radius: 38px;
    box-shadow: 0 0 30px var(--black1);    
    width: clamp(35ch,50% ,45ch);
    height: clamp(45ch,60% ,60ch);
    display: flex;
    margin:auto;
    background: var(--grey);
}
.indexbox .indextitle
{

    position: relative;
    width: 100%;
    margin-top: 3rem;
    text-align: center;
}
.indexbox .indextitle p
{
    font-size:x-large;
    font-weight:900;
}
.indexbox .icon
{
    position: relative;
    display: block;
    width: 55%;
    margin-top: 20%;
    margin-left: auto;
    margin-right: auto;
}
.indexbox .message
{
    position: relative;
    width: 100%;
    margin-top: 3rem;
    text-align: center;
}
.indexbox .message p
{
    font-size: larger;
    font-weight: 700;
    color: var(--red);
}
.footer
{
    position: relative;
    clear: both;
    min-height: 120px;
}

@keyframes move_wave {
    0% {
        transform: translateX(0) translateZ(0) scaleY(1)
    }
    50% {
        transform: translateX(-25%) translateZ(0) scaleY(0.55)
    }
    100% {
        transform: translateX(-50%) translateZ(0) scaleY(1)
    }
}

.footer .wave
{
    position: absolute;
    left: 0;
    width: 200%;
    height: 100%;
    background-repeat: repeat no-repeat;
    background-position: 0 bottom;
    transform-origin: center bottom;
}
.footer .wave.waveTop
{
    z-index: 15;
    opacity: 0.5;
    background-size: 50% 100px;
    animation: move-wave 3s;
   -webkit-animation: move-wave 3s;
   -webkit-animation-delay: 1s;
   animation-delay: 1s;
}
.footer .wave.waveMid
{
    z-index: 10;
    opacity: 0.75;
    background-size: 50% 120px;
    animation: move_wave 10s linear infinite;
}
.footer .wave.waveBot
{
    z-index: 5;
    background-size: 50% 100px;
    animation: move_wave 15s linear infinite;
}