#home-lead h1 {
    text-align: center;
    font-size: 3rem;
    font-weight: 700;
    font-family: 'Lato', sans-serif;
}

#home-lead h1 span:first-of-type{
    display: inline-block;
}
#home-lead h1 span:nth-child(2),#home-lead h1 span:nth-child(3){
    display: none;
}

#home-lead h1 span:last-of-type{
    display: block;
    font-size: 1.8rem;
    color: #000000;
}

.small-text{
    font-size: 1rem;
}

h1 span {
    display: none;
}

h1 strong{
    display: block;
    color: #000000;
}

h2 {
    color: #aa0304;
    text-align: center;
    font-size: 1.5rem;
}

.bg-red h2 {
    color: #FFFFFF;
}

h3 {
    margin: 1.5rem auto 0;
}


#home-lead > div >.row:last-of-type{
    align-items: center;
}

/*#home-lead .row > div:first-of-type{
    order: 1;
}
#home-lead .row > div:nth-child(2){
    order: 4;
}
#home-lead .row > div:nth-child(3){
    order: 2;
}
#home-lead .row > div:nth-child(4){
    order: 5;
}
#home-lead .row > div:nth-child(5){
    order: 4;
}*/


.testimonial-slider {
    display: none;
}


.ovs-video {
    background: transparent url(/wp-content/themes/OVS/images/icons/play.png) no-repeat 0 0;
    /*background: transparent url(/wp-content/themes/eden/images/icons/play.png) no-repeat 0 0;*/
    height: 40px;
    display: block;
    vertical-align: bottom;
    padding-left: 40px;
}


#course-selector {
    color: #000000;
    line-height: 1.3;
    padding: 20px 0;
}

#course-selector > .row:first-of-type {
    justify-content: center;
    text-align: center;
}


.popular-courses-block a.btn, .popular-courses-block .btn {
    font-size: 0.9rem;
    margin: 10px auto;
    padding: 0.8rem 0.1rem;
    letter-spacing: 0;
}

.popular-courses-block p.price{
    font-weight: 600;
    margin-bottom: 0;
}

#course-selector ul {
    margin-left: 0;
}
#course-selector ul li {
    display: inline-block;
    padding: 0.5rem;
}

#course-selector ul li a {
    font-size: 1.4rem;
    padding: 10px;
    margin: 0.4rem;
    color: #3A3A3A;
    font-weight: normal;
    text-transform: uppercase;
    font-family: 'Oswald', sans-serif;
    text-decoration: none;
}

#course-selector ul li a:hover {
    text-decoration: underline;
    color: #a61919;
}

#course-selector ul li a.active,
#course-selector ul li a.active:hover {
    text-decoration: underline;
    color: #a61919;
}

/*#course-selector > .row > div {
    display: flex;
}*/

#course-selector > .row > div {
    padding-left: 10px;
    padding-right: 10px;
}

#course-selector > .row > div > div {
    margin: 20px auto 0;
    background: #FFFFFF;
    position: relative;
    text-align: center;
}

.popular-courses-block.active > div:nth-child(odd){
    border-right: 1px solid #BDBDBD;
}
.popular-courses-block.active > div:nth-child(3), .popular-courses-block.active > div:nth-child(4){
    border-top: 1px solid #BDBDBD;
}

#course-selector > .row > div > div > a:first-of-type {
    font-size: 1rem;
    margin: 10px 0;
    display: block;
    text-transform: uppercase;
    min-height: 95px;
}

#course-selector > .row > div > div > a:last-of-type {
    text-transform: uppercase;
    font-weight: 700;
}


#course-selector .btn-wrapper {
    position: inherit;
    margin: auto;
}

#course-selector img {
    display: block;
    margin: 0 auto;
    transition: all .35s ease-out;
}

#course-selector img:hover {
    /*transform: scale(1.3);*/
}

#why-us-video .video-responsive {
    -webkit-box-shadow: 0 25px 54px -1px rgb(60, 9, 9);
    -moz-box-shadow: 0 25px 54px -1px rgb(60, 9, 9);
    box-shadow: 0 25px 54px -1px rgb(60, 9, 9);
}
#ministry-inspected {
    max-width:250px;
    margin-top:10px;
    margin-bottom: 30px;
}

.popular-courses-block {
    display: none;
}

/*.popular-courses-image-wrapper {
    overflow: hidden;
}*/

.popular-courses-block.active {
    display: flex;
    margin-bottom: 40px;

}

