/*========================================
 * Plugin Name           : Knockout Text Effects - HTML CSS
 * Author Name           : Epic_Theme
 * Author URI            : https://codecanyon.net/user/epic_theme/
 * Created Date          : 15 June 2024
 * Version               : 1.0
 * File Name             : styles.css
 *========================================*/


/*=============== GOOGLE FONTS ===============*/
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

/*=============== VARIABLES CSS ===============*/
:root {
  
  /*========== Colors ==========*/
  /*Color mode HSL(hue, saturation, lightness)*/
  --white-color: hsl(0, 0%, 100%);
  --black-color: hsl(0, 0%, 0%);

  /*========== Font and typography ==========*/
  /*.5rem = 8px | 1rem = 16px ...*/
  --body-font: "Poppins", sans-serif;
  --h1-font-size: 1.5rem;
  --normal-font-size: .938rem;

  /*========== Font weight ==========*/
  --font-regular: 400;
  --font-medium: 500;

  /*========== z index ==========*/
  --z-tooltip: 10;
  --z-fixed: 100;
}

/*========== Responsive typography ==========*/
@media screen and (min-width: 968px) {
  :root {
    --normal-font-size: 1rem;
  }
}

/*=============== BASE ===============*/
*,
*:after,
*:before {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
}
h1 {
    color: var(--white-color);
    margin-top: 6rem;
    font-size: 4em;
    -webkit-text-stroke: 1px var(--primary-color);
    color: rgba(0, 0, 0, 0.5);
}

/*=============== REUSABLE CSS CLASSES ===============*/
.container {
    max-width: 1140px;
    width: 100%;
    margin: 0 auto;
    display: grid;
    place-items: center;
}
.section__container {
    --white-color: #ffffff;
    --dark-color: #262626;
    --dark-color-alt: #333333;

    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100%;
    min-height: 100vh;
    background: var(--white-color);
}

/*==================== Knockout Text Effects ====================*/

/*=== Knockout Text Effects 1 ===*/
.knockout__text-wrp {
    --primary-color: #6495ed;
    --text-color: #000000;
    --white-color: #ffffff;

    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    width: 100%;
    aspect-ratio: 1 / 0.15;
    background-color: var(--primary-color);
}
.knockout__text-wrp.style-1 .knockout__text {
    font-size: 4em;
    line-height: 1.25;
    font-weight: 600;
    text-transform: uppercase;
    padding: 1rem 2rem;
    outline: 4px solid currentColor;
    outline-offset: -10px;
    color: var(--text-color);
    background-color: var(--white-color);
    mix-blend-mode: lighten;
}

/*=== Knockout Text Effects 2 ===*/
.knockout__text-wrp.style-2 .knockout__text {
    font-size: 4em;
    line-height: 1.25;
    font-weight: 600;
    text-transform: uppercase;
    padding: 1rem 2rem;
    outline: 4px solid currentColor;
    outline-offset: -10px;
    color: var(--text-color);
    background-color: var(--white-color);
    mix-blend-mode: soft-light;
}

/*=== Knockout Text Effects 3 ===*/
.knockout__text-wrp.style-3 .knockout__text {
    font-size: 4em;
    line-height: 1.25;
    font-weight: 600;
    text-transform: uppercase;
    padding: 1rem 2rem;
    outline: 4px solid currentColor;
    outline-offset: -10px;
    color: var(--text-color);
    background-color: var(--white-color);
    mix-blend-mode: overlay;
}

/*=== Knockout Text Effects 4 ===*/
.knockout__text-wrp.style-4 .knockout__text {
    font-size: 4em;
    line-height: 1.25;
    font-weight: 600;
    text-transform: uppercase;
    padding: 1rem 2rem;
    outline: 4px solid currentColor;
    outline-offset: -10px;
    color: var(--text-color);
    background-color: var(--white-color);
    mix-blend-mode: multiply;
}

/*=== Knockout Text Effects 5 ===*/
.knockout__text-wrp.style-5 {
    background: url("../img/bg.jpg") center;
    background-size: cover;
}
.knockout__text-wrp.style-5 .knockout__text {
    font-size: 4em;
    line-height: 1.25;
    font-weight: 600;
    text-transform: uppercase;
    padding: 1rem 2rem;
    outline: 4px solid currentColor;
    outline-offset: -10px;
    color: var(--text-color);
    background-color: var(--white-color);
     mix-blend-mode: lighten;
}

/*=== Knockout Text Effects 6 ===*/
.knockout__text-wrp.style-6 {
    display: block;
    padding: 0;
    text-align: center;
    aspect-ratio: unset;
    background: url("../img/bg.jpg") center;
    background-size: cover;
}
.knockout__text-wrp.style-6 .knockout__text {
    font-size: 4em;
    line-height: 1.25;
    font-weight: 800;
    text-transform: uppercase;
    background-color: var(--white-color);
    color: var(--text-color);
    mix-blend-mode: lighten;
}