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

.main-img {
    width: 100%;
    max-height: 75vh;
    object-fit: cover;
}

.main-layout {
    display: flex;
    flex-direction: column;
    padding: 60px 0px;
    padding-bottom: 20px;
    width: 100%;
}

.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;
}

.aboutus-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background: #3A3A3A;
    color: #fff;
    font-size: 14px;
    padding: 10px 20px;
    padding: 15px 0px;
    font-size: 12px;
    width: 150px;
    margin: 0 auto;
    margin-top: 40px;
}

.hr {
    width: 100%;
    height: 1px;
    background: #3A3A3A;
    margin-top: 60px;
    margin-bottom: 40px;
}

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

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

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

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

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

.img-container img {
    width: 100%;
}

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

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

.img-container > div > p:nth-of-type(2) {
    font-size: 14px;
    color: #535353;
    line-height: 18px;
    font-weight: 300;
}

.snip1504 {
  position: relative;
  overflow: hidden;
  width: 100%;
  color: #000000;
  text-align: left;
  font-size: 14px;
  background-color: rgba(0, 0, 0, 0.70);
}

.snip1504 * {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: all 0.45s ease;
  transition: all 0.45s ease;
}

.snip1504 img {
  vertical-align: top;
  max-width: 100%;
  backface-visibility: hidden;
}

.snip1504 figcaption {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1;
  align-items: center;
  bottom: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.snip1504 h3,
.snip1504 h5 {
  margin: 0;
  opacity: 0;
  letter-spacing: 1px;
}

.snip1504 h3 {
    color: #fff;
    -webkit-transform: translateY(-100%);
    transform: translateY(-100%);
    text-transform: uppercase;
    font-weight: 500;
    font-size: 14px;
    margin-bottom: 10px;
    letter-spacing: -0.5px;
}

.snip1504 h5 {
  color: #888;
  -webkit-transform: translateY(100%);
  transform: translateY(100%);
  font-weight: 300;
  font-size: 12px;
  letter-spacing: -0.5px;
}

.snip1504 a {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1;
}

.snip1504:hover > img,
.snip1504.hover > img {
  opacity: 0.1;
}

.snip1504:hover h3,
.snip1504.hover h3,
.snip1504:hover h5,
.snip1504.hover h5 {
  -webkit-transform: translateY(0);
  transform: translateY(0);
  opacity: 1;
}

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

.button-box > a {
    padding: 24px 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;
        width: calc(100% - 40px);
        align-items: center;
    }

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

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

    .main-layout > p {
        font-size: 18px;
    }

    .sub-ment {
        text-align: center;
    }

    .hr {
        margin-top: 30px;
        margin-bottom: 30px;
    }

    .main-container > div:nth-of-type(1) {
        font-size: 18px;
        text-align: center;
    }
    
    .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: 10px;
    }
    
    .img-container > div > p:nth-of-type(1) {
        font-size: 14px;
        margin-bottom: 8px;
        text-align: center;
    }

    .img-container > div > p:nth-of-type(2) {
        font-size: 12px;
        line-height: 18px;
        text-align: center;
    }

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

    .button-box > a {
        padding: 20px 25px;
        font-size: 14px;
    }
}
