@import url('https://fonts.googleapis.com/css2?family=Gupter:wght@400;500;700&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300&family=Playfair+Display:wght@500&family=Quicksand:wght@300&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Tinos:ital,wght@0,400;0,700;1,400;1,700&family=Zen+Kaku+Gothic+Antique&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Arsenal+SC:ital,wght@0,400;0,700;1,400;1,700&family=Julius+Sans+One&family=Quicksand:wght@300..700&family=Red+Hat+Display:ital,wght@0,300..900;1,300..900&display=swap');




@keyframes fromLeftScaled {
   0% {
      transform: scale(100%) translateX(-13%);
      opacity: 0;
   }
   100% {
      transform: scale(97%);
      opacity: 1;
   }
}

@keyframes fromRightScaled {
   0% {
      transform: scale(100%) translateX(13%);
      opacity: 0;
   }
   100% {
      transform: scale(97%);
      opacity: 1;
   }
}

@keyframes fromTopScaled {
   0% {
      transform: scale(100%) translateY(13%);
      opacity: 0;
   }
   100% {
      transform: scale(97%) translateY(0%);
      opacity: 1;
   }
}
@keyframes fromBottomScaled {
   0% {
      transform: scale(100%) translateY(-13%);
      opacity: 0;
   }
   100% {
      transform: scale(97%) translateY(0%);
      opacity: 1;
   }
}

@keyframes opacity100to0 {
   0% {
      opacity: 100%;
   }
   100% {
      opacity: 0%;
   }
}

:root {
   --background: #fcfcf4;
   --contrastColor: #161616;
   --layer1:  #eef0e0;
   --color1: #fffc62;
   --color1Contrast: #f0ec1b;
   --color2: #259c25;
   --color3: #801db9;
   --color4: rgb(87, 118, 255);
   --color4Contrast: rgb(59, 88, 219);
   --red: rgb(206, 53, 53);
   --color5: rgb(241, 55, 41);
   --linkColor2: rgb(36, 0, 199);
   --fontSizeBase: 1rem;
   --FSh1: clamp(1rem, 5vw + 1rem, 3rem);
   --FSh2: clamp(1rem, 3.5vw + 0.5rem, 2.5rem);
}

.flexrow {
      display: flex;
      flex-direction: column;
      align-items: center;
}

.space {
   padding: 2rem;
}

.header {
   padding: 0 1rem;
   max-width: 512px;
}

.languageSwitch {
   position: absolute;
   height: 30px;
   width: 35px;
   top: 17px;
   right: 20px;
   border: solid;
}

.navigationBar {
   position: fixed;
   top: -7px;
   left: -10px;
   width: 50px;
   opacity: .98;
   z-index: 101;
}

.navigationBar input[type="checkbox"],
.navigationBar .hamburgerLines {
   display: none;
}

.navigationBarContainer {
   display: block;
   position: relative;
   height: 64px;
   z-index: 101;
}



.navigationBarContainer input[type="checkbox"] {
   position: absolute;
   display: none;
   height: 32px;
   width: 30px;
   top: 20px;
   left: 20px;
   opacity: 0;
   z-index: 5;
}

.navigationBarContainer .hamburgerLines {
   display: block;
   position: absolute;
   height: 23px;
   width: 35px;
   top: 17px;
   left: 20px;
   z-index: 101;
   display: flex;
   flex-direction: column;
   justify-content: space-between;
   cursor: pointer;
 }

 .navigationBarContainer .hamburgerLines .line {
   display: block;
   height: 4px;
   width: 100%;
   border-radius: 10px;
   background: #000000;
 }


 
 .navigationBarContainer .hamburgerLines{
   transition: transform .1s;
   /* cubic-bezier(0.08,0.82,0.17,1) */
 }
 
 .navigationBarContainer .hamburgerLines .hamburgerLine1 {
   transition: width .3s;
 }

 .navigationBarContainer .hamburgerLines .hamburgerLine2 {
   transition: width .5s;
 }

 .navigationBarContainer .hamburgerLines .hamburgerLine3 {
   transition: width .7s;
 }

 .navigationBar .menuItems {
   position: absolute;
   top: -8rem;
   left: 20rem;
   background: var(--contrastColor);
   width: 9rem;
   height: 200vh;
   transform: rotate(45deg) translate(-100%, -100%); /* 45-degree rotation and position adjustment */
   transform-origin: top left;
   display: flex;
   flex-direction: column;
   padding: 10rem 0 0 1rem;
   opacity: 0; /* Initially hidden */
   pointer-events: none; /* Disable interactions */
   transition: opacity 0.3s ease-in-out; /* Smooth transition */
   overflow-x: hidden;
 }

 #menuToggle:checked + .hamburgerLines + .menuItems {
   opacity: 1; /* Show menu */
   pointer-events: auto; /* Enable interactions */
}



 .navigationBar .menuItems li {
   list-style-type: none;
   transform: rotate(-45deg);
   margin-bottom: 1.5rem;
   font-size: 1.3rem;
   font-weight: 500;
 }

 .navigationBarContainer input[type="checkbox"]:checked ~ .menuItems {
   transform: rotate(45deg);
 }

 .navigationBarContainer input[type="checkbox"]:checked ~ .hamburgerLines {
   transform: rotate(-90deg);
 }

 .navigationBarContainer input[type="checkbox"]:checked ~ .hamburgerLines .hamburgerLine1 {
   width: 50%;
 }

 .navigationBarContainer input[type="checkbox"]:checked ~ .hamburgerLines .hamburgerLine2 {
   width: 70%;
 }

 .navigationBarContainer input[type="checkbox"]:checked ~ .hamburgerLines .hamburgerLine3 {
   width: 90%;
 }






* {
   font-family: 'Montserrat';
   line-height: 1.5;
   font-size: 100%;
   box-sizing: border-box;
   margin: 0;
   padding: 0; 
   background-color: rgba(60, 62, 206, 0);
   text-decoration: none;
}

