/*======================================
Theme Name: Johnson3rd
Theme URI: 
Description: Website theme for johnson3rd.com
Version: 1.0
Author: John Johnson
Author URI: johnson3rd.com
Template: Divi
======================================*/

body {
	font-family: 'Roboto', sans-serif;
	font-size: 18px;
}

h1, h2 {
	font-family: 'Oswald', sans-serif;
	text-transform: uppercase;
	font-weight: bold;
}

h1 {
	font-size: 120px;
}

h2 {
	font-size: 180px;
	margin-bottom: 20px;
	line-height: 1.1;
}

.et_pb_bg_layout_dark h2 {
  color: #0cf57e !important;
}

h3 {
	font-family: 'Roboto', sans-serif;
	font-size: 30px;
	font-weight: 400;
	line-height: 1.5;
  font-weight: bold;
}

h3.medium-h3 {
    font-weight: 300;
}

.sub-headline h2 {
	margin-bottom: 15px;
  font-size: 70px;
}

h2.sub-headline {
	margin-bottom: 15px;
    font-size: 70px;
}

/* .dark h1 {
  color: #0cf57e;
} */

.dark h2 {
  color: #0cf57e;
}

.dark h3 {
  color: #fff;
}

.dark p {
  color: #fff;
}

p {
  font-size: 1.1rem;
  line-height: 1.6;
}

.color-gradient-text {
  background: linear-gradient(9deg,#09aa57 0%,#0cf57e 90%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: bold;
}

.color-gradient-text a {
    border-bottom: 2px solid #0cf57e;
    padding-bottom: 4px;
}

footer p span {
	font-size: 16px;
}

footer h2 {
	margin-bottom: 50px;
}

a {
	color: #0cf57e;
}

ul#menu-main-menu a {
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    color: #fff;
	font-size: 18px;
}

span.the-3rd {
    font-size: 25px;
    position: relative;
    top: -37px;
    right: 0;
}

.skills-wrapper p {
    padding-top: 25px;
    padding-bottom: 5px;
}

.skills-wrapper p:first-child {
    padding-top: 0;
}

.skills-container {
  width: 100%;
  background-color: #333;
	border-radius: 50px;
}

.skills {
  text-align: right;
  padding-top: 10px;
  padding-bottom: 10px;
  color: white;
	background: linear-gradient(9deg,#09aa57 0%,#0cf57e 90%);
	border-radius: 50px;
}

/* Menu */

body.no-scroll {
  overflow: hidden;
}

.no-collapse .et_mobile_nav_menu {
    display: none !important;
}

.et_pb_menu .et_pb_menu__menu {
    display: flex !important;
}

html .modal-nav .et_pb_menu__wrap {
    justify-content: flex-start !important;
}

.main-menu {
  padding: 25px !important;
  padding-top: 15px !important;
  padding-bottom: 10px !important;
  border-radius: 100px !important;
  border-radius: 82px;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  z-index: 1001;
  transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
  background: rgb(0 0 0 / 90%);
}

.home .main-menu, .page-about .main-menu {
  padding: 25px !important;
  padding-top: 15px !important;
  padding-bottom: 10px !important;
  border-radius: 100px !important;
  background: rgb(11 244 126 / 0%);
  border-radius: 82px;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  z-index: 1001;
  transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
}

.modal-nav .et_pb_menu__menu>nav>ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: start;
    flex-direction: column;
}

.modal-nav ul li a {
    font-size: 100px !important;
    line-height: 100px;
}

li.external-link.et_pb_menu_page_id-1179.menu-item.menu-item-type-custom.menu-item-object-custom.menu-item-1179 {
    text-align: left;
}

@media (max-width: 767px) {
  .modal-nav ul li a {
    font-size: 50px !important;
    line-height: 50px;
  }

  html .expertise-icon {
      margin-bottom: 0 !important;
  }

  html .text-to-reveal p {
      margin-bottom: 50px !important;
  }
}

/* #fullscreen-menu {
  width: 100%;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  background-color: #3498db;
  color: white;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  display: none;
}

#fullscreen-menu.open {
  display: flex;
} */

.logo svg#Layer_1 {
    height: 30px;
    max-width: 100%;
}

#menu-button {
  cursor: pointer;
}

/* Start */

