﻿.ThankYou {
    background-image: url(media/bg/Thankyoupage.svg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    height: 100vh;
    position: relative;
}

.ThankYouFail {
    background-image: url(media/bg/Thankyoupage_Fail.svg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    height: 100vh;
    position: relative;
}

    .ThankYou .TextThankYou,
    .ThankYouFail .TextThankYou {
        color: #3c3c3c;
        position: absolute;
        top: 0;
        left: 25%;
        padding: 50px 30px;
        background-color: rgba(255, 255, 255, 0.95);
        text-align: center;
        width: 50%;
        height: 300px;
        border-bottom-left-radius: 30px;
        border-bottom-right-radius: 30px;
        box-shadow: 2px 2px 4px #cecece;
        -webkit-animation-name: fadeInDown;
        animation-name: fadeInDown;
        -webkit-animation-duration: 1s;
        animation-duration: 1s;
        -webkit-animation-fill-mode: both;
        animation-fill-mode: both;
    }

        .ThankYou .TextThankYou p,
        .ThankYouFail .TextThankYou p {
            width: 100%;
            text-align: center;
        }

            .ThankYou .TextThankYou p::first-letter,
            .ThankYouFail .TextThankYou p:first-letter {
                font-size: 16px;
                color: #333333;
                float: none;
                padding: 0;
            }

@-webkit-keyframes fadeInDown {
    0% {
        opacity: 0;
        -webkit-transform: translate3d(0, -100%, 0);
        transform: translate3d(0, -100%, 0);
    }

    100% {
        opacity: 1;
        -webkit-transform: none;
        transform: none;
    }
}

@keyframes fadeInDown {
    0% {
        opacity: 0;
        -webkit-transform: translate3d(0, -100%, 0);
        transform: translate3d(0, -100%, 0);
    }

    100% {
        opacity: 1;
        -webkit-transform: none;
        transform: none;
    }
}
