@media only screen and (max-width: 768px) {

html, body {
	overflow-x: hidden !important;
	max-width: 100vw !important;
}

.vid-bg {
	position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    min-width: 100% !important;
    min-height: 100% !important;
    width: auto !important;
    height: auto !important;
    z-index: -100 !important;
    transform: translateX(-50%) translateY(-50%) !important;
  	background-size: cover !important;
  	transition: 1s opacity !important;
}

    .bottom-left-signs {
        left: 20px !important;
        bottom: 40px !important;
        z-index: 9999 !important;
        align-items: center !important;
        width: 40px;
    }

    .loader2 {
        width: 2px;
        height: 2px;
    }

    #centerVisualizer {
        min-width: 100%;
        min-height: 100%;
        width: 100%;
        height: 100%;
    }

    #centerVisualizer.visible {
        opacity: 1;  /* Ensure fade-in effect works on mobile */
    }
/* Ensure scaling on mobile matches the video */
    .visualizer-bg {
        min-width: 100%;
        min-height: 100%;
        width: auto;
        height: auto;
    }

    .back-to-top i {
        margin-left: 0 !important;
    }

.player{
    left: 75% !important;
    top: 50% !important;
    transform: translate(-50%, -50%) scale(0.7) !important;
    width: 150px !important;
    padding: 10px !important;
    white-space: nowrap !important;
}

.player .info-box {
    width: 100% !important;
    max-width: 100%;
    box-sizing: border-box;
}

.player #info {
    width: max-content !important;
    min-width: 100%;
}

.news-section.fix > div {
    min-height: auto !important;
    height: auto !important;
}

.news-section.fix {
    min-height: auto !important;
    padding: 20px 0 !important;
}

#news-section {
    padding-bottom: 0 !important;
}

.news-section.section-padding.fix {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    overflow: visible !important;
}

.team,
.team .container,
.team__flex {
    width: 100% !important;
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
}

.team h2,
.team h4,
.team .line,
#countdown,
#hrglss {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.team h4 {
    font-size: 2.25rem !important;
    font-weight: 400;
}

.team h4.news-artist {
    font-family: 'Rubik Spray Paint', sans-serif !important;
    font-weight: 400;
}

.team h4 .job {
    font-family: 'Roboto Mono', monospace !important;
    font-weight: 400;
    font-size: 1.05rem;
}

.team h4.news-artist {
    margin-bottom: 0.25em !important;
    line-height: 1.2 !important;
}

.team .line {
    display: block !important;
}

.team .row {
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
}

.team__flex {
    flex-direction: column !important;
}

.team .container {
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
}

.team__flex img,
.team img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
}

.news-section.section-padding .team__flex img {
    max-width: 350px !important;
    margin: 0 auto;
    display: block;
}