.testimonial > div > p {
    color: #a61919;
    text-align: center;
}


/*.testimonial:before, .testimonial:after {
    content: "";
    border-top: 40px solid #FFFFFF;
    border-right: 195px solid transparent;
    position: absolute;
    bottom: -35px;
    left: 0;
}

.testimonial:after {
    border-right: none;
    border-left: 195px solid transparent;
    left: auto;
    right: 0;
}*/

#testimonial-wrapper h2.centre-text{
    font-size: 1rem;
}

#testimonial-wrapper h2.centre-text span{
    display: block;
}


.testimonial {
    padding-left: 10px;
    padding-right: 10px;
    padding-bottom: 30px;
    margin-bottom: 90px;
}

.testimonial > div {
    min-height: 100%;
    background: #FFFFFF;
    padding: 30px 50px 100px;
    position: relative;
    display: flex;
    flex-direction: column;
    -webkit-box-shadow: 0px 25px 54px -1px rgba(189, 189, 189, 1);
    -moz-box-shadow: 0px 25px 54px -1px rgba(189, 189, 189, 1);
    box-shadow:0px 25px 54px -1px rgba(189, 189, 189, 1);
}

.testimonial > div p:first-of-type {
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.testimonial > div hr {
    width: 80%;
    margin-bottom: 1rem;
}

.testimonial > div > div {
    text-align: left;
    margin-bottom: 1.111rem;
    line-height: 1.6;
}


.testimonial .img-circle {
  /*  -webkit-box-shadow: 0 0 0 3px rgb(166, 25, 25);
    -moz-box-shadow: 0 0 0 3px rgb(166, 25, 25);
    box-shadow: 0 0 0 3px rgb(166, 25, 25);
    border: 2px solid #FFFFFF;*/
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 40%;
    position: absolute;
    bottom: -65px;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
}

/**/

#laptop-wrapper {
    position: relative;
    padding-top: 0;
    /*padding-bottom: 67.5%;*/
    padding-bottom: 55.5%;
    height: 0;
}

#laptop-wrapper img {
    left: 0;
    top: 0;
    width: 100%;
    position: absolute;
    z-index: 2;
}

#laptop-wrapper iframe {
    box-sizing: border-box;
    /*background: url(/wp-content/themes/ontario-vs/images/laptop-gloss-player.png) 0% 0% / contain no-repeat;*/
    display: block;
    padding:2.9% 15.4% 7.8% 15.5%;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
h2#why-us-header{
    font-size: 1rem;
}

#why-us-video{
    background-color: #a61919;
    padding: 20px 0;
    margin-bottom: 50px;

}

#why-us p {
    font-size: 1.5rem;
    color: #a61919;
    margin-bottom: 5px;
    line-height: 1;
}

#why-us > div {
    font-size: 1.2rem;
    line-height: 1.3;
    margin-top: 1rem;
    margin-bottom: 50px;
    justify-content: center;
    text-align: center;
}


#why-us img.why-us-icon {
    margin-bottom: 10px;
    transition: all .55s ease-out;
}

#why-us img.why-us-icon:hover {
    -ms-transform: rotate(20deg); /* IE 9 */
    -webkit-transform: rotate(20deg); /* Safari 3-8 */
    transform: rotate(20deg);
}

/**/

#featured-on .centre-text {
    margin: 15px auto 5px;
}

#university, #featured {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    text-align: center;
}

#university p{
    font-size: 2.4rem;
    text-align: center;
    display: block;
    line-height: 1.2;
    width: 100%;
    color: #a61919;
    margin-top: 50px;
    margin-bottom: 50px;
}


#university img,#featured img {
    margin-right: 10px;
    margin-left: 10px;
    -webkit-filter: grayscale(100%); /* Safari 6.0 - 9.0 */
    filter: grayscale(100%);
    transition: all .65s ease-out;
}

#university img:hover, #featured-on img:hover {
    margin-right: 10px;
    margin-left: 10px;
    -webkit-filter: grayscale(0); /* Safari 6.0 - 9.0 */
    filter: grayscale(0);
}
#home-lead .container .row > div:nth-child(2) {
    order: 1;
}


/*1*/


#btn-watch-video{
    position: relative;
    padding-left: 65px;
    display: block;
}