h1 {
   font-size: var(--FSh1);
}
 
h2 {
   font-size: var(--FSh2);
   margin: 1rem 0;
}
p {
   font-size: var(--fontSizeBase);
   font-weight: 500;
}
a {
   color: var(--background);
}


.gradient {
   background: linear-gradient(to right, var(--color2), var(--color1));
   -webkit-background-clip: text;
   background-clip: text;
   color: transparent;
   animation: hueShift 10s infinite linear;
}



.container {
   width: 80%;
   margin: 2rem auto;
}

.container p {
   margin: 1rem 0;
}

.pictureRow {
   max-width: 600px;
   margin-bottom: 2rem;
}


.stickyBar {
   position: fixed;
   top: 0;
   left: 0;
   right: 0;
   height: 48px;
   display: flex;
   justify-content: center;
   align-items: center;
   transition: opacity .1s ease;
   opacity: 0;
   pointer-events: none;
   background: var(--background);
   z-index: 10;
}

.stickyBar::after {
   content: '';  
   position: absolute;
   bottom: 0;
   background-color: #242424;
   height: 2px;
   width: 100%;
   clip-path: inset(0 100% 0 0);
   transition: clip-path 2s ease;
}

body {
   background: #FCFCF4;
   
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: .3;
  z-index: -1000; /* behind everything */
  background: linear-gradient(
  136deg,
  rgba(255, 255, 16, 0.2) 0%, 
  rgb(228, 255, 20, .2) 25%, 
  rgba(243, 255, 21, 0.2) 50%, 
  rgb(26, 91, 244, .2) 75%, 
  rgba(172, 92, 218, 0.2) 100%
);

  animation: hueShift 10s infinite linear;
  pointer-events: none;
}

@keyframes hueShift {
  0% { filter: hue-rotate(0deg); }
  100% { filter: hue-rotate(360deg); }
}

body.scrolled .stickyBar {
   opacity: 1;
   pointer-events: auto;
   background: var(--background);
   transition: opacity .1s ease;
}

body.scrolled .stickyBar::after {
   content: '';  
   position: absolute;
   bottom: 0;
   background-color: #242424;
   height: 2px;
   width: 100%;
   clip-path: inset(0 0 0 0);
   transition: clip-path 2s ease;
}

.sectionTitle {
   position: relative;
   display: inline-block;
   color: var(--contrastColor);
   text-shadow: none;
   transition: color 1s 10s ease, text-shadow 1s 10s ease;
}

.sectionTitle.show {
   color: var(--background);
   text-shadow: 1px 1px 0px var(--contrastColor);
   transition: color 1s ease, text-shadow .5s 1s ease;

}

.sectionTitle::before {
   content: '';
   position: absolute;
   left: -400%;
   right: 200%;
   height: 100%;
   transform: scaleY(1.3);
   transition: right 1s 10s ease;
   color: var(--background);
   background-color: #ff6e00;
   border-radius: 10px;
   z-index: -2;
}

.sectionTitle.show::before {
   transition: right 1s ease;
   right: -5%;
}

.hero {
   top: 0;
   height: 100vh;
   width: 100vw;
   display: flex;
   flex-direction: column;
   align-items: center;
   color: #000000; 
   flex-grow: 1;
   overflow-x: hidden;
   
}

.hero h1 {
   font-weight: 800;
}

.pictureElement {
   height: auto;
   width: 100%;
   max-width: min(768px, 100vw);
}

#heroPic {
   margin: 20vh 2vw 0 2vw;
   object-fit: contain;
}

#animated-strip {
   display: flex;
   position: relative;
   width: 100%;
   max-width: 512px;
   overflow: hidden;
   height: 96px;
}

@media (max-height: 863px) {
   #animated-strip {
      display: none;
   }
}

.strip-container {
   display: flex;
   top: 0;
   left: 0;
   animation: 
   moveSquaresOpacity 1.6s,
   moveSquares 2.4s cubic-bezier(.05,.89,.93, .98), 
   moveSquares 18s linear 2.4s infinite;
}

.square {
   width: 80px;
   height: 80px;
   border-radius: 50%;
   border-color: #242424;
   border: solid 1px;
   margin: 8px;
   background-size: cover;
   background-image: url(/img/webp/akaiKnobsSide.webp);
}

.square:nth-child(1) {
   background-color: #801db9;
   background-image: url(/img/webp/compositionSheets.webp);
}

.square:nth-child(2) {
   background-color: #259c25;
   background-image: url(/img/webp/jblSpeaker.webp);
}

.square:nth-child(3) {
   background-color: #6ee9e9;
   background-image: url(/img/webp/cutePianoPointing.webp);
}
.square:nth-child(4) {
   background-color: #b97b1d;
   background-image: url(/img/webp/pianoKeysSide.webp);
}
.square:nth-child(5) {
   background-color: #e646e6;
   background-image: url(/img/webp/sanshinUp.webp);
   
}
.square:nth-child(6) {
   background-color: #ebd93e;
   background-image: url(/img/webp/sheetMusicStand.webp);
}
.square:nth-child(7) {
   background-color: #c21f1f;
   background-image: url(/img/webp/violinAndViolaWall-1.webp);
}
.square:nth-child(8) {
   background-image: url(/img/webp/DuetWZ.webp);
}
.square:nth-child(9) {
   background-image: url(/img/webp/ocarinaShisa.webp);
}
.square:nth-child(10) {
   background-image: url(/img/webp/akaiKnobsSide.webp);
}

