<template>
    <div>
                                            <!-- hero section -->
        <section class="bg-gradient-to-t bg3 shadow-2xl container-fluid">
            <div class="flex flex-col xl:flex-row container mx-auto px-3 xl:px-24">
                <div class="flex flex-col w-full justify-center">
                    <div v-if="page" class="">
                        <h1 class="text-blue-700 hero-text font-bold">Occasion Based Resources <br> <span class="text-color-1" v-if="page">{{page[0].occasson_title}}</span></h1>
                        <div class="flex h2-text text-color-1 font-semibold pt-8">{{page[0].occassion_text }}</div>
                        <div class="flex text-justify font-20px text-color-2 pt-4">{{page[0].occassion_details }}</div> 
                    </div>
                </div>
                <div class="flex w-fit justify-center place-items-center">
                    <!-- <img class="w-full h-fit drop-shadow-2xl rounded-3xl py-4 cursor-none" src="/img/occassion1.png" alt=""> -->
                    <img class="w-fit h-fit" v-if="page" :src="'https://curriculum-app-api.beanstalkedu.com/assets/'+page[0].occassion" alt="">
                </div> 
            </div>
        </section>
        <!-- <section class="container-fluid">
            <div class="flex w-screen load-wraper">
            <div  class="flex">
                <img class="w-screen place-items-center relative" v-if="page" :src="'https://curriculum-app-api.beanstalkedu.com/assets/'+page[0].occassion" alt="">
            </div>
            <h1 class=" absolute lg:inset-16 2xl:pl-32 2xl:pt-16 p-4 text-color-1 hero-text font-bold"> Occassion of the Month - 
                <div v-if="page">{{page[0].occasson_title}} </div>
            </h1>
        </div>
        </section> -->
        <!-- <section>
            <div class="container-fluid shadow-xl">
                <div v-if="page" class="container mx-auto px-4">
                    <div class="flex h1-text text-color-1 mt-10">{{page[0].occassion_text }}</div>
                    <div class="flex text-justify text-xl font-20px mt-2 text-color-2">{{page[0].occassion_details }}</div> 
                    <div class="flex  text-indigo-800 pb-8 mt-2 text-xl lg:text-3x"> Check Out the ressources below.</div>
                </div>
            </div>
        </section>  -->
                                        <!-- celebration ideas -->
        <section class="container mx-auto px-2 xl:px-24 pt-24">
            <h1 class=" text-blue-700 h1-text px-4 font-semibold">Check Out Our Occasion Blog</h1>
            <p class="text-justify text-xl lg:text-3xl pt-2 text-color-2 px-4">Find relevant helpful articles for marketing preschool solutions below and get to know more about the same. </p>
            <div class="grid grid-cols-1 md:grid-cols-2 xl:grid-cols-3 gap-8 mt-10 place-items-center">
                <div class="grid w-fit" v-for="occassionblog in occassionblog" :key="occassionblog"> 
                    <img class="w-full rounded-tl-3xl rounded-br-3xl px-4" v-if="occassionblog.img" :src="'https://curriculum-app-api.beanstalkedu.com/assets/'+occassionblog.img+'?width=420&amp;height=280'" alt="" >
                    <div class="flex bg-yellow-200 absolute mt-56 lg:mt-40 ml-4 text-lg leading-tight w-14 h-14 font-semibold text-blue-700 rounded-full text-center p-1">{{ occassionblog.date}}</div>
                    <h2 class="text-color-1 text-3xl font-semibold pt-4 px-4 line-clamp-2">{{ occassionblog.title}}</h2>
                    <div class="text-justify line-clamp-3 font-20px text-color-2 px-4 line-clamp-4" v-html="occassionblog.meta_description"></div>
                        <a :href="'/blog/' + occassionblog.slug" class="text-blue-600 font-20px px-4">Read More >> </a>
                </div>
            </div>
            <a href="/blog">
                <div class="flex justify-center mt-8">
                    <button class="bg-blue-700 p-2 text-2xl text-white px-4 rounded-tl-lg rounded-br-lg">Read All Articles</button>
                </div>
            </a>
        </section>
        <!-- <section class="container mx-auto px-3 xl:px-24">
            <div class="h1-text text-blue-700 font-semibold pt-10">Celebretion Ideas </div>
            <h1 class="text-2xl text-justify text-color-2 py-4" v-if="page">{{page[0].celebretion_ideas_text}}</h1>
            <div v-if="ideas" class="grid place-items-center grid-cols-1 md:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 mt-6">
                <div v-for="ida in ideas.slice(0, 3)" :key="ideas.id" class=" bg-grey-400">
                    <div class=" relative">
                        <img v-if="ida.occassion_celebration_img" :src="'https://curriculum-app-api.beanstalkedu.com/assets/'+ida.occassion_celebration_img" alt="" class="w-96 rounded-tl-lg rounded-br-lg" />
                        <div class="absolute top-10 left-8 text-2xl text-color-1 text-ellipsis">{{ida.occassion_celebration_title}}
                        </div>
                        <div class="absolute top-16 py-3 left-8 text-xl text-ellipsis text-color-2">{{ida.occassion_celebration_body_text}}
                        </div>
                        <div v-if="ida.file" class="absolute bottom-10 left-36 md:left-36 lg:left-28">
                            <a :href="'https://curriculum-app-api.beanstalkedu.com/assets/'+ida.file+'?download'">
                            <h3 class="text-center inline-block px-6 py-2.5 bg-blue-500 text-white font-medium text-xs leading-tight rounded shadow-md hover:bg-blue-400 hover:shadow-lg focus:bg-blue-600 focus:shadow-lg focus:outline-none focus:ring-0 active:bg-blue-800 active:shadow-lg transition duration-150 ease-in-out">Download</h3>
                        </a>
                        </div>
                    </div>
                </div>
                <a href="/plan">
                    <div v-for="ida in ideas.slice(3, 4)" :key="ideas.id" class=" ">
                        <div class="flex relative">
                            <img v-if="ida.occassion_celebration_img" :src="'https://curriculum-app-api.beanstalkedu.com/assets/'+ida.occassion_celebration_img" alt="" class="w-96 rounded-tl-lg rounded-br-lg" />
                            <div class="absolute bottom-10 left-36 md:left-36 lg:left-28">
                                <h3 class="text-center inline-block px-6 py-2.5 bg-amber-500 text-white font-medium text-xs leading-tight rounded shadow-md hover:bg-amber-400 hover:shadow-lg focus:bg-amber-600 focus:shadow-lg focus:outline-none focus:ring-0 active:bg-blue-800 active:shadow-lg transition duration-150 ease-in-out"> + Subscribe </h3>
                                <h3 class="-ml-2"> &nbsp;To download <br> more resources</h3>
                            </div>
                        </div>
                    </div>
                </a>
            </div>
        </section>  -->
                                            <!-- Worksheets -->
        <section class="container mx-auto xl:px-24 p-4 py-14">  
            <div class="h1-text text-blue-700 font-semibold">Worksheets</div>
            <h1 class="text-2xl text-justify text-color-2 py-4" v-if="page">{{page[0].worksheets_text}}</h1>
            <div v-if="worksheets" class="grid place-items-center grid-cols-1 md:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 mt-10">
                <div v-for="wkst in worksheets.slice(0, 3)" :key="worksheets.id" class="p-4 ">
                    <div class="flex relative">
                        <img v-if="wkst.occassion_worksheets_img" :src="'https://curriculum-app-api.beanstalkedu.com/assets/'+wkst.occassion_worksheets_img" alt="" class="w-80 shadow-2xl rounded-tl-lg rounded-br-lg" />
                        <div v-if="wkst.file" class="absolute bottom-10 left-20">
                            <a :href="'https://curriculum-app-api.beanstalkedu.com/assets/'+wkst.file+'?download'">
                            <h3 class="text-center inline-block px-6 py-2.5 bg-blue-500 text-white font-medium text-xs leading-tight rounded shadow-md hover:bg-blue-400 hover:shadow-lg focus:bg-blue-600 focus:shadow-lg focus:outline-none focus:ring-0 active:bg-blue-800 active:shadow-lg transition duration-150 ease-in-out"> Download </h3>
                            </a>
                        </div>
                    </div>
                </div>
                <a href="/plan">
                    <div v-for="wkst in worksheets.slice(3, 4)" :key="worksheets.id" class="p-4">
                        <div class="flex relative">
                            <img v-if="wkst.occassion_worksheets_img" :src="'https://curriculum-app-api.beanstalkedu.com/assets/'+wkst.occassion_worksheets_img" alt="" class="w-80 shadow-2xl rounded-tl-lg rounded-br-lg" />
                            <div class="absolute top-40 left-24">
                                    <h3 class="text-center inline-block px-6 py-2.5 bg-amber-500 text-white font-medium text-xs leading-tight rounded shadow-md hover:bg-amber-400 hover:shadow-lg focus:bg-amber-600 focus:shadow-lg focus:outline-none focus:ring-0 active:bg-blue-800 active:shadow-lg transition duration-150 ease-in-out"> + Subscribe </h3>
                                    <h3 class=""> &nbsp;To download <br> more resources</h3>
                            </div>
                        </div>
                    </div>
                </a>
            </div>
        </section>
                                                <!-- Videos -->
        <section class="container mx-auto py-6 px-4 xl:px-24">  
            <div class="h1-text  text-blue-700 font-semibold py-4">Videos</div>
            <h1 class="text-2xl text-justify text-color-2 py-4" v-if="page">{{page[0].videos_text}}</h1>
            <div v-if="videos" class="grid place-items-center grid-cols-1 md:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 gap-8">
                <div v-for="vdo in videos.slice(0, 3)" :key="videos.id" class="p-4">
                    <div @click="showYtModal(vdo.youtube_id)">
                        <div class="flex bg-gray-200 -rotate-6 cursor-pointer gap-8">
                            <div class="flex rotate-6 relative"><img v-if="vdo.video_thumb" :src="'https://curriculum-app-api.beanstalkedu.com/assets/'+vdo.video_thumb" alt="" class="rounded-tl-xl rounded-br-xl shadow-2xl" />
                            <img class="absolute top-16 left-24 -rotate-6 w-16" src="/img/svg/play.svg" alt="" />
                            </div>
                        </div>
                        <div class="mt-6 text-center text-xl text-color-2">{{vdo.videos_title}}</div>
                    </div>
                    
                    <!-- <label :for="vdo.videos_file" >
                        <div class="flex bg-gray-200 -rotate-6 cursor-pointer gap-8">
                            <div class="flex rotate-6 relative"><img v-if="vdo.video_thumb" :src="'https://curriculum-app-api.beanstalkedu.com/assets/'+vdo.video_thumb" alt="" class="rounded-tl-xl rounded-br-xl shadow-2xl" />
                                <img v-else src="/img/image_not_available.png" alt="" />
                            <img class="absolute top-20 left-28 -rotate-6 w-24" src="/img/svg/play.svg" alt="" />
                            </div>
                        </div>
                        <div class="mt-6 text-center text-xl text-color-2">{{vdo.videos_title}}</div>
                    </label>
                    <input type="checkbox" :id="vdo.videos_file" class="modal-toggle" />
                    <label :for="vdo.videos_file" class="modal cursor-pointer">
                        <label class="modal-box relative" for="">
                            <iframe width="340" 
                            src="https://www.youtube.com/embed/tgbNymZ7vqY">
                            </iframe>
                        </label>
                    </label> -->
                </div>
                <a href="/plan">
                <div v-for="vdo in videos.slice(3, 4)" :key="videos.id" class="p-4">
                    <div class="flex bg-gray-200 -rotate-6  gap-8">
                        <div class="flex rotate-6 relative"><img v-if="vdo.video_thumb" :src="'https://curriculum-app-api.beanstalkedu.com/assets/'+vdo.video_thumb" alt="" class="rounded-tl-lg rounded-br-lg" />
                            <div class="absolute top-16 left-20">
                                <h3 class="text-center inline-block px-4 py-2.5 bg-amber-500 text-white font-medium text-xs leading-tight rounded shadow-md hover:bg-amber-400 hover:shadow-lg focus:bg-amber-600 focus:shadow-lg focus:outline-none focus:ring-0 active:bg-blue-800 active:shadow-lg transition duration-150 ease-in-out">+ Subscribe </h3>
                                <h3 class="-ml-2"> &nbsp;To download <br> more resources</h3>
                            </div>
                        </div>
                    </div>
                    <div class="mt-6 text-center text-lg ">...</div>
                </div></a>
            </div>
        </section>
                                            <!-- Audio Books -->
        <section class="container mx-auto py-6 px-4 xl:px-24" >  
            <div class="h1-text text-blue-700 font-semibold py-4">Audio Books</div>
            <h1 class="text-2xl text-justify text-color-2 py-4" v-if="page">{{page[0].audio_books_text}}</h1>
            <div class="grid place-items-center grid-cols-1 md:grid-cols-2 lg:grid-cols-5 pt-6">
                <div v-for="aud in audio" :key="audio.id" class="grid">
                    <div @click="showAbModal(aud.file)">
                        <div class="grid place-items-center">
                            <div class=" ">
                                <img class="w-56" v-if="aud.audio_icon" :src="'https://curriculum-app-api.beanstalkedu.com/assets/'+ aud.audio_icon" alt=""/>
                            </div>
                            <h1 class="pt-4  w-fit font-20px">{{aud.title}}</h1>   
                        </div>
                    </div>
                </div>
                <a href="/plan">
                    <div>
                        <img  class="rounded-tl-xl rounded-br-xl w-72 " src="/img/audio-icon.png" alt="">
                        <div class="text-center"><button class="text-xl bg-blue-700 p-1 text-white rounded-tl-lg rounded-br-lg px-6 ">View All</button></div>
                    
                    </div>
                </a>
            </div>
        </section>
                                        <!-- Celebration Stories   -->
        <section class="container mx-auto pt-16 xl:px-24 px-4">
            <h1 class="h1-text text-blue-700 font-semibold">Celebretion stories</h1>
            <h1 class="text-2xl text-justify text-color-2 py-4" v-if="page">{{page[0].celebretion_stories_text}}</h1>
            <div class="grid place-items-center grid-cols-1 md:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 pb-32 px-4">
                <div v-for="slide in stories" :key="stories.id" class="p-4 pt-8">
                    <div class="flex bg-gray-200 rotate-6  gap-8 ">
                        <div class="flex -rotate-6 relative"><img v-if="slide.img" :src="'https://curriculum-app-api.beanstalkedu.com/assets/'+slide.img" alt="" class="rounded-tl-lg rounded-br-lg" />
                            <!-- <img v-else src="/img/image_not_available.png" alt="" /> -->
                            <div class="flex absolute bg-white p-2 rounded-md m-4 justify-center text-sm md:text-xl">{{slide.title}}</div>
                            <p class="absolute inset-x-0 bottom-6 text-blue-100 text-justify p-3 font-semibold rounded-br-lg line-clamp-3">{{slide.text}}</p>
                            <span class="absolute inset-x-0 bottom-0 bg-gradient-to-t from-white text-justify p-3 "><a href="" class="text-blue-700 hover:font-extrabold"> <br> Read Full Storry>> </a></span>
                        </div>
                    </div>
                </div>
            </div>
        </section>
                                <!-- Submit your Celebration Story here -->
         <SubmitCelebration />
                                            <!-- Youtube Videos -->
        <section class="container mx-auto xl:px-24">  
            <div class="h1-text text-blue-700 font-semibold pt-16">YouTube Videos for your reference </div>
            <h1 class="text-2xl text-justify text-color-2 py-4" v-if="page">{{page[0].youtube_text}}</h1>
            <div class="grid place-items-center grid-cols-1 md:grid-cols-2 lg:grid-cols-5 ">
                <div v-for="yt in youtube" :key="youtube.id" class="p-2">
                    <a :href="'https://www.youtube.com/watch?v='+yt.youtube_id">
                        <div><img class="rounded-tl-xl rounded-br-xl" :src="'https://curriculum-app-api.beanstalkedu.com/assets/'+yt.youtube_thumbnail" alt="">
                            <div class="text-center text-xl line-clamp-1 text-color-2 ">{{yt.about_the_video}}</div>
                        </div>
                    </a>
                </div>
            </div>
        </section>
                                            <!-- Other's Occassion -->
        <section class="container mx-auto my-16">
        </section>
        <section class="container mx-auto py-20 px-4 xl:px-24" style="font-family: quicksand;">
            <div class="grid grid-cols-1 xl:grid-cols-2 xl:space-x-48">
                <div class="grid h-fit ">
                    <h1 class="text-4xl py-6 text-blue-700 font-semibold">Frequently Asked <span class="text-color-1">Questions</span></h1>
                    <div  v-for="faqOccassion in faqOccassion" :key="faqOccassion.id" class="">
                        <details>
                            <summary> 
                                <div class="flex inline-flex cursor-pointer" v-if="faqOccassion"> &nbsp; {{ faqOccassion.title }}</div>
                            </summary>
                                <div  v-html="faqOccassion.content"></div>
                        </details>
                    </div>
                </div>
                <div class="grid place-items-center"><img src="/img/frequently.png" alt=""></div> 
            </div>
        </section>
            <!-- Youtube Modal -->
            <div @click="hideYtModal" v-if="ytModal" id="ytModal" class="flex justify-center ytModal">
            <div class="modal-content">
            <span  @click="hideYtModal" class="close">&times;</span>
            <div>
                <iframe width="380" height="320" 
                :src="'https://www.youtube.com/embed/'+ytID">
                </iframe>
            </div>
            </div>
        </div>
        <div v-if="abModal" id="abModal" class="flex justify-center abModal">
            <div class="modal-content" @click="doNothing()">
                <span  @click="hideAbModal" class="close">&times;</span>
                <audio controls>
                    <source :src="'https://curriculum-app-api.beanstalkedu.com/assets/'+ abID" type="audio/ogg">
                    Your browser does not support the audio element.
                </audio>
            </div>
        </div>
    </div>
