
.modal__overlay-white_project {
    padding: 38px 50px 47px 54px;
    max-width: 70%;
    background-color: #FFFFFF;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    box-shadow: 0px 2px 9px rgba(0, 0, 0, 0.1);
    margin: 0 auto;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-height: 70vh;
    overflow: auto;
    display: none;
    z-index: 5000;
}

.modal__project-img {
    display: block;
    max-width: 100%;
    margin-bottom: 44px;
}

.modal__cancel {
    appearance: none;
    border: none;
    background: none;
    cursor: pointer;
    position: absolute;
    top: 20px;
    right: 20px;
    width: 30px;
    height: 30px;
}

.modal__cancel:focus-visible {
    appearance: none;
    border: none;
    background: none;
}

.modal__cancel-img {
    display: block;
    max-width: 100%;
    width: 100%;
    width: 30px;
    height: 30px;
    object-fit: cover;
}

.modal__title-project {
    position: relative;
}

.modal__title-project::after {
    display: block;
    position: absolute;
    left: 0;
    max-width: 294px;
    width: 100%;
    bottom: -14px;
    height: 1px;
    background-color: #47D7AC;
    content: "";
}

.modal__title_project {
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 16px;
    line-height: 28px;
    text-transform: uppercase;
    color: #C7C8CA;
    margin-bottom: 0;
}

.modal__depiction_project {
    font-family: "Roboto", sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 20px;
    line-height: 28px;
    color: #282829;
    margin-bottom: 0;
    position: relative;
}

.modal__info {
    max-width: 80%;
    padding-top: 32px;
    font-family: "Open Sans", Helvetica, Arial, sans-serif;
    font-size: 14px;
    line-height: 1.428571429;
    color: #333333;
}

@media screen and (max-width: 767px) {
    .modal__overlay-white_project {
        max-width: 100%;
        padding: 38px 30px 47px 24px;
        max-height: 90vh;
    }

    .modal__info {
        max-width: 100%;
    }
}

.modal_active {
    display: block;
}