.elementContainer {
   display: flex;
   flex-direction: column;
   height: auto;
   width: auto;
   margin-bottom: 4rem;
   box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.profPic {
   flex-shrink: 0;
	height: calc(150px + 6vw);
	width: calc(150px + 6vw);
	border: calc(8px + 0.2vw) solid transparent;
   border-radius: 30px;
	background-origin: border-box;
	background-clip: content-box, border-box;
   background-image: var(--img), var(--grad);
	background-size: cover;
	box-sizing: border-box;
}

.profileContainer {
   display: flex;
   flex-direction: row;
   border: var(--contrastColor) 2px solid;
   border-radius: 8px;
   margin: 4px;
   background-color: #242424;
}

.profile {
   display: flex;
   flex-direction: row;
   gap: 8px;
   align-self: center;
   margin: 8px;
   max-width: 500px;
}

.profileSection {
   width: auto;
}

#funFacts p {
   font-size: small;
   margin: .2rem;
}


#pLength::before, #pInspiration::before, #pGenre::before, #pAbout::before {
   font-size: xx-small;
   font-family: "Lucida Console", Courier, monospace;
   border: 2px solid var(--color3);
   border-radius: 2px;
   margin: 4px;
   background-color: #b566e2;
   padding: 2px;
}

#pLength::before {
   content: "Length Playing";
}

#pInspiration::before {
   content: "Inspiration"
}

#pGenre::before {
   content: "Specialization"  
}


.tyContainer {
   display: flex;
   position: relative;
   justify-content: center;
   height: auto;
   width: 100vw;
   margin: 4rem 0;
   overflow-x: clip;
}


.tyContainer img {
   max-width: 300px;
   max-height: 300px;
}

[id^='tyimg'] {
   position: absolute;
}
#tyimg1 {
   position:relative;
   transform: translate(-150px, -10px);
}
#tyimg2 {
   transform: translate(-30px, 0px);
}
#tyimg3 {
   transform: translate(120px, -28px);
}
#tyimg4 {
   transform: translate(-30px, -60px);
   z-index: 1;
}
#tyimg5 {
   transform: translate(120px,110px);
   max-width: 200px;
}
#tyimg6 {
   transform: translate(-50px, 180px)
}


.scheduleContainer {
   display: flex;
   flex-direction: column;
   align-items: center;
   justify-content: center;
   background: var(--contrastColor);
   color: var(--background);
   height: 400px;

}

.scheduleContainer h6 {
   font-size: 1.4em;
   margin: 3rem;
   text-align: center;
}

.introExplanation h1 {
   line-height: 1;
   margin: 1rem;
   margin-top: 2rem;
}

.thoughts {
   display: flex;
   font-size: .74rem;
   width: min(400px, 40vw);
   justify-content: right;
}

.logoCR {
   position: fixed;
   display: flex;
   height: 20vh;
   max-height: 300px;
   transform-origin: center top;
   transition: height 1s ease;
}
body.scrolled .logoCR {
   position: fixed;
   display: flex;
   transform-origin: center top;
   height: 48px;
   transition: height .15s ease;
   z-index: 11;
}

.logoElement {
   display: flex;
   justify-content: center;
   width: 100vw;
   padding: 10px;
}

.attentionGrabber {
   display: flex;
   flex-direction: column;
   justify-content: center;
   max-height: 600px;
   max-width: 512px;
   gap: 1rem;
   padding: 1rem;
}

.buttonContainer {
   display: flex;
   flex-wrap: wrap;
   width: 100vw;
   max-width: 500px;
   justify-content: space-evenly;
   align-content: center;
   padding: 1rem 0;
}

#buttonStyle1 {
   margin: .5rem 0 0 0;
   height: fit-content;
   padding: 0.5rem;
   display: flex;
   align-content: center;
   justify-content: center;
   width: 11rem;
   min-width: auto;
}

.contactButtonmain {
  border: none;
  outline: none;
  color: rgb(255, 255, 255);
  background: #111;
  cursor: pointer;
  position: relative;
  z-index: 0;
  height: fit-content;
  border-radius: 10px;
  user-select: none;
  touch-action: manipulation;
}

.contactButtonmain:before {
  content: "";
  background: linear-gradient(
    45deg,
    var(--color1),
    var(--color5)
  );
  position: absolute;
  top: -2px;
  left: -2px;
  background-size: 100%;
  z-index: -1;
  width: calc(100% + 4px);
  height: calc(100% + 4px);
  border-radius: 10px;
}

.contactButtonmain:after {
  z-index: -1;
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: var(--contrastColor);
  left: 0;
  top: 0;
  border-radius: 10px;
}

.courseButton {
  border: none;
  outline: none;
  color: rgb(0, 0, 0);
  background: var(--background);
  cursor: pointer;
  position: relative;
  z-index: 0;
  height: fit-content;
  border-radius: 10px;
  user-select: none;
  touch-action: manipulation;
}

.courseButton span {
   color: black;
}

.courseButton:before {
   content: "";
   background: var(--contrastColor);
   position: absolute;
   top: -2px;
   left: -2px;
   background-size: 100%;
   z-index: -1;
   width: calc(100% + 4px);
   height: calc(100% + 4px);
   border-radius: 10px;
 }

 .courseButton:after {
   z-index: -1;
   content: "";
   position: absolute;
   width: 100%;
   height: 100%;
   background: var(--background);
   left: 0;
   top: 0;
   border-radius: 10px;
 }

.textElement {
   padding: 1rem;
}

.textElement h1, p {
   margin: 1rem 0;
}
.textElement a {
   color: rgb(140, 140, 194);
}

.scrollDownAnimation {
   display: flex;
   align-items: center;
   justify-content: center;
   position: absolute;
   bottom: 8px;
   height: 30px;
   width: 30px;
   animation: bounce 2s infinite;
   transition: opacity .3s ease;
}

body.scrolled .scrollDownAnimation {
  opacity: 0;
  pointer-events: none;
}

.contact {
   position: relative;
   flex-basis: 40%;
   height: 30vh;
   align-content: center;
}

.cycleGraphicElement {
   display: flex;
   flex-wrap: wrap;
   align-items: center;
   justify-content: center;
   height: 40vh;
   max-height: 400px;
   max-width: 400px;
   aspect-ratio: 1 / 1;
   margin-bottom: 100px;
}