#btn-watch-video:before{
    content: "";
    width: 55px;
    height: 45px;
    background: url("/wp-content/themes/ontario-vs/css/button-play.png");
    background-position: center;
    background-size: cover;
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto;
    left: 5px;
    transition: all .55s ease-out;
}
#btn-watch-video:hover:before{
    content: "";
    width: 55px;
    height: 45px;
    background: url("/wp-content/themes/ontario-vs/css/button-play-hover.png");
    background-position: center;
    background-size: cover;
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto;
    left: 5px;
}
/**/

/* latest news*/
#student-spotlight-wrapper{
    align-self: center;
}

#latest-news{
    padding-top: 50px;
    padding-bottom: 50px;
}

#student-spotlight-wrapper .ln-entry-image{
    overflow: hidden;
    position: relative;
    margin: 0 auto 20px;
    max-width: 340px;
}

#news-wrapper .ln-entry-image{
    overflow: hidden;
    position: relative;
    max-width: 415px;
    margin: 0 auto;
}

#news-wrapper .ln-entry-meta-block{
    position: relative;
    max-width: 415px;
    margin: 0 auto;
    padding: 0 10px;
}

.ln-entry-image a {
    display: block;
}

.padding-sm{
    padding-left: 20px !important;
    padding-right: 20px !important;
}

#student-spotlight-wrapper .ln-entry-wrap{
    background: #a61919;
    color: #FFFFFF;
    padding: 20px 10px;
    opacity: 1;
    width: 100%;
    position: relative;
    bottom: 25px;
    font-size: 0.85rem;
}

#latest-news .ln-entry-block{
    margin-bottom: 20px;
}

#news-wrapper .ln-entry-wrap{
    position: absolute;
    bottom: 20px;
    padding: 10px;
    /*width: 90%;*/
    max-width: 340px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    /*font-weight: 600;*/
    background: #a61919;
    color: #FFFFFF;
}

#news-wrapper .ln-entry-wrap .ln-entry-category a,
#news-wrapper .ln-entry-meta-block .ln-entry-title a{
    font-size: 0.85em;
    font-weight: 600;
}

.ln-entry-wrap a{
    color: inherit;
}.ln-entry-wrap a:hover{
    color: inherit;
    text-decoration: underline;
}

#latest-news .ln-entry-block:nth-child(even) .ln-entry-wrap{
    background: #a61919;
    color: #FFFFFF;
}

#latest-news .ln-entry-block:nth-child(odd) .ln-entry-wrap{
    background: #FFFFFF;
    color: #a61919;
}

#latest-news .ln-entry-block:nth-last-child(-n+3) {
    display: none;
}

.ln-entry-header{
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.2;
}

.ln-entry-category, .ln-entry-title, .ln-entry-school{
    letter-spacing: 1px;
}


.ln-entry-title{
    line-height: 1.1;
    margin-bottom: 5px;
    display: block;
}

.ln-entry-date{
    font-size: 0.8rem;
    letter-spacing: 1px;
    font-weight: 600;
    display: block;
}

@media (min-width: 25.05em) {
    #testimonial-wrapper h2.centre-text{
        font-size: 1.1rem;
    }
}
@media (min-width: 64em) and (max-width: 74.99999em) {
    .ln-entry-wrap{
        bottom: 15px;
    }

    .ln-entry-header{
        font-size: 0.86rem;
    }
}

@media (min-width: 1023px) {
     #home-lead h1 {
        text-align: left;
        font-size: 1.52rem; /*ipad pro*/
    }
}

@media (min-width: 48em) {

    .padding-sm{
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

    #course-selector > .row > div{
        display: flex;
    }

    .popular-courses-block.active > div:nth-child(odd), .popular-courses-block.active > div:nth-child(3), .popular-courses-block.active > div:nth-child(4){
        border-right: none;
        border-top:none;
    }

    #course-selector > .row > div > div {
        padding: 10px;
        position: relative;
        display: flex;
        flex: 1;
        min-height: 600px;
        text-align: center;
        flex-direction: column;
        -webkit-box-shadow: 0px 25px 54px -1px rgba(189, 189, 189, 1);
        -moz-box-shadow: 0px 25px 54px -1px rgba(189, 189, 189, 1);
        box-shadow: 0px 25px 54px -1px rgba(189, 189, 189, 1);
    }



    h1 span {
        display: inline-block;
    }

    #home-lead a.btn,
    #home-lead .btn {
        display: block;
        font-size: 1.2rem;
        width: 100%;
        padding: 0.8rem 3em;
        max-width: 550px;
    }


    .popular-courses-block a.btn, .popular-courses-block .btn {
        font-size: 1rem;
        margin: 10px 0;
        letter-spacing: 3px;
        padding: 0.8rem 0.999rem;
    }

   
    #home-lead h1 span:last-of-type{
        font-size: 1.5rem;
    }
    h2, h2#why-us-header,#testimonial-wrapper h2.centre-text{
        font-size: 1.5rem;
    }

    #why-us > div {
        justify-content: left;
        text-align: left;
    }

    #latest-news .ln-entry-block:nth-last-child(-n+3) {
        display: block;
    }
}