/* Styles for the menu button */
#menu-button {
    z-index: 1001;
    transition: transform 0.3s ease-in-out;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: none;
    border: 0;
    color: #fff;
    margin-bottom: 5px;
    margin-left: auto;
}

/* Icon styles */
#menu-button .fa-bars,
#menu-button .fa-times {
    position: absolute;
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
    font-size: 30px;
}

#menu-button .fa-times {
    opacity: 0;
    transform: rotate(-90deg);
}

#menu-button.open .fa-bars {
    opacity: 0;
    transform: rotate(90deg);
}

#menu-button.open .fa-times {
    opacity: 1;
    transform: rotate(0deg);
}

/* Styles for the fullscreen menu */
#fullscreen-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 1);
    display: flex;
    justify-content: start;
    align-items: center;
    flex-direction: column;
    
    /* Hidden by default */
    opacity: 0;
    visibility: hidden;

    overflow-y: auto;
    
    /* Smooth transition for appearing/disappearing */
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
    z-index: 1000;
    padding-top: 150px;
}

/* When the menu has the .open class, make it visible */
#fullscreen-menu.open {
    opacity: 1;
    visibility: visible;
}

/* Styling for the links inside the menu */
#fullscreen-menu a {
    color: white;
    text-decoration: none;
    font-size: 2rem;
    margin: 0rem 0;
    transition: color 0.2s;
}

#fullscreen-menu a:hover {
    color: #0cf57e;
}

.external-link::after {
  font-family: "Font Awesome 6 Free"; 
  font-weight: 900; 
  content: "\f35d"; 
  font-size: 0.8em; 
  margin-left: 6px; 
  display: inline-block; 
  vertical-align: middle;
  color: #0cf57e;
}

#fullscreen-menu h3 {
    color: #0cf57e;
}

#fullscreen-menu .email a {
    color: #0cf57e;
}

#fullscreen-menu h3.outline {
    display: none;
}

/* Cursor */

.cursor-follower {
  position: fixed;
  top: 0;
  left: 0;
  width: 20px;
  height: 20px;
  border-radius: 100%;
  /* background-color: lab(85.44% -73.77 44.19 / 0.6);   */
  border: #0cf57e 1px solid;
  opacity: 0;
  z-index: 10001;
  user-select: none;
  pointer-events: none;
}

.cursor-follower.text-state {
    border-radius: 15px !important;
    background: #0cf57e;
    /* padding: 15px; */
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #000;
}

/* Cursor End */

.main-menu .et_flex_column_24_24_phone {
    width: calc(80% - var(--row-gutter-horizontal) * 0.5) !important;
}

.main-menu .et_pb_column_1_tb_header.et_pb_column.et-last-child.et_flex_column.et_flex_column_12_24.et_flex_column_12_24_tablet.et_flex_column_24_24_phone.et_pb_css_mix_blend_mode_passthrough {
    width: calc(20% - var(--row-gutter-horizontal) * 0.5) !important;
}

@media (max-width: 767px) {
   .main-menu .et_flex_column_24_24_phone {
        width: calc(80% - var(--row-gutter-horizontal) * 0.5) !important;
    }

    .main-menu .et_pb_column_1_tb_header.et_pb_column.et-last-child.et_flex_column.et_flex_column_12_24.et_flex_column_12_24_tablet.et_flex_column_24_24_phone.et_pb_css_mix_blend_mode_passthrough {
        width: calc(20% - var(--row-gutter-horizontal) * 0.5) !important;
    }
}

body.no-scroll .logo {
    /* Hides the element from view */
    visibility: hidden;
}

body.no-scroll .main-menu {
    /* Removes the background and border */
    background: none;
    border: none;

    /* Removes blur effects. It's good to include both filter and backdrop-filter. */
    filter: none;
    backdrop-filter: none;
}

/* Menu */

/* Stats */

html .stats h2 {
    font-size: 150px;
    border-bottom: 1px solid;
    margin-bottom: 0;
    padding-bottom: 30px;
    border-color: #0cf57e;
}

/* Homepage hero */

/* Main Heading Styles */
.main-heading {
    font-size: 3rem; /* Corresponds to text-5xl */
    line-height: 1.25; /* Corresponds to leading-tight */
    font-weight: 800; /* Corresponds to font-extrabold */
    color: #fff;
    letter-spacing: -0.05em; /* Corresponds to tracking-tighter */
}

