/*** 

====================================================================
    Countdown Section
====================================================================

***/

.countdown-section{
    position: relative;
    padding: 120px 0 0;
    margin-bottom: -450px;
    text-align: center;
    z-index: 3;
    .inner-container{
        position: relative;
        border-radius: 50%;
        display: inline-block;
        @include media-breakpoint-down(lg){
            display: block;
        }
        &:hover{
            .icon-flower-14{
                transform: translate(-50%, 0) scale(.9);
            }
        }
        .icon-flower-14 {
            position: absolute;
            top: 100px;
            left: 50%;
            transform: translate(-50%, 0);
            transition: all 300ms ease;
            pointer-events: none;
        }
    }
    .outer-box {
        position: relative;
        border-radius: 50%;
        background-color: var(--theme-color-light);
        background-image: url(../images/icons/pattern-2.png);
        background-repeat: no-repeat;
        background-position: center;
        background-size: contain;
        box-shadow: 0 0 73px rgba(0, 0, 0, .05);
        width: 762px;
        height: 762px;
        margin: 0 auto;
        @include flex-center;
        flex-direction: column;
        padding: 120px 30px;
        @include media-breakpoint-down(lg){
            border-radius: 0;
            width: 100%;
            height: auto;
        }
        @include media-breakpoint-down(sm){
            padding: 80px 20px;
        }
        &:before {
            content: '';
            position: absolute;
            top: 35px;
            left: 35px;
            right: 35px;
            bottom: 35px;
            border-radius: 50%;
            border: 1px solid var(--theme-color1);
            @include media-breakpoint-down(lg){
                border-radius: 0;
            }
            @include media-breakpoint-down(sm){
                right: 20px;
                top: 20px;
                left: 20px;
                bottom: 20px;
            }
        }
    }
    .content-box{
        text-align: center;
        .caption-box {
            position: relative;
            margin-bottom: 60px;
            .date {
                position: relative;
                color: var(--theme-color4);
                font-size: 48px;
                margin-bottom: 20px;
                font-family: var(--style-font);
                text-transform: capitalize;
                @include media-breakpoint-down(sm){
                    line-height: 1.2em;
                    font-size: 42px;
                    margin-bottom: 10px;
                }
            }
            .address {
                color: var(--theme-color-dark);
            }
        }
    }
    .time-counter{
        margin-bottom: 60px;
        @include media-breakpoint-down(md){
            margin-bottom: 0;
        }
        .time-countdown{
            display: flex;
            justify-content: center;
            text-align: center;
            @include media-breakpoint-down(md){
                flex-direction: column;
            }
            .counter-column{
                padding: 0 30px;
                @include media-breakpoint-down(md){
                    padding: 0;
                    margin-bottom: 50px;
                }
                &:last-child{
                    padding-right: 0;
                    .count{
                        &:before{display: none;}
                    }
                }
                .count{
                    position: relative;
                    color: var(--theme-color-dark);
                    font-size: 72px;
                    color: #c5c5c5;
                    margin-bottom: 15px;
                    line-height: 30px;
                    display: block;
                    text-align: center;
                    &:before{
                        position: absolute;
                        right: -38px;
                        top: 0;
                        font-size: 52px;
                        content: ":";
                        @include media-breakpoint-down(md){
                            display: none;
                        }
                    }
                }
                sub {
                    position: relative;
                    margin-bottom: 7px;
                    font-size: 18px;
                    color: var(--theme-color-dark);
                }
            }
        }
    }
    .theme-btn {
        background-color: var(--theme-color4);
        padding: 15px 20px;
        text-transform: capitalize;
    }
    &.style-two {
        background-color: #f5eee8;
        padding: 120px 0;
        margin-bottom: 0;
        .flower-3 {
            position: absolute;
            top: 50%;
            left: 0;
            transform: translateY(-50%);
        }
        .flower-4 {
            position: absolute;
            top: 140px;
            right: 0;
        }
        .date {
            font-family: var(--style-font);
        }
    }
}

/*** 

====================================================================
    Countdown Section Two
====================================================================

***/

.countdown-section-two {
    position: relative;
    margin-top: -285px;
    padding: 120px 0;
    .inner-container {
        position: relative;
        padding: 145px 0 165px;
        background-color: var(--theme-color-light);
        @include flex-center;
        flex-direction: column;
        &::before{
            content: "";
            position: absolute;
            top: 14px;
            left: 14px;
            bottom: 14px;
            right: 14px;
            background-color: rgba(254, 254, 254, 0.9);
            z-index: 2;
        }
    }
    .content-box{
        position: relative;
        text-align: center;
        z-index: 3;
        .caption-box {
            position: relative;
            margin-bottom: 50px;
            .date {
                position: relative;
                color: var(--theme-color1);
                font-family: var(--style-font);
                font-size: 48px;
                margin-bottom: 20px;
                text-transform: capitalize;
            }
        }
    }
    .time-counter{
        position: relative;
        margin-bottom: 50px;
        z-index: 3;
        .time-countdown{
            display: flex;
            justify-content: center;
            text-align: center;
            .counter-column{
                .count{
                    position: relative;
                    color: var(--theme-color-dark);
                    font-size: 72px;
                    color: #c5c5c5;
                    margin-bottom: 15px;
                    line-height: 30px;
                    display: block;
                    padding: 0 15px;
                    text-align: center;
                }
                sub {
                    position: relative;
                    margin-bottom: 7px;
                    font-size: 18px;
                    color: var(--theme-color-dark);
                }
            }
        }
    }
    .theme-btn {
        position: relative;
        background-color: var(--theme-color4);
        text-transform: capitalize;
        z-index: 3;
    }
}

