/* Start Global */

::-webkit-scrollbar {
    width: 5px;
}

::-webkit-scrollbar-track {
    background: var(--wp--preset--color--theme-grey);
}

::-webkit-scrollbar-thumb {
    background: black;
    transition: all .5s linear;
}

/*::-webkit-scrollbar-thumb:hover {
    background: var(--wp--preset--color--theme-black);
}*/

::selection {
    background: black;
    /* WebKit/Blink Browsers */
    color: white;
}

::-moz-selection {
    background: black;
    /* Gecko Browsers */
    color: white;
}




/* Fonts */

p,
li,
span,
div,
a{
    font-family: var(--main-text-fam);
}

p,
li {
    margin: 0 0 15px;
}

h1 {
    margin: 15px 0;
    font-weight: 600;
    font-size: 60px;
}

h2{
    font-family: var(--main-text-fam);
    letter-spacing: 2.8px;
    font-size: 50px;
    margin: 0 0 20px 0;
    font-weight: 700;
    line-height: normal;
}

h3{
    font-family: var(--main-text-fam);
    font-size: 32px;
    font-style: normal;
    font-weight: normal;
    line-height: normal;
    margin: 20px 0;
    font-weight: 500;
}  


h4 {
    font-family: var(--main-text-fam);
    font-weight: 800;
    font-size: 20px;
}

h5 {
    font-family: var(--main-text-fam);
    font-weight: 700;
    font-size: 35px;
}


h6{
    font-family: var(--main-text-fam);
}

em,
.regal {
    font-family: var(--main-text-fam);
}

p,
li,
div,
a {
    font-size: 20px;
    line-height: 1.5;
}

.fw-400 {
    font-weight: 400;
}

.fw-500 {
    font-weight: 500;
}

.fw-700 {
    font-weight: 700;
}

/* Colors */

.color-white,
.color-white-all * {
    color: var(--wp--preset--color--theme-white);
}

.main-color,
p,
li,
div,
a,
button {
    color: var(--wp--preset--color--theme-black)
}

/* Grid */

.grid {
    max-width: 1740px;
    display: block;
    margin: 0 auto;
}

.sm-grid {
    max-width: 1420px;
    display: block;
    margin: 0 auto;
}

.xsm-grid {
    max-width: 860px;
    display: block;
    margin: 0 auto;
}

.footer-grid {
    max-width: 1900px;
    display: block;
    margin: 0 auto;
}

.gutter {
    margin: 0 20px;
}


/* Positioning */

.rel {
    position: relative;
}

.abs {
    position: absolute;
}

.fixed {
    position: fixed;
}

.abs-center {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.display-none {
    display: none;
}

.display--inline-top {
    display: inline-block;
    vertical-align: top;
}

.display--inline-mid {
    display: inline-block;
    vertical-align: middle;
}

.display--inline-bot {
    display: inline-block;
    vertical-align: bottom;
}

.display-block {
    display: block;
}

.display--grid {
    display: grid;
}

.display--flex {
    display: flex;
}

.top-left {
    top: 0;
    left: 0
}

.top-right {
    top: 0;
    right: 0
}

/* Sizing */

.full-width {
    width: 100%;
}

.full-height {
    height: 100%;
}

.max-content {
    width: max-content;
}

.fill-dimentions {
    width: 100%;
    height: 100%;
}


.block-40 {
    width: 40%;
}

.block-50 {
    width: 50%;
}

.block-60 {
    width: 60%;
}

.block-70 {
    width: 70%;
    margin: 0 auto;
}

.block-80 {
    width: 80%;
}

.pad-top-150 {
    padding-top: 150px;
}

.marg-bot-100 {
    padding-top: 150px;
}

/* Style Classes */

.overflow {
    overflow: hidden;
}

.main-trans {
    transition: var(--main-ease);
}

/* Theme Basic Declarations */

.top-pad {
    padding-top: var(--top-pad);
}

@media (max-width: 1300px) {
    h2{font-size: 32px;}
    h3{font-size: 28px;}
    p,
    li,
    div,
    a {
        font-size: 18px;
    }
    
}

@media (max-width: 1200px) {
    h1{font-size: 35px;}
    h3{font-size: 25px;}
    p,
    li,
    div,
    a {
        font-size: 16px;
    }
    h1{font-size: 42px;}
}

@media (max-width: 781px) {
  h2{letter-spacing: normal; font-size: 28px;}
  h4{margin: 10px 0;}  
  h3{font-size: 20px;}
}