.news-section.section-padding {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.menu-area {
    display: flex !important;
    flex-direction: row !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    margin: 0 auto !important;
    margin-top: -25px !important;
    padding-top: 0 !important;
    text-align: center !important;
    flex-wrap: wrap !important;
    position: relative !important;
    top: 0 !important;
    z-index: 100 !important;
    pointer-events: auto !important;
}

/* Add mobile-specific menu-header styles */
.menu-header {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    padding-top: 0 !important;
    height: auto !important;
}

.menu-area li {
    display: inline-block !important;
    position: static !important;
    transform: none !important;
    left: auto !important;
    margin: 2px 6px !important;
}

.menu-area li a {
    display: inline-block !important;
    position: static !important;
    transform: none !important;
    left: auto !important;
    padding: 4px 8px !important;
    pointer-events: auto !important;
    background-color: transparent !important;
    border-radius: 4px !important;
    box-shadow: none !important;
    font-size: 12px !important;
    text-decoration: none !important;
    color: #fff !important;
}

.menu-area li a:hover,
.menu-area li a:active,
.menu-area li a:focus,
.menu-area li a.menu-active {
    color: #fff0a8 !important;
    text-decoration: none !important;
}

/* Mobile title styles */
.title {
    font-size: 24px !important;
    margin: 0 auto !important;
    padding-bottom: 0 !important; 
    margin-top: -20px !important;
    margin-bottom: 0 !important;
    text-align: center !important;
    position: relative !important;
    z-index: 1 !important;
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}

.title img {
    margin: 0 auto !important;
    display: block !important;
    max-width: 120px !important;
    width: auto !important;
    height: auto !important;
}

/* Logo has been removed from HTML
.logo {
	position: relative !important;
	bottom: auto !important; 
	margin: 0 auto 40px auto !important;
}

.logo img {
	width: 100px !important;
}
*/

.wrapper {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow-x: hidden !important;
}

body {
    width: 100% !important;
    overflow-x: hidden !important;
    background: none !important;
    min-height: 100vh !important;
}

.portfolio-area {
    width: 100% !important;
    max-width: 100% !important;
    left: 0 !important;
    transform: none !important;
    padding: 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
}

.single-portfolio {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 10px !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
}

.single-portfolio img {
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
    display: block !important;
}

.french-side, .english-side {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 10px !important;
    margin: 0 !important;
    overflow: hidden !important;
}

.port-text {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    text-align: center !important;
    float: none !important;
    padding: 15px !important;
    box-sizing: border-box !important;
}

.port-text h2,
.port-text p {
    text-align: center !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.port-text p {
    font-family: 'Roboto Mono', monospace !important;
    text-wrap: balance;
    hyphens: auto;
}

.main-content-area {
    width: 100vw !important;
    overflow: visible !important;
    position: relative !important;
    background: none !important;
}

.blog-container {
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
    position: relative !important;
}

.resize-handle {
    display: none !important;
}

.window-controls {
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
    z-index: 1000 !important;
}

.language-split {
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
}

#mydiv {
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
}

/* Fix for about-area centering on actual phones */
.about-area {
    width: 100% !important;
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 20px !important;
    box-sizing: border-box !important;
    margin: 0 auto !important;
}

.about-right {
    width: 100% !important;
    float: none !important;
    margin: 0 auto !important;
    text-align: center !important;
    display: block !important;
}

.about-right h2 {
    text-align: center !important;
    width: 100% !important;
    display: block !important;
}

.about-right p {
    text-align: center !important;
    float: none !important;
    margin: 10px auto 30px auto !important;
    width: 100% !important;
    display: block !important;
}

.discography {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 20px 2rem !important;
}

.discography > a {
    display: block !important;
    text-align: center !important;
    margin-top: 2rem !important;
}

.discography > a img {
    max-width: 180px !important;
    width: 180px !important;
    height: auto !important;
}

.gallery {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    margin: 0 !important;
}

.gallery-item {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 280px !important;
    margin: 1rem auto !important;
}

.gallery-item a {
    display: flex !important;
    justify-content: center !important;
}

.gallery-image {
    width: 100% !important;
    max-width: 280px !important;
    height: auto !important;
    object-fit: contain !important;
}

}

html {
	width: 100%;
	height: 100%;
}

body {
	position: relative;
	width: 100%;
	height: 100%;
	font-family: "Arial";
	margin: 0;
	background: #0a0a0a;
}

::-webkit-scrollbar { 
    width: 0;  /* Remove scrollbar space */
    background: transparent;  /* Optional: just make scrollbar invisible */
}

/* Hide scrollbar for Firefox */
.french-side {
    scrollbar-width: none;
    -ms-overflow-style: none;  /* IE and Edge */
}

/* Hide scrollbar for Chrome, Safari and Opera */
.french-side::-webkit-scrollbar {
    display: none;
    width: 0;
    background: transparent;
}

/* Show scrollbar for English side */
.english-side {
    scrollbar-width: auto;
    -ms-overflow-style: auto;
}

.english-side::-webkit-scrollbar {
    width: auto;
    display: block;
}

