/* Border Hover Effect */
.tss-box-with-border-effect {
    padding: 2px;
    height: 100%;
    overflow: hidden;
    position: relative;
}
.tss-box-with-border-effect > div {
    background-color: white;
    position: relative;
    margin: 0;
    padding: 20px;
    height: 100%;
}
.tss-box-with-border-effect::before {
    content: '';
    position: absolute;
    background-color: var(--primary);
    transition: all .8s ease-in-out;
    top: 0;
    left: 0;
}
.tss-box-with-border-effect-1::before {
    width: 70%;
    height: 70%;
    margin-top: 10%;
    margin-left: 10%;
}
.tss-box-with-border-effect-1:hover::before {
    transform: rotate(90deg);
    width: 300%;
    height: 300%;
    margin-top: -80%;
    margin-left: -50%;
}
.tss-box-with-border-effect-2::before {
    width: 140%;
    height: 140%;
    margin-top: -154%;
    margin-left: -154%;
    transform: rotate(70deg);
}
.tss-box-with-border-effect-2:hover::before {
    margin-top: -20%;
    margin-left: -20%;
}
.tss-box-with-border-effect-3::before {
    background: rgb(255,255,255);
    background: linear-gradient(67deg, var(--primary) 0%, var(--primary) 15%, var(--primary) 32%, rgba(255,255,255,1) 60%);
    width: 100%;
    height: 100%;
    background-size: 270%;
    background-position: right;
}
.tss-box-with-border-effect-3:hover::before {
    background-position: left;
}