html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #D64552;
}

html {
    position: relative;
    min-height: 100%;
}

@font-face {
    font-family: 'DMSans';
    src: url('../fonts/DMSans-VariableFont_opsz-wght.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'DMSans';
    src: url('../fonts/DMSans-Italic-VariableFont_opsz-wght.ttf') format('truetype');
    font-weight: normal;
    font-style: italic;
}

@font-face {
    font-family: 'YrsaFont';
    src: url('../fonts/Yrsa-VariableFont_wght.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}


h1, h2, h3, h4, h5, h6, a {
    font-family: 'YrsaFont', sans-serif;
}

body, button, input, textarea, select, p, span, div, ul, ol, li, table, th, td {
    font-family: 'DMSans', sans-serif;
}

.card-title {
    font-size: 14px;
    font-family: 'DMSans', sans-serif;
    margin-bottom: 0;
}

.searchInput {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem white !important;
}

.searchBtn {
    padding: 0;
    width: 40px;
    height: 40px;
    margin-left: 1rem;
}

.hero {
    background-color: #D64552;
    color: white;
    text-align: center;
}

.search-box {
    display: flex;
    align-items: center;
    background: white;
    border-radius: 50px;
    padding: 11px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    width: 35%;
    max-width: 500px;
    height: 40px;
}

    .search-box input {
        border: none;
        outline: none;
        flex-grow: 1;
        font-size: 16px;
        padding: 0 0.75rem;
    }

    .search-box i {
        font-size: 20px;
        color: #aaa;
        margin-left: 10px;
    }

.footer {
    background-color: #D64552;
    color: white;
    text-align: center;
    padding: 5rem 0;
}

.footer-links {
    font-size: 12px;
    opacity: 0.8;
}

.kokHeaderContainer {
    padding: 20px 15px 0px 15px;
    width: 100%;
}

.navbar-brand {
    font-size: 20px;
}

.card {
    box-shadow: 0px 0px 10px rgba(255, 255, 255, 0.5), 0px 0px 11px 2px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.kelimeCardHv:hover .card-header {
    background-color: #D64552 !important;
    color: white !important;
}

.kelimeCardHv:hover .card-text {
    color: white !important;
}

.kelimeCardHv:hover i {
    color: white !important;
}

.kelimeCardHv:hover {
    background-color: #D64552 !important;
    color: white !important;
    cursor: pointer;
}

.cardHover:hover {
    transform: scale(1.05);
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
}

.arrow {
    display: inline-block;
    transition: transform 0.3s ease, color 0.3s ease;
}

    .arrow:hover {
        transform: translateX(5px);
    }

.card-header {
    border-bottom: 0px;
    background-color: white;
}

    .card-header .badge {
        padding: 1em 1em;
        line-height: 0;
        border: 1px solid black;
        text-decoration: none;
        font-size: 14px;
    }

.blogCard {
    display: flex;
    flex-direction: column;
    gap: 20px;
    cursor: pointer;
}

.paddingFooter {
    background-color: #D64552;
    padding: 7rem 0 3rem 0;
}

.modal-content {
    border-radius: 15px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

.modal-header {
    border-bottom: none;
    text-align: center;
}

.modal-title {
    font-size: 22px;
    font-weight: bold;
}

.modal-body {
    padding: 20px;
}

input.searchInputModal {
    border-radius: 30px;
    padding: 10px 15px;
    box-shadow: 0px 0px 15px rgba(255, 255, 255, 0.5), 0px 4px 10px rgba(0, 0, 0, 0.2);
}

    input.searchInputModal:focus {
        border-color: #D64552;
        box-shadow: 0 0 0 0.1rem #D64552, 0 0 0 0.25rem white !important;
    }

.btn-search {
    width: 100%;
    border-radius: 30px;
    background-color: #D64552;
    color: white;
    padding: 10px;
    font-size: 14px;
    font-weight: 400;
    border: none;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

    .btn-search:hover {
        transform: scale(1.05);
        box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
        color: white;
    }

.card-text {
    color: #767676;
}

.card-no-shadow {
    box-shadow: 0px 0px 0px rgba(255, 255, 255, 0.5), 0px 0px 0px 0px rgba(0, 0, 0, 0.2);
}

.p-mb-0 {
    margin-bottom: 0.2rem;
}

.harf-btn {
    border-radius: 25px;
    box-shadow: 0px 0px 10px rgba(255, 255, 255, 0.5), 0px 0px 11px 2px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-right: 1rem;
    border-color: transparent;
    height: 38px;
    width: 38px;
}

    .harf-btn:hover {
        transform: scale(1.05);
        box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
        background-color: #D64552;
        border-color: #D64552;
        color: white;
    }

.form-control {
    border-radius: 30px;
    font-size: 16px;
}

.alphabet {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 9px;
    padding: 15px 0;
}

    .alphabet div {
        color: white;
        width: 38px;
        height: 38px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        font-weight: 400;
        font-size: 16px;
        box-shadow: 0px 0px 15px rgba(255, 255, 255, 0.5), 0px 4px 10px rgba(0, 0, 0, 0.2);
        transition: all 0.3s ease-in-out;
    }

        .alphabet div:hover {
            transform: scale(1.1);
            box-shadow: 0px 0px 15px rgba(255, 255, 255, 0.7), 0px 6px 12px rgba(0, 0, 0, 0.3);
            cursor: pointer;
        }

@media (max-width: 768px) {
    .alphabet {
        gap: 0;
        display: flex;
        flex-wrap: nowrap;
        justify-content: normal;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        margin-left: 0.5rem !important;
    }

    .letter-btn {
        flex: 0 0 auto;
        margin-right: 1rem;
    }

    .alphabet::-webkit-scrollbar {
        display: none;
    }
    
    .search-box {
        width: 83%;
    }

    .mobilMx {
        margin-right: 0.75rem !important;
        margin-left: 0.75rem !important;
    }

    .kokHeaderContainer {
        padding: 5px 13px 0px 13px;
    }
}