﻿
    * {
    box-sizing: border-box;
}

    *::before, *::after {
        box-sizing: border-box;
    }
.accordion{
    margin-bottom:50px;
}
.accordion .accordion-item {
    border-bottom: 1px solid #d9232d;
   
}

    .accordion .accordion-item button[aria-expanded='true'] {
        border-bottom: 1px solid #d9232d;
    }

.accordion button {
    position: relative;
    display: block;
    text-align: left;
    width: 100%;
    padding: 1em 0;
    color: black;
    font-size: 1.15rem;
    font-weight: 400;
    border: none;
    background: none;
    outline: none;
}

    .accordion button:hover, .accordion button:focus {
        cursor: pointer;
        color: #d9232d;
    }

        .accordion button:hover::after, .accordion button:focus::after {
            cursor: pointer;
            color: black;
            border: 1px solid #d9232d;
        }

    .accordion button .accordion-title {
        padding: 1em 1.5em 1em 0;
    }

    .accordion button .icon {
        display: inline-block;
        position: absolute;
        top: 18px;
        right: 0;
        width: 22px;
        height: 22px;
        border: 1px solid;
        border-radius: 22px;
    }

        .accordion button .icon::before {
            display: block;
            position: absolute;
            content: '';
            top: 9px;
            left: 5px;
            width: 10px;
            height: 2px;
            background: currentColor;
        }

        .accordion button .icon::after {
            display: block;
            position: absolute;
            content: '';
            top: 5px;
            left: 9px;
            width: 2px;
            height: 10px;
            background: currentColor;
        }

    .accordion button[aria-expanded='true'] {
        color: #d9232d;
    }

        .accordion button[aria-expanded='true'] .icon::after {
            width: 0;
        }

        .accordion button[aria-expanded='true'] + .accordion-content {
            opacity: 1;
            max-height: 9em;
            transition: all 200ms linear;
            will-change: opacity, max-height;
        }

.accordion .accordion-content {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: opacity 200ms linear, max-height 200ms linear;
    will-change: opacity, max-height;
}

    .accordion .accordion-content p {
        font-size: 1rem;
        font-weight: 300;
        margin: 2em 0;
    }
#questionContainer .hidden {
    display: none;
}
.showMore {
    display: block;
    margin: auto; /* Sol ve sağ kenarlara otomatik margin ekleyerek ortalamak */
    border-radius: 50px;
    border: 1px solid white;
    color: white;
    margin-top: 20px;
    width: 210px;
    height: 50px;
    margin-bottom: 20px;
    background-color: #d9232d;
}
.accordion-border {
    border: none;
    border-bottom: 1px solid #d9232d;
}

.accordion-header {
    margin-top: 10px;
    margin-bottom: 10px; 
    text-align: center;
}
