#page
{
    flex: 1;
    width: 1300px;

    margin: auto;
    margin-top: 70px;
    margin-bottom: 20px;
}

#last-news
{
    display: grid;
    justify-content: right;
    grid-template-rows: 100%;
    align-items: center;

    height: 500px;

    margin-bottom: 64px;

    background-color: var(--black-color);

    cursor: pointer;
}

#image-contain
{
    width: 100%;
    height: 100%;
}

#last-news img
{
    height: 100%;
    object-fit: cover;
}

#last-news-data
{
    display: flex;
    flex-direction: column;
    grid-gap: 8px;

    min-width: 700px;
    max-width: 1000px;
    height: 220px;

    margin-left: 200px;

    position: absolute;
}

#last-news-data p, #last-news-data h3
{
    font-size: 12px;
    color: var(--white-color-1);
}

#last-news-data h3
{
    display: flex;
    align-items: center;

    font-family: titleFont;
    font-size: 42px;

    padding: 4px 16px 4px 16px;

    box-sizing: border-box;
    background-color: rgba(0, 0, 0, 0.5);
}

#last-news-data .end-text
{
    display: flex;
    align-items: end;

    flex: 1;

    font-size: 16px;
    font-family: titleFont;
    color: var(--blue-2);
}

#last-news:hover #last-news-data .end-text
{
    color: var(--blue-1);
}

#list-news
{
    display: grid;
    grid-gap: 64px;
}

.news
{
    display: flex;
    align-items: flex-start;
    cursor: pointer;

    color: var(--black-color);
    text-decoration: none;
}

.news:nth-child(2n)
{
    flex-direction: row-reverse;
}

.news img
{
    width: 500px;
    margin-right: 64px;

    object-fit: contain;
}

.news:nth-child(2n) img
{
    margin: 0;
    margin-left: 64px;
}

.news div
{
    height: 100%;
    flex: 1;

    display: flex;
    flex-direction: column;
}

.news div .date
{
    width: 200px;

    font-size: 12px;
    text-align: left;

    color: var(--black-color-3);
}

.news div .title
{
    flex: 1;
    margin-bottom: 8px;

    font-size: 42px;
    font-family: titleFont;
}

.news div .end-text
{
    font-family: titleFont;
    color: var(--blue-2);
}

.news:hover div .end-text
{
    color: var(--blue-1);
}

#page-number
{
    margin-top: 16px;

    display: flex;
    justify-content: center;
}

#page-number a
{
    min-width: 26px;
    height: 26px;

    padding: 4px;
    margin-left: 2px;
    margin-right: 2px;

    color: var(--white-color-1);
    background-color: var(--blue-2);

    text-align: center;
    font-size: 20px;
    text-decoration: none;
}

#page-number a:hover
{
    background-color: var(--blue-1);
}

#page-number p
{
    margin-left: 8px;
    margin-right: 8px;
}