.arrowContainer, .circleContainer {
   position: absolute;
   display: flex;
   flex-wrap: wrap;
   justify-content: center;
   align-items: center;
   height: inherit;
   width: inherit;
   aspect-ratio: 1 / 1;
}
.arrowContainer {
   transform: scale(.6);
   z-index: -1;
}
#arrow {
   animation: arrowScale 3s ease-in-out infinite;
   animation-direction: alternate;
}

#arrow:nth-child(1) {
   flex-basis: 50%;
   transform-origin: center;
}
#arrow:nth-child(2) {
   flex-basis: 50%;
   transform-origin: center;
   animation-delay: 1s;
}
#arrow:nth-child(3)  {
   flex-basis: 100%;
   transform-origin: center;
   animation-delay: 2s;
}

.arrowContainer svg {
   transform: translateY(80px) scale(.80);
   height: 100px;
}

@keyframes arrowScale {
   0% {transform: translateY(80px) scale(.80);}
   60% {transform: translateY(80px) scale(.85);}
   100% {transform: translateY(80px) scale(1);}
}

.backgroundElement {
   position: absolute;
   height: inherit;
   width: inherit;
   background-color: var(--background);
   opacity: 100%;
}

#circle {
   height: 100px;
   width: 100px;
   border-radius: 50%;
   border:  1px solid black;
}
#circleContainer {
   display: flex;
   justify-content: center;
   align-items: center;
}

/*styles for blurb objects*/
#blurb {
   position: absolute;
   font-size: xx-small;
   border-width: 1px;
   background-color: var(--layer1);
   z-index: -1;
}
#blurb h1 {
   font-size: xx-small;
   margin: .25rem .25rem 0 .25rem;
}
#blurb span {
   margin: 0 .25rem .25rem .25rem;
}

/*Blurbs next to the circles with text inside*/
.circleTopBlurb, .circleLeftBlurb, .circleRightBlurb {
   display: flex;
   flex-direction: column;
   opacity: 0;
   clip-path: inset(0 100% 0 0);
   transform: translateY(100px);
   transition: opacity 1s ease-in-out, transform 1.3s cubic-bezier( 0.11, 0.71, 0.34, 0.95), clip-path 1s ease-in-out;
   z-index: 1000;
}


/*Class added by JS to remove clip-path, revealing the element*/
.circleTopBlurb.show, .circleRightBlurb.show, .circleLeftBlurb.show, .circleTop.show::after, .circleRight.show::after, .circleLeft.show::after {
   transition-duration: 1s;
   opacity: 1;
   clip-path: inset(0 0 0 0);
}

.circleTop.show::after, .circleRight.show::after, .circleLeft.show::after {
   transition-delay: 1s;
}

/*Quick transition back to initial state. Used by JS*/
.circleTopBlurb.remove, .circleRightBlurb.remove, .circleLeftBlurb.remove, .circleTopBlurb.remove::after, .circleRightBlurb.remove::after, .circleLeftBlurb.remove::after, .circleTop.remove::after, .circleRight.remove::after, .circleLeft.remove::after {
   transition-delay: 0s;
   transition-duration: .1s;
   opacity: 0;
   clip-path: inset(0 100% 0 0);
}


/*blurbs move to their correct places*/
.circleTopBlurb.show {
   transform: translate(-109px, 10px);
   z-index: 10;
}
.circleRightBlurb.show {
   transform: translate(40px, -100px);
}
.circleLeftBlurb.show {
   transform: translate(50px, 100px);
}


/*class that initially hides the element gets removed with JS when entering viewport*/
.hidden {
   opacity: 0;
   transform: translateY(100px);
   clip-path: inset(0 100% 0 0);
}


/*the thing that holds and positions the circle bubbles*/
.topCircleContainer {
   display: flex;
   flex-basis: 100%;
   justify-content: center;
}
.leftCircleContainer {
   display: flex;
   flex-basis: 50%;
   justify-content: center;
}
.rightCircleContainer {
   display: flex;
   flex-basis: 50%;
   justify-content: center;
}

/*circle bubble with graphics inside*/
.circleTop /*top*/{
   background: url(../img/teacherAndStudent.webp);
   background-size: 150%;
   background-position: 70% center;
}
.circleLeft /*left*/{
   background: url(../img/threeChildrenMusic.webp);
   background-size: 160%;
   background-position:  34% center;
}
.circleRight /*right*/ {
   background: url(../img/young-child-practicing-piano-alone--simple-design-.webp);
   background-size: 170%;
   background-position: 65% 55%;
}


/*STICK ELEMENTS. These are the elements attached to the circles that connect them to the blurbs*/
.circleTop::after, .circleRight::after, .circleLeft::after {
   content: '';
   position: absolute;
   z-index: -1;
   height: 0;
   opacity: 0;
   border: solid 1px black;
   border-style: none none solid none;
   clip-path: inset(0 100% 0 0);
   transition: clip-path 1s ease, opacity 1s ease;
}
/*stick elements that point to blurbs*/
.circleTop::after /*top*/ {  
   width: 50px;
   transform: translate(-10px, 50px) rotate(10deg);
}
.circleLeft::after /*left*/ {  
   width: 140px;
   transform: translate(20px, 70px) rotate(60deg);

}
.circleRight::after /*right*/ {  
   width: 30px;
   transform: translate(50px, -10px) rotate(-70deg);
}


/*blurb elements that contain informational text about the bubbles*/
.circleTopBlurb {
   height: 5rem;
   width: 100px;
   border-style: none none solid solid;
}
.circleLeftBlurb {
   width: 150px;
   border-style: none none solid solid;
   transition-delay: .5s;
}
.circleRightBlurb {
   width: 90px;
   border-style: none solid solid none;
   transition-delay: .24s;
}

