#container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100vh;
}

#heading {
    background-image: linear-gradient(45deg, #416D19, #9BCF53);
    background-size: 100%;
    background-repeat: repeat;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation:rainbow-text-simple-animation-rev 0.75s ease forwards;
    font-size: 60px;
    font-family: "Shantell Sans", cursive;
    text-align: center;
}

#heading:hover{
    animation: rainbow-text-simple-animation 2s ease-in forwards;
}

#myVideo {
    position: absolute;
    width: 100vw;
    height: 103vh;
    object-fit: cover;
    right: 0;
    left: 0;
    top: 0;
    bottom: 0;
    z-index: -1;
}

.custom-btn {
    font-family: "Shantell Sans", cursive;
    font-size: 20px;
    padding: 20px;
    border: none;
    border-radius: 30px;
    color: #416D19;
    width: 35%;
    margin-left: 30px;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
    box-shadow:inset 2px 2px 2px 0px rgba(255,255,255,.5),
    7px 7px 20px 0px rgba(0,0,0,.1),
    4px 4px 5px 0px rgba(0,0,0,.1);
    outline: none;
}

.btn-8 {
    background-color: #BFEA7C;
    background-image: linear-gradient(315deg, #FFF67E 0%, #BFEA7C 74%);
    line-height: 42px;
    padding: 20;
    border: none;
}

.btn-8 span {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
}

.btn-8:before,
.btn-8:after {
    position: absolute;
    content: "";
    right: 0;
    bottom: 0;
    background: #416D19;
    transition: all 0.3s ease;
}

.btn-8:before{
    height: 0%;
    width: 2px;
}

.btn-8:after {
    width: 0%;
    height: 2px;
}

.btn-8:hover:before {
    height: 100%;
}

.btn-8:hover:after {
    width: 100%;
}

.btn-8:hover{
    background: transparent;
    color: #ebecf0;
}

.btn-8 span:hover{
    color: #416D19;
}

.btn-8 span:before,
.btn-8 span:after {
    position: absolute;
    content: "";
    left: 0;
    top: 0;
    background: #416D19;
    transition: all 0.3s ease;
}

.btn-8 span:before {
    width: 2px;
    height: 0%;
}

.btn-8 span:after {
    height: 2px;
    width: 0%;
}

.btn-8 span:hover:before {
    height: 100%;
}

.btn-8 span:hover:after {
    width: 100%;
}

#par {
    font-family: "Caveat", cursive;
    font-size: 30px;
    background-color: #FFF67E;
    padding: 10px;
    border-radius: 30px;
    text-align: center;
    color: #416D19;
    border: 3px solid #BFEA7C;
    width: 50%;
    align-self: flex-end;
    opacity: 0;
    margin-bottom: 100px;
}

#myVideoPhone {
    display: none;
}

@media all and (max-width:800px) {
    #heading {
        font-size: 45px;
        margin-top: 80px;
    }

    .custom-btn {
        width: 45%;
        padding: 30px;
    }

    #par {
        width: 70%;
        padding: 20px;
        margin-right: 20px;
    }
}

@media all and (max-width:500px) {
    body {
        background-color: #ebecf0;
    }

    #heading {
        font-size: 32px;
        background-image: linear-gradient(145deg, #59D5E0, #F4538A);
        background-size: 100%;
        background-repeat: repeat;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        animation:rainbow-text-simple-animation-rev 0.75s ease forwards;
    }

    .custom-btn {
        font-size: 18px;
        padding: 5px;
        width: 70%;
        border: none;
        border-radius: 30px;
        color: #643843;
    }

    .btn-8 {
        background-color: #BFEA7C;
        background-image: linear-gradient(315deg, #F4538A 0%, #59D5E0 74%);
        line-height: 42px;
        padding: 10;
        border: none;
    }

    .btn-8 span {
        position: relative;
        display: block;
        width: 100%;
        height: 100%;
    }

    .btn-8:before,
    .btn-8:after {
        position: absolute;
        content: "";
        right: 0;
        bottom: 0;
        background: #643843;
        transition: all 0.3s ease;
    }

    .btn-8:before{
        height: 0%;
        width: 2px;
    }

    .btn-8:after {
        width: 0%;
        height: 2px;
    }

    .btn-8:hover:before {
        height: 100%;
    }

    .btn-8:hover:after {
        width: 100%;
    }

    .btn-8:hover{
        background: transparent;
    }

    .btn-8 span:hover{
        color: #643843;
    }

    .btn-8 span:before,
    .btn-8 span:after {
        position: absolute;
        content: "";
        left: 0;
        top: 0;
        background: #643843;
        transition: all 0.3s ease;
    }

    .btn-8 span:before {
        width: 2px;
        height: 0%;
    }

    .btn-8 span:after {
        height: 2px;
        width: 0%;
    }

    .btn-8 span:hover:before {
        height: 100%;
    }

    .btn-8 span:hover:after {
        width: 100%;
    }

    #par {
        font-size: 23px;
        padding: 15px;
        color: #643843;
        background-color: #59D5E0;
        border: 1px solid #FFF67E;
        width: 70%;
        margin-right: 10px;
    }

    #myVideo {
        display: none;
    }

    #myVideoPhone {
        display: block;
        position: absolute;
        width: 100vw;
        height: 102vh;
        object-fit: cover;
        right: 0;
        left: 0;
        top: 0;
        bottom: 0;
        z-index: -1;
    }
}