p {
	font-size: 12px;
	letter-spacing: 1.5px;
}


a {
    color: inherit;
  	text-decoration: inherit;
    font-size: 12px;
    letter-spacing: 1.5px;
}

#radio-section {
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 0.5rem 0;
}

.radio-section-inner {
	max-width: 28rem;
	width: 100%;
	padding: 1.5rem;
}

#radio-section.radio-hidden {
	display: none !important;
}

.fix {
	clear: both;
	overflow: hidden;
}

.section-padding {
	padding: 25px 0;
}

.wrapper {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

header {
	overflow: hidden;
	height: 100vh;
}

.bottom-left-signs {
    position: fixed;
    left: 20px;
    bottom: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 1000;
}

.bottom-left-signs > * {
    margin: 0;
}

.back-to-top {
    order: 3;
    flex-shrink: 0;
    color: black;
    padding: 10px;
    border-radius: 50%;
    font-size: 24px;
    text-align: center;
    cursor: pointer;
    z-index: 1000;  /* Ensure it is always on top */
    transition: opacity 0.3s ease-in-out, color 0.3s;
}

.back-to-top i {
    font-size: 18px;
}

.back-to-top.hidden {
    opacity: 0;
    pointer-events: none;
}


.vid-bg {
	  position: fixed;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -100;
    transform: translateX(-50%) translateY(-50%);
  	background-size: cover;
  	transition: 1s opacity;
}

.menu-header {
	display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
	margin-top: 8px;
}

/* Logo has been removed from HTML
.logo {
	position: absolute;
	bottom: 10px;
	margin: 0 auto;
}

.logo img {
	width: 150px;
}
*/

.menu-area {
	display: flex;
	list-style: none;
    margin-top: 120px; /* Added margin to push menu down on desktop */
    width: 100%;
    justify-content: center;
    text-align: center;
}

.menu-area li {
	display: inline-block;
	margin: 0 20px;
}

.menu-area li a {
	text-decoration: none;
	color: #fff;
	letter-spacing: 2px;	
	font-weight: bold;
}

.menu-area li a:hover,
.menu-area li a:active,
.menu-area li a:focus,
.menu-area li a.menu-active {
	color: #fff0a8;
}

.title {
	color: #fff;
	font-size: 50px;
	margin-top: -3px;
	font-family: Helvetica;
	flex-grow: 1;
	text-align: center;
	position: absolute;
    left: 50%;
    transform: translateX(-50%);
	padding-top: 4px;
}

.title p {
	float:right;
	font-size: 20px;
	margin-top: 5px;
	margin-left: 5px;
}

.section-header {
	text-align: center;
	margin-bottom: 10px;
	margin-top: -20px;
}

.section-header h2,
.team h2.past-releases-title {
	font-family: 'Rubik Spray Paint', sans-serif;
	font-weight: 400;
	text-transform: uppercase;
	font-size: 35px;
	margin-bottom: 0px; 
}

.line {
	height: 2px;
	width: 100px;
	background: #000;
	display: inline-block;
}

.section-header p {
	font-size: 18px;
	text-transform: uppercase;
	font-weight: bold;
}

.about-left {
	float: right;
	margin-top: -85px;

}

.about-left img {
	width: 75%;
	margin-top: 55px;
}

.about-right {
	width: 100%;
	margin-bottom: 30px;
}

.about-right p {
	margin-top: -20px;
	float:center;

}

.portfolio-section {
	background: #f6f6f6;
}

.news-section {
	background: #fff0a8;
}

.contact-section {
	background: #fff0a8;
}

.contact {
	font-size: 20px;
	width: 100%;
	text-align: center;
	margin-top: 20px;
}

footer {
	background: #252525;
	color: #fff;
	text-align: center;
  padding: 0 0; /* Adjust the padding as needed to set the height */
  position: relative; /* Ensure it does not interfere with the fixed video */
  z-index: 1;  /* Ensure footer appears above the video */
}

footer p {
    font-size: 12px; /* Reduce font size if text is too big */
    margin: 0;
    padding: 10px 0; /* Reduce this to decrease the footer height */

}


.team {
    padding: 4rem 0;
}

.news-section.section-padding.fix,
.news-section.section-padding.fix .team,
.news-section.section-padding.fix .team .container {
    overflow: visible !important;
}

.news-section.section-padding .team {
    padding: 0 0 1rem 0;
}

.news-section.section-padding .team #countdown {
    margin-top: 10px;
}

