@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Raleway:ital,wght@0,100..900;1,100..900&display=swap');

body{
    margin: 0 0;
    background-color: rgba(26, 25, 25,0.90);
    font-family: Raleway, sans-serif;
    position: relative;
}

/* css for logo */
#pLogo{
    color: lightcoral;
    font-size: 2rem;
    position: relative;
    margin-top: 0.6rem;
    font-weight: 500;
}

#logo{
    position: absolute;
    margin-top: -2rem;
    font-size: small;
    left: 65px;
    color: lightcoral;
}

#description{
    margin-top: 150px;
    width:19%;
    font-size: medium;
    display: flex;
    justify-content: space-between;
}

#description img{
    height: 500px;
    position: absolute;
    top: 0px;
    right: 40px;
    opacity: 0.2;
}

h1{
    font-size: 25px;
    font-weight:500;
    margin-bottom: 10px;
    margin-left: 20px;
    margin-top: 30px;
    margin-bottom: 3%;


}

#under{
    margin-top: 200px;
}

/* whole page */
#mainWindow{
    background-color: #ffffff;
    margin: 10px 10px;
    padding: 2%;
    height: 100%;
    z-index: 0;
}

#navbar{
    display: flex;
}

/*This os for the Overall hr lines*/
hr{
    height: 2px;           /* Adjusts thickness */
    width: 78%;            /* Sets width as a percentage of the container */
    background-color: #333; /* Sets color */
    border: none;          /* Removes default border */
}

/* this line is specific for the hr in the logo section */
nav hr{
    margin-top: -3rem;
    margin-left: 15rem;
    height: 2px;           /* Adjusts thickness */
    width: 80%;            /* Sets width as a percentage of the container */
    background-color: #333; /* Sets color */
    border: none;          /* Removes default border */
    opacity: 0.8;
}

.block{
    position: relative;
}



/* image of the notes */
#notes img{
    width: 4rem; /* Adjust the size as needed */
    height: auto;
    position: relative;
}

/* actual note positions */
#notes{
    width: 90%; /* Makes the container span the full width of the cord */
    display: flex;
    justify-content: space-between; /* Evenly spaces out the notes within the container */
    align-items: center;
    position: absolute; 
    top: 50%; /* Centers the notes vertically on the cord */
    transform: translateY(-50%); /* Adjusts alignment to center on the cord */
    
}

#notes img:hover{
    scale: 1.1;
}

/* move each individual notes */
#notes img:nth-child(1) {
    left: 3rem;

}



#sideContent{
    width: 19%;
    margin-left: 15%;
}

#sideContent h1{
    color: lightcoral;
    font-size: 50px;
    font-weight: bold;
    margin-top: 5px;
    
}


#sideContent h2{
    margin-top: 5px;
    width: 100%;
    font-weight: 500;
    color: lightcoral;
    margin-bottom: 50px;
}

/* image inside of sideWIndow */
#sideContent img{
    height: 350px;
    width: 250px;
    background-color: darkgray;
    margin-bottom: 30px;
}

#sideContent p{
    width: 130%;
    text-align: left;
    margin-top: 0rem;
}

/* notes ine sidebar */
#sideBar{
    margin: auto 0;
    position: relative;
    left: -9px;
    top: -1.5rem;
    display: flex;
    flex-direction: column;
    padding: 10px;
    height: 100%;
}

#sideBar div{
    display: flex;
}


/* Sidewindow that pops up when clicking on note */
#sideWindow {
    position: fixed;
    top: 0;
    right: -100%; /* hide the sideWindow */
    width: 54%;
    height: 100%;
    z-index: 1001;
    background: white;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
    transition: right 0.8s ease;
    display: flex;
    justify-content: start;
}

#sideWindow.show {
    right: 0; /*make it appear here*/
}

/*background for the sidewindow*/
#overlay{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    display: none;
}

/* Show overlay */
#overlay.show {
    display: block;
}

/* Key container */
.key-container {
    position: relative;
    width: 150px; /* Same width as white key */
    height: 35px; /* Adjust to match key heights */
    display: inline-block;
}

/* piano keys */
.white-key {
    background-color: white;
    width: 150px;
    height: 35px;
    border: 1px solid #000;
    margin-bottom: 1%;
    margin-top: 3%;
    border: 2px solid black;
    position: relative;
    z-index: 0;
    /* border-radius: 15%; */
  }
  
  .black-key {
    background-color: black;
    width: 80px;
    height: 18px;
    border: 1px solid white;
    margin-bottom: 1%;
    position: absolute;
    left: -1px; /* Center the black key over the white key */
    top: -17.5%;
    z-index: 1;
  }

  .black-key:hover{
    scale: 0.93;
    translate:-2px;
  }

  .white-key:hover{
    scale: 0.93;
    translate:-5px;
    background-color: #f2f2f2;
  }


  /* cords */
  .cord {
    position: relative;
    width: 100%;
    height: 6.1rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Evenly space the lines */
    align-items: center;
}

/* Base styling for lines */
.line {
    width: 100%;              /* Full width of the container */
    height: 2px;                /* No margin between lines */
    background-color: black;  /* Black color for the lines */
}

/* Thick lines */
.line.thick {
    height: 2px; /* Adjust thickness as needed */
}

/* Thin lines */
.line.thin {
    height: 1px; /* Adjust thickness as needed */
}

.cord hr{
    background-color: black;
    height: 2px; /* Adjust thickness as needed */
    rotate: 90deg;
    width: 6rem;
    position: absolute;
    top: 41%;
    
}

.cord hr:nth-of-type(1){
    left: 10%;
}

.cord hr:nth-of-type(2){
    left: 10.5%;
}

.cord hr:nth-of-type(3){
    left:  50%;
}

.cord hr:nth-of-type(4){
    left: 50.5%;;
}

/* css for pulsing notes */
@keyframes pulse-multiple {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.09);
    }
}

.animate__pulse-multiple {
    animation: pulse-multiple 5s ease infinite; /* Pulse 3 times in 1.5 seconds */
}
 