/* ----------------------------------------------------
Theme Name:Cortex - HTML Template
Version:1.5
Author:Kiswa Solutions
------------------------------------------------------- */

/* ======================================================
 TABLE OF CONTENTS
====================================================== */

/* 

1.0: Settings
1.1: Heading Style 
1.2: Background Overlay 
1.3: Preview Box 


*/

/* ====================================================
 1.0: Settings 
====================================================== */

@import url('https://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700,800&display=swap');
/* settings */

body {
    font-family: 'Open Sans', sans-serif;
}

.lsp1 {
    letter-spacing: 1px;
}

.sh-above2 {
    z-index: 12;
}

.section-padding {
    padding-top: 100px;
    padding-bottom: 100px;
}

/* Heading Style */

.heading h1 {
    font-weight: 800 !important;
}

.title {
    margin-top: -13px;
}

.title span {
    position: relative;
    padding: 5px 20px;
    border-radius: 5px
}

.title span:after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -20px;
    width: 5px;
    height: 20px;
    background-color: #fab700;
    margin: auto;
}

.title span:before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -30px;
    width: 100px;
    height: 10px;
    background-color: #fab700;
    margin: auto;
}

/* Background Overlay */

.bg-overlay {
    position: relative;
    transition: .3s
}

.bg-overlay:after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, .5);
    opacity: 0;
}

.bg-overlay:hover:after {
    opacity: 1;
    transition: .3s
}

/* Preview Box */

.preview-box * {
    transition: .4s;
}

.preview-box {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    border: 4px solid;
}

.link {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    opacity: 0;
}

.preview-box:hover .link {
    opacity: 1;
}