/* for smooth scrolling */
html {
  scroll-behavior: smooth;
}
body {
	font-family: sans-serif;
}
.hidden {
	display: none;
}
.animated-background {
	color: white;
    width: 100%;
	padding-left: 10px;
    height: 250px; /* Or adjust as needed */
	background-image: linear-gradient(rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.35)), url('../images/muziq-visual-demo.gif');
    /*background-image: url('muziq-visual-demo.gif'); /* Replace with your image path */
    background-size: cover; /* Ensures the image covers the div */
    background-repeat: no-repeat;
    position: relative; /* Needed for background-position animation */
    overflow: hidden; /* Hides content outside the div */

    /* Animation properties */
    animation: scrollBackground 20s linear infinite; /* Name, duration, timing, repetition */
}
.animated-background .headercontent {
	background-color: rgba(0, 0, 0, 0.3); /* 30% opaque black background */
}


@keyframes scrollBackground {
    0% {
        background-position: 0% 0%; /* Starting position (top-left) */
    }
    100% {
        background-position: 100% 100%; /* Ending position (bottom-right) */
    }
}

@media screen and (max-width:900px) {
  body {
		/*background-color: lightblue;*/
		
	}
  }
  .key.black {
		font-size: .7em;
  }
  .key.white {
		font-size: .9em;
  }
}
body {
	font-family: sans-serif;
	margin: 0px;
}
/* Container for the entire menu */
.piano-menu {
  position: relative; /* All keys are positioned relative to this container */
  display: flex;
  height: 50px; /* Adjust height as needed */
  width: 100%; /* Adjust width as needed */
  background: #ccc;
  border-radius: 10px;
  overflow: hidden; /* Keeps the rounded corners clean */
}

/* Base styles for all keys */
.key {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  text-decoration: none;
  font-family: sans-serif;
  font-weight: bold;
  font-size: 1.1em;
  color: #000;
  border: 1px solid #999;
  border-top: none;
  box-sizing: border-box;
  z-index: 1; /* Ensures white keys are below black keys */
  transition: transform 0.1s;
  padding: 10px;
}

