#main {
    display: flex;
    flex-direction: column;
    max-width: 100%;
}

.main-img {
    width: 100%;
}

.main-layout {
    display: flex;
    flex-direction: column;
    padding: 100px 39px;
}

.main-layout > p {
    margin-bottom: 16px;
    font-size: 20px;
    color: #0e0e0e;
    font-weight: 700;
    line-height: 20px;
}

.main-container {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.sub-ment {
    font-weight: 300;
}

.main-container > div:nth-of-type(1) {
    width: 50%;
    color: #0E0E0E;
    font-size: 60px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

.main-container > div:nth-of-type(2) {
    width: 50%;
    color: #000;
    font-size: 44px;
    font-style: normal;
    font-weight: 500;
    line-height: 50px;
}

.img-layout {
    display: flex;
    flex-wrap: wrap;
    padding: 0px 40px;
    gap: 20px;
}

.img-container {
    display: flex;
    flex-direction: column;
    width: calc(50% - 40px);
    flex-grow: 1;
    overflow: hidden; 
    /* max-width: 911px; */
}


.img-container > div {
    padding: 24px 0px 40px;
}

.img-container > div > p:nth-of-type(1) {
    font-size: 20px;
    color: #3a3a3a;
    line-height: 25px;
    font-weight: bold;
    margin-bottom: 16px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.img-container > div > p:nth-of-type(2) {
    font-size: 20px;
    color: #3a3a3a;
    line-height: 25px;
    font-weight: 300;
}

.button-box {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 50px 0;
}

.button-box > a {
    padding: 34px 64px;
    border: 1px solid #3a3a3a;
    color: #000;
    font-size: 20px;
    font-weight: 300;
    border-radius: 8px;
    transition: .4s all;
}

.button-box > a:hover {
    color: #fff; 
    background: linear-gradient(to bottom, transparent 50%, #FDD000 50%);
    background-size: 100% 200%;
    background-position: 0 bottom;
    border: 1px solid #fff;
}

@media (max-width: 600px) { 
    .main-layout {
        padding: 30px 20px;
    }

    .main-container {
        flex-direction: column;
        justify-content: center;
        gap: 10px;
    }

    .main-container div {
        width: 100% !important;
    }

    .main-container > div:nth-of-type(1) {
        font-size: 24px;
    }
    
    .main-container > div:nth-of-type(2) {
        font-size: 16px;
        line-height: 26px;
    }

    .img-layout {
        padding: 0px 20px;
    }

    .img-container > div {
        padding: 0;
        padding-top: 20px;
    }
    
    .img-container > div > p:nth-of-type(1) {
        font-size: 18px;
        margin-bottom: 8px;
    }

    .img-container > div > p:nth-of-type(2) {
        font-size: 14px;
        line-height: 20px;
    }

    .button-box {
        padding: 30px 0;
    }

    .button-box > a {
        padding: 20px 30px;
        font-size: 16px;
    }
}