@media (min-width: 64em) {
    #student-spotlight-wrapper .ln-entry-image img{
        transition: transform .5s ease;
    }

    #student-spotlight-wrapper .ln-entry-image:hover img{
        transform: scale(1.3);
    }


    #student-spotlight-wrapper .ln-entry-image{
        max-width: none;
    }

    #home-lead .container .row > div:nth-child(2) {
        order:unset;
    }

    .testimonial.active {
        padding-bottom: 0;
    }

    #why-us-video{
        padding: 50px 0;
    }
    #ministry-inspected {
        max-width:100%;
        margin-bottom: 30px;
    }

    #home-lead h1 span:first-of-type{
        display:none;
    }
    #home-lead h1 span:nth-child(2),#home-lead h1 span:nth-child(3){
        display: inline-block;
    }

    #registration > .row > div:last-of-type{
        /*display: flex;*/
        align-items: center;
        justify-content: center;
    }

    #course-selector > .row > div > div > a:first-of-type {
        font-size: 1.144rem;
    }
    #testimonial-wrapper h2.centre-text{
        font-size: 1.5rem;
    }

}

@media (min-width: 75em) {
    #home-lead h1 {
        font-size: 2rem; /* 4.3rem;*/
        /*margin-bottom: 30px;*/
    }

    #home-lead h1 span:last-of-type{
        font-size: 1.8rem;
    }

    h2, h2#why-us-header {
        font-size: 1.8rem;
        text-align: left;
    }
    #testimonial-wrapper h2.centre-text{
        font-size: 1.8rem;
    }
}
/*css animations*/

/* Circle Progress Bars */
.circle-container-large {
    width:250px;
    height:250px;
    margin: 20px;
    /*height: 100%;*/
    position: relative;
    text-align:center
}
.circle-container {
    width:200px;
    height:200px;
    margin: 10px;
    /*height: 100%;*/
    position: relative;
    text-align:center
}
.circle-small-container {
    width:150px;
    height:150px;
    margin: 5px;
    height: 100%;
    position: relative;
    text-align:center
}
.circles {
    display:flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

/* Revealing Steps */
#flip-container {
    text-transform: uppercase;
    max-width: 550px;
    font-weight: bold;
    color: #FFFFFF;
    text-align: left;
    min-height: 100px;
    transition: all .35s ease-out;
}

#flip-container > div:first-of-type{
    min-height: 65px;
    font-size: 1.4rem;
}
#flip {
    overflow:hidden;
}
#flip > div {
    color:#FFFFFF;
    min-height:65px;
    transform: translateY(350%);
    transition: transform 1.2s;
}


#flip > .flip-reveal {
    transform: translateY(0%);
    font-size: 1.1rem;
}

@keyframes show {
    0% {margin-top:-270px;}
    5% {margin-top:-180px;}
    33% {margin-top:-180px;}
    38% {margin-top:-90px;}
    66% {margin-top:-90px;}
    71% {margin-top:0px;}
    99.99% {margin-top:0px;}
    100% {margin-top:-270px;}
}

@media (max-width: 20.833em) {
    #flip > div:nth-child(2) {
        min-height:90px;
    }
}
@media (min-width: 48em) {
    /*#flip > div:nth-child(2) {
        min-height:65px;
    }*/
}

@media (min-width: 64em) {

    .circles {
        flex-wrap: nowrap;
    }

    .circle-container-large {
        width:300px;
        height:300px;
    }
    .circle-container {
        width:250px;
        height:250px;
    }
    .circle-small-container {
        width:200px;
        height:200px;
    }

    #flip-container > div:first-of-type{
        min-height: 55px;
        font-size:1.7rem;
    }
    #flip > div/*,  #flip > div:nth-child(2)*/ {
        min-height:45px;
    }

}