</template>
<script is:inline>

export default {
    setup(){
    // const route = useRoute();
},
methods: { 
        showYtModal(ytID){
            this.ytModal=true
            this.ytID=ytID
        },
        hideYtModal(){
            this.ytModal=false
            // this.ytID=ytID
        },
        showAbModal(abID){
          this.abModal=true
          this.abID=abID
          // alert(abID)
      },
      hideAbModal(){
          this.abModal=false
      //     // this.abID=abID
      },
      doNothing(){
        // alert();
      },    
    },
    data() {
        return {
            page: null,
            faqOccassion: null,
            occassionblog: null,
            themes:null,
            allOccassion:null,
            stories: null,
            ideas: null,
            worksheets: null,
            videos: null,
            youtube: null,
            audio: null,
            isLoading: true,
            ytModal:false,
            ytID:''
            // abModal:false,
            abID:''

        }
    },
    mounted: function () {
        fetch('https://curriculum-app-api.beanstalkedu.com/items/occassion?filter[status][_eq]=published')

            .then(response => response.json())
            .then(data => {
                this.page = data.data
                this.isLoading = false
                // console.log(this.page[0].id)
                return this.page[0].id
            }).then((occassionID) => {
                fetch('https://curriculum-app-api.beanstalkedu.com/items/occassion_celebration_stories?filter[occassion_key][_in]=' + occassionID)
                .then(resp => resp.json())
                    .then(stories => {
                        this.stories=stories.data.reverse().slice(0, 4)
                        // console.log(this.stories)
                    })
                    // console.log(occassionID)
                    return occassionID
                    
            }).then((occassionID) => {
                fetch('https://curriculum-app-api.beanstalkedu.com/items/Occassion_celebration_ideas?filter[Occassion_key][_in]=' + occassionID)
                .then(resp => resp.json())
                    .then(ideas => {
                        this.ideas=ideas.data.reverse().slice(0, 4)
                        // console.log(this.ideas)
                    })
                    return occassionID
            })
            .then((occassionID) => {
                fetch('https://curriculum-app-api.beanstalkedu.com/items/occassion_worksheets?filter[occassion_key][_in]='+ occassionID)
                .then(resp => resp.json())
                    .then(worksheets => {
                        this.worksheets=worksheets.data.reverse().slice(0, 4)
                        // console.log(this.worksheets)
                    })
                    return occassionID
            })
            .then((occassionID) => {
                fetch('https://curriculum-app-api.beanstalkedu.com/items/occassion_videos?filter[occassion_key][_in]='+ occassionID)
                .then(resp => resp.json())
                    .then(videos => {
                        this.videos=videos.data.reverse().slice(0, 4)
                        // console.log(this.videos)
                    })
                    return occassionID
            })
            .then((occassionID) => {
                fetch('https://curriculum-app-api.beanstalkedu.com/items/occassion_youtube_videos?filter[occassion_key][_in]='+ occassionID)
                .then(resp => resp.json())
                    .then(youtube => {
                        this.youtube=youtube.data.reverse().slice(0, 3)
                        // console.log(youtube)
                    })
                    return occassionID
            })
            .then((occassionID) => {
                fetch('https://curriculum-app-api.beanstalkedu.com/items/occassion_audio_book?filter[occassion_key][_in]='+ occassionID)
                .then(resp => resp.json())
                    .then(audio => {
                        this.audio=audio.data.reverse().slice(0, 3)
                        // console.log(this.audio)
                    })
            })
            fetch('https://curriculum-app-api.beanstalkedu.com/items/blog?filter[status][_eq]=published&filter[category][_eq]=occassions&limit=3&sort=sort,-date_created&filter[property][_eq]=teenybeans_curriculum')
            .then(resp => resp.json())
            .then(data => {
                this.occassionblog=data.data
                // console.log(this.occassionblog)
            })
            fetch('https://curriculum-app-api.beanstalkedu.com/items/occassion?limit=3')
            .then(response => response.json())
            .then(data => {
                this.allOccassion = data.data
                // this.isLoading = false
                // console.log(this.allOccassion)
                // return this.page[0].id
            })
            fetch('https://management.beanstalkedu.com/items/FAQ?filter[property][_eq]=teenybeans_curriculum&filter[slug][_eq]=occassion')
            .then(resp => resp.json())
            .then(data => {
            this.faqOccassion=data.data
            // console.log(this.faqOccassion)
            })
      
            
    }
}
</script>
<style scopped>
    .line-clamp-4 {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;  
  overflow: hidden;
}
.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;  
  overflow: hidden;
}
details {
    font-weight: lighter;
    border-bottom: 1px solid #d4d4d4;
    border-color: #d4d4d4;    
    padding: .75em .75em 0;
    font-size: 17px;
	/* margin-top: 10px; */
	/* box-shadow:0 0 8px #d4d4d4; */
}

