

#interactivity-container {
    height: 46vh;
}

.flex-item {
    height: 40vh;
    width: 33.33%
}

.hamburger-container {
    padding: 1rem;
    background-color: rgb(255, 255, 255 0);
    border: 1px solid gray;
    height: 30vh;
    width: 30%;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    align-items: center;
    margin-left: 35%;
}


/* ========== HAMBURGER NAVIGATION ========== */
#demo-hamburger-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    background-color: black;
    border-bottom: 1px solid #e5e5e5;
    position: relative; /* changed from fixed */
    width: 100%;
    z-index: 999;
    padding: 0 5%;
}

/* ========== HAMBURGER MENU DROPDOWN INSIDE CONTAINER ========== */

/* HAMBURGER MENU */


.demo-hamburger-menu {
    position: relative;
    display: inline-block;    
}

.demo-hamburger-icon {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 24px;
    width: 30px;
    cursor: pointer;
}

.demo-hamburger-icon span {
    width: 100%;
    height: 2px;
    background-color: white;
    transition: all 0.3s ease-in-out;
}

.demo-menu-links {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: lightgray;
    width: 200px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    max-height: 0;              
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: max-height 0.3s ease-in-out, padding 0.3s ease-in-out;
    padding: 0;                
}
.demo-menu-links.open {
    max-height: 300px;        
    padding: 1rem;              
}

.demo-menu-links li {
    list-style:  none;
}

.demo-menu-links a {
    display: block;
    padding: 10px;
    text-align: center;
    font-size: 1.5rem;
    color: black;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
}

.demo-menu-links.open {
    max-height: 300px;
}

.demo-hamburger-icon.open span:first-child {
    transform: rotate(45deg) translate(10px, 5px);
}

.demo-hamburger-icon.open span:nth-child(2) {
    opacity: 0;
}

.demo-hamburger-icon.open span:last-child {
    transform: rotate(-45deg) translate(10px, -5px);
}

.demo-hamburger-icon span:first-child {
    transform: none;
    opacity: 1;
}