.team h2 {
    margin-bottom: 2rem;
    font-size: 2rem;
    text-align: center;
}

.team h4.news-artist {
    font-family: 'Rubik Spray Paint', sans-serif;
    font-weight: 400;
    font-size: 2.25rem;
}

.team h4 .job {
    font-family: 'Roboto Mono', monospace;
    font-weight: 400;
    font-size: 1.05rem;
}

.team__flex {
	 display: flex;
 	flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.team .member {
    width: 31%;
    margin: 0 auto;
}

.team .member img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team .member h4 {
    margin-bottom: 1rem;
    text-align: center;
    font-size: 1.5rem;
}

.team .member .job {
    color: var(--color5);
    font-size: 1rem;
    font-weight: 300;
    text-transform: uppercase;
}



.team__flex {
    display: inline-block;
    align-items: center;
    justify-content: space-between;
}



.discography {
	max-width: 100rem;
	margin: 0 auto;
	padding: 0 2rem 2rem;
}


.gallery {
	display: flex;
	flex-wrap: wrap;
	/* Compensate for excess margin on outer gallery flex items */
	margin: -1rem -1rem;
}

.gallery-item {
	/* Minimum width of 24rem and grow to fit available space */
	flex: 1 0 24rem;
	/* Margin value should be half of grid-gap value as margins on flex items don't collapse */
	margin: 1rem;
	box-shadow: 0.3rem 0.4rem 0.4rem rgba(0, 0, 0, 0.4);
	overflow: hidden;
   position: relative;
}


.gallery-item {
    position: relative;
    overflow: hidden;
    /* Other existing styles */
}

.gallery-content {
    position: relative;
    height: 100%;
}

.gallery-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 240, 168, 1);
    color: black;
    text-align: center;
    padding: 0.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
    white-space: nowrap;
    pointer-events: none; /* Ensure the title does not block clicks */
    font-weight: bold; /* Make the font bold */
}

.gallery-date {
    position: absolute;
    bottom: 0; /* Position the legend at the top */
    right: 0; /* Align it to the left */
    background: rgba(255, 240, 168, 1); /* Slightly darker background */
    color: black;
    text-align: left;
    padding: 0.5rem;
    width: auto;
    max-width: 100%; /* Ensure it does not overflow the image */
    box-sizing: border-box; /* Ensure padding does not affect width */
    opacity: 0;
    transition: opacity 0.3s ease;
    font-size: 0.9rem; /* Slightly smaller font size for the legend */
    pointer-events: none; /* Ensure the legend does not block clicks */
    font-weight: bold; /* Make the font bold */
}

.gallery-artist {
    position: absolute;
    top: 0; /* Position the legend at the top */
    left: 0; /* Align it to the left */
    background: rgba(255, 240, 168, 1); /* Slightly darker background */
    color: black;
    text-align: left;
    padding: 0.5rem;
    width: auto;
    max-width: 100%; /* Ensure it does not overflow the image */
    box-sizing: border-box; /* Ensure padding does not affect width */
    opacity: 0;
    transition: opacity 0.3s ease;
    font-size: 0.9rem; /* Slightly smaller font size for the legend */
    pointer-events: none; /* Ensure the legend does not block clicks */
    font-weight: bold; /* Make the font bold */
}

.gallery-item:hover .gallery-title,
.gallery-item:hover .gallery-date,
.gallery-item:hover .gallery-artist {
    opacity: 1;
}