.cycleGraphicTextContainer {
   position: relative;
   display: flex;
   height: 45%;
   width: 90%;
   bottom: 0;
   align-items: center;
}

.cycleGraphicText {
   display: flex;
   flex-direction: column;
}

.cycleGraphicText h1 {
   margin: 1rem 0;
}

.listContainer {
   display: flex;
   flex-direction: column;
   justify-content: center;
   align-items: center;
   margin: 1rem 0;
}

#promises {
   position: relative;
   display: flex;
   flex-direction: column;
   justify-content: center;
   align-items: center;
   width: 80vw;
   padding: 1rem;
   min-width: 240px;
   max-width: 360px;
}

#promises::after {
   content: '';
   position: absolute;
   border-style: solid none solid none;
   border-color: #242424;
   border-width: 4px;
   height: 100%;
   width: 50%;
}

#promises li {
   display: flex;
   align-items: center;
   position: relative;
   padding: 1rem;
   margin: 1rem;
   width: inherit;
   max-width: inherit;
   min-width: inherit;
   font-style: italic;
   font-weight: 600;
   font-size: x-large;
   font-family: 'Red Hat Display';
   background: #46563f;
   color: white;
   border: solid #4a5e41 12px;
   border-radius: 0px 0px 30px 0px; 
   counter-increment: item;
   list-style-type: none;
   text-shadow: 0px 2px 0px black;
   box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19),
   inset 0 1px 1px 1px black;
}

#promises li::before {
   content: counter(item);
   position: absolute;
   left: -3.5rem;
   width: 3rem;
   height: 6rem;
   display: flex;
   align-items: center;
   justify-content: center;
   background-color: rgb(137, 127, 111);
   text-shadow: 1px 1px 0px var(--contrastColor);
   color: white;
   font-weight: bolder;
   border-radius: 7%;
   font-size: 2.5rem;
}

.courseOptionsButton h2 {
   font-weight: 300;
   font-size: 1em;
}

.courseOptionsButton span {
   position: absolute; 
   height: 100%;
   width:auto;
   top:0;
   left: 0;
   border-radius: 10% / 90%;
   z-index: 1;
}

.titleContainer {
   display: flex;
   flex-direction: column;
   height: fit-content;
   position: relative;
   z-index: 0;
   
   overflow-x: clip;
}

.titleContainer img {
   transform: translateY(-6em);
}

.title {
   display: flex;
   flex-direction: column;
   position: relative;
   z-index: -2;
   background-color: var(--contrastColor);
   height: 12em;
   width: 100vw;
   color: rgb(255, 255, 255);
}

.title h2 {
   position: relative;
   width: 100vw;
   padding: 12px 4px;
   font-weight: 600;
}
.cardContainer {
   position: relative;

   top: -4em;
   align-self: center;
   background-color: var(--background);
   color: #000000;
   height: fit-content;
   width: min(600px, 80%);
}
.cardContainer p {
   position: relative;
   z-index: 5;
   justify-self: center;
   line-height: 1.5;
   margin-bottom: 30px;
   height: auto;
   background-color: var(--backgroundAccent);
   padding: 1rem;
   box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
   
}
.card {
   position: relative;
   z-index: 5;
}

.SVGElement {
   position: absolute;
   z-index: -1;
   top: -15rem;
   transform: scale(.5);
}
.spacer {
   height: 500px; /* Space to make scrolling visible */
}
 

 
/*footer css*/
#footer-placeholder {
   position: relative;
   width: auto;
   overflow: clip;
}

.site-footer {
   height: 60vh;
   background-color: #333;
   color: white;
   padding: 20px;
   display: flex;
   justify-content: space-around;
   flex-wrap: wrap;
}

.footer-content {
   display: flex;
   flex-direction: column;
   justify-content: space-between;
   width: 100%;
   max-width: 900px;
   margin: auto;
}

.contact-info {
   z-index: 2;
}

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

.footer-nav li {
   padding: 1rem 0;
}

.footer-nav a {
   color: white;
   text-decoration: none;
}

.social {
   position: absolute;
   bottom: 4rem;
   left: 0;
   z-index: 2;
   padding-left: 20px;
}

.social-icon {
   width: 30px;
   height: 30px;
}
#footerLinks {
   padding-bottom: 30px;
   z-index: 2;
}

#footerNav {
   display: flex;
   flex-direction: column;
   z-index: 2;

}
#footerTerms {
   position: absolute;
   font-size: xx-small;
   bottom: 0;
   right: 0;
   padding: 10px;
   
}

#footerTerms li {
   display: inline;
   margin: 0 0 0 10px;
}

.gifContainer {
   display: flex;
   position: absolute;
   align-self: center;
   z-index: 1;
}

.copyright p {
   position: absolute;
   bottom: 2rem;
   font-size: xx-small;
}

.copyright {
   display: flex;
   align-items: center;
   justify-content: center;
}


 /* Keyframes to animate the movement */
@keyframes moveSquares {
   0% {
      transform: translateX(0);
   }
    100% {
      transform: translateX(-100%);
   }
}

@keyframes moveSquaresOpacity {
   0% {
      opacity: 0%;
   }
   100% {
      opacity: 100%;
   }
}

@keyframes fadeInBot {
   from {
      opacity: 0;
      transform: translateY(20%);
   }
   to {opacity: 1}
}

@keyframes bounce {
   0% {
      transform: translate(0%);
   }
   90% {
      transform: translateY(-15%);
   }
}






/*Course Info CSS*/





@keyframes fromLeft {
   0% {
      transform: translateX(-10%);
      opacity: 0%;
   }
   100% {
      transform: translateX(0);
      opacity: 100%;
   }
}

@keyframes fromRight {
   0% {
      transform: translateX(30%);
      opacity: 0%;
   }
   100% {
      transform: translateX(0);
      opacity: 100%;
   }
}

.pageContainer {
   display: flex;
   flex-direction: column;
   margin: 10% 5%;
   max-width: 512px;
}

