@import "../../../styles/varibale.scss";

.homePageContainer {
    margin: 2em 2.5em;
    max-height: 90%;
}

.buttonNewStyles{
    display: flex;
    padding: 2rem 0.5rem;
    justify-content: space-between;
    min-height: 120px;
    & a{
     
        height: 52px;
    padding: 0.25rem 2rem;
    line-height: 52px;
    }
}
.buttonFourNewStyles{
    
    display: flex;
    padding: 2rem 1rem;
    flex-direction: column;
    align-items: flex-start;
    min-height: 172px;
    justify-content: flex-end;
    & a{
     
        height: 52px;
    padding: 0.1rem 2rem;
    line-height: 52px;
    }
}
.buttonthirdNewStyles{
    display: flex;
    padding: 2rem 1rem;
    justify-content: space-between;
    min-height: 135px;
    align-items: flex-end;
    & a{
     
        height: 52px;
    padding: 0.1rem 2rem;
    line-height: 52px;
    }
}
.buttonfinalNewStyles{
    display: flex;
    padding: 2rem 1rem;
    justify-content: space-between;
    min-height: 124px;
    & a{
     
        height: 52px;
    padding: 1rem 2rem;
    line-height: 52px;
    }
}
.plTSS1{
    padding-left: 1rem;
}
.secondImgConainer{
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 0.5rem 1rem;
}
.newImg{
    width: 100%;
    height: 329px;
    border-bottom-left-radius:0 !important ;
    border-bottom-right-radius: 0 !important;
}
.ExplorebuttonHeight{
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 136px;
    font-size: 24px;
    font-weight: 700;
}
.buttonHeight{
    background:#164dd6;
    height:100px;
    border-bottom-right-radius:20px;
    border-bottom-left-radius:20px;
    align-items:center;
    justify-content:space-between;
    padding:0 16px;
    width: 100%;
    position: static;
}
.marginHeight{
    margin-bottom: 1rem;
    padding-right: 0.75rem;
    padding-bottom: 0.75rem;
}
.buttonTitle{
    height:40px;
    color:#164dd6;
    font-size:18px
}
.title1{
    font-size: 28px;
    font-weight: 700;
    // width: 100%;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    color: #ffffff;
    // margin-left: 1rem;
}
.title2{
    font-family: SemiBold, Outfit;
    text-overflow: ellipsis;
    overflow: hidden;
    display: -webkit-box !important;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    white-space: normal;
    height: 60px;
}
.title6{
    font-family: SemiBold, Outfit;
    text-overflow: ellipsis;
    overflow: hidden;
    display: -webkit-box !important;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    white-space: normal;
}
.title4{
    font-family: SemiBold, Outfit;
    text-overflow: ellipsis;
    overflow: hidden;
    display: -webkit-box !important;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    white-space: normal;
    max-height: 60px;
}

.title3{
    font-family: SemiBold, Outfit;
    text-overflow: ellipsis;
    overflow: hidden;
    display: -webkit-box !important;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    white-space: normal;
}
.newButton{
   
}

.homePageContainer .images {
    -webkit-transition: all 350ms ease;
    transition: all 350ms ease;
    cursor: pointer;
    // position: relative;
  
}
//rayudu styles
.buttonStyles{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1rem;
    margin-bottom: 2rem;

}
.buttonSecondStyles{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 0 1rem;
}
.imageDiv1 {
    width: fit-content;
    display: inline-block;
}

.modalStyles {
    top: 2em;
    height: 100%;

    :global(.ant-modal-content) {
        padding: 2em 2em;
        background-color: transparent;
    }

    :global(.ant-modal-close) {
        color: #ffffff;
    }
}

@media (max-width: 768px) {

    .modalStyles {
        height: 50% !important;

        :global(.ant-modal-content) {
            padding: 1em 1em;
            background-color: transparent;
        }
        .buttonSecondStyles{
            align-items: center !important;
            display: flex !important;
        }
       
    }

    .homePageContainer {
        margin: 2em 2em;
        -webkit-column-count: 1;
        -moz-column-count: 1;
        column-count: 1;
        -webkit-column-width: 100%;
        -moz-column-width: 100%;
        column-width: 100%;
    }
}

