.container {
    background-color: rgb(44, 2, 83);
    height: 100vh;
}

#cover {
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

#box {
    width: 440px;
    height: 440px;
    background-color: #89cff0;
    border-radius: 50%;
    padding-top: 10%;
}

#boxBody {
    position: relative;
    margin: auto;
    margin-top: -5%;
    height: 200px;
    width: 200px;
    border-bottom-left-radius: 5%;
    border-bottom-right-radius: 5%;
    box-shadow: 0px 4px 8px 0px rgba(0, 0, 0, 0.3);
    background: linear-gradient(#762c2c, #ff0303);
}

.strap {
    margin: auto;
    width: 35px;
    height: inherit;
    background: linear-gradient(rgb(255, 251, 0), rgb(177, 174, 37));
    justify-self: center;
}

#gift{
    margin-top: 20%;
}

#boxHead {
    position: relative;
    background-color: red;
    width: 210px;
    height: 40px;
    margin: auto;
    top: 5%;
    z-index: 1;
    box-shadow: 0px 3px 5px 1px black;
}

#bowTie {
    margin: auto;
    position: relative;
}

#bowTie::before,
#bowTie::after {
    content: "";
    width: 60px;
    height: 60px;
    background-color: #00000000;
    border: 10px solid white;
    position: absolute;
    z-index: 0;
    border-radius: 50% 50% 50% 0;
    left: 50%;
    bottom: 0px;
    transform: skew(-10deg, -10deg);
}

#bowTie::before {
    transform: translateX(-100%) rotate(-90deg) skew(-10deg, -10deg);
}


#content{
    display: block;
    position: relative;
    margin: auto;
    width: 100%;
    height: 10px;
}
#box:hover #content::before{
    content: "Happy Holi";
    color: white;
    display: block;
    position: relative;
    background-color: rgba(0, 0, 0, 0);
    text-align: center;
    z-index: 1;
    animation: holi 2s forwards ease-in-out;
}

#box:hover  #boxHead{
    position: relative;
    animation: boxCover 1s forwards ease-in-out;
    z-index: 1;
}

#box:hover #gift{
    animation: gift 1s forwards ease-in-out;
}

#box:hover #boxBody{
    margin-top: -5%;
}
@keyframes boxCover {

    0%,
    42% {
        -webkit-transform: translate3d(0%, 0%, 0) rotate(0deg);
        transform: translate3d(0%, 0%, 0) rotate(0deg);
    }

    60% {
        -webkit-transform: translate3d(-35%, -250%, 0) rotate(-25deg);
        transform: translate3d(-35%, -250%, 0) rotate(-25deg);
    }

    90%,
    100% {
        -webkit-transform: translate3d(-75%, 250%, 0) rotate(-70deg);
        transform: translate3d(-75%, 250%, 0) rotate(-70deg);
    }
}

@keyframes gift {
    0% {
        -webkit-transform: translate3d(0%, 0%, 0) rotate(0deg);
        transform: translate3d(0%, 0%, 0) rotate(0deg);
    }

    25% {
        -webkit-transform: translate3d(0%, 25%, 0) rotate(20deg);
        transform: translate3d(0%, 25%, 0) rotate(20deg);
    }

    50% {
        -webkit-transform: translate3d(0%, -15%, 0) rotate(0deg);
        transform: translate3d(0%, -15%, 0) rotate(0deg);
    }

    70% {
        -webkit-transform: translate3d(0%, 0%, 0) rotate(0deg);
        transform: translate3d(0%, 0%, 0) rotate(0deg);
    }
}

@keyframes holi{
    0%{
        color: white;
    }
    100%{
    font-size: 8vw;
    transform: translateY(-200px);    
    }
}