.courseOptionsContainer {
   display: flex;
   justify-self: center;
   margin: 1rem;
   max-width: 512px;
}
.courseOptions {
   display: flex;
   flex-wrap: wrap;
   justify-content: center;
   gap: 8px;
   margin: 1rem;
}

.courseOptionsButton {
   display: flex;
   position: relative;
   height: 8em;
   border: solid .2rem black;
   width: max(40vw, 200px);
   max-width: 40vw;
   font-family: 'Red Hat Display';
   overflow: hidden;

}

.courseOptionsButton h2 {
   font-weight: 500;
   font-size: 1.1em;
   margin-bottom: 0;
   padding: .5rem 0 0 .5rem;
}

.courseOptions a {
   position: absolute;
   height: 100%;
   width: 100%;
   z-index: 2;
}

#pianoButton::before {
   content: '';
   position: absolute;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   background: url(/img/black-and-white-chord-classic-164935.jpg) no-repeat;
   background-size: cover;
   background-position: center;
   clip-path: polygon(70% 0, 100% 0%, 100% 100%, 30% 100%);
   filter: opacity(80%) contrast(170%);
   z-index: -1;
}

#compositionButton::before {
   content: '';
   position: absolute;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   background: url(/img/compose.jpg) no-repeat;
   background-size: cover;
   background-position: center;
   clip-path: polygon(70% 0, 100% 0%, 100% 100%, 30% 100%);
   filter: opacity(80%) contrast(170%); 
   z-index: -1;
}

#sanshinButton::before {
   content: '';
   position: absolute;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   background: url(/img/sanshinSmaller.jpg) no-repeat;
   background-size: cover;
   background-position: bottom 0rem left 2rem;
   clip-path: polygon(70% 0, 100% 0%, 100% 100%, 30% 100%);
   filter: opacity(80%) contrast(170%);
   z-index: -1;
}

#voiceButton::before {
   content: '';
   position: absolute;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   background: url(/img/luciano\ pavarotti.jpg) no-repeat;
   background-size: cover;
   background-position: bottom 0rem left 2rem;
   clip-path: polygon(70% 0, 100% 0%, 100% 100%, 30% 100%);
   filter: opacity(80%) contrast(170%);
   z-index: -1;
}

#digitalButton::before {
   content: '';
   position: absolute;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   background: url(/img/daw.jpg) no-repeat;
   background-size: cover;
   background-position: bottom 0rem left 2rem;
   clip-path: polygon(70% 0, 100% 0%, 100% 100%, 30% 100%);
   filter: opacity(50%) contrast(110%);
   z-index: -1;
}

#groupButton::before {
   content: '';
   position: absolute;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   background: url(/img/oldmenJamming.jpg) no-repeat;
   background-size: cover;
   background-position: left 20px bottom 0;
   clip-path: polygon(70% 0, 100% 0%, 100% 100%, 30% 100%);
   filter: opacity(80%) contrast(140%);
   z-index: -1;
}

.informationContainer {
   display: flex;
   flex-direction: column;
   align-items: center;
   margin: 1rem;
}

.information {
   margin: 1rem;
   max-width: 512px;
}

.courseContainer {
   display: flex;
   flex-direction: column;
   align-items: center;
   margin: 1rem;
   padding: 1rem;
   line-height: 1.5;

}

.courseContainer p {
   margin-bottom: 2rem;
}

.basicCourse {
   border: black;
   border-width: 2px;
   border-style: solid;
   border-radius: 25px;
   height: auto;
   width: auto;
   max-width: 512px;
   padding: 1rem;
   box-shadow: 0px 21px 13px -11px rgba(0,0,0,0.72);
}

.basicCourse h2 {
   font-size: 1rem;
   font-weight: 600;
   margin-top: 1rem;
}

.toggleContainer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1em;
  margin: 1em 0;
  font-size: larger;
}

.toggleLabel {
  cursor: pointer;
  font-weight: bold;
  padding: 0.5em 1em;
  transition: color 0.3s, background-color 0.3s;
}

.toggleLabel.active {
  color: white;
  background-color: #1a5bf4;
  border-radius: 5px;
}

.toggleLabel.inactive {
  color: #666;
  border-radius: 5px;
}

#mainForm {
   position: relative;
   width: 100%;
   max-width: 500px;
}

.formWrapper {
  position: relative;
  width: 100%;
  max-width: 500px;
  height: auto;
}

.formContainer {
  position: relative;
  width: 100%;
  opacity: 0;
  overflow: hidden;
  display: none;
  transform: translateX(15px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease, height 1s ease;
}

.activeForm {
  opacity: 1;
  display: block;
  transform: translateX(0);
  pointer-events: auto;
}

#trialForm {
   transform: translateX(15px);
}

#trialForm.activeForm, #contactForm.activeForm  {
   transform: translateX(0%);
}

#contactForm {
  transform: translateX(-15px); /* off-screen left */
}

form {
   border-radius: 10px; /* Rounded corners */
   margin-top: 2.5rem;
   padding: 0rem 1rem;
   max-width: 512px;
}

label {
  display: block;
  margin-bottom: 0.5rem; /* Space below labels */
  font-weight: 600; /* Bold labels */
  max-width: 512px;
}

input[type="text"],
input[type="email"],
input[type="date"] {
   width: 100%; /* Full width inputs */
   padding: 0.5rem; /* Inner padding */
   margin-bottom: 1rem; /* Space below inputs */
   background-color: var(--background);
   border: 1px solid #ccc; /* Border color */
   border-radius: 5px; /* Rounded input corners */
   font-size: 1em; /* Font size */
   transition: border 0.3s; /* Transition effect for border */
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="date"]:focus {
   border-color: #4A90E2; /* Change border color on focus */
   outline: none; /* Remove default outline */

}