.gallery-image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 400ms ease-out;
}

.gallery-image:hover {
	transform: scale(1.01);
}


@supports (display: grid) {
	.gallery {
		display: grid;
		grid-template-columns: repeat(auto-fit, minmax(24rem, 1fr));
		grid-gap: 2rem;
	}

	.gallery,
	.gallery-item {
		margin: 0;
	}
}

#mydiv {
  position: absolute;
  z-index: 9;
  background-color: #f1f1f1;
  border: 1px solid #d3d3d3;
  text-align: center;
}

#mydivheader {
  padding: 10px;
  cursor: move;
  z-index: 10;
  background-color: #5132ee;
  color: #fff;
  line-height: 5px;
}



/* MUSIC PLAYER CSS */

.info-box {
  font-family: "Arial";
  color: #fff0a8;
  background: linear-gradient(45deg, hsl(0,0%,0%) 0%, hsl(0,0%,12%)100%);
  text-shadow: 1px 1px 23px #fff;
  font-size: 25px;
  height: 30px;
  width: 150px;
  overflow: hidden;
  border-radius: 7px;
  margin-bottom: 10px;
  border: 1px solid black;
  position: relative;
  box-shadow: 0 0 10px rgba(0, 0, 255, 0.5);
  display: flex;
  align-items: center; /* Vertically center the content */
}

.info {
  animation: scroll linear infinite;
  white-space: nowrap;
  position: absolute;
  will-change: transform, contents, opacity;
  animation: marquee 20s linear infinite;
  animation-timing-function: linear;
}

@keyframes marquee {
  from { transform: translateX(100%); }
  to { transform: translateX(-100%); }
}

@keyframes scroll {
  0% {
    transform: translateX(100%); /* Start just outside the right edge */
  }
  100% {
    transform: translateX(-100%); /* Move to just outside the left edge */
  }
}

.player{
  position:fixed;
  top:55%;
  left:95%;
  transform: translate(-50%, -50%);
  z-index: 1000;
  width:294px;
  white-space:nowrap;
  padding:24px;
}

/* Base styles for the buttons */
.btn-lg {
  margin: 3px !important;
  z-index: 1000; /* Ensure buttons are clickable */
  cursor: pointer;
  border: 1px solid black;
  width: 25px !important;
  height: 25px !important;
  display: inline-block;
  padding: 0;
  box-sizing: border-box;
  background-color: #333; /* Dark background color */
  color: white; /* White text color */
  transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease; /* Smooth transitions for hover and click effects */
  border-radius: 5px; /* Rounded corners */
  position: relative; /* Relative positioning to use pseudo-elements */
  overflow: hidden; /* Hide overflow to ensure no elements go outside the button */
  touch-action: manipulation; /* Ensures touch response is smooth */
}

/* Hover effect for the button */
.btn-lg:hover {
  background-color: rgba(81, 50, 238, 1); /* Violet color with some transparency */
  box-shadow: 0 0 12px rgba(81, 50, 238, 1), 0 0 20px rgba(138, 43, 226, 0.25); /* Glowing shadow effect */
  transform: scale(1.01); /* Slightly enlarge the button on hover */
}

/* Active (on click) effect for the button */
.btn-lg:active {
  background-color: rgba(81, 50, 238, 1); /* Solid violet color */
  box-shadow: 0 0 20px rgba(81, 50, 238, 1), 0 0 40px rgba(138, 43, 226, 0.4); /* Brighter glowing effect */
  transform: scale(0.95); /* Slightly shrink the button on click */
}

/* Effect for button focus (when it's selected with the keyboard) */
.btn-lg:focus {
  outline: none; /* Remove default outline */

}

/* Cool pseudo-element animation on hover */
.btn-lg::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 300%;
  height: 300%;
  background: rgba(138, 43, 226, 0.1); /* Light white for ripple effect */
  transition: width 0.5s, height 0.5s, top 0.5s, left 0.5s;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  opacity: 0; /* Start with no opacity */
}

