html, body {
    scroll-behavior: smooth;
    background-color: rgb(1, 21, 65);
    overflow-x: hidden; 
    margin: 0; 
    padding: 0; 
    }
    
    
    #current-date-time {
        font-size: 25px; 
        color: white;
        display: block;
        margin-top: 10px;
        font-weight: bold;
    }
    
    #navbar {
    width: 100%;
    height: 55px;
    max-width: 100%;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    box-sizing: border-box;
    position: fixed;
    top: 0;
    left: 0;
    background: rgba(208, 24, 24, 0.8);
    z-index: 200;
    }
         
         
    #logo img {
    width: 200px;
    height: 165px;
    }
         
        
    /* Navbar links */
    #nav-links {
    display: flex;
    gap: 4rem;
    list-style: none;
    }
        
    #nav-links li a {
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    transition: color 0.3s ease;
    }
        
    #nav-links li a:hover {
    color: #FF5733;
    }
        
    /* Mobile styles-hidden-until-@media*/
    #menu-toggle {
    display: none;
    }
        
    #hamburger-menu {
    display: none;
    cursor: pointer;
    }
    
    /*Section*/
    #biography, #events, #lessons {
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
    }
        
    #home h1 {
        color: white;
        font-family: 'Havitca', sans-serif;
        font-weight: 250;
        font-style: normal;
        font-size: 3rem;
        opacity: 0.90;
        }
        
    #home h1 span {
    content: "Welcome To YouStudio"; 
    animation: gay-ray-wants-opec-to-visible 3s ease forwards; 
    }
            
    @keyframes gay-ray-wants-opec-to-visible {
    0% {
    opacity: 0;
    }
    100% {
    opacity: 1;
    }
    }
        
    
    /*my-instru-section*/
    #myinstruments {
    padding: 20px;
    max-width: 600px;
    margin: 20px auto;
    display: flex;
    flex-direction: column;
    justify-content: center; 
    align-items: center; 
    height: 100vh;
    box-sizing: border-box; 
    }

    #myinstruments h1 {
        font-size: 35px;
        font-weight: bold;
    }
            
    #myinstruments .content {
    font-family: 'Arial', sans-serif;
    color: white;
    line-height: 2;
    text-align: center; 
    }
            
    #myinstruments p {
    margin-bottom: 20px;
    }
            
    #myinstruments strong {
    font-size: 18px;
    color: #d8bc19; 
    display: inline-block;
    margin-bottom: 5px;
    }
            
    #myinstruments p:last-child {
    margin-bottom: 0;
    }
        
        
    /*home-sectoin-also-raystudent-bg*/
    #home {
    position: relative;
    width: 100vw; 
    height: 100vh; 
    overflow: hidden; 
    display: flex;
    align-items: center;
    justify-content: center;
    }
        
    /*container-for-raystu-vid*/
    .home-vid-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    }
        
    /* Background video styling */
    
    .back-ground-clips {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover; 
    transform: translate(-50%, -50%); 
    opacity: 0.69;
    z-index: 10;
    }
    
    /*home-greater-div~~~~~>fits*/
    #home > div {
    text-align: center; 
    color: white; 
    z-index: 1; 
    padding: 0 20px;
    }
    
        
    #biography img {
    border-color: rgb(255, 68, 0);
    width: 280px;
    height: 280px;
    border-radius: 50%;
    }
        
    .biography-container {
    margin: 0;
    max-width: 400px;
    }
        
    #biography-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 1.5;
    }
        
        
    .biography-container h1 {
    font-size: 2rem;
    color: #F2F0DF
    }
        
    .biography-container h3 {
    font-size: 1.5rem;
    color: #F2F0DF
    }
    
    .biography-container p {
    font-size: 1rem;
    line-height: 1.5;
    color: #F2F0DF;
    font-style: italic;
    font-weight: bold;
        }
        
    /*h3-animation*/
    .biography-container span::before {
    content: "Violinist";
    color: #d8bc19;
    animation: words 6s infinite;
    }
        
    @keyframes words { 
    50% { 
    content: "Private Teacher"
    }
    100% { 
    opacity: 3;
    }
    }
        
    /* Footer */
    footer {
    color: white;
    text-align: center;
    padding: 10px;
    bottom: 0;
    width: 100%;
    z-index: 1;
    }
        
    /*contacts-section */
    #contacts {
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
    background-color: rgb(1, 21, 65);
    }
        
    #contacts div {
    display: flex;
    justify-content: center;
    gap: 5.5rem; /* Sets the gap between icons */
    }
        
    #contacts div a img {
    width: 60px; 
    height: auto; 
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.3));
    transition: transform 0.3s ease, filter 0.3s ease; 
    }
        
    #contacts div a img:hover {
    transform: scale(1.2); 
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.7)); 
    }
        
    #contacts div a {
    border: 2px solid transparent; 
    padding: 8px;
    border-radius: 50%; 
    transition: border-color 0.3s ease; 
    }
        
     
    
        
