.page-wrapper {
    width: 1200px;
    margin: 0 auto;
    color: white;
}

.page-wrapper_banner-mob {
    display: none;
}

.page-wrapper__banner {
    width: 100%;
    display: block;
}

.features {
    display: flex;
    justify-content: center;
    gap: 7rem;
    margin-top: 50px;
}

.features__item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.about {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 80px;
}

.about__card {
    width: 100%;
    height: 500px;
    background-image: url(https://www.favbet.ro//minio/pages/despre-noi/frame.svg);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
}

.about__content {
    position: absolute;
    inset: 0;
    padding: 40px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: flex-start; 
    align-items: center;
    text-align: center;
    margin-top: 6rem;
    gap: 12px;
}


.about__card:not(:last-child)::after {
    content: "";
    position: absolute;
    right: -50px;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 50px;
    background-image: url(https://www.favbet.ro//minio/pages/despre-noi/arrow.svg);
    background-size: contain;
    background-repeat: no-repeat;
}

.about__card p {
    margin: 0;
}   

.accordion-group {
    width: 800px;
    max-width: 95%;
    margin: 60px auto;
}

.accordion {
    margin-top: 2rem;
}

.accordion__header {
    cursor: pointer;
    font-size: 20px;
    font-weight: bold;
    color: #D3D9EA;

}

.accordion__title {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accordion__icon {
    width: 20px;
    transition: transform 0.3s ease;
}

.accordion__line {
    height: 1px;
    background: white;
    margin-top: 10px;
}

.accordion__content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.accordion.is-active .accordion__content {
    max-height: 1000px;
}

.accordion.is-active .accordion__icon {
    transform: rotate(180deg);
}

.accordion__content p {
    color: #D3D9EA;
}


@media (max-width: 700px) {
     .page-wrapper__banner {
        display: none;
    }

    .page-wrapper_banner-mob {
        display: block;
        width: 100%;
    }

    .page-wrapper {
        width: 100%;
    }

    .features {
        display: flex;
        justify-content: center;
        gap: 10px;
        margin-top: 15px;
    }

    .features__item {
        font-size: 10px;

    }

    .about {
        flex-direction: column;
    }
    
    .accordion-group {
        width: 90%;
    }

    .about__card:not(:last-child)::after {
        display: none;
    }

    .about__content h2 {
        margin: 0;
        font-size: 30px;
    }

    .about__content {
        margin-top: 7rem;

    }

    .features__item img {
        width: 30px;
    }

    .about {
        margin-top: 30px;
    }

    .about__card p {
        font-size: 4vw;
    }

    .about__card {
        width: 400px;
        display: block;
        margin: 0 auto;
    }
}


@media (max-width: 400px) {
      .about__card {
        width: 300px;
    
    }
}


    @media (max-width: 305px) {
     
        

        .about__content h2 {
        margin: 0;
        font-size: 23px;
    }
}