.custom-link {
    color: #1b1c1a;
    font-size: clamp(18px, 4vw, 25px);
    text-decoration: none;
    position: relative;
}

.custom-link::after {
    content: "";
    position: absolute;
    border-radius: 15%;
    width: 100%;
    height: 2.5px;
    bottom: 0;
    left: 0;
    background-color: #232422;
    visibility: hidden;
    transform: scaleX(0);
    transition: all 0.3s ease-in-out;
}

.custom-link:hover::after {
    visibility: visible;
    transform: scaleX(1);
}


.col-sm {
    background-color: white;
    margin: 10px;
    padding-top: 15px;
    padding-left: 2%;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    min-height: 700px;
    transition: 0.3s;
    min-width: 280px;
}

#symptomContainer {
    height: 100px;
    width: 100%;
    overflow: hidden;
    border: 1px solid #A2B38B;
    padding: 10px;
    border-radius: 5px;
}

.scrollable-div {
    display: flex;
    transition: transform 0.5s ease;
}

.symptom {
    border: 2px solid bisque;
    border-radius: 10px;
    flex: 0 0 45%;
    box-sizing: border-box;
    padding: 5px;
    margin-left: 4%;
    margin-top: 3%;
}

.col-sm::before {
    filter: blur(10px);
}

.col-sm:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.6);
}

.col-sm .card {
    overflow: hidden;
    min-height: 670px;
    border: 2px solid;
    border-color: #CC7351;
}

.col-sm .card img {
    border-radius: 15px 0 0 15px;
}

.col-sm .card-body {
    color: #333;
}

.col-sm .card-title {
    font-style: italic;
    color: #CC7351;
}

.col-sm .card-text {
    color: #555;
}

.col-sm .text-body-secondary {
    color: #888;
}

.custom-btn {
    overflow: hidden;
    color: #CC7351;
    display: inline-block;
    padding: 10px 20px;
    font-size: 16px;
    text-align: center;
    text-decoration: none;
    border: 2px solid #CC7351;
    background-color: white;
    border-radius: 10px;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}

.custom-btn:hover {
    color: white;
    position: relative;
    z-index: 4;
    /* Hover durumunda içeriğin arka planın üzerinde kalması için */
}

.custom-btn:hover::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #CC7351;
    animation: fillWater 0.5s ease forwards;
    z-index: -1;
    /* Animasyon sırasında arka planın altında kalması için */
}

@keyframes fillWater {
    0% {
        height: 0;
    }

    100% {
        height: 100%;
    }
}

.circle-gezen {
    width: 700px;
    height: 700px;
    border: 100px solid #2e526f;
    border-radius: 50%;
    position: absolute;
    animation: moveCircle 50s linear infinite;
    z-index: -0;
    opacity: 0.8;
}

.circle-gezen2 {
    width: 700px;
    height: 700px;
    border: 140px solid #1f897c;
    border-radius: 50%;
    position: absolute;
    animation: moveCircle2 50s linear infinite;
    z-index: -0;
    opacity: 0.5;
}

@keyframes moveCircle2 {
    0% {
        border: 100px solid yellow;
        transform: translate(-80%, 300%);
    }

    25% {
        border: 100px solid yellow;
        transform: translate(-77%, 305%);
    }

    50% {
        border: 100px solid yellow;
        transform: translate(-80%, 300%);
    }

    75% {
        border: 100px solid yellow;
        transform: translate(-77%, 305%);
    }

    100% {
        border: 100px solid yellow;
        transform: translate(-80%, 300%);
    }
}



@keyframes moveCircle {
    0% {
        border: 100px solid #2e526f;
        transform: translate(170%, 165%);
    }

    25% {
        border: 100px solid #2e526f;
        transform: translate(160%, 170%);
    }

    50% {
        border: 100px solid #2e526f;
        transform: translate(170%, 165%);
    }

    75% {
        border: 100px solid #2e526f;
        transform: translate(160%, 170%);
    }

    100% {
        border: 100px solid #2e526f;
        transform: translate(170%, 165%);
    }
}

.card{
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.card a {
    text-shadow:  0 4px 8px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    color: #333; 
    transition: color 0.3s ease; 
}

.card a:hover {
    color: #CC7351; 
}

.global-row{
    margin-left: 10%; margin-right: 10%;  margin-top: 2em; 
}

.testler{
    margin-left: 10%;
}

@media(max-width :600px){
    .global-row{
        margin-left: 5%; margin-right: 10%;  margin-top: 2em; 
    }

    .testler{
        margin-left: 7%;
        margin-right: 10%;
    }

    .circle-gezen{
        display: none;
    }
}
