
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 62.5%;
    font-family: 'Roboto', sans-serif;
}

li {
    list-style: none;
}

a {
    text-decoration: none;
}

.header{
    border-bottom: 1px solid #b5c2d3;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    
    position: fixed;


    overflow: hidden;
    background-color: rgb(239, 255, 234);
    position: fixed; /* Set the navbar to fixed position */
    top: 0; /* Position the navbar at the top of the page */
    width: 100%;
    z-index: 9999990;


}

.hamburger {
    display: none;
}

.bar {
    display: block;
    width: 30px;
    height: 3px;
    margin: 5px auto;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    background-color: #bd1392;
}

.nav-menu {
    display: flex;
    justify-content: space-between;
    align-items: center;

}

.nav-item {
    margin-left: 5rem;
}

.nav-link{
    font-size: 1.6rem;
    font-weight: 400;   
    color: #475569;
}


.nav-link:hover{
    color: #482ff7;
}

@media screen and (max-width: 1200px) {


    .navbar {

        padding: 1rem 1rem;

    }
    .nav-item {
        margin-left: 2.5rem;
    }
    .nav-link{
        font-size: 1.2rem;  
    }



}

@media screen and (max-width: 992px) {

    .navbar {

        padding: 1rem 0.3rem;

    }

    .nav-item {
        margin-left: 0.1rem;
    }
    .nav-link{
        font-size: 0.8rem;  
    }

}




@media only screen and (max-width: 768px) {
    .nav-menu {
        position: fixed;
        
        left: -100%;
        top: 5rem;
        flex-direction: column;
        background-color: #fff5fd;
        
        
        width: 100%;
        border-radius: 20px;
        text-align: center;
        transition: 0.3s;
        /*box-shadow:
            0 10px 27px rgba(0, 0, 0, 0.05);*/
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-item {
        /*margin: 2.5rem 0;*/
        margin: 1rem 0;


    }

    .hamburger {
        display: block;
        cursor: pointer;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        -webkit-transform: translateY(8px) rotate(45deg);
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        -webkit-transform: translateY(-8px) rotate(-45deg);
        transform: translateY(-8px) rotate(-45deg);
    }
}
