body{
    margin: 0;
    padding: 0;
    background-color: #EFEBEB;
}
.main_section {
    background: url(images/bg1.png) no-repeat;
    background-size: cover;
    width: 100%;
    height: 618px;
    background-position: center;
}
.main_section ul {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    gap: 20px;
    padding: 0;
}
.main_section ul li{
    list-style: none;
}
.main_section li figure {
    width: 360px;
    height: 420px;
    display: flex;
    align-items: center;
    justify-content: start;
    flex-direction: column;
    margin: 0;
    border-radius: 60px;
    background: #fff;
    transition: .4s ease-in-out;
    padding-top: 4em;
    box-sizing: border-box;
    box-shadow: 0px 4px 76.4px 0px #8D838340;
}
.main_section li figure img {
    width: 100%;
    max-width: 180px;
    transition: .4s ease-in-out;
}
.main_section li a{
    text-decoration: none;
}
.main_section h3 {
    color: #1d1d1d;
    text-align: center;
    font-family: system-ui;
    font-weight: 700;
    font-size: 28px;
    margin: 0;
    width: 100%;
    max-width: 336px;
    padding-top: 30px;
}
.main_section li a:hover figure{
    transform: scale(1.06);
}

@media only screen and (max-width:1500px){
    .main_section {
        height: 400px;
    }
.main_section li figure {
    width: 210px;
    height: 230px;
    border-radius: 30px;
    padding-top: 2em;
}
    .main_section li figure img {
        max-width: 85px;
    }
    .main_section h3 {
        font-size: 20px;
        max-width: 138px;
        padding-top: 10px;
    }
    .main_section ul {
        gap: 20px;
    }
}
@media only screen and (max-width:991px){
    .main_section {
        height: 280px;
    }
    .main_section li figure {
        width: 200px;
        height: 210px;
        border-radius: 22px;
        padding-top: 2em;
    }
    .main_section li figure img {
        max-width: 72px;
    }
    .main_section h3 {
        font-size: 17px;
        max-width: 124px;
        padding-top: 15px;
    }
    .main_section ul {
        gap: 30px;
    }
}
@media only screen and (max-width:767px){
    .main_section {
        height: 215px;
    }
    .main_section li figure {
        width: 140px;
        height: 155px;
        margin-bottom: 0;
        padding-top: 20px;
    }
    .main_section ul {
        gap: 20px;
    }
    .main_section li figure img {
        max-width: 62px;
    }
    .main_section h3 {
        font-size: 15px;
        padding-top: 5px;
        line-height: 18px;
        max-width: 108px;
    }
}

@media only screen and (max-width:520px){
    .main_section ul {
        gap: 15px;
        flex-wrap: wrap;
        width: 100%;
        justify-content: center;
    }
    .main_section ul li {
        list-style: none;
        width: 42%;
        text-align: center;
    }
    .main_section li figure {
        width: 142px;
        height: 150px;
        margin: auto;
    }
    .main_section h3 {
        font-size: 14px;
        padding-top: 5px;
        line-height: 16px;
        max-width: 95px;
    }
    .main_section li figure img {
        max-width: 57px;
    }
}