/***

==================================================================
	Countdown Section Three
==================================================================

***/

.countdown-section-three {
    position: relative;
    .bg{
        &:before{
            @include overlay;
            background-color: #000;
            opacity: .1;
            content: "";
            @include media-breakpoint-down(xxl){
                opacity: .5;
            }
        }
    }
    .outer-box {
        position: relative;
        padding: 215px 0 100px;
        @include media-breakpoint-down(lg){
            padding: 200px 0 50px;
        }
    }
    .content-box {
        position: relative;
        margin-bottom: 65px;
        text-align: center;
        color: var(--theme-color-light);
        .icon-leave-4 {
            margin: 0 auto 50px;
        }
        .date {
            font-family: var(--style-font);
            margin-bottom: 20px;
            font-size: 48px;
        }
        .address {
            letter-spacing: 1px;
        }
    }
    .time-counter{
        .time-countdown{
            display: flex;
            justify-content: center;
            text-align: center;
            @include media-breakpoint-down(sm){
                flex-direction: column;
            }
            .counter-column{
                margin-bottom: 70px;
                .count{
                    position: relative;
                    color: var(--theme-color-light);
                    font-size: 72px;
                    margin-bottom: 15px;
                    line-height: 30px;
                    display: block;
                    padding: 0 15px;
                    text-align: center;
                }
                sub {
                    position: relative;
                    margin-bottom: 7px;
                    font-size: 18px;
                    color: var(--theme-color-light);
                    text-align: center;
                }
            }
        }
    }
}


/*** 

====================================================================
    Countdown Section Four
====================================================================

***/

.countdown-section-four {
    position: relative;
    margin-top: -285px;
    padding: 120px 0;
    z-index: 3;
    .inner-container {
        position: relative;
        padding: 170px 0 195px;
        background-color: var(--theme-color-light);
        @include flex-center;
        flex-direction: column;
        @include media-breakpoint-down(md){
            padding: 120px 0 120px;
        }
        &::before{
            content: "";
            position: absolute;
            top: 38px;
            left: 33px;
            right: 33px;
            bottom: 38px;
            background-color: rgba(254, 254, 254, 0.9);
            background-image: url(../images/icons/icon-flower-174.png);
            background-repeat: no-repeat;
            background-position: bottom left;
            z-index: 2;
            @include media-breakpoint-down(sm){
                right: 20px;
                top: 20px;
                bottom: 20px;
                left: 20px;;
            }
        }
    }
    .content-box{
        position: relative;
        text-align: center;
        z-index: 3;
        .caption-box {
            position: relative;
            margin-bottom: 65px;
            .date {
                position: relative;
                color: var(--theme-color4);
                font-family: var(--style-font);
                font-size: 48px;
                margin-bottom: 30px;
                text-transform: capitalize;
                @include media-breakpoint-down(md){
                    font-size: 36px;
                }
            }
            .address {
                color: var(--theme-color-dark);
                font-size: 18px;
                @include media-breakpoint-down(md){
                    font-size: 15px;
                }
            }
        }
    }
    .time-counter{
        position: relative;
        margin-bottom: 55px;
        z-index: 3;
        .time-countdown{
            display: flex;
            justify-content: center;
            text-align: center;
            @include media-breakpoint-down(md){
                flex-direction: column;
            }
            .counter-column{
                padding: 0 30px;
                @include media-breakpoint-down(md){
                    padding: 0;
                    margin-bottom: 50px;
                }
                &:last-child{
                    padding-right: 0;
                    .count{
                        &:before{display: none;}
                    }
                }
                .count{
                    position: relative;
                    color: var(--theme-color-dark);
                    font-size: 72px;
                    color: #c5c5c5;
                    margin-bottom: 15px;
                    line-height: 30px;
                    display: block;
                    text-align: center;
                    &:before{
                        position: absolute;
                        right: -38px;
                        top: 0;
                        font-size: 52px;
                        content: ":";
                        @include media-breakpoint-down(md){
                            display: none;
                        }
                    }
                }
                sub {
                    position: relative;
                    margin-bottom: 7px;
                    font-size: 18px;
                    color: var(--theme-color-dark);
                }
            }


            
            
            
        }
    }
    .theme-btn {
        background-color: var(--bg-theme-color4);
        padding: 15px 25px;
        z-index: 3;
    }
}