/* Grundinställningar för menyikonen */
.extra-menu-wrapper {
    display: inline-block;
    position: relative;
}

/* Stil för menyikonen */
.extra-menu-icon {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    position: relative;
}
.extra-menu-icon:hover
{
    background: none;
}
/* Grundfärg för SVG:en */
.extra-menu-icon svg {
    color: #fff; /* Vit färg för SVG:n */
    width: 25px;  /* Anpassa storleken */
    height: 25px; /* Anpassa storleken */
    transition: color 0.3s ease;
}

/* Färgändring vid hover */
.extra-menu-icon:hover svg {
    color: var(--ast-global-color-1, #f4b400); /* Färg vid hover */
    background-color: none;
}

/* Fullskärmsmenyn - DOLD från start */
.extra-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9); /* Svart bakgrund */
    z-index: 1000;
    text-align: right;
    justify-content: flex-end;
    align-items: flex-start;
    padding: 106px 60px 60px;
    transform: translate(100%, -100%); /* gömd utanför övre högra hörnet */
    transition: transform .3s ease;
}

/* När menyn är aktiv */
.extra-menu.active {
    /* display: flex; */
    transform: translate(0, 0); /* visas i viewport */
}

/* Stil för menyinnehåll */
.extra-menu-list {
    list-style: none;
    padding: 0;
    margin: 20px 0 0 0;
}

.extra-menu-list li {
    line-height: 54.4px;
    font-weight: bold;
    font-size: 32px;
    margin-bottom: 1rem;
}

.extra-menu-list a {
    font-size: 32px;
    color: white;
    text-decoration: none;
    font-weight: normal;
    display: block;
    transition: color 0.3s ease;
    font-weight: bold;
}

.extra-menu-list a:hover {
    color: var(--ast-global-color-1, #f4b400); /* Standardfärg om variabeln saknas */
    text-decoration: underline;
}

/* Stängningsknapp */
.extra-menu-close svg {
    position: absolute;
    top: 60px;
    right: 60px;
    width: 20px;
    height: 20px;
    /* font-size: 40px; */
    color: white;
    fill: white;
    cursor: pointer;
    z-index: 1001;
}