/* Styles for white keys */
.white-keys {
  display: flex;
  width: 100%;
}
.key.white {
  background: linear-gradient(to bottom, #ffffff 0%, #eee 100%);
  flex-grow: 1; /* Distributes white keys evenly */
  height: 100%;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
}

/* Styles for black keys */
.black-keys {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  width: 100%;
  height: 60%; /* Black keys are shorter than white keys */
}
.key.black {
  background: linear-gradient(to bottom, #333 0%, #000 100%);
  color: #fff;
  height: 100%;
  width: 8%; /* Adjust width to make them skinnier */
  border: 1px solid #000;
  border-top: none;
  margin-left: -4%; /* Pulls keys together to overlap */
  z-index: 2; /* Puts black keys on top of white keys */
  border-bottom-left-radius: 3px;
  border-bottom-right-radius: 3px;
}

/* Adjustments for specific black keys */
.key.black:nth-child(1) {
  margin-left: 16%; /* Starting position for the first black key */
}
.key.black:nth-child(2) {
  margin-left: 11%; /* Starting position for the first black key */
}
.key.black.offset:nth-child(3) {
  margin-left: 12%; /* Add a larger gap for certain black keys */
}
.key.black.offset:nth-child(4) {
    margin-left: 12%; /* Add a larger gap for certain black keys */
}

/* Hover effect */
.key:hover {
  transform: translateY(2px); /* Simulate a key press */
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}
.key.white:hover {
  background: linear-gradient(to top, #ffffff 0%, #e0e0e0 100%);
}
.key.black:hover {
  background: linear-gradient(to top, #333 0%, #000 100%);
}

.custom-shape-divider-bottom-1760362797 {
    position: relative;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

.custom-shape-divider-bottom-1760362797 svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 150px;
}

.custom-shape-divider-bottom-1760362797 .shape-fill {
    fill: #197ED4;
}
.content {
	z-index: 9999;
}

/* Style the navigation menu */
.topnav {
  overflow: hidden;
  position: relative;
}

/* Hide the links inside the navigation menu (except for logo/home) */
.topnav #myLinks {
  display: none;
}
img#logo {
	height: 48px;
	max-height: 48px;
}

/* Style navigation menu links */
.topnav a {
  color: black;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px; 
  display: flex; 
  align-items: center; /* Vertically centers the content */
  font-family: sans-serif;

  background: linear-gradient(to bottom, #ffffff 0%, #eee 100%);
  /*flex-grow: 1; /* Distributes white keys evenly */
  /*height: 100%;*/
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
  flex-direction: row; 
  z-index: 0; /* Keeps the white keys in the background */  
  
}


/* Style the hamburger menu */
.topnav a.icon {
  background: black;
  color: white;
  display: block;
  position: absolute;
  right: 0;
  top: 0;
}
.topnav a.icon:hover {
	background-color: #ddd;
}

/* Add a grey background color on mouse-over */
.topnav a:hover {
  background-color: #ddd;
  color: black;

}
#myLinks a:hover {
  transform: translateY(2px); /* Simulate a key press */
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

/* Style the active link (or home/logo) */
.active {
  background-color: #000;
  color: white;
}

.topnav #homemobile {
    margin-top: 0px;
    padding-top: 0px;
    padding-bottom: 0px;
	background: #1f2937 !important;
	height: 45px !important;
}
div#homemobile:hover {

  /* Styles applied when hovering over the div */
  cursor: pointer; /* Changes the cursor to a hand icon */
  /*background: darkblue !important; /* Example: change background color on hover */

}

@media screen and (min-width:868px) {
  body {margin: 0px;}
 
  .key.black {
		font-size: .7em;
  }
  .key.white {

  }
  .topnav {
    display: none; /* Shows elements with the class 'mobile-only' on screens up to 768px wide */
  }
  .piano-menu {
	display: flex;
	flex-direction: row;
  }
  
}
@media screen and (max-width : 869px) {
  body {margin: 0px;}
  .topnav {
    display: block; /* Shows elements with the class 'mobile-only' on screens up to 768px wide */
  }
  .piano-menu {
	display: none;
  }
}

@media screen and (min-width : 769px) and (max-width : 1199px) {
    /*body { background-color: blue; }*/
}

@media screen and (min-width : 1200px) and (max-width : 1800px) {
    */body {background-color: green; }*/
}

.black-keys-container {
    height: 1px;
}

/* Position each black key manually */
 
 
/*.black-keys-container .key.black:nth-child(1) { position: relative; top: 35px; left: -30px; }*/

.black-keys-container .key.black:nth-child(1) {position: relative; width: 80px; height: 25px; margin-left: 0px; top: 43px; padding: 0px;} 
.black-keys-container .key.black:nth-child(2) {position: relative; width: 80px; height: 25px; margin-left: 0px; top: 72px; padding: 0px;}
.black-keys-container .key.black:nth-child(3) {position: relative; width: 80px; height: 25px; margin-left: 0px; top: 100px; padding: 0px;}
/*.black-keys-container .key:nth-child(4) { top: 235px; left: -30px; }*/
/*.black-keys-container .key:nth-child(5) { top: 285px; left: -30px; }*/

/* Optional: Removes the last black key if needed, like the E-F transition */
.black-keys-container .no-after { display: none; }


img#playbutton {
    max-width: 70px;
    height: 70px;
	
}
a#logolink  {
  width: 150px
  background-color: rgba(0, 0, 0, 0); 
  background-image: none;
  padding: 0px !important;
  flex-grow: 0;
  flex-shrink: 1;
  flex-basis: auto; /* Or flex-basis: content; */
  /* Other styles for your link */

}
a#logolink:hover  {
  width: 150px
  background-color: rgba(0, 0, 0, 0); 
  background-image: none;


}

#notes {
  background-image: url("../images/curved-music-staff-notes-background-waving-musical-118190539.png");
  height: 300px;
  width: 100%;
  background-size: cover; /* Scales the image to cover the entire area, cropping if necessary */
  background-position: center center; /* Centers the image */
  background-repeat: no-repeat;
}
.thumbnails {
	width: 250px;
}

a.key.black.offset:hover {
    color: white !important;
}
