body {
    font-family: verdana;
    font-size: 12px;
}

.page {
    width: 700px;
    margin: 50px auto;
}

h1,
h2 {
    text-align: center;
}

h2 {
    border-bottom: 1px solid black;
    font-size:20px;
}

.description {
    margin-bottom:10px;
}

    .description .building{
        font-weight:bold;
    }

    .monthes {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        column-gap: 30px;
        margin-bottom: 25px;
    }

.week-days,
.week {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
}

.week-days {
    opacity: 50%;
    border-bottom: 1px solid black;
    margin-bottom: 5px;
}

.week {
    margin-bottom: 5px;
    padding-bottom: 3px;
    border-bottom: 1px solid #a2a2a2;
}

.apartment {
    font-weight: bold;
}

.apartment-code {
    width: 30px;
}

.apartments {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.apartment-name {
    display: grid;
    grid-template-columns: 28px 1fr;
    column-gap: 2px;
}

@media screen and (max-width: 720px) {
    .page {
        width: 450px;
    }

    .monthes {
        grid-template-columns: repeat(2, 1fr);
    }

    .apartments {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 470px) {
    .page {
        width: 350px;
    }

    .monthes {
        grid-template-columns: 1fr;
    }

    .apartments {
        grid-template-columns: repeat(2, 1fr);
    }
}