@import './components/about-project.css';
@import './components/second-section.css';

.p3_hero {
    margin-top: 262px;
}

.p3_hero_content_col {
    flex: 0 0 auto;
    width: 43.666667%;
}

.p3_hero_img_col {
    flex: 0 0 auto;
    width: 56.333333%;
}

.p3_hero_img {
    position: relative;
    display: flex;
}

.p3_hero_img .custom-box {
    position: absolute;
    width: 96px;
    height: 96px;
}

.p3_hero_img .custom-box.white_1 {
    background-color: #fff;
    top: 0;
    left: 0;
}

.p3_hero_img .custom-box.white_2 {
    background-color: #fff;
    bottom: 0;
    right: 0;
}

.p3_hero_img .custom-box.light-blue {
    background-color: rgba(11, 57, 84, 0.8);
    top: 96px;
    left: 96px;
}

.p3_hero_img .custom-box.blue {
    right: 96px;
    bottom: 0;
    background-color: #0B3954;
}

.p3_hero_img .custom-box.red {
    background-color: #D83529;
    bottom: -96px;
    right: 0;
}

.p3_hero .container {
    padding: 0px;
}

.p3_hero_content {
    padding-right: 125px;
    padding-top: 93px;
}

.projects_title h2,
.p3_hero_content h2 {
    font-weight: 100;
    font-size: 48px;
    line-height: 100%;
    letter-spacing: -0.03em;
    color: #0b3954;
    margin-bottom: 32px;
}

.projects_title h2 em,
.p3_hero_content h2 em {
    color: #d83529;
    font-weight: 400;
    font-style: italic;
    font-family: "Zodiak";
}

.p3_hero_content {
    font-size: 20px;
    line-height: 150%;
    color: #8d8d8d;
}

.button_style_1.archive_button_more {
    justify-content: flex-start;
    margin-top: 35px;
    max-width: fit-content;
}

.button_style_1.archive_button_more .title,
.button_style_1.archive_button_more .icon {
    background-color: #D83529;
}

.button_style_1.archive_button_more:hover .icon {
    background-color: #EE4438;
}

.about_p3 {
    padding: 275px 0px 206px 0px;
}

.about_p3 .container {
    padding: 0px;
}

.about_p3_content h2 {
    font-weight: 100;
    font-size: 48px;
    line-height: 120%;
    letter-spacing: -0.03em;
    color: #0b3954;
    margin-bottom: 32px;
}

.about_p3_content h2 em {
    color: #d83529;
    font-weight: 400;
    font-style: italic;
    font-family: "Zodiak";
}

.about_p3_content p {
    font-size: 20px;
    line-height: 150%;
    color: #8d8d8d;
}

.about_p3_content p b,
.about_p3_content p strong {
    font-weight: bold;
    color: #0B3954;
}

.about_p3_content_col .about_p3_content {
    max-width: 570px;
    margin: auto auto auto 0;
}

.about_p3_content_col {
    padding-left: 106px;
    display: flex;
}

.about_p3_img {
    position: relative;
    display: flex;
}

.white-box__top {
    width: 192px;
    position: absolute;
    top: 0;
    left: 0;
    height: 96px;
    background-color: #fff;
    z-index: 2;
}

.white-box__top-blue {
    position: absolute;
    width: 96px;
    height: 96px;
    top: 96px;
    left: 192px;
    background-color: #175376;
    z-index: 2;
}

.white-box__bottom-big {
    position: absolute;
    bottom: 0;
    left: 0;
    background-color: #fff;
    width: 96px;
    height: 192px;
    z-index: 2;
}

.white-box__bottom-small {
    width: 96px;
    height: 96px;
    position: absolute;
    left: 96px;
    bottom: 0;
    background-color: #fff;
    z-index: 2;
}

@media only screen and (max-width: 992px) {
    .white-box__top {
        width: 64px;
        height: 32px;
    }
    .white-box__top-blue {
        top: 40px;
        left: 80px;
        width: 32px;
        height: 32px;
    }
    .white-box__bottom-big {
        height: 64px;
        width: 32px;
    }
    .white-box__bottom-small {
        width: 32px;
        height: 32px;
        left: 32px;
    }
}

.projects_title h2 {
    margin-bottom: 100px;
}

.project-element {
    flex: 0 0 auto;
    width: 20%;
    padding: 0px 8px;
    margin-bottom: 16px;
    display: flex;
    flex-flow: row wrap;
    align-items: flex-start;
    align-content: flex-start;
    overflow: hidden;
}

.project-element .project-element_img {
    flex: 0 0 100%;
}

.project-element_content {
    padding: 24px;
    background: #175376;
    flex: 0 0 100%;
    height: 100%;
}

.project-element_content p {
    font-weight: 400;
    font-size: 16px;
    line-height: 130%;
    margin-bottom: 12px;
    color: #fff;
}

.project-element_content a {
    color: white;
}

.project-element_content h4 {
    font-family: "Switzer";
    font-weight: 600;
    font-size: 16px;
    line-height: 130%;
    color: #ffffff;
}

.project-element_img img {
    margin-bottom: -6px;
}

.projects {
    padding-bottom: 120px;
}