summary {	
    margin: -.75em -.75em 0;
    padding: .75em;
}

details[open] {
    padding: .75em;
	  border-bottom: 1px solid #d4d4d4;
}

details[open] summary {
    border-bottom: 1px solid #d4d4d4;
    margin-bottom: 10px;
}
.font-20px {
    font-size: 20px;
}
@media screen and (min-width: 1500px) {
  .hero-text {
    font-size: 50px;
    
    
  }
}

@media screen and (max-width: 1499px) {
  .hero-text {
    font-size: 40px;
    
  }
}
@media screen and (max-width: 1199px) {
  .hero-text {
    font-size: 30px;
    
  }
}
@media screen and (min-width: 801px) {
  .h1-text {
    font-size: 40px;
    
    
  } 
}

@media screen and (min-width: 1500px) {
  .h2-text {
    font-size: 30px;
  } 
}
@media screen and (max-width: 1499px) {
  .h2-text {
    font-size: 24px;
  }
}
@media screen and (max-width: 1199px) {
  .h2-text {
    font-size: 20px;
  }
}

@media screen and (max-width: 800px) {
  .h1-text {
    font-size: 30px;
    
  }
}


.load-wraper{
  position: relative;
  height: 100%;
  width: 100%;
  background-color: rgb(211,211,211);
  z-index: 44;
  overflow: hidden;
  border-radius: 5px;
}
.activity{
  position: absolute;
  left: -45%;
  height: 100%;
  width: 45%;
  background-image: linear-gradient(to left, rgba(251,251,251, .05), rgba(251,251,251, .3), rgba(251,251,251, .6), rgba(251,251,251, .3), rgba(251,251,251, .05));
  background-image: -moz-linear-gradient(to left, rgba(251,251,251, .05), rgba(251,251,251, .3), rgba(251,251,251, .6), rgba(251,251,251, .3), rgba(251,251,251, .05));
  background-image: -webkit-linear-gradient(to left, rgba(251,251,251, .05), rgba(251,251,251, .3), rgba(251,251,251, .6), rgba(251,251,251, .3), rgba(251,251,251, .05));
  animation: loading 1s infinite;
  z-index: 45;
}

@keyframes loading {
  0%{
    left: -45%;
  }
  100%{
    left: 100%;
  }
}
.text-color-1 {
    color: #7C4C23;
}

.text-color-2 {
    color: #333333;
}
.box{
        width: 380px;
        height: 220px;
    }
    .box1 {
        width: 500px;
        height: 220px;
    }
    input[type="file"] {
    display: none;
}
.custom-file-upload {
    border: 1px solid #ccc;
    display: inline-block;
    padding: 6px 12px;
    cursor: pointer;
}
.ytModal {
  /* display: none;  */
  position: fixed;
  width: 80%;
  z-index: 999991;
  padding-top: 100px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(0,0,0);
  background-color: rgba(0,0,0,0.4);
}
.bg3 {
  background: linear-gradient(0deg, rgb(191, 219, 254, 1) 0%, rgba(255, 255, 255) 100%);}



</style>