.modalStyles>div {
    height: 100%;
    width: 100%;
}

.frameContainer {
    height: 100%;
}

.imageGrid {
    --gap: 1em;
    --num-cols: 4;
    --row-height: 310px;

    box-sizing: border-box;
    padding: var(--gap);

    display: grid;
    grid-template-columns: repeat(var(--num-cols), 1fr);
    grid-auto-rows: var(--row-height);
    gap: var(--gap);
}

.imageGrid>div :hover {
    opacity: 1;
}

.imageGrid>div>img {
    width: 100%;
    height: 100%;
}

.imageGridCol2 {
    grid-column: span 2;
}

.imageGridRow2 {
    grid-row: span 2;
}


.title {
    background-color: rgb(0, 0, 0, 0.5);
    position: absolute;
    bottom: 0;
    color: #ffffff;
    width: 100%;
    font-size: 1em;
    padding: 0.2em 0;
    text-align: center;
    opacity: 0;
    transition: 0.6s;
}

.images:hover .title {
    opacity: 1;
}


@media screen and (max-width: 1024px) {

    .homePageContainer {
        margin: 1em 0em;
    }

    .imageGrid {
        --num-cols: 2;
        --row-height: 250px;
        --gap: 0.5em;
    }

    .imageGridCol2 {
        grid-column: span 1;
    }

    .imageGrid>div>img {
        width: 100%;
        // height: 100%;
        object-fit: fill;
    }
}
.imageMetaCollection {
    
    z-index: 1;
    // position: absolute;
    bottom: 0;
    width: 100%;
    > div {
        width: 100%;
        display: grid;
        // position: absolute;
        display: flex;
        align-items: center;
        background-color: grey;
        justify-content: center;
        margin-bottom: 2rem;
    }
    span {
        color: black;
        font-size: 30px;
        font-family:SemiBold, Outfit;
    }
    a {
        display: block;
        margin-top: 5%;
        margin-bottom: 5%;
        height: 52px;
        line-height: 52px;
        font-size: 16px;
    }
}
// .imageMetaTopCollection {
//     top: 0%;
//     bottom: unset;
// }
.btnTextContainer {
    display: grid;
    font-size: 20px;
    display: flex;
    align-items: center;
    background-color: grey;
    justify-content: center;
    :global(a.ant-btn){
        height: 52px;
        line-height: 52px;
        font-size: 16px
    
    }
}
.secondContainer{
    margin-right:-1em;
}
.sixContainer{
  margin-left:-1em;
}
@media screen and (max-width: 768px) {
    .plTSS1{
        padding-left: 0;
    }
    .mtTSS1{
        margin-top: 1rem;
    }
    .title1{
        font-family: SemiBold, Outfit;
        text-overflow: ellipsis;
        overflow: hidden;
        display: -webkit-box !important;
        -webkit-line-clamp: 1;
        -webkit-box-orient: vertical;
        white-space: normal;
        // height: 60px;
    }
    .buttonHeight{
        width: 100%;
    }
    .marginHeight{
        margin-bottom: 1rem;
        padding-right: 0;
        padding-bottom: 0.75rem;
    }
    .buttonHeight{
        position: static;
        bottom: 0;
    }
    .buttonHeight{
        bottom: -75px;
    }
    .newImg{
        height: auto;
    }
    .secondImgConainer{
        min-height: 240px;
        padding: 0.5rem 1rem;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    .imageGrid {
        --num-cols: 1;
        --row-height: 250px;
        --gap: 0.5em;
    }
    .homePageContainer .images {
        width: 100%;
    }
    
    .secondContainer{
        margin-right:auto;
        margin-bottom: -1em;
    }
    .sixContainer{
      margin-left:auto;
      margin-top: -1em;
    }
    .buttonSecondStyles{
        align-items: center !important;
    }
}