body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: #b2c9ec;
    overflow-x: hidden;
    background-size: cover;
    background: rgb(2,0,36);
    background: linear-gradient(90deg, rgb(209, 208, 233) 0%, rgb(198, 237, 238) 35%, rgb(229, 201, 240) 100%);
    background-position: center;
}

html {
    scroll-behavior:smooth;
}



.navbar {
    padding: 20px;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1; 
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(90deg, rgb(209, 208, 233) 0%, rgb(198, 237, 238) 35%, rgb(229, 201, 240) 100%);
    animation-name: slideDown;
    animation-duration: 0.5s;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}


.child-1 {
    font-size: 40px;
    color:rgb(21, 50, 214);
    margin:0 40px;
    
}

.child-2 nav {
    display: flex;
    gap: 40px;
    font-size: 22px;
    padding:0 100px;
}

.child-2 nav a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    transition: color 0.3s ease-in-out;
}
.child-2 nav a:hover {
    color: #ff4500;    
}

.menu-icon {
    display: none; /* This hides the menu icon by default */
    cursor: pointer;
    position: fixed; /* Keep the menu icon fixed */
    top: 20px; /* Adjust top position as needed */
    right: 20px; /* Adjust right position as needed */

}

@media only screen and (max-width: 768px) {
    .child-2 nav {
        display: none;
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        position: absolute;
        top: 60px;
        gap: 20px;
        font-size: 18px;
        left: 0;
        background-color: lightgrey;
        padding: 10px;
    }

    .child-2 nav.show {
        display: flex;
        z-index:1;
    }

    .menu-icon {
        display: block;
    }
    .child-2 nav a {
        margin: 10px 0; /* Adjust the vertical spacing */
    }

    .child-2 nav a:not(:last-child) {
        margin-right: 20px; /* Add horizontal gap */
    }
}





@media screen and (max-width: 768px) {
    .child-1 {
        font-size: 24px;
        color:blue;
        margin:0 10px;
        
    }
}




