.form-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px;
    max-width: 800px;
    border: 1px solid #e2e0e0;
    border-radius: 12px;
    background-color: var(--secondary-color);
    margin: auto;
    margin-bottom: 32px;
}
.form-section:has(.font__cards){
    padding: 0;
}
.input-container{
    position: relative;
}
.form-section #clear-text{
    display: none;
    cursor: pointer;
    position: absolute;
    right: 16px;
    padding: 13px 16px;
}
.copy_font img , #clear-text img{
    transition: 0.5s all linear;
}
.copy_font img:hover , #clear-text img:hover{
    filter: brightness(0) saturate(50%);
}
h1 {
    font-size: 40px;
    font-weight: 600;
    line-height: 60px;
}
h2 {
    font-size: 32px !important;
    font-weight: 600 !important;
    line-height: 48px !important;
}
h3 {
    font-size: 24px !important;
    font-weight: 500 !important;
    line-height: 35px !important;
}

.fontchange {
    padding: 12px 50px 12px 20px;
    gap: 0px;
    border-radius: 8px;
    border: 2px solid #000000;
    background: #f7f8fd;
    color: #2A3241;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
}
.font__cards {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 16px;
    max-height: 800px;
    overflow: auto;
    padding-right: 10px;
}
.font__cards .tooltip{
    width: auto;
}
.font__cards .tooltip .tooltiptext::after {
    content: '';
    border: 10px solid transparent;
    border-top: 10px solid black;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translate(-50%, 0%);
}

.font__cards::-webkit-scrollbar {
    width: 6px;
}
.font__cards::-webkit-scrollbar-thumb {
    background:#A0A2AB;
    border-radius:20px;
}
.font__cards::-webkit-scrollbar-track {
    background:transparent;
}
.font__card{
    word-break: break-word;
    padding: 20px;
    background-color: #ffffff;
    border: 1px solid #e2e0e0;
    border-radius: 5px;
    cursor: pointer;
    justify-content: space-between;
    flex: 1 1 calc(100% - 30px);
    min-width: 120px;
    transition: background-color 0.3s, transform 0.2s;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 16px;
    /* min-height: 120px; */

}
.result_input{
    cursor: pointer;
    background-color: #ffffff;
    font-family: var(--font-family-poppins);
    font-size: 20px;
    font-weight: 500;
    text-align: center;
    line-height: 24px;
    color: #000000;

}
.copy__font{
    padding: 6px 12px 6px 12px;
    gap: 10px;
    /* background-color: #000000; */
    color: #ffffff;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}
#copy__font1 img{
    width: 24px !important;
    height: 24px !important;
}
@media (max-width: 600px) {
    .font__card {
        flex: 1 1 calc(100% - 30px);
    }
}
@media (max-width: 360px) {
    .font__card {
       padding: 10px 5px;
    }
}

