#image-text img {
    width: 100%;
    height: 100%;
    min-height: 25rem;
    object-fit: cover;
}

#image-text .container > div {
    flex-wrap: wrap;
    gap: var(--vert-spacing-3) var(--hori-spacing-5);
}

@media (min-width: 900px) {
    #image-text .container .image {
        flex: 1.5;
    }
    #image-text .container .content-wrapper {
        flex: 1;
        align-content: center;
    }
    #image-text .container > div {
        flex-wrap: nowrap;
    }
    .img-right .image {
        order: 5;
    }
}



/*new code added for image raito*/

@media (min-width: 900px) {
    #image-text .container.image-small .content-wrapper {
      flex: 2;
      align-content: center;
      padding-left:7vw;
      /*padding: right 4vw;*/
      padding-top:3rem;
      padding-bottom:3rem;
    }

    #image-text .container.image-small .image {
        flex: 1.5;
      }
    }

    .image-small > .d-flex{
        border:2px solid black;
    }

    .image-small > .d-flex .image{
        border-left: 2px solid black;
    }


    .image-small{
        padding-top: var(--vert-spacing-4) !important;
        padding-bottom: var(--vert-spacing-4) !important;
    }
  





    /*new overlapping blocks*/

    .overlapping-blocks{
        z-index: 99;
        position: relative;
    }

    .overlapping-blocks .d-flex{
        position: relative;
        display: block;
    }

    .overlapping-blocks .image{
        width:53%;
    }

    .overlapping-blocks .image img{
        border: 0px solid black;
    }


    .overlapping-blocks .content-wrapper{
        border: 2px solid black;
        position: absolute;
        top: 0;
        right: 0rem;
        background-color: white;
        padding: 2rem 3vw;
        width: 53%;
        height: 100%;
        margin-top: 4rem;
    }



    @media screen and (max-width:900px) {
            
        #image-text .content-wrapper{
            order:1 !important;
        }

        #image-text .image{
            order: 2 !important;
        }

        .overlapping-blocks .content-wrapper{
            width: 100%;
            position: relative;
        }

        .overlapping-blocks .image{
            width:100%;
        }

        .overlapping-blocks .d-flex{
            display: flex;
        }
        


    }

    @media screen and (min-width:900px) {

    .overlapping-blocks{
        padding-bottom: clamp(11rem, 20vw, 14rem) !important;
    }
}



@media screen and (max-width:900px) {
    .image-small .content-wrapper{
        padding: 3rem 5vw;
    }
}


.sub-title-text{
    font-family: 'Roboto Mono';
    text-transform: uppercase;
    letter-spacing: 10%;
}




.content ul li{
    list-style-type: "+" !important;
    padding-inline-start: 1ch;
    line-height: 2;

}

.content ul li::marker{
    color: #0DADA9 !important;
    font-size: 1.25rem;
}

.content ul{
    padding-left: 1rem !important;
}



.overlapping-blocks .d-flex .image img{
    height: 38rem !important;
}


.desk-width .content{
    margin-top: 2rem;
}



.desk-width .buttons{
    margin-top: 2rem !important;
}


.dotted-bg{
    position: relative;
}



.dotted-bg::before{
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: url(/wp-content/uploads/Alloy-Labs-Dots-Texture.png);
    background-repeat: no-repeat;
    background-size: cover;
    top:0;
    margin-top: 1rem;
}

.dotted-bg::after{
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: #ffffff;
   /* background: linear-gradient(180deg, rgba(255, 255, 255, 1) 0%, rgba(87, 199, 133, 0) 50%, rgba(255, 255, 255, 1) 100%);*/
   background: linear-gradient(180deg, rgba(255, 255, 255, 0.75) 0%, rgba(87, 199, 133, 0) 50%, rgb(255, 255, 255) 100%);
    top: 0;
    left: 0;
}


.image-small .d-flex{
    background-color: white;
    z-index: 9;
    position: relative;
}


.dotted-bg .d-flex.cross{
    position: relative;
}


.dotted-bg .d-flex.cross:after{
    position: absolute;
    content: '';
    bottom: 0;
    right: 0;
    background-image: url(/wp-content/uploads/cross.svg);
    height: 1rem;
    width: 1rem;
    background-size: contain;
    background-repeat: no-repeat;
    margin-bottom: -1.5rem;
    margin-right: -1.5rem;

}


.dotted-bg .d-flex.cross::before{
    position: absolute;
    content: '';
    left: 0;
    top: 0;
    background-image: url(/wp-content/uploads/cross.svg);
    height: 1rem;
    width: 1rem;
    background-size: contain;
    background-repeat: no-repeat;
    margin-top: -1.5rem;
    margin-left: -1.5rem;

}


@media screen and (min-width:900px){
.image-small .content-wrapper h2,
.image-small .content-wrapper .content{
    margin-right:4vw;
}

}




#image-text{
    overflow: hidden;
}