main {
    background-color: #FDF9E3;
    padding: 174px 11% 0 11%;
    line-height: 1.5;
    letter-spacing: 0.05em;
    color:#222;
}

.members {
    max-width: 1000px;
    margin: 0 auto;
}

.table-title {
    text-align: center;
}

.table-title h1 {
    font-size: 28px;
    margin: 0
}

.table-title h2 {
    font-size: 40px;
    margin: 0;
}

.update {
    font-size: 16px;
    text-align: right;
}

.table-wrapper {
    border: #F1D04D 3px solid;
    padding-bottom: 25px;
    background-color: #fff;
    max-width: 1000px;
    margin: 0 auto;
}

.member-table {
    width: 100%;
    margin: 0 auto;
    border-collapse: collapse;
    font-size: 20px;
    table-layout: auto;
}

.member-table th{
    height:72px;
    background-color: #FAEEBC;
    border-bottom: 3px solid #F1D04D;
    font-weight: 500;
}

.member-table th:nth-child(2) {
    border-right: 3px solid #F1D04D;
}

.city {
    width: 163px;
}

.empty-cell {
    width: 25px;
    border: none !important;
    background: #fff !important;
}

.group-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.group-info {
    display: flex;
    align-items: center;
}

.group-name {
    font-weight: 500;
    letter-spacing: 0.03em;
}

.member-table td {
    border-bottom: 1px solid #B1B1B1;
    padding-top: 17px;
    padding-bottom: 17px;
}

.member-table tr td:nth-child(2) {
    text-align: center;
}

.table-logo-img {
    height: 80px;
    width: 80px;
    border: #B1B1B1 1px solid;
    background: #fff;
    display: inline-block;
    vertical-align: middle;
    margin-right: 24px;
    flex-shrink: 0;
    box-sizing: border-box;
}

.member-table tbody tr:nth-child(even) {
    background-color: #FDF9E3;
}

.arrow-link {
    font-size: 16px;
    font-weight: bold;
    align-items: center;
    background-color: #a1cc64;
    color: #222222;
    border: 3px solid #A1CD64;
    text-decoration: none;
    border-radius: 50%;
    width: 50px;
    height:50px;
    display: inline-block;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    margin-right: 11px;
}

.arrow-button-cell{
    padding-right:10px;
}

.arrow-link:hover {
    background-color: #fff;
}

.arrow {
    display: inline-block;
    transition: transform 0.3s ease;
    width: 16px;
}

.arrow-link:hover .arrow {
    transform: translateX(5px);
}

@media screen and (max-width: 480px) {
    main {
        padding: 132px 0 24px 0;
    }

    .table-title h1 {
        font-size: 18px;
    }

    .table-title h2 {
        font-size: 26px;
    }

    .update {
        padding-right: 25px;
        margin-bottom: 0;
    }

    .table-wrapper {
        padding: 40px 0 64px 0;
        border-left: none;
        border-right: none;
        border-bottom: none;
    }

    .member-table th {
        font-size: 16px;
        font-weight: normal;
        border: 3px solid #F1D04D;
        height: 50px;
    }

    .member-table th:nth-child(1),
    .member-table th:nth-child(4) {
        border: none !important;
        background: #fff !important;
    }

    .empty-cell {
        width: 20px;
    }

    .city {
        width: 79px;
    }

    .flex-container {
        display: flex;
        flex-direction: column;
        align-items: flex-start; 
        gap: 10px;
    }

    .group-name{
        display: flex; 
        flex-wrap: wrap;
        gap: 10px;
        letter-spacing: 0.06em;
    }

    .table-logo-img {
        height: 40px;
        width: 40px;
        display: inline-block;
        margin: 5px 8px 5px 0;
    }

    .member-table tr td:nth-child(2) {
        font-size: 16px;
    }

    .member-table tr td:nth-child(3) {
        font-size: 18px;
        font-weight: 500;
    }

    .group-wrapper {
        flex-direction: column;
        align-items: flex-start;

    }

    .group-info {
        align-items: flex-start;
    }

    .arrow-link {
        align-self: flex-end;
        margin: 16px 5px 0 0;
    }
}