/*
Theme Name: MindTattoos
Theme URI: https://mindtattoos.com
Description: A hand-built Bootstrap theme by Chris J
Version: V5
Author: Chris James
Author URI: https://mindtattoos.com
Tags: Responsive, Bootstrap 5
License: Attribution-ShareAlike 3.0 Unported (CC BY-SA 3.0)
License URI: https://creativecommons.org/licenses/by-sa/3.0/
*/

@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.2/font/bootstrap-icons.min.css");
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap');

* {
	box-sizing: border-box;
}

html, body {
  padding-top: 65px; /* ensures your content doesn't hide behind the fixed navbar */
  height: 100%;
  font-family: "open-sans", sans-serif;
  color: #5d5e5f;
}

.mind-logo img {
  height: 65px;
}

[id] {
  scroll-margin-top: 65px;
}

p {
  color: #5d5e5f;
  font-style: normal;
	line-height: 1.5;
	margin-bottom: 1.5em;
}

.border-primary {
	border-color: #5d5e5f !important;
}

.tldr-box {
  border-left: 4px solid #f3413a;
  background: #fdf4f4;
  padding: 1em;
  margin-bottom: 2em;
  font-style: italic;
}

.tldr-box strong {
  display: block;
  margin-bottom: 0.5em;
  color: #f3413a;
}

.tldr-box-grey {
  border-left: 4px solid #5d5e5f;
  background: #f7f7f7;
  padding: 1.3em;
  margin-bottom: 2em;
  font-style: normal;
}

hr {
    margin: 4rem 0;
}

ul, ol {
  color: #5d5e5f;
	line-height: 1.5;
}

.dasher {
	color: #f3413a;
	font-weight: bolder;
}

cite {
	text-align: right;
	display: block;
}

