
@font-face {
    font-family: 'flame';
    src: url(../fonts/FlameRegular.otf) format('opentype');
    font-weight: normal;
}

body {
    margin: 0;
    font-family: 'flame', sans-serif;
    font-size: 1.2em;
    font-weight: lighter;
}

.bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #f7ecda;
    padding: 10px 30px;
    border-bottom: 1px solid #ccc;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.logo img {
    height: 60px;
}

.nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.nav li {
    display: flex;
    align-items: center;
    font-weight: bold;
}

.nav ion-icon {
    margin-right: 5px;
    font-size: 22px;
}

.nav a {
    text-decoration: none;
    color: #000;
}

.nav a:hover {
    color: #d32f2f;
}

.menu-toggle {
    display: none;
    font-size: 28px;
    cursor: pointer;
}

@media (max-width: 768px) {

    .nav ul {
        flex-direction: column;
        position: absolute;
        top: 80px;
        right: 0;
        background-color: #f7ecda;
        width: 100%;
        /*padding-right: 20px;    !* Optional: adds space from right edge *!*/
        display: none;
    }


    .nav a{
        text-decoration: none;
        color: #502314;
    }
    .nav ul.active {
        display: flex;
        align-items: center;
        z-index: 1 ;
    }

    .menu-toggle {
        display: block;
    }

    .nav li {
        justify-content: space-between;
        padding: 10px 0;
    }
}
.nav li button {
    background: none;
    border: none;
    color: inherit;
    font: inherit;
    cursor: pointer;
}
.nav li button:hover {
    color: #d32f2f;
}
.nav li button:focus {
    outline: none;
}
#PopupContent {
    display: none;
    position: absolute;
    top: 60px;
    right: 30px;
    background-color: #f7ecda;
    border: 1px solid #ccc;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 10px;
    z-index: 1000;
    text-decoration: none;
    padding-left: 25px;
}
#PopupContent a {
    color: #502314;
    text-decoration: none;
}