select {
  width: 100%; /* Make it full width */
  padding: 0.5em; /* Add padding */
  border: 1px solid #ccc; /* Border similar to text inputs */
  border-radius: 4px; /* Rounded corners */
  background-color: var(--background);
  font-size: 1em; /* Font size */
  cursor: pointer; /* Pointer on hover */
  margin-bottom: 1rem;
}

select:focus {
  outline: none; /* Remove default focus outline */
  border-color: #007BFF; /* Change border color on focus */
}

.radioGroup {
  display: flex;
  align-items: center;
}

.radioGroup input[type="radio"] {
  margin-right: 1rem;
  font-weight: lighter;
}

button {
  width: 100%; /* Full width button */
  padding: 0.75rem; /* Inner padding */
  background-color: #4A90E2; /* Button background color */
  color: #ffffff; /* Button text color */
  border: none; /* Remove default border */
  border-radius: 5px; /* Rounded button corners */
  font-size: 1em; /* Font size */
  cursor: pointer; /* Pointer cursor on hover */
  transition: background-color 0.3s; /* Transition for background color */
}

button:hover {
  background-color: #357ABD; /* Darker blue on hover */
}

button:active {
  background-color: #2A5C8E; /* Even darker blue on click */
}

textarea {
  width: 100%;
  resize: none;



  padding: 0.5em;
  border: 1px solid #ccc;
  border-radius: 4px;
  background-color: var(--background);
  font-size: 1em;
  margin-bottom: 1rem;
}





/*group CSS*/
.bold {
   font-weight: 600;
}

.courseContainer {
   display: flex;
   flex-direction: column;
   align-items: center;
   margin: 1rem;
   padding: 1rem;
   line-height: 1.5;
}

.informationContainer {
   display: flex;
   flex-direction: column;
   align-items: center;
   margin: 1rem;
   padding: 1rem;
}

.information {
   display: flex;
   flex-direction: column;
   width: 100%;
   max-width: 512px;
}

.smallList {
   font-size: small;
   font-style: italic;
   padding-left: 1rem;
   font-weight: 200;
   list-style-type: none;
   margin-bottom: 2rem;
}

.smallList li::before {
   content: '– ';
}



.basicCourse p {
   margin: 2rem 0;
}

#mediumCourseBorderColor {
   background: var(--contrastColor);
   color: var(--background);
   border-style: none;
}

#basicCourseBorderColor {
   border-image: linear-gradient(135deg, var(--color4), var(--color2)) 1;
}

#advancedCourseBorderColor {
   border-image: linear-gradient(135deg, var(--color1), var(--red) ) 1;
}

.courseBox {
   border-width: 6px;
   border-style: solid;
   height: auto;
   width: auto;
   max-width: 512px;
   padding: 1rem;
   margin: 1rem 0;
   box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
   
}

.price {
   display: flex;
   justify-content: right;
   align-items: baseline;
   height: 4rem;
   width: auto;
}

.price p {
   font-weight: lighter;
   margin-right: .5rem;
}

.contactButton {
   display: flex;
   align-items: center;
   text-align: center;
   position: absolute;
   max-width: 400px;
   font-weight: 300;
   padding: .25em;
   z-index: 2;
}
.contactButton::before {
   content: "";
   background: linear-gradient(
     45deg,
     var(--color1),
     var(--color5)
   );
   position: absolute;
   top: -2px;
   left: -2px;
   background-size: 100%;
   z-index: -1;
   width: calc(100% + 4px);
   height: calc(100% + 4px);
   border-radius: 10px;
 }
.contactButton::after {
   z-index: -1;
   content: "";
   position: absolute;
   width: 100%;
   height: 100%;
   background: var(--contrastColor);
   left: 0;
   top: 0;
   border-radius: 10px;
 }
#cbPurpleYellow::before {
   background: linear-gradient(135deg, var(--color3), var(--color1) );
}


.contactButton span {
   position:absolute; 
   width:100%;
   top:0;
   left: 0;
   border-radius: 10% / 90%;
   z-index: 1;
   box-shadow: 0 8px 5px -8px #000000;
}

.freeTrialButton {
   display: flex;
   justify-content: center;
   align-items: center;
   text-align: center;
   position: absolute;
   height: 8em;
   width: 22em;
   max-width: 400px;
   background: linear-gradient(135deg, var(--color2), var(--color4) );
   font-size: .4em;
   font-weight: 300;
   padding: .25em;
}

.freeTrialButton h1 {
   font-family: 'Red Hat Display';
}

.freeTrialButton p {
   margin: 0;
}

.freeTrialButton span {
   position:absolute; 
   width:100%;
   top:0;
   left: 0;
   border-radius: 10% / 90%;
   z-index: 1;
   box-shadow: 0 8px 5px -8px #000000;
}

#mediumCourseBorderColor > .freeTrialButton {
   background: linear-gradient(135deg, var(--color3), var(--color1) );
}

#advancedCourseBorderColor > .freeTrialButton {
   background: linear-gradient(135deg,  var(--red), var(--color1) );
}

.courseContainer h3 {
   font-size: 17px;
}

#contactButtonMedium {
   background: linear-gradient(135deg, var(--color1), var(--color2) );
}