@media (max-width: 1596px) {
    .p3_hero_content {
        padding-right: 50px;
        padding-top: 15px;
    }

    .about_p3 {
        padding: 197px 0px 94px 0px;
    }

    .projects_title h2,
    .p3_hero_content h2 {
        font-size: 60px;
    }

    .about_p3_content_col {
        padding-left: 136px;
        padding-right: 20px;
    }

    .projects_title h2 {
        margin-bottom: 80px;
    }
}

@media (max-width: 1440px) {
    .p3_hero_content {
        padding-right: 15px;
    }

    .p3_hero_content h2 {
        font-size: 56px;
    }

    .p3_hero_content h2 {
        font-size: 53px;
    }

    .projects_title h2 {
        font-size: 40px;
    }

    .about_p3 .row {
        align-items: center;
    }

    .project-element_content p {
        font-size: 15px;
    }

    .about_p3_content h2 {
        font-size: 40px;
    }

    .about_p3_content p {
        font-size: 18px;
    }
}

@media (max-width: 1200px) {
    .projects_title h2,
    .p3_hero_content h2 {
        font-size: 48px;
    }

    .about_p3 {
        padding: 94px 0px 78px 0px;
    }

    .project-element {
        width: 25%;
    }

    .p3_hero_img .custom-box {
        width: 70px;
        height: 70px;
    }

    .p3_hero_img .custom-box.light-blue {
        top: 70px;
        left: 70px;
    }

    .p3_hero_img .custom-box.blue {
        right: 70px;
    }

    .p3_hero_img .custom-box.red {
        bottom: -70px;
    }
}

@media (max-width: 991px) {
    .p3_hero {
        margin-top: 197px;
    }

    .p3_hero_content_col {
        margin-bottom: 54px;
    }

    .projects_title h2,
    .about_p3_content h2 {
        font-size: 32px;
        margin-bottom: 20px;
    }

    .p3_hero_content {
        padding-top: 0;
    }

    .p3_hero .archive_button_more .title {
        font-size: 12px;
    }

    .p3_hero_content p {
        font-size: 18px;
        line-height: 1.5;
    }

    .about_p3_content p {
        font-size: 16px;
        line-height: 1.5;
    }

    .about_p3 .row {
        flex-direction: column-reverse;
    }

    .about_p3_img_col,
    .about_p3_content_col,
    .p3_hero_content_col,
    .p3_hero_img_col {
        width: 100%;
    }

    .about_p3_content_col {
        padding-left: 12px;
        padding-right: 12px;
    }

    .about_p3_content_col {
        margin-bottom: 60px;
    }

    .project-element {
        width: 33.33%;
    }
}

@media (max-width: 767px) {
    .project-element {
        width: 50%;
    }

    .p3_hero {
        margin-top: 150px;
    }

    .p3_hero_content p {
        font-size: 18px;
    }
}

@media (max-width: 576px) {
    .p3_hero_img .custom-box.white_1 {
        left: 8px;
    }

    .p3_hero_img .custom-box.white_2,
    .p3_hero_img .custom-box.red {
        right: 8px;
    }

    .p3_hero_content {
        padding: 0 8px;
    }

    .about_p3 .container,
    .p3_hero .container {
        padding: 0px 12px;
    }

    .p3_hero_content h2 {
        font-size: 32px;
        margin-bottom: 20px;
    }

    .p3_hero_content p {
        font-size: 14px;
    }

    .p3_hero_img {
        padding: 0 8px;
    }

    .about_p3_content p {
        font-size: 14px;
        line-height: 1.5;
    }

    .p3_hero_img .custom-box {
        width: 32px;
        height: 32px;
    }

    .p3_hero_img .custom-box.light-blue {
        top: 32px;
        left: 32px;
    }

    .p3_hero_img .custom-box.blue {
        right: 40px;
    }

    .p3_hero_img .custom-box.red {
        bottom: -32px;
    }

    .about_p3_content_col .about_p3_content,
    .about_p3_img_col .about_p3_img {
        padding: 0 8px;
    }

    .about_p3 {
        padding-top: 52px;
        padding-bottom: 60px;
    }

    .about_p3_content_col {
        margin-bottom: 48px;
    }

    .about_p3_content h2,
    .projects_title h2 {
        font-size: 24px;
    }

    .projects_title h2 {
        margin-bottom: 52px;
    }

    .projects {
        padding-bottom: 60px;
    }
}

/* about project component */

.about-project-wrapper {
    background: #fff;
    margin: 190px 0 90px;
}

.about-project-wrapper .background-image-container .white_box-regular {
    background-color: #fff;
}

.about-project-wrapper {
    height: 641px;
}

.about-project-wrapper .background-image-container {
    right: unset;
    left: 0;
    top: 0;
    min-height: unset;
    height: 641px;
}

@media only screen and (max-width: 992px) {
    .about-project-wrapper {
        padding-bottom: 0;
    }

    .about-project-wrapper .background-image-container {
        display: flex;
        position: relative;
        max-width: 100%;
        margin-bottom: 20px;
        height: auto;
        aspect-ratio: 2/1;
    }

    .about-project-wrapper .background-image-container .custom-box {
        width: 40px;
        height: 40px;
    }

    .about-project-wrapper .background-image-container .red_box-inside {
        top: 40px;
        right: 40px;
    }
}