.contact__title {
    margin-bottom: 25px;
    font-weight: 700;
    text-align: center;
}

.contact__subtitle {
    margin-bottom: 25px;
    font-weight: 700;
    text-align: center;
}

.section__contact__title {
    margin: 40px 0 10px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.accordion-contact {
    margin: 50px 30px 30px 30px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    color: #444444;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.contact__img {
    min-height: 270px;
    max-height: 270px;
    height: 100%;
    width: 100%;
    object-fit: cover;
    display: block;
}

.contact__info {
    font-size: 1.18rem;
    margin-left: 40px;
    margin-top: 50px;
    display: flex;
    flex-direction: column;
    align-items: right;
    box-sizing: border-box;

}

.contact__email{
    word-break: break-all;
}

.accordion-button-contact {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    padding: 1rem 1.25rem;
    font-size: 1.25rem;
    color: #444444;
    text-align: left;
    background-color: #fff;
    border: 0;
    border-radius: 0;
    overflow-anchor: none;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out, border-radius .15s ease;
}

.accordion-button-contact:hover {
    color: #fff;
    background-color: #991547;
}

.accordion-button-contact:not(.collapsed) {
    color: #fff;
    background-color: #991547;
    box-shadow: inset 0 -1px 0 rgba(2, 2, 2, 0.13);
}

.accordion-button-contact::after {
    color: #000;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23212529'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    flex-shrink: 0;
    width: 1.45rem;
    height: 1rem;
    margin-left: auto;
    content: "";
    background-repeat: no-repeat;
    background-size: 1.25rem;
    transition: transform .2s ease-in-out
}

.accordion-button-contact:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23212529'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    transform: rotate(-180deg);
}

@media (min-width: 1280px) {
    .accordion-contact {
        margin: 60px 120px 30px 120px;
        padding: 30px;
        display: flex;
        flex-direction: column;
    }
}

@media (min-width: 1024px) and (max-width: 1365px) {
    .accordion-contact {
        margin: 120px 20px 100px 20px;
        padding: 30px;
        display: flex;
        flex-direction: column;
    }

    .contact__img {
        min-height: 260px;
        max-height: 260px;
        min-width: 200px;
        max-width: 200px;
        height: 100%;
        width: 100%;
        object-fit: cover;
        display: block;
    }

    .contact__info {
        font-size: 1.4rem;
    }

    .accordion-button-contact{
        font-size: 1.7rem;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .accordion-contact {
        margin: 60px -3px 30px -3px;
        padding: 30px;
        display: flex;
        flex-direction: column;
    }

    .contact__img {
        min-height: 260px;
        max-height: 260px;
        min-width: 200px;
        max-width: 200px;
        height: 100%;
        width: 100%;
        object-fit: cover;
        display: block;
    }

    .accordion-item {
        margin-right: -10px;
        margin-left: -10px;
    }

    .contact__info {
        font-size: 1.18rem;
        margin-bottom: 0.5rem;
        margin-top: 1rem;
    }

    .contact__info p {
        margin-left: 3rem;
    }

    .contact__info span {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .accordion-contact {
        margin: 30px -8px 30px -8px;
        padding: 30px;
        display: flex;
        flex-direction: column;
    }
    .contact__img {
        min-height: 300px;
        max-height: 300px;
        height: 100%;
        width: 100%;
        object-fit: cover;
        display: block;
    }

    .contact__info {
        font-size: 1.3rem;
        margin-bottom: 0.5rem;
        margin-top: 1rem;
    }

    .contact__info p {
        margin-left: -3rem;
        text-align: center;
    }

    .contact__info span {
        flex-direction: column;
    }

}