body {
    box-sizing: border-box;
}
.page_body {
    display: flex;
    width: 100%;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.page {
    width: 1360px;
}

.page_main_one {
    display: flex;
    flex-direction: column;
    height: 1080px;
}

.page_main_header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    height: 140px;
}

.page_main_header_group {
    height: 140px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 135px;
}

.page__main__background {
    position: absolute;
    top: 0;
    left: 0;
    width: calc(100vw - 16px);
    height: 1080px;
    z-index: -1;
}

.page_main_header_element {
    width: 135px;
    display: flex;
    justify-content: center;
    font-size: 32px;
    color: #fff;
    text-decoration: none;
}

.page_main_header_logo {
    font-size: 48px;
    width: 210px;
}

.page_main_header_element_active {
    background-color: #5f5f5f;
    border-bottom-left-radius: 43px;
    border-bottom-right-radius: 43px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.page_main_container_one {
    margin-top: 71px;
    display: flex;
    flex-direction: column;
    gap: 68px;
}

.page_main_title {
    color: #ffffff;
    font-size: 96px;
    line-height: 116.18px;
    height: 348px;
    width: 901px;
}

.page_main_two {
    margin-top: 72px;
    padding-bottom: 108px;
    display: flex;
    flex-direction: column;
    gap: 73px;
}

.page_main_two_title {
    color: #ffffff;
    font-size: 96px;
}

.page_main_two_works {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.page_main_two_works_row {
    display: flex;
    flex-direction: row;
    gap: 20px;
    align-items: end;
}

.page_main_two_works_element {
    width: 325px;
    height: 325px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 43px;
    transition: transform 0.5s ease; 
    
}

.page_main_two_works_element:hover {
    transform: scale(1.1);
}


.page_main_two_works_element_image {
    width: 325px;
    height: 325px;
}

.page_main_two_works_element_avatar {
    position: absolute;
    transform: translate(-108px, -108px);
    width: 57px;
    height: 57px;
    border-radius: 100%;
}

.page_main_button {
    font-size: 32px;
    background: #fff;
    border-radius: 43px;
    width: 325px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 99px;
}

.page_main_button:hover {
    background: #B7B7B7;
    color: #ffffff;
}

.page_main_button:active {
    outline: solid 7px #ffffff;
    outline-offset: -7px;
}

.footer {
    width: 100%;
    background: #292929;
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer_container {
    width: 1360px;
    display: flex;
    gap: 63px;
    flex-direction: column;
}

.footer_one {
    padding-top: 52px;
    display: flex;
    justify-content: space-between;
}

.footer_one_group {
    display: flex;
    align-items: center;
    gap: 72px;
}

.footer_text {
    color: #ffffff;
    font-size: 24px;
}

.footer_one_icons {
    display: flex;
    gap: 41px;
    align-items: center;
}

.footer_two {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-bottom: 63px;
}

#year {
    color: #AAAAAA;
    font-size: 24px;
}

@media screen and (max-width: 1374px) {
    .page_main_two_title {
        text-align: center;
        width: 100%;
    }

    .page_main_two_works_row {
        display: flex;
        flex-direction: column;
        justify-content: center;
        width: 100%;
    }
    
    .page_main_two_works_column {
        display: flex;
        flex-direction: row;
    }

    .page {
        width: 100%;
    }

    .page_main_two {
        width: 100%;
    }

    .page_main_two_works {
        width: 100%;
    }
}

@media screen and (max-width: 724px) {
    .page_main_two_works {
        justify-content: center;
        align-items: center;
    }

    .page_main_two_title {
        text-align: center;
    }

    .page_main_two_works_row {
        justify-content: center;
        align-items: center;
    }

    .page_main_two_works_column {
        flex-direction: column;
    }
}