/* Ripple effect on button hover */
.btn-lg:hover::before {
  width: 100%;
  height: 100%;
  opacity: 1; /* Increase opacity on hover */
  top: 50%;
  left: 50%;
}


/* Style the volume slider track */
#volumeSlider {
  -webkit-appearance: none; /* Remove default styling for WebKit browsers */
  appearance: none; /* Standard property for cross-browser compatibility */
  width: 100% !important;
  height: 6px; /* Height of the track */
  background: rgba(81, 50, 238, 0.6); /* Violet color with 60% transparency */
  border-radius: 5px; /* Rounded corners for the track */
  outline: none; /* Remove the default outline */
  transition: background 0.3s ease; /* Smooth transition for background change */
  margin: 3px 0 !important; /* Margin around the slider */
  cursor: pointer; /* Cursor changes to pointer on hover */
}

/* Style the volume slider thumb (draggable part) */
#volumeSlider::-webkit-slider-thumb {
  -webkit-appearance: none; /* Remove default styling for WebKit browsers */
  width: 15px; /* Width of the thumb */
  height: 15px; /* Height of the thumb */
  background: rgba(81, 50, 238, 0.8); /* Violet color with 80% transparency */
  border-radius: 50%; /* Make the thumb circular */
  box-shadow: 0 0 8px rgba(81, 50, 238, 0.6); /* Shadow effect for the thumb */
  transition: background 0.3s ease, transform 0.2s ease; /* Smooth transitions */
}

/* Hover and active states for the thumb */
#volumeSlider::-webkit-slider-thumb:hover,
#volumeSlider::-moz-range-thumb:hover {
  background: rgba(81, 50, 238, 1); /* Solid violet on hover */
  transform: scale(1.1); /* Slightly enlarge on hover */
}

/* Style for the track when hovered */
#volumeSlider:hover {
  background: rgba(81, 50, 238, 0.8); /* Darker violet on hover */
}

/* Transparent effect when the slider is inactive */
#volumeSlider:disabled {
  background: rgba(81, 50, 238, 0.3); /* Lighter violet when disabled */
  cursor: not-allowed; /* Change cursor to indicate it's not clickable */
}


/* Spinning animation for randomBtn on hover */
@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}


/* Apply spinning animation to the Font Awesome icon on hover */
.randomBtn:hover .randomBtn-icon {
  display: inline-block; /* Ensure icon is treated as a block for transform */
  animation: spin 1s infinite linear; /* Spinning animation on hover */
}

#audioVisualizer {
  width: 120px;
  height: 30px;
  display: block;
  margin: 0 auto;
}

#ringsVisualizer {
    width: 67px;
    height: 20px;
    background: linear-gradient(135deg, #000, #333, 0);
    border-radius: 50%;

}

.visualizer-bg {
    position: fixed;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -99;  /* Keep it below the content */
    transform: translateX(-50%) translateY(-50%);
    background: black;
    opacity: 0;  /* Hidden initially */
}

.visualizer-bg.visible {
    opacity: 1;
}
/* No animation by default */
.wave-text {
  font-size: 18px;
  font-weight: bold;
  color: black;
}

/* Animation is only applied when the class is active */
.wave-active {
  animation: wave 1s infinite linear, wiggle 0.3s infinite ease-in-out;
}

@keyframes wave {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-1px);
  }
  100% {
    transform: translateY(0);
  }
}

@keyframes wiggle {
  0% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(0.3deg); /* Subtle wiggle rotation */
  }
  50% {
    transform: rotate(-0.3deg); /* Subtle wiggle rotation */
  }
  75% {
    transform: rotate(0.3deg); /* Subtle wiggle rotation */
  }
  100% {
    transform: rotate(0deg);
  }
}

#centerVisualizer {
    position: fixed;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -1;  /* Keep it below other content */
    transform: translate(-50%, -50%);
    background: transparent;
    opacity: 0;  /* Start hidden */
    transition: opacity 1.5s ease;  /* Smooth fade-in */
    filter: blur(2px) brightness(1.5);
}