/*events-background-vid*/
.events-vid-container {
    position: absolute;
    top: auto;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    }
          
    /*events-background-vid*/
    .events-background-clips {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    opacity: 0.8;
    z-index: 1;
    }
          
    #events h1 {
    color: white;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    }
        
    
        
        

    /*lessons-stuff*/
    #lessons .content {
    max-width: 1000px; 
    margin: 0 auto;
    padding: 20px; 
    }
        
    #lessons h1 {
        font-weight: bold;
        font-family: "Times New Roman", Times, serif;
        font-size: 35px;
        color: white;
        display: flex;
        align-items: center;
        justify-content: center;
        }

    #lessons p {
    font-family: "Times New Roman", Times, serif;
    font-size: 20px;
    line-height: 3;
    color: white;
    padding: 20px;
    display: flex;
    }
        
    #lessons {
    gap: 10px; 
    }
    
    
    
    /*@media-Iphones-Ipad-android, etc etc*/
    @media screen and (max-width: 1024px){
        html {
        scroll-behavior: smooth;
        }
                
        body {
        background-color: rgb(1, 21, 65);
        margin: 0;
        }
            
        #home, #biography, #events, #lessons, #myinstruments, #contacts {
            width: 90%; 
            max-width: 1200px; 
            min-height: 100vh; 
            display: flex;
            align-items: center;
            justify-content: center;
            box-sizing: border-box;
            }
                        
                        
            #Home h1, #biography .biography-container h1, #events h1, #lessons h1, #myinstruments h1 {
            font-size: 2rem; /* Adjust font size for readability */
            text-align: center;
            color: white;
            }
            
            @media screen and (max-width: 1024px) {
                #home, #biography, #events, #lessons, #myinstruments, #contacts {
                    width: 1024px; /* Adjust width for tablets */
                    height: auto; /* Remove fixed height */
                }
            
                #home h1, #biography .biography-container h1, #events h1, #lessons h1, #myinstruments h1 {
                    font-size: 1.75rem; /* Adjust font size for tablets */
                }
            
                #menu-toggle:checked + #hamburger-menu + #nav-links {
                    max-height: 999pc; 
                }
            }

            
        
        @media screen and (max-width: 880px) {
            #home, #biography, #events, #lessons, #myinstruments, #contacts {
                width: 100%; /* Use full width for smaller screens */
                height: auto; /* Remove fixed height */
            }
        
            #home h1, #biography .biography-container h1, #events h1, #lessons h1, #myinstruments h1 {
                font-size: 1.5rem; /* Adjust font size for smaller screens */
                z-index: 1;
            }
        }
        
        
        @media screen and (max-width: 375px) {
            #home, #biography, #events, #lessons, #myinstruments, #contacts {
                width: 100%; /* Use full width for smaller screens */
                height: auto; /* Remove fixed height */
            }
        
            #home h1, #biography .biography-container h1, #events h1, #lessons h1, #myinstruments h1 {
                font-size: 1.5rem; /* Adjust font size for smaller screens */
                z-index: 1;
            }
        }


         /*hamburger-menu-navbar-fits-@media*/
    #menu-toggle:checked + #hamburger-menu + #nav-links {
        max-height: 999pc; 
    }
    
    #hamburger-menu {
    display: block;
    cursor: pointer;
    position: relative;
    z-index: 2;
    }
    
    #menu-toggle {
    display: none;
    }
    
    #nav-links {
    max-height: 0;
    overflow: hidden; 
    transition: max-height 0.5s ease-in-out; 
    text-align: center;
    background-color: rgba(0, 0, 0, 1); 
    }
    
    #navbar {
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    background: rgba(208, 24, 24, 0.8);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 200;
    }
        
    #nav-links {
    display: flex;
    flex-direction: column;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    position: absolute;
    top: 65px; /* Adjust based on navbar height */
    left: 0;
    transition: max-height 0.3s ease-out;
    overflow: hidden;
    max-height: 0;
    }
        
    #nav-links.show {
    max-height: 500px; 
    }
    
    #nav-links a {
    display: block;
    padding: 15px 0;
    color: #fff; 
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease; /* Smooth transition for hover effects */
    }
    
    #nav-links a:hover {
    background-color: #bc9a14; 
    color: #000; 
    }
    
    #nav-links {
    padding: 0;
    margin: 0;
    }
    






        /*biography section */
        #biography {
        flex-direction: column;
        }
            
        #biography img {
        width: 200px;
        height: 200px;
        margin-bottom: 15px; /* Space between image and text */
        }
            
        .biography-container {
        max-width: 90%;
        }
            
        .biography-container h3 {
            font-size: 1.5rem;
            color: #F2F0DF;
            align-items: center;
            justify-content: center;
            display:flex;
        }
    
        /*myinstruments-@media*/
        #myinstruments {
        padding: 10px;
        max-width: 90%;
        margin: auto;
        }
            
        #myinstruments p {
        margin-bottom: 15px;
        font-size: 0.9rem;
        }
        
        #contacts div {
        flex-direction: column; 
        gap: 2rem;
        }

    /*lessons-stuff*/
    #lessons .content {
        max-width: 1000px; 
        margin: 0 auto;
        padding: 20px; 
        }
            
        #lessons p {
        font-family: "Times New Roman", Times, serif;
        font-size: 1rem;
        line-height: 2.2;
        color: white;
        padding: 20px;
        display: flex;
        }
            
        #lessons {
        gap: 10px; 
        }
    }
    



   


    
        