@media only screen and (min-width: 64em) and (orientation: portrait) {
    /*IPAD PRO fix  need to revisit*/
    #flip > div:nth-child(2) {
        /*min-height:75px;*/
        white-space:nowrap;
    }
}


@media (min-width: 75em) {
    #flip-container > div:first-of-type{
        min-height: 60px;
    }
    #flip > div/*,#flip > div:nth-child(2)*/  {
        min-height:45px;
    }
}

.ovs-inspected-container {
    /*background:#8E0000;*/
    overflow: hidden;
    position: relative;
    width: 100%;
    height: 550px;
}

@keyframes pop-up-outer {
    0% {
        opacity: 0;
        transform: scaleX(0.2) scaleY(0.2);
    }
    10% {
        opacity: 0;
        transform: scaleX(0.2) scaleY(0.2);
    }
    20% {
        opacity: 1;
        transform: scaleX(1.1) scaleY(1.1);
    }
    30% {
        opacity: 1;
        transform: scaleX(1) scaleY(1);
    }
    100% {
        opacity: 1;
        transform: scaleX(0.98) scaleY(0.98);
    }
}

@keyframes pop-up-middle {
    0% {
        opacity: 0;
        transform: scaleX(0.2) scaleY(0.2);
    }
    5% {
        opacity: 0;
        transform: scaleX(0.2) scaleY(0.2);
    }
    15% {
        opacity: 1;
        transform: scaleX(1.1) scaleY(1.1);
    }
    25% {
        opacity: 1;
        transform: scaleX(1) scaleY(1);
    }
    100% {
        opacity: 1;
        transform: scaleX(1) scaleY(1);
    }
}

@keyframes pop-up-inner {
    0% {
        top: 64px;
        left: 64px;
        opacity: 0;
        transform: scaleX(0.2) scaleY(0.2);
    }
    10% {
        opacity: 1;
        transform: scaleX(1.1) scaleY(1.1);
    }
    20% {
        top: 64px;
        left: 64px;
        opacity: 1;
        transform: scaleX(1) scaleY(1);
    }
    100% {
        top: 64px;
        left: 64px;
        opacity: 1;
        transform: scaleX(1) scaleY(1);
    }
}

@keyframes pop-up-main-text {
    0% {
        opacity: 0;
        top: 50%;
        left: 50%;
        font-size: 1px;
        transform: translateX(-50%) translateY(-50%) rotateZ(0deg);
    }
    15% {
        opacity: 0;
        top: 50%;
        left: 50%;
        font-size: 1px;
        transform: translateX(-50%) translateY(-50%) rotateZ(0deg);
    }
    20% {
        opacity: 1;
        top: 50%;
        left: 50%;
        font-size: 160px;
        transform: translateX(-50%) translateY(-50%) rotateZ(40deg);
    }
    32% {
        opacity: 1;
        top: 50%;
        left: 50%;
        font-size: 138px;
        transform: translateX(-50%) translateY(-50%) rotateZ(-10deg);
    }
    100% {
        opacity: 1;
        top: 50%;
        left: 50%;
        font-size: 138px;
        transform: translateX(-50%) translateY(-50%) rotateZ(-10deg);
    }
}

@keyframes pop-up-top-text {
    0% {
        opacity: 0;
        top: 50%;
        left: 50%;
        transform: translateX(-50%) translateY(-50%) rotateZ(-120deg);
    }
    25% {
        opacity: 0;
        top: 50%;
        left: 50%;
        transform: translateX(-50%) translateY(-50%) rotateZ(-120deg);
    }
    35% {
        opacity: 1;
        top: 50%;
        left: 50%;
        transform: translateX(-50%) translateY(-50%) rotateZ(-50deg);
    }
    40% {
        opacity: 1;
        top: 50%;
        left: 50%;
        transform: translateX(-50%) translateY(-50%) rotateZ(-70deg);
    }
    100% {
        opacity: 1;
        top: 50%;
        left: 50%;
        transform: translateX(-50%) translateY(-50%) rotateZ(-70deg);
    }
}

