/* Button Style CSS */ // Button @mixin wc-btn { display: inline-block; padding: 20px 55px; font-size: 16px; line-height: 1.5; text-align: center; text-transform: uppercase; text-decoration: none; border: none; border-radius: 5px; font-weight: 600; transition: all 0.3s ease; @media #{$xxl} { padding: 20px 36px; } @media #{$xl} { padding: 20px 30px; } } // Position Absulute @mixin position-absolute { position: absolute; content: ""; width: 100%; height: 100%; top: 0; left: 0; } // Text @mixin text($fsize, $fcolor) { font-family: var(--body-font); font-style: normal; font-weight: 400; font-size: $fsize; line-height: 1.5; color: $fcolor; } // Blog Category @mixin blog-cat-btn { font-size: 12px; font-style: normal; line-height: 1.5; text-align: center; text-transform: uppercase; display: inline-block; color: var(--white); background-color: var(--secondary); padding: 4px 16px; transition: all 0.3s ease; } // Blog Title @mixin blog-title($fsize) { font-family: var(--heading-font); font-style: normal; font-weight: 400; font-size: $fsize; line-height: 1.2; text-transform: uppercase; transition: all 0.3s ease; &:hover { text-decoration: underline; color: var(--secondary); } } @mixin hover-title { position: relative; &::after { position: absolute; content: ""; width: 0%; height: 2px; left: 0; bottom: 12px; background-color: var(--white); transition: all 0.5s; } &:hover { &::after { width: 100%; } } } /* Section Shadow */ @mixin section-shadow { position: relative; z-index: 9; &::before { @include position-absolute; background-image: url(../images/bg/overlay.png); background-position: top right; background-repeat: no-repeat; background-size: cover; mix-blend-mode: hue; z-index: 0; } &::after { @include position-absolute; background-position: left bottom; background-color: var(--purple-2); z-index: -1; } }