.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    align-items: center;
    justify-content: center;
    padding: 1rem;
    z-index: 10000;
}

 .social-icons {
    display: flex;
    gap: 1.75rem;             /* 28px */
}

 .social-img {
    width: 1.625rem;           /* 26px */
    height: 1.625rem;          /* 26px */
    position: relative;
    flex: 0 0 auto;
}
.modal-container {
    position: relative;
    width: 100%;
    max-width: 28rem;
}

.close-button {
    position: absolute;
    top: -1rem;
    right: -1rem;
    z-index: 10;
    width: 2.25rem;
    height: 2.25rem;
    background-color: #FFF;
    /* border: 1px solid #0B0B0B; */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s;
}

.close-button:hover {
    background-color: #f9fafb;
}

.modal-content {
    background-color: #F6ECDD;
    /* border: 1px solid #0B0B0B; */
    padding: 3rem 4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    /* box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); */
}

.modal-title {
    font-size: 1.5rem;
    font-family: 'Prata', serif;
    color: #0B0B0B;
    text-align: center;
    line-height: 1.3;
    margin: 0;
}

.modal-phone {
    font-size: 1.25rem;
    font-family: 'Raleway', sans-serif;
    color: #0B0B0B;
    text-align: center;
    line-height: 1.5;
    margin: 0;
    font-variant-numeric: lining-nums;
    text-decoration: underline;
}

@media (max-width: 767px) {
    .close-button {
        width: 2rem;
        height: 2rem;
    }

    .modal-content {
        padding: 3rem;

    }

    .modal-title {
        font-size: 1.25rem;
    }

    .modal-phone {
        font-size: 1.125rem;
    }

    .modal-container {
        max-width: 90vw;
    }
}
@media screen and (min-width: 1440px){
    .social-img:hover{
        transform: scale(1.05);
    }
        .social-img:active{
        transform: scale(0.95);
    }
}