
.shadow {
    display: none;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1042;
    overflow: hidden;
    background: rgba(17, 32, 86, 0.5);

}


.main {
    background: #FFFFFF;
    border: 4px solid #C2B59B;
    box-shadow: 0px 4px 30px rgba(33, 33, 33, 0.1);
    max-width: 1249px;
    width: 85%;
    max-height: 864px;
    height: 85%;
    padding: 60px;
    box-sizing: border-box;
    display: none;
    flex-direction: column;
    align-items: center;
    position: fixed;
    vertical-align: middle;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 3000;
}
.close {
    position: absolute;
    top: -60px;
    right: -60px;
    z-index: 2002;
    width: 56px;
    height: 56px;
}

.close:hover {
    cursor: pointer;
}

.main-heading {
    font-family: 'Constantia';
    font-style: normal;
    font-weight: 400;
    font-size: 52px;
    line-height: 63px;
    color: #C2B59B;
    padding: 0;
    margin: 0;
}
.search {
    position: relative;
    width: 100%;
    margin-top: 52px;
}

.search-inpt {
    border: 1px solid #6673A4;
    width: 100%;
    height: 50px;
    padding: 12px 65px;
    box-sizing: border-box;

}

.search-btn {
    position: absolute;
    left: 15px;
    top: 12px;
    border: none;
    background-color: transparent;
}

.alf {
    text-transform: uppercase;
    font-weight: 400;
    font-size: 24px;
    line-height: 29px;
    letter-spacing: 0.23em;
    text-decoration-line: underline;
    color: #C2B59B;
    width: 100%;
    margin-top: 35px;
}

.city-list {
    height: 480px;
    width: 100%;
    margin-top: 38px;
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    line-height: 200%;
    text-decoration-line: underline;
    color: #6673A4;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    flex-direction: column;
    flex-wrap: wrap;
    overflow: hidden;
    text-overflow: clip;
}

.city-list a {
    font-family: 'Montserrat';
    margin-left: 20px;
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    line-height: 200%;
    text-decoration-line: underline;
    color: #6673A4;
}

@media (max-width: 1240px){
    .city-list {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 998px) {
    .city-list {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .main {
        padding: 50px;
    }
    .close {
        width: 32px;
        height: 32px;
        top: -36px;
        right: -4px;
    }
    .main-heading {
        font-weight: 400;
        font-size: 24px;
        line-height: 29px;
    }
    .city-list {
        grid-template-columns: repeat(2, 1fr);
    }
}


@media (max-width: 468px) {
    .main {
        padding: 15px;
    }

    .city-list {
        grid-template-columns: repeat(1, 1fr);
    }
}