@keyframes pop-up-bottom-text {
    0% {
        opacity: 0;
        top: 50%;
        left: 50%;
        transform: translateX(-50%) translateY(-50%) rotateZ(0deg);
    }
    30% {
        opacity: 0;
        top: 50%;
        left: 50%;
        transform: translateX(-50%) translateY(-50%) rotateZ(50deg);
    }
    40% {
        opacity: 1;
        top: 50%;
        left: 50%;
        transform: translateX(-50%) translateY(-50%) rotateZ(-20deg);
    }
    45% {
        opacity: 1;
        top: 50%;
        left: 50%;
        transform: translateX(-50%) translateY(-50%) rotateZ(0deg);
    }
    100% {
        opacity: 1;
        top: 50%;
        left: 50%;
        transform: translateX(-50%) translateY(-50%) rotateZ(0deg);
    }
}


@keyframes pop-up-bottom-text-est {
    0% {
        opacity: 0;
        top: 50%;
        left: 50%;
        transform: translateX(-50%) translateY(-50%) rotateZ(-100deg);
    }
    30% {
        opacity: 0;
        top: 50%;
        left: 50%;
        transform: translateX(-50%) translateY(-50%) rotateZ(-80deg);
    }
    40% {
        opacity: 0;
        top: 50%;
        left: 50%;
        transform: translateX(-50%) translateY(-50%) rotateZ(-60deg);
    }
    45% {
        opacity: 1;
        top: 50%;
        left: 50%;
        transform: translateX(-50%) translateY(-50%) rotateZ(-10deg);
    }
    100% {
        opacity: 1;
        top: 50%;
        left: 50%;
        transform: translateX(-50%) translateY(-50%) rotateZ(-3deg);
    }
}


.abs-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
}

.logo-cont {
    width: 500px;
    height: 500px;
}

.logo-box {
    position: relative;
    width: 500px;
    height: 500px;
    -webkit-backface-visibility: hidden;
    background: #8e0000;
    border-radius: 500px;
    margin:0 auto;
}

.outer-ring, .inner-ring, .middle-ring {
    border-radius: 50%;
}

.outer-ring {
    border: 2px solid rgba(255,255,255,0.8);
    width: 496px;
    height: 496px;
    animation: pop-up-outer 6s 0s ;
    top:0;
    left:0;
    transform: scaleX(.98) scaleY(.98);
}

.middle-ring {
    border: 3px dashed rgba(255,255,255,0.8);
    width: 470px;
    height: 470px;
    animation: pop-up-middle 6s 0s ;
    top: 3%;
    left: 3%;
    transform: scaleX(1) scaleY(1);
}

.inner-ring {
    border: 6px solid rgba(255,255,255,0.8);
    width: 360px;
    height: 360px;
    animation: pop-up-inner 6s 0s ;
}

.curve-text {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 440px;
}

.curve-text.top {font-weight:bold;
    transform: translateX(-50%) translateY(-50%) rotateZ(-70deg);
    animation: pop-up-top-text 6s ;
    /* animation-fill-mode: forwards;*/
}

.curve-text .letter {
    position: absolute;
    top: 0;
    left: 0;
    width: 20px;
    height: 220px;
    transform-origin: 50% 100%;
    text-align: center;
    font-size:24px;
    color: #fff;
    font-family: 'Josefin Slab', serif;
}

/* TOP TEXT LETTERS */
.curve-text.top .letter:nth-child(1) {
    transform: rotateZ(-4deg);
}
.curve-text.top .letter:nth-child(2) {
    transform: rotateZ(4deg);
}
.curve-text.top .letter:nth-child(3) {
    transform: rotateZ(12deg);
}
.curve-text.top .letter:nth-child(4) {
    transform: rotateZ(20deg);
}
.curve-text.top .letter:nth-child(5) {
    transform: rotateZ(28deg);
}
.curve-text.top .letter:nth-child(6) {
    transform: rotateZ(36deg);
}
.curve-text.top .letter:nth-child(7) {
    transform: rotateZ(44deg);
}
.curve-text.top .letter:nth-child(8) {
    transform: rotateZ(52deg);
}
.curve-text.top .letter:nth-child(9) {
    transform: rotateZ(60deg);
}
.curve-text.top .letter:nth-child(10) {
    transform: rotateZ(68deg);
}
.curve-text.top .letter:nth-child(11) {
    transform: rotateZ(76deg);
}
.curve-text.top .letter:nth-child(12) {
    transform: rotateZ(84deg);
}
.curve-text.top .letter:nth-child(13) {
    transform: rotateZ(92deg);
}
.curve-text.top .letter:nth-child(14) {
    transform: rotateZ(100deg);
}
.curve-text.top .letter:nth-child(15) {
    transform: rotateZ(108deg);
}
.curve-text.top .letter:nth-child(16) {
    transform: rotateZ(116deg);
}
.curve-text.top .letter:nth-child(17) {
    transform: rotateZ(124deg);
}
.curve-text.top .letter:nth-child(18) {
    transform: rotateZ(132deg);
}
.curve-text.top .letter:nth-child(19) {
    transform: rotateZ(140deg);
}