/* Wrapper for text and video elements to align them */
.flex-wrapper {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

/* Base styles for the video placeholders */
.video-placeholder {
    display: inline-block;
    border-radius: 20px;
    object-fit: cover;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

/* Specific styles for the first video */
.video-1 {
    width: 8rem; /* w-32 */
    height: 4rem; /* h-16 */
    margin-left: 0.75rem; /* mx-3 */
    margin-right: 0.75rem; /* mx-3 */
}

/* Specific styles for the second video */
.video-2 {
    width: 8rem; /* w-32 */
    height: 4rem; /* h-16 */
    margin-left: 0.75rem; /* mx-3 */
    margin-right: 0.75rem; /* mx-3 */
}

span#role-text {
    color: #0ef57f;
}

/* --- Responsive Styles --- */

/* Small screens and up (640px) */
@media (min-width: 640px) {
    .main-heading {
        font-size: 3.75rem; /* sm:text-6xl */
    }
    .video-1 {
        width: 12rem; /* sm:w-48 */
        height: 6rem; /* sm:h-24 */
        margin-left: 1rem; /* sm:mx-4 */
        margin-right: 1rem; /* sm:mx-4 */
    }
    .video-2 {
        width: 12rem; /* sm:w-48 */
        height: 6rem; /* sm:h-24 */
        margin-left: 1rem; /* sm:mx-4 */
        margin-right: 1rem; /* sm:mx-4 */
    }
}

/* Medium screens and up (768px) */
@media (min-width: 768px) {
    .content-container {
        padding: 2rem; /* md:p-8 */
    }
    .main-heading {
        font-size: 4.5rem; /* md:text-7xl */
    }
}

/* Large screens and up (1024px) */
@media (min-width: 1024px) {
    .main-heading {
        font-size: 9rem; /* lg:text-8xl */
    }
    .video-1 {
        width: 16rem; /* lg:w-64 */
        height: 7rem; /* lg:h-28 */
    }
    .video-2 {
        width: 16rem; /* lg:w-64 */
        height: 7rem; /* lg:h-28 */
    }
}

/* Fade */
.fade {
    opacity: 0;
    transform: translateY(20px);
}

/* Circle background for the menu */
#menu-background-circle {
  position: absolute;
  width: 1px;
  height: 1px;
  background-color: #202020; /* Black background for the menu */
  border-radius: 50%;
  transform: scale(0); /* Start scaled down to nothing */
  z-index: 1;
}

/* Type Bubble SVG */

@keyframes blink {
  50% {
    fill: transparent
  }
}

.dot {
  animation: 1s blink infinite;
  fill: grey;
}

.dot:nth-child(2) {
  animation-delay: 250ms
}

.dot:nth-child(3) {
  animation-delay: 500ms
}

.loader {
  background-color: #0cf57e;
  color: grey;
  border-radius: 10px;
}

.typed-text {
  display: none;
}

.pin-spacer .et_pb_section_1, .pin-spacer {
  background: #000 !important;
}

.typing-bubble {
    position: absolute;
    left: 0;
    bottom: 0;
}

.expertise-title h2 {
  color: #fff !important;
  font-size: 50px;
  margin-bottom: 0;
  /* text-transform: capitalize; */
  /* font-family: 'Roboto', sans-serif; */
}

.green-pill {
  background:#0cf57e;
  padding: 1px 10px;
  margin: 5px;
  border-radius: 100px;
  color: #000;
  text-wrap: nowrap;
  display: inline-block;
  margin-bottom: 11px;
}

/* Container for the list */
.services-list {
    width: 100%;
}

/* Style for the unordered list */
.services-list ul {
    list-style-type: none; /* Remove default list bullets */
    padding: 0;
    margin: 0;
}

/* Style for each list item */
.services-list li {
    color: #fff;
    /* Use clamp() for responsive font size */
    font-size: clamp(1.8rem, 5vw, 2.8rem);
    font-weight: 900; /* Use the heaviest font weight */
    padding: 1.25rem 0; /* Add vertical padding */
    border-bottom: 2px solid #e0e0e0; /* Add a light gray bottom border */
    line-height: 1.2; /* Improve readability */
    
    /* Flexbox for layout */
    display: flex;
    align-items: center;
    gap: 2rem; /* Space between video and text */
    cursor: pointer;
    overflow: hidden; /* Hide anything that goes outside the li */
}