#centerVisualizer.visible {
    opacity: 1;  /* Fade in when activated */
}

.loader2 {
    order: 2;
    position: relative;
    width: 2px;
    height: 2px;
    flex-shrink: 0;
    margin-bottom: 18px;
    background-color: #000;
    border-radius: 25px;
    z-index: 1100; /* Ensure it's above other content */
    transition: opacity 0.5s ease-in-out; /* Smooth fade in/out */
}

.loader2:before, .loader2:after {
    content: "";
    position: absolute;
    border: 1px solid #000;
    width: 12px; /* Reduced size */
    height: 12px; /* Reduced size */
    background-color: rgba(0, 0, 0, .1);
}

.loader2:before {
    top: -10px; /* Adjusted for the smaller size */
    border-radius: 0 50px 0px 0;
    -webkit-transform-origin: 0% 100%;
    transform-origin: 0% 100%;
    -webkit-animation: loader2 1.5s linear infinite;
    animation: loader2 1.5s linear infinite;
}

.loader2:after {
    top: 2px;
    right: 2px;
    border-radius: 0 0 0 50px;
    -webkit-transform-origin: 100% 0%;
    transform-origin: 100% 0%;
    -webkit-animation: loader2 1.5s linear infinite;
    animation: loader2 1.5s linear infinite;
}

@-webkit-keyframes loader2 {
    0% {
        -webkit-transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes loader2 {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.loader2.hidden {
    opacity: 0;
    pointer-events: none;
}

/*/ LOFI HOURGLASS /*/

#hrglss{
  width: 104px;
  height: 176px;
  transform: scale(0.5);
  transform-origin: center; 
  margin-top: -80px;
  margin-bottom: -60px;
}

#hourglass{
    width: 104px;
    margin: 0 auto;
}

#sand{
    margin: 0 auto;
    width: 56px;
    height: 120px;
    position: relative;
    top: -144px;
}

.grain {
    background-color: #000000;
    height: 8px;
    width: 8px;
  position: absolute;
}

.a, .b, .c, .d, .e, .f{
    background-color: #FFFFFF;
    height: 8px;
    margin: 0 auto;
}

.a, .b, .c, .d, .e, .f{
    border-right: 16px solid black;
    border-left: 16px solid black;
}

.a{
    width: 72px;
    border-top: 8px solid black;
    border-bottom: 8px solid black;
}

.b{
    width: 72px;
    height: 32px;
    border-right: 8px solid black;
    border-left: 8px solid black;
}

.c{width: 56px;}
.d{width: 40px;}
.e{width: 24px;}
.f{width: 8px;}

.g1{top: 0px;left: 0px;}
.g2{top: 0px;left: 16px;}
.g3{top: 0px;left: 32px;}
.g4{top: 0px;left: 48px;}
.g5{top: 8px;left: 8px;}
.g6{top: 8px;left: 24px;}
.g7{top: 8px;left: 40px;}
.g8{top: 16px;left: 16px;}
.g9{top: 16px;left: 32px;}
.g10{top: 24px;left: 24px;}
.g11{top: 40px;left: 24px;}
.g12{top: 64px;left: 24px;}
.g13{top: 72px;left: 24px;}


.moveg1{
  left: 16px;
  top: 112px;
}

.moveg2{
  left: 48px;
  top: 112px;
}

.moveg3{
  top: 112px;
}

.moveg4{
  left: 24px;
  top: 104px;
}

.moveg5{
  top: 112px;
  left: 0px;
}

.moveg6{
  left: 8px;
  top: 104px;
}

.moveg7{
  top: 104px;
}

.moveg8{
  top: 96px;
}

.moveg9{
  top: 96px;
}

.moveg10{
  top: 88px;
}

/*/ COUNTDOWN /*/
#countdown {
    font-size: 20px;
    text-align: center;
    margin-top: 20px;
    margin-bottom: 20px;
    color: black; 
}

