* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
}
/*new css above and spelling of navbar below*/
.navbar {
    display: left;
    justify-content: left;
    align-items: left;
    background-color: transparent;
    color: rgb(85, 34, 34);
}

.romeo {
    background-color: transparent;
    border-radius: 5px;
    padding: 2px;
}

.romeo ul {
    display: flex;
    flex-wrap: wrap;
    color: rgb(117, 3, 3);
}

.romeo li {
    list-style: none;
}

.romeo a {
    text-decoration: none;
    color: rgb(76, 20, 20);
    padding: 10px;
    /* margin: 5px; */
    border-radius: 5px;
    transition: background-color 0.3s;
    font-family: 'Charm', Regular;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
}

.romeo a:hover {
    background-color: lightgray;
}

/*begin mobile nav styles*/

.toggle-button {
    position: absolute;
    top: 10px;
    right: 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
}

.toggle-button .bar {
    height: 3px;
    width: 100%;
    background-color: rgb(90, 72, 72);
    border-radius: 10px;
}

/* 1. Hide the hamburger button by default (Desktop) */
.toggle-button {
    display: none; /* Hidden on desktop */
    position: absolute;
    top: 10px;
    right: 16px;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    background: none;
    border: none;
}

/* 2. Desktop Navigation Layout */
.romeo ul {
    display: flex;
    flex-direction: row; /* Horizontal on desktop */
    list-style: none;
    margin: 0;
    padding: 0;
}

/* 3. Mobile Navigation (Screens smaller than 900px) */
@media screen and (max-width: 900px) {
    .toggle-button {
        display: flex; /* Show hamburger on mobile */
    }

    .romeo {
        display: none; /* Hide menu links by default on mobile */
        width: 100%;
    }

    /* Show links when the 'active' class is toggled by JS */
    .romeo.active {
        display: block;
    }

    .romeo ul {
        flex-direction: column; /* Vertical list on mobile */
        width: 100%;
        background-color: rgba(255, 255, 255, 0.9); /* Example background */
    }
}