.blockquote-floater {
  float: right;
  width: 40%;
  max-width: 300px;
  margin: 0 0 1.5em 1.5em;
  padding: 1em;
  background: #f9f9f9;
 /* border-left: 4px solid #444;*/
  font-style: italic;
  color: #666;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

.blockquote-floater blockquote {
  margin: 0;
  padding: 0;
  font-size: 1.1em;
  line-height: 1.5;
}

.blockquote-floater cite {
  display: block;
  margin-top: 0.5em;
  text-align: right;
  font-size: 0.9em;
  color: #999;
}

.meta-info.pt-5.small {
    color: #999;
}

h2, h3, h4, h5 {
	font-family: "alternate-gothic-atf", sans-serif;
	color: black;
	text-transform: uppercase;
	line-height: 1;
	font-weight: bold;
}

h1 {
	font-family: "alternate-gothic-atf", sans-serif;
	color: black;
	font-size: 3.5em;
	font-weight: bold;
	text-transform: uppercase;
	line-height: 1;
}

h1.home {
    font-size: clamp(2.5rem, 6vw, 9rem);
}

h2.home {
    font-size: clamp(2.5rem, 3vw, 4rem);
}

span.grey {
	color: #f3413a;
}

h4.red {
    color: #f3413a;
    margin: 1em 0;
}

/* Main */
.main {
  background: url(https://grittest.net/wp-content/uploads/2025/03/ChatGPT-Image-Mar-28-2025-02_40_13-PM.png);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.main h3 {
	font-size: 5em;
	color: white;
	margin: 0;
}

.uber h3 {
	font-size: clamp(2.5rem, 5vw, 7rem);
	color: black;
	margin: 0;
}

ul.takeaway {
    padding: 0;
    list-style: none;
}

section#blogs {
    background: #121212;
}

.blogs ul, ol {
	margin-bottom: 1em;
}

.blogs li {
	margin-bottom: 1em;
}

.blogs h2, h3, h4 {
    margin: 1.3em 0 0.5em 0;
}

/*.cta.blogs {
    border-bottom: 1px solid #121212;
}*/

/* Navigation and GSAP Side Menu */

.fixed-top {
  background: #ffffffde;
}

.side-drawer { 
  /*background: #212529;*/
	background: url(https://grittest.net/wp-content/uploads/2025/03/ChatGPT-Image-Mar-28-2025-02_40_13-PM.png);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  height: 100%;
  width: 100%;
  position: fixed;
  padding: 10vh 0 0;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 1000;
  transform: translateX(100%);
}

.navigation {
       list-style: none;
       padding: 0;
}

.menu-item {
  color: #fff;
  font-size: 1.5em;
  transition: 0.2s ease-in-out;
}

.menu-item a {
  color: #fff;
  text-transform: uppercase;
}

.menu-item a:hover {
  text-decoration: none;
  color: #aaa;
}

.navbar-toggler {
  z-index: 10;
}

.icon {
  position:relative;
  width:80px;
  height:80px;
  background:transparent;
  cursor:pointer;
  z-index:9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Fonts and Config*/

a {
  text-decoration: none;
  color: #aaa;
}
h2 a {
    text-decoration: none;
    color: black;
}
h2 a:hover {
    text-decoration: underline;
}

.mind-logo {
    font-size: 2em;
    color: #212529;
    position: relative;
    display: inline-block;
    margin-bottom: 0;
    line-height: 1.5;
    font-family: "alternate-gothic-atf", sans-serif;
    text-transform: uppercase;
}

.mind-logo-white {
  font-size: 1.5em;
  color: white;
  position: relative;
  display: inline-block;
  margin-bottom: 0;
  line-height: 1.5;
  font-family: "alternate-gothic-atf", sans-serif;
  text-transform: uppercase;
}

span.branded {
  font-weight: bolder;
}

.bg-dark {
background-color: #212529!important;
color: white;
}

.bold {
  font-weight: bold !important;
}

.brand {
  font-weight: 600;
  position: relative;
  font-size: .5em;
}

.contact-head {
  font-size: 1em;
  margin: 0 10px;
}

span.number {
    font-size: 4em;
    font-weight: bold;
}

/* Buttons */
.btn {
  border-radius: 0;
}

.btn-dark {
  border-radius: 8px;
}

.btn-secondary {
  color: #212529;
  background-color: transparent;
  border: 3px solid #212529;
  text-transform: uppercase;
}

.btn-secondary:hover {
  color: #fff;
  background-color: #fbcb25;
  border-color: #fbcb25;
}


.btn-danger {
  color: #fff;
  background-color:#f3413a;
}

/* Cards */
.card {
  border: none;
  margin: 0 0 1em 0;
  border-radius: 0;
  padding: 1em;
}

.fader {
  color: rgba(128, 128, 128, 0.5); /* Dark grey with 50% opacity */
}

.fader p {
  color: rgba(128, 128, 128, 0.5); /* Dark grey with 50% opacity */
}

/* Line Fader */
.line {
  position: relative;
}

.line-mask {
  position: absolute;
  top: 0;
  right: 0;
  background-color: black;
  opacity: 0.65;
  height: 100%;
  width: 100%;
  z-index: 2;
}

.bg-black {
  background-color: black;
  color: white;
}

.char {
  transform: translateY(350px);
  transition: transform .5s;
}

/* Forms */
.form-control {
    padding: .3rem .5rem;
    border: 1px solid #aaa;
    border-radius: 5px;
}

section#100promo.form-control {
    padding: 1rem .75rem;
}

.navbar-nav .nav-link.active, .navbar-nav .nav-link.show {
	color: white;
}

.dots {
    margin: 0 8px;
    display: inline-flex
}

.dotty {
	background-color: #f3413a;
	align-self: center;
	border-radius: 50%;
	display: block;
	height: 4px; 
	width: 3px;
}

/* Author */

/*.author_bio_section {
    background: #f7f7f7;
    padding: 1em;
}
img.avatar.avatar-90.photo {
    display: block;
    margin: 0 0.5em 0 0;
    border-radius: 50%;
}*/

section#home-banner {
    background: linear-gradient(rgba(255, 255, 255, 0.97), rgba(255, 255, 255, 0.87)), url(https://grittest.net/wp-content/uploads/2025/01/Gritty_textured_light.webp);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
	background-attachment: fixed;
}
section.bg-grunge {
	color: white !important;
    background: linear-gradient(rgba(0, 0, 0, 0.99), rgba(0, 0, 0, 0.94)), url(https://grittest.net/wp-content/uploads/2025/01/Grittest_techwear.webp);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.bg-grunge h3 {
	color: white;
}

/* CTA */
.custom-cta {
    background: #f7f7f7;
    padding: 1.5em;
    margin: 30px 0;
    border-radius: 5px;
    text-align: center;
    font-size: 1.1rem;
}
.custom-cta p {
	margin-bottom: 0;
}

/* Tags */
a.tag-link {
    margin: 0 2px;
    font-size: .8em;
}

/* Blog templates */
.blog_trailer {
    font-size: 0.8em;
    min-height: 3em;
}

.blog_header {
    min-height: 5em;
}
.blog_link a {
	color: #f3413a;
}

/* Comments */
.comment-list {
    margin: 20px 0;
    list-style: none;
    padding: 0;
}

.comment {
    border-bottom: 1px solid #aaa;
    padding: 10px 0;
}

.comment-author {
    font-weight: bold;
    margin-bottom: 5px;
}

.comment-content {
    margin: 10px 0;
    font-size: 1rem;
    line-height: 1.5;
}

h4 {
    font-size: 1.25em;
}

/* Post Images */

.postthumb {
    overflow: hidden;
}

.post_image {
  height:200px;
  background-position:center;
  -webkit-transition: all .5s ease;
  -moz-transition: all .5s ease;
  -ms-transition: all .5s ease;
  -o-transition: all .5s ease;
  transition: all .5s ease;
} 

.post_image:hover {  
  -webkit-transform: scale(1.2);
  -moz-transform: scale(1.2);
  -o-transform: scale(1.2);
  -ms-transform: scale(1.2); /* IE 9 */ 
  transform: scale(1.2);
} 

/* Sidebars */

aside#sidebar .form-control {
    padding: .3rem .5rem;
    border: none;
    border-radius: 2px;
}
input.wpcf7-form-control.btn-dark {
    width: 100%;
    border: none;
    border-radius: 0;
}
.sticky-sidebar {
	overflow: visible;
}
aside#sidebar {
    color: white;
    background: #f7f7f7;
    padding: 1.5em 1.7em;
}
aside#sidebar ul {
	/*color: white;*/
    padding: 0;
    margin: 0;
}
aside#sidebar h3 {
    margin: .3em 0;
}


