.heading-search {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3vw;
    padding: 4vw 1.5vw;
    background-color: white;
    z-index: 100;
}

.heading-search h1 {
    font-size: 4.5vw;
    font-family: lufga;
    font-weight: 600;
    text-transform: capitalize;
}

.heading-search h1 span {
    background: -webkit-linear-gradient(0deg, #2ed0d5, #b667fe);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.search {
    border: 1px solid rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    width: 40%;
    display: flex;
    align-items: center;
    padding: 3px;
}

.search input {
    border: none;
    outline: none;
    height: 100%;
    flex-grow: 1;
    padding: 12px 18px;
    font-size: 18px;
}

.search a {
    padding: 12px 18px;
    font-size: 18px;
    background: linear-gradient(90deg,
            #2ed0d5,
            #b667fe,
            #2ed0d5,
            #b667fe,
            #2ed0d5);
    background-size: 400%;
    border-radius: 10px;
    height: 45px;
    color: white;
}


.languages-section {
    padding: 1.5vw;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 2vw;
    padding-bottom: 10vw;
}

.languages-section .letter {
    font-size: 2vw;
    background-color: #fcfcfc;
    border: 1px solid rgba(0, 0, 0, 0.1);
    height: 3.5vw;
    width: 3.5vw;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: .4vw;
    margin-bottom: 1vw;
    text-transform: uppercase;
    font-weight: 600;
}

.languages-wrapper {
    background-color: #fcfcfc;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: .8vw;
    padding: 1vw;
    height: 85%;
}

.languages-wrapper .language {
    background-color: white;
    padding: 1vw;
    text-transform: capitalize;
    font-size: 1.2vw;
    display: flex;
    align-items: center;
    gap: 1vw;
    margin-bottom: .8vw;
    border-radius: .5vw;
}

.languages-wrapper .language img {
    width: 2vw;
}

@media (max-width: 1300px) {
    .search a {
        font-size: 16px;
        height: 42px;
        border-radius: 8px;
    }

    .search input {
        padding: 10px 14px;
        font-size: 16px;
        border-radius: 10px;
    }
}

@media (max-width: 1000px) {
    .languages-section {
        grid-template-columns: 1fr 1fr 1fr;
    }

    .languages-section .letter {
        font-size: 3vw;
        height: 5vw;
        width: 5vw;
    }

    .languages-wrapper {
        padding: 2vw;
        min-height: 41vw;
    }

    .languages-wrapper .language {
        font-size: 1.7vw;
        padding: 1.3vw;
        margin-bottom: 1.2vw;
    }

    .languages-wrapper .language img {
        width: 2.8vw;
    }

    .search input {
        font-size: 1.6vw;
        padding: 1vw;
    }

    .search {
        width: 60%;

    }

}

@media (max-width: 750px) {
    .search a {
        font-size: 14px;
        padding: 12px 18px;
        height: 37px;
    }

    .search input {
        font-size: 14px;
        padding: 1.4vw 1w;
    }

    .search {
        width: 60%;
    }

    .heading-search h1 {
        font-size: 7.5vw;
        text-align: center;
    }

    .languages-section .letter {
        font-size: 26px;
        height: 40px;
        width: 34px;
    }

}

@media (max-width: 650px) {
    .languages-section {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
        padding: 30px 12px;
    }

    .languages-wrapper .language {
        font-size: 12px;
        gap: 10px;
    }

    .languages-wrapper .language img {
        width: 26px;
    }

    .languages-wrapper .language {
        margin-bottom: 15px;
    }

    .languages-wrapper {
        border-radius: 10px;
    }

    .languages-wrapper .language {
        font-size: 14px;
        padding: 10px;
    }

    .languages-wrapper {
        padding: 10px;
    }
}

@media (max-width: 550px) {
    .search input {
        font-size: 12px;
        padding: 10px 15px;
    }

    .search a {
        font-size: 12px;
        padding: 12px 15px;
        border-radius: 6px;
    }

    .search {
        padding: 3px;
        border-radius: 8px;
    }

    .heading-search h1 {
        font-size: 34px;
    }

    .search {
        width: 80%;
    }

    .heading-search {
        padding: 6vw 1.5vw 4vw;
    }
    .languages-section .letter {
        border-radius: 5px;
        margin-bottom: 10px;
    }

}

@media (max-width: 450px) {
    .heading-search h1 {
        font-size: 30px;
    }
}

@media (max-width: 430px) {
    .languages-section {
        grid-template-columns: 1fr;
    }
        .languages-wrapper {
        height: unset !important;
        min-height: unset !important;
    }
}