/* Remove the border from the last list item */
.services-list li:last-child {
    border-bottom: none;
}

/* CSS for the animation setup 
*/

.expertise-stacking-container {
  background: #000000;
}
.text-to-reveal p {
    font-size: 1.1rem;
    line-height: 1.6;
}

/* CSS for the animation setup 
*/
.expertise-stacking-container {
    /* This is required for the pin to work correctly */
    overflow: hidden;
}
.text-to-reveal {
    /* This is required for the height animation */
    overflow: hidden;
}

.expertise-stacking-container .green-pill {
  
}

/* Expertise */
.expertise-icon svg {
    height: 60px;
    margin: auto;
    display: block;
}

.expertise-icon {
  margin-bottom: 50px !important;
  padding: 20px !important;
}

/* CTA */
/* The main container with your background image */
.pulsing-bg-container {
    position: relative; /* Establishes a positioning context for the pseudo-element */
    overflow: hidden; /* Prevents the gradient from spilling out when scaled */
}

/* The pulsing pseudo-element */
.pulsing-bg-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: radial-gradient(circle at center, rgba(0, 0, 0, 0) 0%, /* Transparent center */ rgba(0, 0, 0, 0.7) 30%, /* Fades to dark */ rgba(0, 0, 0, 0.01) 80% /* Almost solid at the edges */);
    animation: pulse 4s infinite ease-in-out;
}

/* The keyframes that define the "pulse" animation */
@keyframes pulse {
    0%, 100% {
        transform: scale(1); /* Normal state */
    }
    50% {
        transform: scale(2); /* Pulsed-out state */
    }
}

.pulsing-bg-container a::after {
    padding-left: 5px;
}

/* Featured Work */

video.background-video {
    margin-bottom: 15px;
    border-radius: 30px;
}

/* Video */
/* Style and position the button */
#sound-button {
    position: absolute;
    bottom: 15px;
    right: 15px;
    padding: 10px 15px;
    font-size: 16px;
    cursor: pointer;
    border: none;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border-radius: 5px;
    z-index: 10;
}

.video-container {
    position: relative;
    width: 100%;
    margin: auto;
    line-height: 0;
}

/* Ensure the video is responsive and fills its container */
.video-container video {
    width: 100%;
    height: auto;
}

/* Style and position the icon button */
.sound-icon-button {
    position: absolute;
    bottom: 20px;
    right: 20px;
    
    /* Remove default button styling */
    background: none;
    border: none;
    
    /* Style the icon */
    font-size: 24px; /* Adjust icon size */
    color: white;
    
    /* Add a subtle shadow to make the icon visible on any background */
    text-shadow: 0px 0px 8px rgba(0, 0, 0, 0.8);
    
    cursor: pointer;
    padding: 5px; /* Makes the clickable area slightly larger */
    z-index: 10;
    transition: transform 0.2s ease; /* Smooth transition for click effect */
}

/* A little effect when the button is pressed */
.sound-icon-button:active {
    transform: scale(0.9);
}

/* Footer */

.email-cta a {
  text-decoration: none;
  font-size: 2rem;
  margin: 0rem 0;
  transition: color 0.2s;
  color: #0cf57e;
}

@media only screen and (max-width: 992px) {
	h1 {
		font-size: 50px; 
	}

  h2 {
		font-size: 50px; 
	}
	
	.scrolling-text .et_pb_column {
    width: 
			500%;
  }
	
	h3 {
		font-size: 28px;
	}
	
	.scrolling-text h1.dsm-gradient-text {
    font-size: 16px;
	  -webkit-background-clip:
			initial !important;
    -webkit-text-fill-color: #fff;
	   white-space: nowrap;
  }
	
	h2.sub-headline {
		margin-bottom: 15px;
    	font-size: 36px;
	}

  .et_pb_code_18, .et_pb_code_20, .et_pb_code_22, .et_pb_code_24 {
    margin-bottom: 0 !important;
  }

  .text-to-reveal p {
      margin-bottom: 50px !important;
  }

}

@media only screen and (max-width: 780px) {
	.video-1 {
    width: 6rem;
    height: 3rem;
    margin-left: 0.75rem;
    margin-right: 0.75rem;
    margin-top: 10px;
  }
}