/* @font-face {
    font-family: Inter;
    font-style: normal;
    font-weight: 100 1000;
    font-stretch: 0% 200%;
    src: url('../fonts/Allerta-Regular.ttf');
} */

* {
    padding: 0;
    margin: 0;
    font-family: sans-serif;
}

.container {
    width: 100vw;
    height: 100vh;
    background-image: url('../images/bg.webp');
    background-size: cover;
    background-position: center;
    display: grid;
    grid-template-columns: 1.2fr 2fr 1.2fr;
    grid-template-rows: 50px 1fr auto;
    grid-template-areas:
        "heading heading heading"
        "option main extra"
        "below below below";
    gap: 10px;
    overflow-y: auto;
}

.heading-container {
    /* background-color: #eb292925; */
    grid-area: heading;
    justify-items: center;
}

.option-container {
    /* background-color: bisque; */
    grid-area: option;
}

.main-container {
    grid-area: main;
}

.extra-container {
    /* background-color: bisque; */
    grid-area: extra;
}

.below-container {
    grid-area: below;
    /* background-color: #067739; */
}
h1{
    text-align: center;
    color: #0d3815;
}

.option-btn-wrapper {
    display: flex;
    gap: 30px;
    justify-content: center;
    /* background-color: #333333; */

}

.option-btn {
    /* width: 80px; */
    /* height: 90px; */
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
    border: none;
    border-radius: 10px;
    background-color: #21ab82;
    backdrop-filter: blur(5px);
    box-shadow: 2px 3px 5px rgba(10, 43, 6, 0.3);
    padding: 0.8em;
    cursor: pointer;
}

.option-btn:active {
    background-color: #0d3815;
}

#design-style-btn {
    text-decoration: none;
    font-weight: 400;
}

#user-text {
    background-color: #dddddd6e;
    color: #0d2c0fd3;
    padding: 1em;
    border-radius: 10px;
    border: 2px solid transparent;
    outline: none;
    font-family: "Heebo", sans-serif;
    font-weight: 500;
    font-size: 20px;
    height: 100px;
    transition: all 0.2s;
    width: 100%;
    box-sizing: border-box;
    backdrop-filter: blur(5px);
    box-shadow: 5px 5px 5px rgba(20, 71, 13, 0.4);
}

#user-text:hover {
    cursor: text;
    background-color: rgba(255, 255, 255, 0.4);
}

#user-text:focus {
    cursor: text;
    color: #333333;
    background-color: rgba(255, 255, 255, 0.6);
    /* border-color: 5px solid #070000; */
}

.filter-container {
    background-color: rgba(250, 247, 243, 0.7);
    padding: 5px;
    border-radius: 5px;
    margin: 10px;
    /* display: flex; */
    /* align-items: center; */

    color: rgb(16, 73, 16);
    font-size: 14px;
    /* overflow-x: scroll; */
}

.filter-wrapper {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    overflow-x: auto;
    width: 50vw;
    gap: 10px;
    padding-bottom: 10px;
    /* background-color: red; */
}

.filter-wrapper .radio-label {
    background-color: #1e9b56;
    font-size: 14px;
    padding: 3px 10px;
    color: white;
    font-weight: 300;
    white-space: nowrap;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.2s;
}

.radio-input {
    display: none;
}

.radio-input:checked+.radio-label {
    background-color: #0d3815;
}

#gen-style-user-text {
    border: none;
    width: 90%;
    margin: 0 auto;
    background-color: #a8d6bdc2;
    border: 1px solid rgba(15, 85, 26, 0.5);
    border-radius: 5px;
    padding: 2px 5px;
    color: rgb(53, 53, 53);
    font-weight: 400;
}

#gen-style-user-text:focus {
    outline: none;
}

.subfilter-wrapper {
    /* background-color: aqua; */
    /* height: 150px; */
    width: 50vw;
    display: flex;
    align-items: center;
    overflow-x: auto;
    gap: 10px;
    white-space: nowrap;
}

.subfilter-wrapper .radio-label {
    display: inline-flex;
    height: 20px;
    align-items: center;
    background-color: #21ab82;
    font-size: 12px;
    padding: 2px 10px;
    margin: 5px;
    color: white;
    font-weight: 200;
    border-radius: 15px;
    cursor: pointer;
    transition: background 0.2s;
}