.curve-text.bottom {font-weight:bold;
    transform: translateX(-50%) translateY(-50%) rotateZ(0deg);
    animation: pop-up-bottom-text 6s ;
}

.curve-text.bottom .letter {
    transform-origin: 50% 0;
    top: 220px;
    line-height: 420px;
}

/*BOTTOM TEXT LETTERS*/
.curve-text.bottom .letter:nth-child(1) {
    transform: rotateZ(54deg);
}
.curve-text.bottom .letter:nth-child(2) {
    transform: rotateZ(46deg);
}
.curve-text.bottom .letter:nth-child(3) {
    transform: rotateZ(38deg);
}
.curve-text.bottom .letter:nth-child(4) {
    transform: rotateZ(30deg);
}
.curve-text.bottom .letter:nth-child(5) {
    transform: rotateZ(22deg);
}
.curve-text.bottom .letter:nth-child(6) {
    transform: rotateZ(14deg);
}
.curve-text.bottom .letter:nth-child(7) {
    transform: rotateZ(6deg);
}
.curve-text.bottom .letter:nth-child(8) {
    transform: rotateZ(-2deg);
}
.curve-text.bottom .letter:nth-child(9) {
    transform: rotateZ(-10deg);
}
.curve-text.bottom .letter:nth-child(10) {
    transform: rotateZ(-18deg);
}
.curve-text.bottom .letter:nth-child(11) {
    transform: rotateZ(-26deg);
}
.curve-text.bottom .letter:nth-child(12) {
    transform: rotateZ(-34deg);
}
.curve-text.bottom .letter:nth-child(13) {
    transform: rotateZ(-42deg);
}
.curve-text.bottom .letter:nth-child(14) {
    transform: rotateZ(-50deg);
}
.curve-text.bottom .letter:nth-child(15) {
    transform: rotateZ(-58deg);
}


.curve-text.est {font-weight:bold;
    transform: translateX(-50%) translateY(-50%) rotateZ(-3deg);
    animation: pop-up-bottom-text-est 6s ;
}
.curve-text.est .letter {
    transform-origin: 50% 0;
    top: 220px;
    line-height: 310px;
}

.curve-text.est .letter:nth-child(1) {
    transform: rotateZ(54deg);
}
.curve-text.est .letter:nth-child(2) {
    transform: rotateZ(46deg);
}
.curve-text.est .letter:nth-child(3) {
    transform: rotateZ(38deg);
}
.curve-text.est .letter:nth-child(4) {
    transform: rotateZ(30deg);
}
.curve-text.est .letter:nth-child(5) {
    transform: rotateZ(22deg);
}
.curve-text.est .letter:nth-child(6) {
    transform: rotateZ(14deg);
}
.curve-text.est .letter:nth-child(7) {
    transform: rotateZ(6deg);
}
.curve-text.est .letter:nth-child(8) {
    transform: rotateZ(-2deg);
}
.curve-text.est .letter:nth-child(9) {
    transform: rotateZ(-10deg);
}
.curve-text.est .letter:nth-child(10) {
    transform: rotateZ(-18deg);
}
.curve-text.est .letter:nth-child(11) {
    transform: rotateZ(-26deg);
}
.curve-text.est .letter:nth-child(12) {
    transform: rotateZ(-34deg);
}
.curve-text.est .letter:nth-child(13) {
    transform: rotateZ(-42deg);
}
.curve-text.est .letter:nth-child(14) {
    transform: rotateZ(-50deg);
}
.curve-text.est .letter:nth-child(15) {
    transform: rotateZ(-58deg);
}

.main-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%) rotateZ(-10deg);
    font-size: 130px;
    color: #fff;
    font-family: 'Oleo Script Swash Caps', cursive;
    letter-spacing: 4px;
    animation: pop-up-main-text 6s 0s ;
    animation-fill-mode: forwards;
}

.main-text .icon-check-circle{
    font-size: 200%;
}

.main-text:after {
    content: "";
    font-size: 140px;
    font-weight: bold;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    color: #2d3833;
    z-index: -1;
    letter-spacing: 2px;
}