.modal-email {
    background-color: rgb(37 37 37 / 90%);
    z-index: 1000;
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
}
.box-modal {
    width: 90%;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    margin: 0 auto;
    max-width: 60rem;
    /* box-shadow: 0 0 2rem rgb(0 0 0 / 85%); */
    padding: 0;
    text-align: center;
}

.img-modal {
    width: 100%;
    height: 100%;
    object-fit: contain;
    max-height: none;
}

.box-txt-modal {
    padding: 2rem 3rem 5rem;
    text-align: left;
}

.close-modal-mail {
    color: #fcfcf5;
    transition: all .3s;
    position: absolute;
    right: -1.5rem;
    top: -1.5rem;
    width: 3rem;
    height: 3rem;
    background: #f5f5f5;
    border-radius: 50rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.close-modal-mail:hover,
.close-modal-mail:focus {
    color: #fcfcf5;
    text-decoration: none;
    cursor: pointer;
}

.box-modal .ico {
    width: 4rem;
    height: 4rem;
    display: block;
    margin: 0 auto 2rem;
}

.box-modal .ics {
    width: 1.9rem;
    height: 1.9rem;
    display: block;
    margin: 0 auto;
}

@media screen and (max-width: 800px) {
    .img-modal {
        max-height: none;
    }
}

@media screen and (max-width: 500px) {
    .bianco .ui-body-inherit {
        max-width: 58%!important;
        overflow: hidden!important;
    }
    .bianco input {
        font-size: 1.8rem;
        padding: 2rem;
    }
    .bianco .btn {
        font-size: 2rem;
        padding: 0 3rem;
    }
    .close-modal-mail {
        right: -1rem;
    }
    .img-modal {
        max-height: none;
    }
    .box-modal .tit3{
        font-size: 3.0rem;
    }
}

@media screen and (max-width: 400px) {
    .box-modal .tit3{
        font-size: 2.5rem;
    }
}

@media screen and (max-height: 540px) {
    .modal-email {
        overflow-y: scroll;
    }
    .box-modal {
        top: 3rem;
        transform: none;
        left: 0;
        right: 0;
    }
}