/* main nav on XS screen */

.bar1, .bar2, .bar3 {
    width: 30px;
    height: 4px;
    background-color: #333;
    margin: 5px 0;
    transition: 0.4s;
}

.mobile-nav {
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 0px;
    overflow-x: hidden;
    overflow-y: scroll;
    background-color: #ffffff;
    /* background-image: url("/img/mobile-menu-bg.jpg"); */
    z-index: 999;
    transition: height 0.5s;
}

.mobile-content {
    opacity: 0;
    transition: opacity 1.2s;
}


.menu-link a, .dropdown .dropdown-link {
    /* text-align: center;
    padding: 14px 10px; */
    @apply block no-underline;
}

.dropdown-content a::before {
    content: "";
}

.dropdown-link::after {
    content: "";
}

/* Dropdown container - needed to position the dropdown content */
.dropdown {
    @apply relative;
}

/* Style the dropdown content (hidden by default) */
.dropdown-content {
    display: none;
    position: absolute;
    @apply flex-col;
    background-color: #f9f9f9;
    min-width: 200px;
    box-shadow: 0px 8px 10px 0px rgba(0,0,0,0.2);
    border-top: 2px solid #4a5568;
    z-index: 999;
}


/* Style the links inside the dropdown */
.dropdown-content a {
    padding: 7px 16px;
    text-align: left;
    background-color: #f9f9f9;
    border-bottom: 1px solid #4a5568;
    @apply block text-sm text-gray-700 no-underline;  
}



/* Add a dark background on topnav links and the dropdown button on hover */
.main-menu a:hover, .dropdown:hover .dropdown-link {
    /* background-color: white;
    transition: background-color 0.5s ease;
    @apply text-blue-500; */
}

.dropdown-content a:hover {
    background-color: #4a5568;
    transition: background-color 0.5s ease;
    @apply text-white;
}
    
/* Show the dropdown menu when the user moves the mouse over the dropdown button */
.dropdown:hover .dropdown-content {
    display: block;
}

