#canvas {
    border: 5px solid rgb(78, 102, 73);
    height: 500px; 
    width: 900px;
    margin-bottom: 2em; 
    background-color: beige; 

}

.nav-icon {
    width: 70px;
    height: 70px;
    display: block; 
    margin: 0 auto 4px auto; 
}

.head-icon {
    width: 400px;
    height: 200px;
    display:block; 
    margin: 0 auto 4px auto; 
}

.navbar {
    position: fixed;
    top:0;
    left:0;
    width:100%;
    background-color: #ecf3db; 
    display: flex; 
    justify-content: space-around;
    align-items: center;
    padding: 10px 0;
    color: white;
    z-index: 1000; 
}

.nav-item {
    text-align: center;
    cursor: pointer;
    transition:color 0.3s; 
    position: relative; 
}

.nav-item::after {
    content: "click me to watch music video"; 
    position: absolute; 
    bottom: -30px; 
    left: 50%; 
    transform: translateX(-50%);
    background-color: rgba(78,102,73,0.9); 
    color: white; 
    padding: 5px 10px; 
    border-radius: 5px; 
    font-size: 12px;
    white-space: nowrap; 
    opacity: 0; 
    pointer-events: none; 
    transition: opacity 0.3s; 
    z-index: 1001;
}

.nav-item:hover::after{
    opacity: 1; 
}

.nav-item p {
    font-size: 14px;
    margin: 0; 
}

#submit, #record, #piano-mode {
    position: relative; 
}

#submit::after{
    content: "Enter a set of music notes here"; 
    position: absolute; 
    bottom: -35px; 
    left: 50%;
    transform: translateX(-50%); 
    background-color: rgba(78,102,73,0.9); 
    color: white; 
    padding: 5px 10px; 
    border-radius: 5px; 
    font-size: 12px; 
    white-space: nowrap; 
    opacity: 0; 
    pointer-events: none; 
    transition: opacity 0.3s; 
    z-index: 1001; 
}

#submit:hover::after{
    opacity: 1;
}

#record::after {
    content: "Record your lucky tunes"; 
    position: absolute; 
    bottom: -35px; 
    left: 50%; 
    transform: translateX(-50%); 
    background-color: rgba(78,102,73,0.9);
    color: white; 
    padding: 5px 10px; 
    border-radius: 5px; 
    font-size: 12px; 
    white-space: nowrap; 
    opacity: 0; 
    pointer-events: none; 
    transition: opacity 0.3s; 
    z-index: 1001; 
}

#record:hover::after {
    opacity: 1; 
}

#piano-mode::after {
    content: "Make your beats classical"; 
    position: absolute; 
    bottom: -35px; 
    left: 50%; 
    transform: translateX(-50%); 
    background-color: rgba(78,102,73,0.9); 
    color: white; 
    padding: 5px 10px; 
    border-radius: 5px; 
    font-size: 12px;
    white-space: nowrap; 
    opacity: 0; 
    pointer-events: none; 
    transition: opacity 0.3s; 
    z-index: 1001; 
}

#piano-mode:hover::after {
    opacity: 1; 
}

#container {
    display: flex;
    height: 100vh; 
    justify-content: center;
    align-items: center;
    text-align: center;
    flex-direction: column;
    gap: 10px; 
    overflow: visible; 
    padding-bottom: 1000px; 
}

#controls-wrapper{
    flex-direction: row;
}

#button-wrapper {
    flex-direction: row; 
    margin-bottom: 5em; 
    padding-bottom: 5px;
}

h1 {
    padding-top: 10px;
    color:rgb(73, 93, 69);
    font-family: "Pixelify Sans", sans-serif; 
    margin-top: 20em;
    margin-bottom: 1em; 
}

p{
    color: rgb(74, 97, 62); 
    font-family: "Pixelify Sans", sans-serif; 
}

input {
    color: rgb(67, 105, 159); 
}

label {
    font-family: "Pixelify Sans", sans-serif; 
}


button{
    margin-bottom: 1em;
    font-family: "Pixelify Sans", sans-serif;
    color: rgb(55, 90, 55); 
}
body {
    
    background: linear-gradient(135deg, #ffe5f8, #cdeed1, #fffcbf); 
    background-size: 400% 400%; 
    animation: gradientShift 15s ease infinite; 
    min-height: 100vh; 
    margin-bottom: 5em; 
    padding-bottom: 100px; 
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%; 
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%; 
    }
}

footer {
    position: fixed; 
    bottom: 0; 
    left: 0; 
    width: 100%; 
    background-color: rgba(236,243,219,0.9); 
    padding: 15px 0; 
    text-align: center;
    border-top: 3px solid rgb(78, 102, 73); 
    z-index: 999; 
}

footer p {
    margin: 0; 
    font-size: 14px; 
    color: rgb(74, 97, 62); 
}