/* Grittest Author Box Styles */
.author_bio_section {
  background: #111;
  color: #eee;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0,0,0,0.5);
  padding: 20px;
  margin-top: 40px;
}

.author_bio_section h5 {
  font-weight: 700;
  font-size: 1.25rem;
  color: #fff;
  margin-bottom: 10px;
}

.author_bio_section p {
  margin-bottom: 10px;
  line-height: 1.6;
  color: white;
}

.author_social_links a {
  color: #ccc;
  text-decoration: none;
  display: inline-block;
  margin-right: 12px;
}

.author_social_links a:hover {
  color: #fff;
  text-decoration: underline;
}

/* Side bar Navs */
  #grittest-sidebar {
    border-right: 2px solid #ddd;
    padding-right: 1rem;
	background: #f7f7f7;
  }
  #grittest-sidebar .nav-link {
    font-weight: bold;
    transition: color 0.2s ease;
  }
  #grittest-sidebar .nav-link:hover {
    color: #dc3545;
  }

/* Footer */
ul#menu-footer-menu {
    font-size: .5em;
}
ul#menu-footer-menu a {
	color: black;
}

#menu-home-1 {
    font-size: .5em;
}
#menu-home-1 a {
    color: black;
}

/* Glitch */
.glitch {
  position: relative;
  font-size: clamp(2.5rem, 6vw, 9rem);
  font-family: 'Alternate Gothic', sans-serif;
  text-transform: uppercase;
  color: black;
  z-index: 1;
}

.glitch::before,
.glitch::after {
  content: attr(data-text);
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  overflow: hidden;
  color: white;
  z-index: -1;
  opacity: 0.8;
}

.glitch:hover::before {
  color: #f00;
  animation: glitch-anim-1 0.5s infinite linear alternate-reverse;
}

.glitch:hover::after {
  color: #0ff;
  animation: glitch-anim-2 0.5s infinite linear alternate-reverse;
}

@keyframes glitch-anim-1 {
  0% { clip-path: inset(0% 0 80% 0); transform: translate(2px, -2px); }
  20% { clip-path: inset(30% 0 40% 0); transform: translate(-2px, 2px); }
  40% { clip-path: inset(10% 0 60% 0); transform: translate(3px, 1px); }
  60% { clip-path: inset(40% 0 20% 0); transform: translate(-1px, -3px); }
  80% { clip-path: inset(20% 0 50% 0); transform: translate(1px, 2px); }
  100% { clip-path: inset(0 0 0 0); transform: translate(0); }
}

@keyframes glitch-anim-2 {
  0% { clip-path: inset(60% 0 20% 0); transform: translate(-2px, 2px); }
  20% { clip-path: inset(10% 0 70% 0); transform: translate(2px, -1px); }
  40% { clip-path: inset(50% 0 10% 0); transform: translate(-3px, 0px); }
  60% { clip-path: inset(20% 0 50% 0); transform: translate(1px, 3px); }
  80% { clip-path: inset(0 0 80% 0); transform: translate(-1px, -2px); }
  100% { clip-path: inset(0 0 0 0); transform: translate(0); }
}

a.badge.badge-secondary {
    color: white;
    background: #000;
}
span.badge.badge-dark {
    color: white;
    background: #5d5e5f;
}

/* Image grow on hover, with safe motion + no layout shift */
.postthumb {
  overflow: hidden;           /* prevents the scaled image from spilling */
  border-radius: .25rem;      /* optional: match your card rounding */
}

.postthumb .post_image {
  will-change: transform;
  transition: transform .5s ease; /* you already had vendor prefixes inline */
  transform: scale(1);            /* ensure a consistent baseline */
}

/* Only apply hover on devices that support it */
@media (hover:hover) and (pointer:fine) {
  .postthumb:hover .post_image {
    transform: scale(1.05);
  }
}

/* Respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  .postthumb .post_image {
    transition: none;
  }
}
