.box-image-text {
    position: relative;
    background: #F1FCFA;
    padding-top: 55px;
	z-index: unset;
}

.box-image-text__wrap {
    border-radius: 100px 100px 1000px 1000px;
    border: 1px solid #F0F0F0;
    background: #FFF;
    box-shadow: 0 10px 20px 0 rgba(0, 0, 0, 0.10);
    padding: 25px;
    position: relative;
    z-index: 3;
}

.box-image-text__content {
    text-align: center;
    color: #000000;
    margin-bottom: 20px;

}

.box-image-text__content p {
    letter-spacing: 0.03em;
}

.box-image-text__content .btn-group {
    justify-content: center;
}

.box-image-text__image {
    position: relative;
    height: 318px;
}

.box-image-text__image::before{
    content: "";
    position: absolute;
    left: 0;    
    top: 14px;
    width: 100%;
    height: 100%;
    background: url('/wp-content/themes/cottoncreations/assets/img/vactor-ellipse.svg') no-repeat center center; 
    z-index: 1;
    border-radius: 50%;
    margin: 0 auto;
}

.box-image--squiggly-top {
    position: absolute;
    top: 26px;
    right: 0;
    width: 100%;
    max-width: 129px;
    height: auto;
    z-index: 2;
    transform: rotate(18deg);
    background: transparent; 
}


.box-image--squiggly-top img{
    max-width: 129px;
    top: 0 !important;    
    right: 0 !important;   
    left: unset;
    height: auto;
}

.box-image--squiggly-right {
    position: absolute;
    bottom: 53px;
    left: auto;
    right: 33px;
    width: 100%;
    max-width: 50px;
    height: auto;
    z-index: 2;
    background: transparent;
}

.box-image--squiggly-right img{
    max-width: 50px; 
    right: 0 !important;
    bottom: 0 !important;
    top: unset !important;
    left: unset;
    height: auto;
}

.box-image--squiggly-left {
    position: absolute;
    bottom: 80px;
    left: 32px;
    width: 100%;
    max-width: 75px;
    height: auto;
    z-index: 2;
    background: transparent;
}

.box-image--squiggly-left img{
    max-width: 75px;
    bottom: 0 !important;
    top: unset !important;
    left: 0 !important;
    right: unset;
    height: auto;
}


.box-image-text__image img {
    width: 375px;
    height: auto;
    max-width: inherit;
    position: absolute;
    left: 50%;    
    top: -90px;
    transform: translate(-50%, 0);
}

.box-image-text-accent-1 {
    color: #00807F;
    font-family: "Caveat", cursive;
    font-size: 14px;
    font-weight: 400;
    line-height: 1em;
    letter-spacing: 0.02em;
    text-align: right;
    position: absolute;
    right: -2px;
    top: 10px;
}

.box-image-text-accent-2 {
    color: #00807F;
    font-family: "Caveat", cursive;
    font-size: 15px;
    font-weight: 400;
    line-height: 1em;
    letter-spacing: 0.02em;
    position: absolute;
    left: 11px;
    bottom: -30px;
}

.box-image-text__image-main{
    position: absolute;
    left: 0;
    bottom: -124px;
    width: 100%;
    max-width: 300px;
    height: 100%;
    background: transparent;
    transform: rotate(-3deg) scale(1.1);
    z-index: 5;
}

.box-image-text__image-small{
    position: absolute;
    left: 17px;
    bottom: 26px;
    width: 100%;
    max-width: 206px;
    height: auto;
    transform: rotate(8deg);
    background: transparent;
    z-index: 5;
}

.box-image-text__top-curve {
    width: 100%;
    height: auto;
    position: absolute;
    top: 0;
    left: 0;
    background-color: #fff;
}

@media (min-width: 420px){

    .box-image-text__image::before{
        content:"";
        top: 10px;     
    }


    .box-image--squiggly-top {       
        top: 26px;    
        max-width: 129px;
        height: auto;        
        transform: rotate(18deg);
    }


    .box-image--squiggly-left {        
        bottom: 85px;
        left: 51px;
        width: 100%;
        max-width: 75px;   
    }


    .box-image--squiggly-right {        
        bottom: 65px;        
        right: 37px;        
        max-width: 50px;        
    }

    .box-image-text__image-main{
        left: 26px;
        bottom: -113px;
        width: 100%;
        max-width: 300px;
    }


    .box-image-text__image-small{
        left: 37px;
        bottom: 50px;
        width: 100%;
        max-width: 225px;
    }

}