/* .filter-btn{
    background-color: #2ee1a5;
    font-size: 12px;
    padding: 3px 10px 3px 10px;
    color: white;
    font-weight: 200;
    border-radius: 20px;
} */

.stylish-text-container {
    height: 350px;
    width: 50vw;
    flex-wrap: wrap;
    border-radius: 20px;
    display: flex;
    align-content: start;
    background-color: #dddddda8;
    backdrop-filter: blur(5px);
    box-shadow: 5px 5px 5px rgba(4, 22, 2, 0.5);
    padding: 10px;
    justify-content: center;
    overflow: hidden;
    overflow-y: auto;
}

.stylish-text-container .span-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    width: 80px;
    height: 40px;
    padding: 4px;
    margin: 4px;
    border-radius: 5px;
    overflow: hidden;
    border: 1px solid rgba(7, 80, 4, 0.616);
    /* border-left: 1px solid rgba(7, 80, 4, 0.616); */
    /* background-color: rgba(255, 255, 255, 0.5); */

    transition: background 0.2s;
    cursor: pointer;
}

.stylish-text-container .span-btn:active {
    background-color: rgba(255, 255, 255, 0.5);
}

.style-li {
    display: flex;
    width: 90%;
    flex-direction: column;
    color: #0d3815;
    border-bottom: 1px solid #12491b;
    /* margin: 5px 50px; */
    padding: 10px;
    gap: 5px;
    transition: background 0.2s;
    cursor: pointer;
}

.style-li:active {
    background-color: #12491b2f;
    border-radius: 10px;
}

.style-li span {
    width: 400px;
    overflow-wrap: break-word;
    /* background-color: red; */
}


.copy-btn {
    background-color: #21ab82;
    ;
    border: none;
    width: 80px;
    height: 24px;
    border-radius: 20px;
    padding: 5px 10px;
    font-size: 12px;
    font-weight: 200;
    color: white;
    cursor: pointer;
}

.copy-btn:active {
    background-color: #067739;
}

.copy-icon {
    width: 10px;
    margin-right: 2px;
}

.down-icon {
    width: 16px;
}

.faq-container {
    width: 60vw;
    margin: 30px auto;
    padding: 10px 0;
    border-radius: 20px;
    background-color: #dddddd98;
    backdrop-filter: blur(5px);
    box-shadow: 5px 5px 5px rgba(4, 22, 2, 0.5);
}

.faq {
    /* max-width: 700px; */
    margin: 10px 15px;
    padding-bottom: 1rem;
    /* background-color: red; */
    border-bottom: 1px solid #12491b;
    cursor: pointer;
}

.question {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.question h2 {
    font-size: 1rem;
    /* font-weight: 400; */
    color: #0d3815;
    text-transform: uppercase;
}

.answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 1.4s ease;
}

.answer p {
    padding-top: 0.6rem;
    /* line-height: .6; */
    font-size: 1rem;
    font-weight: 400;
    color: #0d3815;
}

.faq.active .answer {
    max-height: 1500px;
    animation: fade 0.8s ease-in-out;
}

.faq.active .down-icon {
    transform: rotate(180deg);
}

.faq .down-icon {
    transition: transform 0.5s ease-in;
}

@keyframes fade {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0px);
    }
}


/*::-webkit-scrollbar {
    width: 5px;
    height: 5px;
}

::-webkit-scrollbar-thumb {
     border-radius: 1px; 
    background-color: #012406a6;
     box-shadow: inset 0 0 5px 5px rgba(2, 43, 22, 0.74); 
     border-right: solid 10px transparent; 
     border-top: solid 20px transparent; 
     border-bottom: solid 20px transparent; 
}*/

@media(aspect-ratio<1), (width<1000px) {
    .container {
        display: flex;
        flex-direction: column;
        /* grid-template-columns: 1fr;
        grid-template-rows: 50px 50px 1fr 50px;
        grid-template-areas:
            "heading"
            "option"
            "main"
            "extra"; */

    }

    .main-container {
        padding: 10px;
    }

    .filter-wrapper {
        width: 85vw;
    }

    .subfilter-wrapper {
        width: 85vw;
    }

    .stylish-text-container {
        width: 90vw;
    }

    .faq-container{
        width: 95vw;
    }
}