.wrapper {
    display: grid;
    grid-template-columns: 1fr; /* one item per row */
    justify-items: center;
    width: 70%;
    margin:auto;
}

.itembox {
    width: 55%;
    padding: 10px;
    display: flex;
    align-items: center;
    position: relative;
    min-height: 215px;
    background:  #fff;
    background-clip: padding-box;
    border: solid 2px transparent;
    border-radius: 1em;
    margin:8px 0;
}

.itembox:before{
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: -1;
    inset: 0; /* shorthand for top/right/bottom/left: 0 */
    padding: 2px; /* border thickness */
    margin: -2px;
    border-radius: inherit;



    /* This creates the "border only" effect */
    -webkit-mask:
            linear-gradient(#fff 0 0) content-box,
            linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;


}
/* LEFT cards */
.itembox:nth-child(odd) {
    margin-right:45%;
}

/* RIGHT cards */
.itembox:nth-child(even) {
    margin-left:45%;
}


.itembox h3 {
    color: #F15B60;
    font-weight: 600;
    font-size: 22px;
}

.itembox img {
    padding: 0 10px;
    width: 130px;
}
.small-icon {
    display: none;
}
.itembox.text-span {
    padding: 5px 1rem;
}

@media (max-width: 575px){
    .itembox img {
        width: 75px;
    }
    .large-icon{
        display: none;
    }
    .small-icon {
        display: block !important;
        width: 75px;
        margin: 7px auto;
    }
    .itembox {
        text-align: center;
        padding: 30px;
    }
}
@media (max-width: 768px) {
    .wrapper {
        margin-left: 0px;
        width: 100%;
    }
    .itembox {
        width: 90%;
        margin: 13px 25px;
    }
    .itembox:nth-child(odd) {
        margin-right: unset;
        margin-left: unset;
    }
    .itembox:nth-child(even) {
        margin-right: unset;
        margin-left: unset;
    }

}
@media (min-width: 768px) and (max-width: 1440px) {
    .wrapper {
        padding: 20px;
    }
    .itembox:nth-child(odd) {
        margin-right: 40%;
        margin-left: 0;
    }
    .itembox:nth-child(even) {
        margin-right: 0;
        margin-left: 40%;
    }
    .itembox {
        width: 60%;
        margin: 13px 25px;
    }
}