@media (min-width: 768px) {
    .box-image-text {
        padding-top: 55px;
    }

    .box-image-text__wrap {
        border-radius: 100px 100px 1000px 1000px;
        padding: 45px;
        max-width: 550px;
        margin: 0 auto;
    }

    .box-image-text__image {
        height: 494px;
    }

    .box-image-text__image::before{        
        top: 10px;     
    }

    .box-image-text__image img {
        width: 610px;
        top: -134px;
    }

    .box-image-text-accent-1 {
        font-size: 24px;
        text-align: left;
        right: -23px;
        top: 0;
    }

    .box-image-text-accent-2 {
        font-size: 24px;
        left: -65px;
        text-align: right;
        bottom: -10px;
    }

    .box-image-text__image-main{
        position: absolute;
        left: -3px;
        bottom: -152px;
        width: 100%;
        max-width: 495px;
        height: 100%;
        background: transparent;
        transform: rotate(0deg) scale(1.1);
        z-index: 3;
    }
    
    .box-image-text__image-small{
        position: absolute;
        left: 20px;
        bottom: 43px;        
        max-width: 325px;        
        transform: rotate(-18deg);        
    }


    .box-image--squiggly-top {       
        top: 45px; 
        right: -27px;
        max-width: 195px;
        height: auto;        
        transform: rotate(8deg);
    }


    .box-image--squiggly-left {        
        bottom: 135px;
        left: 37px;
        width: 100%;
        max-width: 122px;   
    }


    .box-image--squiggly-right {        
        bottom: 75px;        
        right: 62px;        
        max-width: 86px;        
    }
}


@media (min-width: 1024px){

    .box-image-text__content{
        width: 100%;
        max-width: 500px;
    }

}



@media (min-width: 1200px) {
    .box-image-text {
        padding-top: 150px;
    }

    .box-image-text__wrap {
        border-radius: 1000px 100px 100px 1000px;
        padding: 35px 45px;
        max-width: 1240px;
    }

    .box-image-text__content {
        text-align: left;
        max-width: 550px;
        margin-left: auto;
        margin-bottom: 0;
    }

    .box-image-text__content .btn-group {
        justify-content: flex-start;
    }

    .box-image-text__image {
        height: 100%;
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
    }

    .box-image-text__image::before{        
        top: 47px;   
        left: 40px;  
        width: 380px;
        height: 380px;
    }

    .box-image-text__image img {
        width: 556px;
        top: -107px;
        left: -67px;
        transform: none;
    }

    .box-image-text-accent-1 {
        text-align: right;
        right: -464px;
        top: 20px;
    }

    .box-image-text-accent-2 {
        left: 14px;
        bottom: unset;
        top: 483px;
        width: max-content;
    }    

    .box-image-text__image-main{
        position: absolute;
        left: 10px;
        bottom: -68px;
        width: 100%;
        max-width: 420px;
        height: 100%;
        background: transparent;
        transform: rotate(20deg) scale(1.1);
        z-index: 3;
    }
    
    .box-image-text__image-small{
        position: absolute;
        left: 95px;
        bottom: 102px;
        width: 100%;
        max-width: 270px;
        height: auto;    
        background: transparent;
        z-index: 5;
        transform: rotate(0deg) scale(1.1);
    }

    .box-image--squiggly-top {       
        top: -28px; 
        right: -216px;
        max-width: 224px;
        height: auto;        
        transform: rotate(337deg);
    }


    .box-image--squiggly-left {        
        bottom: 172px;
        left: 63px;
        width: 100%;
        max-width: 122px;   
        transform: rotate(315deg);
    }


    .box-image--squiggly-right {        
        bottom: 86px;        
        right: -373px;        
        max-width: 72px;        
    }
}


