.container{
    background-color: rgb(237, 237, 237);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-flow: column;
    min-height: 100vh;
    padding-bottom: 60px;
}
.container form{
    background: white;
    width: 600px;
    border-radius: 5px;
    box-shadow: 0 10px 15px rgb(0, 0, 0, .1);
    padding: 20px;
    padding-top: 160px;
}
.container form .inputBox{
    margin-top: 20px;
}
.container form .inputBox span{
    color: rgb(153, 153, 153);
    display: block;
    padding-bottom: 5px;
}

.container form .inputBox input ,
.container form .inputBox select{
    padding: 10px;
    color: rgb(68, 68, 68);
    width: 100%;
    border-radius: 10px;
    border: 1px solid rgb(0, 0, 0, .3);
}
.container form .flexbox{
    gap: 15px;
    display: flex;
}
.container form .flexbox .inputBox{
    flex: 1 1 150px;
}
.container form .submit-btn{
    cursor: pointer;
    width: 100%;
    margin-top: 20px;
    padding: 10px;
    font-size: 20px;
    color: white;
    transition: .2s linear;
    border-radius: 10px;
    background: linear-gradient(45deg, blueviolet, deeppink);
}
.container form .submit-btn:hover{
    letter-spacing: 2px;
    opacity: .8;
}
.container .card-container{
    margin-bottom: -150px;
    width: 400px;
    height: 250px;
    position: relative;
}
.container .card-container .front{
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    box-shadow: 0 15px 25px rgb(0, 0, 0,.2);
    background: linear-gradient(45deg, blueviolet, deeppink);
    backface-visibility: hidden;
    border-radius: 5px;
    transform: perspective(1000px)rotateY(0deg);
    padding: 20px;
    transition: transform .4s ease-out;
}
.container .card-container .front .image{
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 10px;
}
.container .card-container .front .card-number-box{
    color: white;
    font-size: 22px;
    padding: 30px 0;
}
.container .card-container .front .flexbox{
    display: flex;
}
.container .card-container .front .flexbox .box:nth-child(1){
    margin-left: auto;
}
.container .card-container .front .flexbox .box{
    font-size: 15px;
    color: white;
}
.container .card-container .back{
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: linear-gradient(45deg, blueviolet, deeppink);
    border-radius: 5px;
    text-align: right;
    padding: 20px 0;
    backface-visibility: hidden;
    transform: perspective(1000px)rotateY(180deg);
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.2);
    transition: transform .4s ease-out;
}
.container .card-container .back .stripe{
    width: 100%;
    height: 50px;
    background-color: black;
    margin: 10px 0;
}
.container .card-container .back .box{
    padding: 0 20px;
}
.container .card-container .back .box span{
    color: white;
    font-size: 15px;
}
.container .card-container .back .box .cvv-box{
    margin-top: 5px;
    padding: 10px;
    height: 50px;
    width: 100%;
    color: rgb(51, 51, 51);
    background-color: white;
    border-radius: 5px;
}
.myfoot{
    width: 230px;
    height: 230px;
    position: fixed;
    right: 40px;
    bottom: 40px;
    &:hover{
        >img, &::before{
            animation-play-state: paused;
        }
        >figcaption{
            bottom: -30px;
            opacity: 1;
        }
        >a{
            right: 150%;
        }
    }
    >img, &::before {
        width: 100%;
        height: 100%;
        position: absolute;
        top: 0;
        left: 0;
    }
    >img{
        object-fit: cover;
        animation: fancy1 ease-out infinite alternate 5s;
    }
    &::before{
        content: '';
        background-color: mediumorchid;
        animation: fancy2 ease-out infinite alternate 5s;
    }
    >figcaption{
        position: absolute;
        width: 100%;
        text-align: center;
        font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
        font-size: 23px;
        text-transform: capitalize;
        left: 0;
        bottom: 0;
        opacity: 0;
        transition: 1s;
        color: mediumorchid;
    }
    a{
        font-size: 25px;
        color: mediumorchid;
        position: absolute;
        right: 50%;
        text-decoration: none;
        transition: 1s;
        &:nth-of-type(1){
            top: 20%;
            transition-delay: 0.2s;
        }
        &:nth-of-type(2){
            top: 40%;
            transition-delay: 0.4s;
        }
        &:nth-of-type(3){
            top: 60%;
            transition-delay: 0.6s;
        }
        &:nth-of-type(4){
            top: 80%;
            transition-delay: 0.8s;
        }
    }
}
@keyframes fancy1{
    0%{border-radius:51% 49% 25% 75% / 46% 31% 69% 54% ;}
    50%{border-radius: 31% 69% 15% 85% / 68% 64% 36% 32% ;}
    100%{border-radius:18% 82% 76% 24% / 66% 45% 55% 34%  ;}
}
@keyframes fancy2{
    0%{border-radius:31% 69% 15% 85% / 68% 64% 36% 32% ;}
    50%{border-radius:18% 82% 76% 24% / 66% 45% 55% 34%  ;}
    100%{border-radius:51% 49% 25% 75% / 46% 31% 69% 54%  ;}
}