/*/ VOLUME BAR ON THE LEFT /*/
.volume-bar-left {
    order: 1;
    flex-shrink: 0;
    margin-bottom: 28px;
    width: 10px;
    height: 100px; /* Maximum height for 100% volume */
    background-color: black;
    z-index: 1000;
    opacity: 0;  /* Start hidden */
    transition: height 0.1s ease, opacity 0.2s ease; /* Smooth animation */
}

.volume-bar-left.hidden {
    opacity: 0;
    pointer-events: none; /* Disable interaction when hidden */
}

.swipe-instruction {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #00ff00;
    text-shadow: 0 0 2px #00ff00,
                 0 0 5px #00ff00,
                 0 0 10px #00ff00;
    font-size: 16px;
    text-align: center;
    z-index: 2000;
    font-family: 'VT323', monospace;
    opacity: 1;
    animation: fadeOut 3s forwards, textShadowFlicker 0.01s infinite;
    animation-delay: 2s, 0s;
    letter-spacing: 1px;
    white-space: nowrap;
}

/* Matrix-style character animation */
.glitch-text {
    position: relative;
    display: inline-block;
}

.glitch-char {
    display: inline-block;
    animation: glitchChar 0.1s infinite;
}

@keyframes glitchChar {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.8;
    }
}

@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

@keyframes textShadowFlicker {
    0% {
        text-shadow: 0 0 2px #00ff00,
                     0 0 5px #00ff00,
                     0 0 10px #00ff00;
    }
    50% {
        text-shadow: 0 0 2px #00ff00,
                     0 0 3px #00ff00,
                     0 0 7px #00ff00;
    }
    100% {
        text-shadow: 0 0 2px #00ff00,
                     0 0 5px #00ff00,
                     0 0 10px #00ff00;
    }
}

@media only screen and (min-device-width : 320px) and (max-device-width : 480px) {
    .swipe-instruction {
        display: block !important;
    }
}

.portfolio-area {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    padding: 40px 0;
}

.single-portfolio {
    width: 100%;
    max-width: 850px;
    margin: 0 auto;
    text-align: center;
}

.port-img {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.port-img img {
    max-width: 100%;
    height: auto;
    display: block;
}

.port-text {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.port-text h2 {
    margin-bottom: 5px;
    text-align: center;
    font-family: 'Rubik Spray Paint', sans-serif;
    font-size: 1.5rem;
    font-weight: 400;
}

.port-text p {
    font-family: 'Roboto Mono', monospace;
    text-align: center;
    margin: 0 auto;
    margin-top: 0;
    text-wrap: balance;
    hyphens: auto;
}

/* Desktop title styles */
.title {
	color: #fff;
    font-size: 28px;
    font-weight: bold;
    padding: 40px 0; /* Added padding to create more space around the title on desktop */
    text-align: center;
    line-height: 1.5;
}

/* CRITICAL MOBILE FIX - DO NOT REMOVE */
@media only screen and (max-device-width: 480px), (max-width: 768px) {
    .volume-bar-left {
        margin-bottom: 35px !important;
    }
    .loader2 {
        margin-bottom: 25px !important;
    }
    .menu-area {
        margin-top: -35px !important;
        position: relative !important;
        top: 50px !important;
    }
    
    .title {
        margin-bottom: 60px !important;
    }
    
    /* Fix for about-area centering on mobile */
    .about-area {
        width: 100% !important;
        text-align: center !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 0 20px !important;
        box-sizing: border-box !important;
    }
    
    .about-right {
        width: 100% !important;
        float: none !important;
        margin: 0 auto !important;
        text-align: center !important;
    }
    
    .about-right h2 {
        text-align: center !important;
        width: 100% !important;
    }
    
    .about-right p {
        text-align: center !important;
        float: none !important;
        margin: 10px auto 30px auto !important;
        width: 100% !important;
    }
}