@font-face {
    font-family: DMSans-Bold;
    src: url(../DM_Sans/DMSans-Bold.ttf);
}

@font-face {
    font-family: DMSans-Regular;
    src: url(../DM_Sans/DMSans-Regular.ttf);
}

@font-face {
    font-family: DMSans-Medium;
    src: url(../DM_Sans/DMSans-Medium.ttf);
}

@font-face {
    font-family: Manrope-Regular;
    src: url(../DM_Sans/Manrope-Regular.ttf);
}

@font-face {
    font-family: New York Extra Large Regular;
    src: url(../DM_Sans/NewYorkExtraLargeRegular.ttf);
}

.owl-item>div:after {
    font-family: sans-serif;
    font-size: 24px;
    font-weight: bold;
}

.latestwork .center {
    transform: scale(1.15) !important;
}


/* .img-andtext-holder {
  background-image: url("https://via.placeholder.com/300x150/936/fff/?text=1");
  height: 500px;
  background-color: gray;
} */

.latestwork .owl-stage-outer {
    /* height: 661px; */
    height: 492px;
    padding-top: 108px;
}

.img-andtext-holder {
    /* max-width: 355px;
  position: relative;
  border: 10px solid white;
  height: 550px; */
    max-width: 301px;
    position: relative;
    border: 10px solid white;
    height: 392px;
    background-image: url(../Media/noshowm1.png);
    background-color: aliceblue;
    border: 9.12px solid #ffffff;
    box-shadow: 12.768px 15.504px 40.128px rgba(0, 0, 0, 0.07);
    border-radius: 36.48px;
    margin-left: auto;
    margin-right: auto;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.img-andtext-holder1 {
    background-image: url(../Media/UBON-LATEST-WORK.png);
}

.img-andtext-holder2 {
    background-image: url(../Media/mirae-latest-work-bg.png);
}

.img-andtext-holder3 {
    background-image: url(../Media/ONETAP-LATEST-WORK.png);
}

.img-andtext-holder4 {
    background-image: url(../Media/MASAI\ SCHOOL.png);
}

.img-andtext-holder5 {
    background-image: url(../Media/KICKCASH-LATEST.png);
}

.img-andtext-holder6 {
    background-image: url(../Media/ABHIBUS-LATEST-WORK.png);
}

.google-icon-con {
    position: absolute;
    width: 92px;
    height: 92px;
    left: 97.5px;
    top: -46px;
    /* background: #1d1b1b; */
    z-index: 7;
    left: 0;
    right: 0;
    margin: auto;
    background-repeat: no-repeat;
    background-size: cover;
}

.latestworkicon1 {
    background-image: url(../Media/ubonlatestwork.svg);
}

.latestworkicon2 {
    background-image: url(../Media/miraelatestwork.png);
}

.latestworkicon3 {
    background-image: url(../Media/onetaplatestwork.png);
}

.latestworkicon4 {
    background-image: url(../Media/masai-latest-work-logo.png);
}

.latestworkicon5 {
    background-image: url(../Media/KICKCASH-LATEST-upper-logo.png);
}

.latestworkicon6 {
    background-image: url(../Media/abhibus-latestwork-upperlogo.png);
}

.work-desk {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 104px;
    z-index: 1;
    background: linear-gradient( 180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.8) 100%);
    border-radius: 0px 0px 30px 30px;
    text-align: center;
    /* padding-bottom: 27px; */
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.word-desk-sub {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    position: absolute;
    bottom: 27px;
    z-index: 2;
    left: 0;
    right: 0;
}


/* .work-desk span {
  align-self: flex-end;
} */

.word-desk-sub div:first-child {
    font-family: DMSans-Regular;
    font-style: normal;
    font-weight: 500;
    font-size: 20.064px;
    line-height: 26px;
    text-transform: capitalize;
    color: #ffffff;
    display: block;
    text-align: center;
    margin-bottom: 10px;
}

.word-desk-sub div:last-child {
    /* display: none; */
    width: 280px;
    font-family: DMSans-Regular;
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 21px;
    text-align: center;
    color: rgba(255, 255, 255, 0.9);
    height: 0px;
    transition: 0.42s linear;
    /* height: 40px; */
    overflow: hidden;
}


/* .img-andtext-holder:hover .work-desk { */

.img-andtext-holder:hover .work-desk {
    height: 100%;
    background: rgba(0, 0, 0, 0.69);
    filter: blur(3px);
    border-radius: 26px 26px 30px 30px;
}

.img-andtext-holder:hover .word-desk-sub div:last-child {
    /* display: block; */
    height: 225px;
}

.img-andtext-holder1:hover {
    background-image: url(../Media/ubon-blurr.webp);
}

.img-andtext-holder2:hover {
    background-image: url(../Media/mirae-blur.webp);
}

.img-andtext-holder3:hover {
    background-image: url(../Media/onetaphello-blur.webp);
}

.img-andtext-holder4:hover {
    background-image: url(../Media/masai-blur.webp);
}

.img-andtext-holder5:hover {
    background-image: url(../Media/kk-blur.webp);
}

.img-andtext-holder6:hover {
    background-image: url(../Media/abhibus-blur.webp);
}

.img-andtext-holder:hover .word-desk-sub {
    top: 0;
    bottom: 0;
}


/* what we do mobile view  */

@media only screen and (max-width: 670px) {
    .latestwork {
        margin-top: 70px;
    }
    .img-andtext-holder {
        width: 320px;
        height: 392px;
        border: 5px solid #ffffff;
        box-shadow: 14px 17px 44px rgba(0, 0, 0, 0.07);
        border-radius: 22px;
        margin: auto;
    }
    .word-desk-sub div:first-child {
        font-size: 18px;
        line-height: 23px;
    }
    .word-desk-sub div:last-child {
        font-size: 12px;
    }
    .latestwork .owl-stage-outer {
        height: 523px;
    }
    .platforms {
        margin: 34px 0px 85px 0px;
    }
}

.LATEST-WORK-POPUP {
    position: relative;
    z-index: 1;
}

.cut-icon {
    font-size: 28px;
    color: gray;
    /* margin: auto; */
    margin-top: auto;
    margin-bottom: auto;
}

.flex-pop {
    display: flex;
    justify-content: space-between;
}

.popup-1 {
    position: absolute;
    z-index: 3;
    /* height: 299px; */
    width: 70%;
    margin: auto;
    left: 0;
    right: 0;
    top: 88px;
    background-color: #ffffff;
    padding: 32px;
    background: #ffffff;
    border: 1px solid rgba(3, 13, 32, 0.1);
    border-radius: 20px;
    transition-timing-function: ease;
    transition-duration: 0.65s;
    transition-delay: 0.0575342s;
    opacity: 0;
    /* opacity: 0; */
    transform: scale(0.1);
}

.popup-icon img {
    width: 92px;
    height: 92px;
}

.fa-x {
    color: gray;
}

.flex-pop-txt {
    display: flex;
    gap: 24px;
    text-align: center;
    justify-content: center;
}

.flex-pop-txt div {
    text-align: center;
    align-items: center;
    margin: auto;
    font-family: New York Extra Large Regular;
    font-style: normal;
    font-weight: 600;
    font-size: 24px;
    line-height: 29px;
    /* identical to box height */
    text-transform: capitalize;
    color: #030d20;
}

.popup-txt {
    font-family: DMSans-Regular;
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 28px;
    /* or 156% */
    color: rgba(3, 13, 32, 0.6);
    margin-top: 31px;
}