.tabs {
   display: flex;
   flex-direction: column;
   position: relative;
   clear: both;
   margin: 50px;
   max-width: 512px;
   overflow: hidden;
 }
 .tab {
   float: left;
   position: relative;
   margin-bottom: 2rem;
 }
 .tab label {
   background: white;
   padding: 10px 30px 10px 0;
   margin-bottom: 0;
   cursor: pointer;
   text-align: left;
   display: block;
   position: relative;
   border-bottom: groove;
   font-weight: 300;
 }
 .tab label i {
   font-style: normal;
   font-size: 10px;
   color: #aaa;
   position: absolute;
   right: 18px;
   top: 12px;
 }
 .tab [type="radio"] {
   position: absolute;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   opacity: 0;
   margin: 0;
   z-index: 1;
 }
 .content {
   position: relative;
   top: 100%;
   left: 0;
   opacity: 0;
   background: #ffffff;
   padding: 0 20px 0 0;
   height: 0;
   transition: height .5s, padding .5s, opacity .4s;
   border-left: groove;
 }
 .content ul {
   margin: 0;
   padding: 0;
   list-style: none;
 }
 .content a {
   color: white;
   display: block;
   white-space: nowrap;
   text-decoration: none;
   border-bottom: 1px solid #999;
   padding: 5px;
 }
 [type="radio"]:checked ~ label {
   z-index: 2;
 }
 [type="radio"]:checked ~ label ~ .content {
   z-index: 1;
   opacity: 1;
   height: 200px;
   padding: 20px 0 0 20px;
 }
 
 .close-tab {
   position: absolute;
   z-index: -1;
   top: 0;
   left: 0;
   width: 100%;
   height: 0;
 }
 .close-tab label {
   background: #ffffff;
   color: var(--contrastColor);
 }
 [type="radio"]:checked ~ label ~ .close-tab {
   z-index: 3;
 }

 .confirmationMessage {
  background-color: #e0f7e9;
  border: 1px solid #2ecc71;
  padding: 15px;
  margin: 20px auto;
  width: 90%;
  max-width: 600px;
  border-radius: 5px;
  color: #2d8659;
  font-weight: bold;
  text-align: center;
}


#orangeLine {
   stroke-dasharray: 900;
   stroke-dashoffset: 900;
   animation: drawLine 3.4s .3s forwards;
}

@keyframes drawLine {
   0% {stroke-dashoffset: 900;}
   30% {stroke-dashoffset: 800;}
   100% {stroke-dashoffset: 330;}
}

[id^='volume'] {
   transform-origin: bottom;
   transform-box: fill-box;
}

#volume1 {
   animation: volumeUp 2s forwards;
}

#volume2 {
   animation: volumeUp2 2.3s forwards;
}
#volume3 {
   animation: volumeUp3 2s forwards;
}
#volume4 {
   animation: volumeUp4 1.6s forwards;
}
#volume5 {
   animation: volumeUp5 1.7s forwards;
}


@keyframes volumeUp {
   0% {transform: scaleY(0)}
   24% {transform: scaleY(.1);}
   34% {transform: scaleY(.6);}
   46% {transform: scaleY(.7);}
   50% {transform: scaleY(.65);}
   70% {transform: scaleY(.9);}
   80% {transform: scaleY(.9);}
   100% {transform: scaleY(1);}
}

@keyframes volumeUp2 {
   0% {transform: scaleY(0)}
   29% {transform: scaleY(.5);}
   34% {transform: scaleY(.6);}
   40% {transform: scaleY(.8);}
   50% {transform: scaleY(.7);}
   58% {transform: scaleY(.8);}
   100% {transform: scaleY(1);}
}

@keyframes volumeUp3 {
   0% {transform: scaleY(0)}
   34% {transform: scaleY(.6);}
   40% {transform: scaleY(.9);}
   50% {transform: scaleY(.55);}
   100% {transform: scaleY(1);}
}

@keyframes volumeUp4 {
   0% {transform: scaleY(0)}
   20% {transform: scaleY(.7);}
   40% {transform: scaleY(.8);}
   50% {transform: scaleY(.76);}
   100% {transform: scaleY(1);}
}
@keyframes volumeUp5 {
   0% {transform: scaleY(0)}
   20% {transform: scaleY(.3);}
   100% {transform: scaleY(1);}
}

#logoCrescendo {
   opacity: 0;
   animation: fadeIn 1s .7s forwards;
}
@keyframes fadeIn {
   0% {opacity: 0; transform: translateX(40px);}
   100% {opacity: 1; transform: translateX(0);}
}
#logoMusicStudio {
   opacity: 0;
   animation: fadeInUp 1s 1.6s forwards;
}
@keyframes fadeInUp {
   from {opacity: 0; transform: translateY(40px);}
   to {opacity: 1; transform: translateY(0);}
}

@media (min-width: 768px) {
   .flexrow {
      display: flex;
      flex-direction: row;
      width: 100%;
      align-items: flex-start;
      justify-content: center;
   }
   .hero {
      width: 100%;
      flex-direction: row;
      flex-wrap: wrap;
      align-content: baseline;
      justify-content: center;
   }

   .hero > .flexrow {
      margin-top: 30vh;
      align-items: start;
   }

   .hero > .flexrow:nth-child(3) {
      margin-top: 2vh;
   }

   #heroPic {
      margin-top: 0;
   }

   .logoCR {
      top: 0;
   }

   .logoElement {
      align-items: center;
      justify-content: center;
   }

   .textElement {
      max-width: 40vw;
   }

   .elementContainer {
      position: relative;
   }

   #animated-strip {
      border: 8px #ff6e00;
      border-style: none solid none solid;
   }

   .pictureElement {
      border: 2px solid #242424;
      border-radius: 16px;
   }

   .listContainer {
      margin: 0 60px;
   }

   #philosophy {
      overflow-x: hidden;
   }

   #philosophy .sectionTitle::before {
      left: 200%;
      right: -200%;
      transition: left 1s 10s ease;
      
   }

   #philosophy .sectionTitle.show::before {
      left: -5%;
      transition: left 1s ease;
   }

   .textElement p {
      border: 2px solid #242424;
      border-radius: 16px;
      border-style: none none solid solid;
      padding: 10px;
      box-shadow: -7px 8px 12px -5px rgba(0,0,0,0.3);
      background: linear-gradient(to bottom left,rgba(235, 255, 119, 0.283) 0%,rgba(7, 152, 38, 0.1) 100%);
   }

   #rowReverse {
      flex-direction: row-reverse;
   }

   #sticky {
      position: sticky;
      top: 100px;
   }
   #cuteImg {
      max-width: 50vw;
   }
}