/* Navbar */

.navbar {
    background-color: var(--white-color);
    padding: 20px 20px 20px 20px;
    height: max-content;
    max-height: max-content;
}

.nav-container {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
}

.nav-logo {
    height: 100px;
}

.navbar .main-menu ul {
    display: flex;
    justify-content: space-between;
}

.navbar ul li a {
    padding: 10px 30px;
    display: block;
    font-weight: 600;
    color: black;
    transition: 0.7s ease;
}

.navbar ul li a:hover {
    color: var(--indigo-color);
}

.navbar ul li a i {
    margin-right: 5px;
}

.navbar ul li:last-child a {
    color: var(--white-color);
    /* margin-left: 20px; */
}

.navbar ul li:last-child a:hover {
    color: black;
    background-color: var(--indigo-color)
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--white-color);
    min-width: max-content;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1;
    border-radius: 15px;
    /* opacity: 0; */
    transition: opacity 0.5s ease, display 0.5s;
}

/* .dropdown-content-wd {
    min-width: 220px;
} */

.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.dropdown:hover .dropdown-content {
    display: block;
    opacity: 0.9;
}

.dropdown-right {
    position: relative;
    transition: opacity 0.3s ease, display 0.3s;
}

.dropdown-content-right {
    display: none;
    position: absolute;
    left: 100%;
    top: 0;
    background-color: var(--white-color);
    min-width: max-content;
    box-shadow: 10px 0px 16px rgba(0, 0, 0, 0.2);
    z-index: 0;
    border-radius: 15px;
    opacity: 0;
    transition: opacity 0.3s ease, display 0.3s allow-discrete;
}

.dropdown-right:hover .dropdown-content-right {
    display: block;
    opacity: 0.9;
}


@starting-style{
    .dropdown:hover .dropdown-content {
        opacity: 0;
    }
    .dropdown-right:hover .dropdown-content-right {
        opacity: 0;
    }
}

/* Hamburger Mobile Menu */
.hamburger {
    display: none;
    padding: 0 0 0 100px;
}
.hamburger-button {
    position: absolute;
    border: none;
    z-index: 10000;
    right: 50px;
    top: 50px;

}

.hamburger-button.active {
    position: fixed;
}

.hamburger-button .hamburger-line {
    width: 30px;
    height: 3px;
    background: var(--indigo-color);
    margin: 5px 0;
    z-index: inherit;
}

.mobile-menu {
    /* display: none; */
    position: fixed;
    top: 0;
    right: -300px;
    width: 250px;
    height: 100%;
    z-index: 100;
    background-color: var(--white-color);
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
    transition: right 0.3s ease-in-out;
    padding: 10px 15px;
}

.mobile-menu.active {
        right: 0;
}

.mobile-menu ul {
    margin-top: 80px;
    padding-right: 20px;
    display: flex;
    flex-direction: column;
}

.mobile-menu ul li:last-child {
    margin-top: 10px;
}

.mobile-menu ul li a {
    font-size: 1.1rem;
}

/* Footer */

.footer {
    background-color: var(--indigo-color);
    color: var(--white-color);
    padding: 20px 0;
    text-align: left;
}

.footer a {
    color: var(--white-color);
    font-weight: 600;
    transition: 0.7s ease;
}

.footer a:hover {
    opacity: 0.8;
}

/* Responsive Edits */

@media screen and (width < 775px) {
    .main-menu {
        display: none;
    }
    
    .hamburger{
        display: flex;
    }

    .dropdown-content {
        position: relative;
    }
}