.modal {
    box-sizing: border-box;
    position: fixed;
    background-color: #0000009c;
    width: 100%;
    height: 100%;
    z-index: 999;
    top: 0;
    left: 0;
    backdrop-filter: blur(10px);
    align-items: center;
    justify-content: center;
    display: none;
}

#modal-alert {
    background-color: #ffffffe0;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(1px);
    display: none;
    justify-content: center;
    align-items: center;
}

#modal-alert .alert-content {
    background-color: #fff;
    padding: 2rem;
    box-shadow: 5px 5px 20px 5px rgb(0 0 0 / 52%);
    border-radius: 0.5rem;
    font-weight: bold;
    font-size: 1.1em;
}

#modal-alert .alert-footer {
    display: flex;
    justify-content: end;
    gap: 0.5rem;
}

#modal-alert .alert-footer button {
    padding: 0.9rem 1.5rem;
    font-size: 0.8em;
    font-weight: bold;
    border-radius: 0.4rem;
    border: transparent;
    cursor: pointer;
}

#modal-alert .alert-footer button.secondary {
    background-color: gainsboro;
}

#modal-alert .alert-footer button.success {
    background-color: #2fbf00;
    color: #fff;
}

.modal-close {
    cursor: pointer;
    position: absolute;
    right: 1rem;
}

.modal-title {
    color: #6081ED;
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2em;
}

.modal-title>span {
    color: #232f3e;
}

.modal-content {
    background-color: #f5f2f1;
    padding: 1rem;
    border-radius: 1rem;
    box-shadow: 5px 5px 20px 5px rgba(0, 0, 0, 0.52);
    max-height: 90vh;
    height: 80vh;
    overflow: auto;
    position: relative;
    width: 90vw;
    display: flex;
    flex-direction: column;
}

.radio-none {
    display: none;
}

.project-list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    padding-bottom: 40px;

}

.bl-img {
    height: 104px
}

.project-card {
    width: 317px;
    max-height: 247px;
    background-color: #FAFAFA;
    box-shadow: 0px 3px 6px #00000010;
    border-radius: 23px;
    text-align: center;
    font-size: 23px;
    padding: 15px;
    font-weight: 700;
    font-family: Arial, Helvetica, sans-serif;
}

.item-reduce {
    font-size: 1em;
    height: fit-content;
    padding: 1rem;
}

.item-reduce>.bl-img {
    height: 30px;
    margin-bottom: 10px;
}

.item-reduce img {
    width: 35px;
}

.project-card:hover {
    cursor: pointer;
    box-shadow: 3px 3px 10px #00000060;
    background-color: #e1e1e1;
    transition: all ease 0.4s;
}

.project-card.active {
    box-shadow: 3px 3px 10px #00000060;
    background-color: #e1e1e1;
    transition: all ease 0.4s;
}

.modal-body {
    height: 100%;
}

@media (max-width: 900px) {

    .modal-title {
        font-size: 1.2em;
        margin-top: -0.1rem;
        margin-right: 2rem;
        margin-bottom: 2rem;
    }

    .bl-img img {
        max-width: 50px;
    }

    .bl-img {
        height: 60px;
    }

    .project-card {
        font-size: 1em;
    }

    .item-reduce>.pc-text {
        display: none;
    }

    .item-reduce.active {
        display: block;
    }

    .item-reduce {
        min-width: fit-content;
        width: 20%;
        padding: 10px 0px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}