@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,500;1,400&display=swap');


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

li {
    list-style: none;
}

a {
    text-decoration: none !important;
    font-family: 'poppins';

}

.nav-item>.nav-link:nth-last-child(1) {
    color: rgba(0, 0, 0, 0.664) !important;
    font-weight: 500;
}

.topnav .nav-link:hover {
    border-bottom: 3px solid var(--iva_color);
  }
  
  .topnav .nav-link.active {
    border-bottom: 3px solid var(--iva_color);
  }

/* .header{
    border-bottom: 1px solid #E2E8F0;
} */

/* Style the links inside the navigation bar */
.nav-link {
  float: left;
  display: block;
  color: #f2f2f2;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
  border-bottom: 3px solid transparent;
 
}

.nav_button{
    float: left;
    display: block;
    color: rgba(0, 0, 0, .5);
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    /* font-size: 17px; */
    border-bottom: 3px solid transparent;
    border: solid #8ccdc7;
    transition:.4s;

}

.nav_button:hover{

    transform: scale(1.2);
    
}
.navbar {
    display: flex;
    align-items: center;
    padding: 1rem 1.5rem;
    position: relative;
    z-index: 2;

}

.hamburger {
    display: none;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    background-color: var(--iva_color);
}

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

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

.nav-link {
    font-size: 18px;
    font-weight: 400;
    color: white;
}

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

.nav-logo {
    font-size: 2.1rem;
    font-weight: 500;
    color: white;
}


@media only screen and (min-width: 1024px) {
    .navbar {
        justify-content: flex-end !important;
    }
    
        #navMenu{animation-name: fadeInTopRight; visibility: visible; animation-duration: 4s}

}

@media only screen and (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 5rem;
        flex-direction: column;
        background-color: var(--iva_color);
        width: 100%;
        border-radius: 10px;
        text-align: center;
        transition: 0.4s;
        animation:none !important;
        box-shadow:
     0 10px 27px rgba(0, 0, 0, 0.05);
     z-index: 1000000;
    }
    
    #navMenu{animation-name: none}

    
.nav-item>.nav-link:nth-last-child(1) {
    color: white !important;
    font-weight: bold;
}

#NavLinkus{
    color: white !important;
    font-weight: bold;
    border: solid 2px white; 
}
    .nav-menu.active {
        left: 0;
    }

    .nav-item {
        margin: 2.5rem 0;
    }

    .hamburger {
        display: block;
        cursor: pointer;
        margin-top:15rem;
            position: fixed;
    right: 50px;
    background: white;
    padding: 10px;
    border-radius: 50%;
    }

    .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);
    }
}