* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}





body {
    font-family: Arial, sans-serif;
    background-color: #f5f5f5;
    color: #333;
}

li {
    list-style: none;
}

header {
    width: 80%;
    text-align: center;
    margin: auto;
    padding: 20px 0;
}

.HeadingBox { 
    width: 100%;
    text-align: center;
    background-color: rgb(248, 96, 8);
    padding: 40px 0;
}

/* Main Container */
#DescriptionsGenerator {
    width: 70%;
    background-color: white;
    margin: 25px auto;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}

/* Flexbox Container */
.Forflex {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 20px;

}

/* Form Sections */
#LanguageBox, #CaseBox {
    display: flex;
    flex-direction: column;
    width: 48%;
    margin-bottom: 20px;
}


#CategoryBox {
    display: flex;
    flex-direction: column;
    width: 100%;
    align-items: center;
    margin-bottom: 20px;
}








#Category {
    padding: 8px;
    border: 1px solid #333;
    border-radius: 5px;
    font-size: 14px;
    background-color: rgb(248, 156, 95);
    width: 50%;
}







.selectLangPara, .selectCasePara, .TitlePara,.CategoryPara {
    margin-bottom: 10px;
    font-size: 16px;
    font-weight: bold;
}

/* Select Box Styling */
#lang, #Case,#Category {
    padding: 8px;
    border: 1px solid #333;
    border-radius: 5px;
    font-size: 14px;
    background-color: rgb(248, 156, 95);
}

/* Title Box */
#TitleBox {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
}

#title {
    width: 80%;
    height: 50px;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #333;
    background-color: rgb(248, 156, 95);
    font-size: 16px;
    color: black;
}

::placeholder {
    color: rgba(0, 0, 0, 0.7);
}

/* Generate Button */
#Generate {
    margin-top: 10px;
    padding: 10px 20px;
    background-color: rgb(248, 96, 8);
    border: none;
    color: white;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

/* Generated Descriptions */
#GeneratedDescriptions {
   text-align: left;
    margin-top: 20px;
    padding: 20px;
    background-color: #fff3e0;
    border-radius: 10px;
    border: 2px solid rgb(248, 96, 8);
    display: none;
    
}

.GenerateDescriptionsPara {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
    display: none;
}

.GenerateResults {
    font-size: 16px;
    margin-bottom: 10px;
    display: none;
}




.GeneratingBox{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 50px;
    display: none;
}


.Generating{
    text-align: center;
    animation-name:Generating;
    animation-duration: 4s;
    /* animation-timing-function: cubic-bezier(0.075, 0.82, 0.165, 1); */
    animation-iteration-count: infinite;
    
}


@keyframes Generating {
    to{
        opacity: 1000;
    }
        from{
        opacity: 0;   
    }
}










/* Copy Button */
.CopyBox {
    text-align: center;
}

#copy {
    padding: 8px 15px;
    background-color: rgb(248, 96, 8);
    border: none;
    color: white;
    border-radius: 5px;
    cursor: pointer;
}

/* Definitions Section */
#Definitions {
  
    text-align: center;
    padding: 20px;
    margin-top: 20px;
}






.DecfiSubheading{
    margin: 40px 0px 10px 0px;
}






.FAQ{
display: flex;
flex-direction: column;
width: 100%;
height: auto;
justify-content: center;
align-items: center;
}

.forFlex{
    width: 70%;
    
}


.FAQpara{
    font-weight: bold;
    margin-top: 20px;
    margin-bottom: 25px;
    font-size: 25px;
}


.QuestionsBox{
    margin-bottom: 15px;
}

.Questions{
   align-items: center;
    padding: 10px;
    background-color: #777777;
    color: black;
    display: flex;
    justify-content: space-between;
}


.ans {
    background-color: #a8a8a8;
    color: black;
    text-align: center;
    padding-top: 30px;
    padding-bottom: 20px;
    height: auto;
    transition: height 0.5s ease-in-out, padding 0.5s ease-in-out;
    
    display: none;
}

@keyframes ansShow {
    from {
        height: 0;
        padding-top: 0;
        padding-bottom: 0;
    }
    to {
        height: auto;
    
    }
}











.icon{
    font-size: 25px;
    cursor: pointer;
   
    
}




footer{
    background-color: #333;
    color: black ;
    justify-content: center;
    display: flex;
    width: 100%;
    padding: 10px;
    align-items: center;
}





/* Responsive Design */
@media screen and (max-width: 480px) {
    #DescriptionsGenerator {
        width: 90%;
    }

    .Forflex {
        flex-direction: column;
    }

    #LanguageBox, #CaseBox {
        width: 100%;
    }

    #TitleBox {
        width: 100%;
        align-items: center;
    }

    #title {
        width: 90%;
    }

    #GeneratedDescriptions {
        width: 90%;
        margin: auto;
    }
}
