main {
    padding-top: 40px;
}

.list {
    margin-bottom: 40px;
    padding-bottom: 40px;
}

.list:first-child h2 {
    text-align: center;
}

main h2 {
    font-size: 32px;
    color: #000;
    margin-bottom: 40px;
    font-weight: 550;
}

.big-box {
    display: flex;
    flex-wrap: wrap;
}

.one-box {
    width: 100%;
    display: flex;
    gap: 5%;
    margin-bottom: 5%;
}

.one-box:last-child {
    margin-bottom: 0;
}

.one-box .img-box {
    width: 33.4%;
    max-width: 33.4%;
    min-width: 33.4%;
    border-radius: 5%;
    overflow: hidden;
}

.one-box .img-box::before,
.two-box .img-box::before {
    padding-top: 100%;
}

.one-text {
    width: calc(100% - 33.4% - 5%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5%;
    color: #000;
    font-size: 18px;
}

.one-text i {
    margin-right: auto;
    background-color: #f3fcff;
    color: #389fe6;
    font-size: 13px;
    padding: 5px 15px;
    border-radius: 999px;
}

.one-text h3 {
    font-size: 40px;
    font-weight: 550;
}

.two-box .img-box {
    border-radius: 8%;
    overflow: hidden;
}

.two-text {
    margin-top: 15px;
    gap: 15px;
    display: flex;
    flex-direction: column;
    color: #33333393;
    font-size: 14px;
}

.two-text h3 {
    color: #000;
    font-size: 24px;
    font-weight: 550;
    line-height: 1.2;
}

.three_big_box {
    margin-bottom: 40px;
}

@media screen and (min-width:770px) {
    .two-box {
        width: calc((100% - 75px) / 4);
        margin-right: 25px;
        margin-bottom: 25px;
    }

    .two-box:nth-of-type(4n) {
        margin-right: 0;
    }
}

@media screen and (max-width:769px) {
    .list {
        padding-bottom: 20px;
        margin-bottom: 20px;
    }

    main h2 {
        font-size: 24px;
        margin-bottom: 18px;
    }

    .one-box {
        gap: 2%;
    }

    .one-box .img-box {
        width: 50%;
        height: fit-content;
        min-width: 50%;
        max-width: 50%;
    }

    .one-text h3 {
        font-size: 19px;
    }

    .one-text {
        width: calc(100% - 33.4% - 2%);
        font-size: 14px;
    }

    .two-box {
        width: calc((100% - 15px) / 2);
        margin-right: 15px;
        margin-bottom: 15px;
    }

    .two-box:nth-of-type(2n) {
        margin-right: 0;
    }

    .two-text h3 {
        font-size: 19px;
    }

    .two-text {
        margin-top: 8px;
        gap: 8px;
    }

    .three-text {
        font-size: 19px !important;
    }

    .three_wrapper {
        height: auto !important;
    }

    .three_content {
        flex-direction: column;
    }

    .three-box {
        min-height: 40vh;
    }
}

.three_wrapper {
    width: 100%;
    overflow: hidden;
}

.three_content {
    display: flex;
    height: 100%;
    flex-direction: column;
}

.three-content-box {
    min-width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
}

.three-box {
    position: relative;
}

.three-box .img-box::before {
    padding-top: 45%;
}

.three-box .img-box {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.three-box .img-box img {
    transition: .8s;
}

.three-box:hover img {
    transform: scale(1.2);
}

.three-text {
    position: absolute;
    z-index: 1;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background-color: #00000015;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fff;
    padding: 3%;
    text-align: center;
    gap: 5%;
    font-size: 24px;
    font-weight: 550;
}

.three-text i {
    font-size: 15px;
    color: #ffffffec;
    text-shadow: 0 0 100px #ffffff;
}