@media (min-width: 1300px){

    .box-image-text__content{
        width: 100%;
        max-width: 600px;
    }

    .box-image-text-accent-2 {
        left: 14px;
        bottom: unset;
        top: 436px;
        width: max-content;
    }  

}


@media (min-width: 1440px){

    .box-image-text__content {
        text-align: left;
        max-width: 690px;
        margin-left: auto;
        margin-bottom: 0;
    }

    .box-image-text__image::before{        
        top: 47px;   
        left: 40px;  
        width: 380px;
        height: 380px;
    }

    .box-image-text-accent-1 {
        text-align: right;
        right: -464px;
        top: 20px;
    }

    .box-image-text-accent-2 {
        left: 14px;
        bottom: unset;
        top: 412px;
        width: max-content;
    }    

    .box-image-text__image-main{
        position: absolute;
        left: 10px;
        bottom: -68px;
        width: 100%;
        max-width: 420px;
        height: 100%;
        background: transparent;
        transform: rotate(20deg) scale(1.1);
        z-index: 3;
    }
    
    .box-image-text__image-small{
        position: absolute;
        left: 95px;
        bottom: 102px;
        width: 100%;
        max-width: 270px;
        height: auto;    
        background: transparent;
        z-index: 5;
        transform: rotate(0deg) scale(1.1);
    }

    .box-image--squiggly-top {       
        top: -28px; 
        right: -216px;
        max-width: 224px;
        height: auto;        
        transform: rotate(337deg);
    }


    .box-image--squiggly-left {        
        bottom: 172px;
        left: 63px;
        width: 100%;
        max-width: 122px;   
        transform: rotate(315deg);
    }


    .box-image--squiggly-right {        
        bottom: 50px;        
        right: -368px;        
        max-width: 72px;        
    }

}

@media (min-width: 1600px) {
    .box-image-text__wrap {
        border-radius: 1000px 100px 100px 1000px;
        padding: 75px 125px;
        max-width: 1488px;
    }

    .box-image-text__content {
        max-width: 801px;
    }



    .box-image-text__image {
        height: auto;
        position: absolute;
        left: 0;
        top: 0;
    }

    .box-image-text__image::before{
        content: "";   
        left: 28px;
        top: 33px;     
        width: 450px;
        height: 450px;
    }

    .box-image-text__image img {
        width: 685px;
        top: -153px;
        left: -91px;
        transform: none;
    }

    .box-image-text-accent-1 {
        right: -537px;
        top: 15px;
        font-size: 30px;
    }

    .box-image-text-accent-2 {
        left: -92px;
        top: 363px;
        font-size: 30px;
    }

    .box-image--squiggly-top {       
        top: -28px; 
        right: -216px;
        max-width: 224px;
        height: auto;        
        transform: rotate(337deg);
    }


    .box-image--squiggly-left {        
        bottom: 172px;
        left: 63px;
        width: 100%;
        max-width: 122px;   
        transform: rotate(315deg);
    }


    .box-image--squiggly-right {        
        bottom: 86px;        
        right: -373px;        
        max-width: 72px;        
    }
}

@media (min-width: 1601px){

    .box-image-text-accent-1 {
        text-align: right;
        right: -536px;
        top: 16px;
    }

    .box-image-text-accent-2 {
        left: -92px;
        bottom: unset;
        top: 365px;
        width: max-content;
    }

    .box-image-text__image-main{
        position: absolute;
        left: 104px;
        bottom: -70px;
        width: 100%;
        max-width: 525px;
        height: 100%;
        background: transparent;
        transform: rotate(20deg) scale(1.1);
        z-index: 3;
    }
    
    .box-image-text__image-small{
        position: absolute;
        left: 105px;
        bottom: -462px;        
        max-width: 320px;        
        transform: rotate(0deg) scale(1.1);
    }


    .box-image--squiggly-top {       
        top: -67px; 
        right: -316px;
        max-width: 270px;
        height: auto;        
        transform: rotate(337deg);
    }


    .box-image--squiggly-left {        
        bottom: -327px;
        left: 59px;
        width: 100%;
        max-width: 135px;   
        transform: rotate(315deg);
    }


    .box-image--squiggly-right {        
        bottom: -468px;        
        right: -424px;        
        max-width: 82px;        
    }

}