footer.footer-pwa {
    position: sticky;
    bottom: 0;
    z-index: 999;
    left: 0;
    /*background-color: var(--white);*/
}

header.header-pwa {
    height: 100%;
    z-index: 1000;
}

.container-menu-pwa {
    height: 85px;
    overflow: hidden;
}

.top-header {
    background-color: var(--white);
}

.hamburgerMenu {
    visibility: hidden;
    width: 85px;
    height: 85px;
    /*margin-top: -10px;*/
    border-radius: 50%;
    background-color: var(--white);
    border: 2px solid var(--primary);
    transition: 0.5s;
    cursor: pointer;
}

.container-menu-pwa a {
    color: var(--text-body);
    background-color: var(--white);
}

#togglePWAMenu ~ .container-menu-pwa a > svg {
    fill: var(--black);
}

@media (min-width: 992px) {

    footer.footer-pwa {
        position: fixed;
        bottom: 10px;
        z-index: 999;

        width: 92px;
        left: 10px;
        margin-bottom: 10px;
        overflow: visible;
    }


    .container-menu-pwa {
        width: 0;
        border: none !important;
        box-shadow: none !important;
    }

    .hamburgerMenu {
        visibility: visible;
        position: absolute;
        left: 101%;
        transform: translate(-100%);
        z-index: 100;
    }

    #togglePWAMenu:checked ~ .container-menu-pwa {
        visibility: visible;
    }

    #togglePWAMenu ~ .container-menu-pwa a {
        position: absolute;
        width: 80px;
        height: 80px;
    }

    #togglePWAMenu ~ .container-menu-pwa a > svg {
        width: 40px;
        height: 40px;
        fill: var(--white);
        /*background-color: var(--primary);*/
        padding: 5px;
        border-radius: 3px;
    }

    #togglePWAMenu:not(:checked) ~ .container-menu-pwa a{
        background-color: transparent;
    }
    #togglePWAMenu:checked ~ .container-menu-pwa a:first-child {
        animation: animHome 0.5s forwards;
    }

    @keyframes animHome {
        0% {
            top: 0;
        }
        100% {
            top: -420px;
        }
    }

    #togglePWAMenu:not(:checked) ~ .container-menu-pwa a:first-child {
        animation: animHomeNO 0.5s forwards;
        top: -420px;
        animation-delay: 0.8s;
    }

    @keyframes animHomeNO {
        0% {
            top: -420px;
        }
        100% {
            top: 0;
        }
    }

    #togglePWAMenu:checked ~ .container-menu-pwa a:nth-child(2) {
        animation: animEstimate 0.5s forwards;
        animation-delay: 0.2s;
    }

    @keyframes animEstimate {
        0% {
            top: 0;
        }
        100% {
            top: -340px;
        }
    }

    #togglePWAMenu:not(:checked) ~ .container-menu-pwa a:nth-child(2) {
        animation: animEstimateNo 0.5s forwards;
        top: -340px;
        animation-delay: 0.6s;
    }

    @keyframes animEstimateNo {
        0% {
            top: -340px;
        }
        100% {
            top: 0;
        }
    }

    #togglePWAMenu:checked ~ .container-menu-pwa a:nth-child(3) {
        animation: animLoan 0.5s forwards;
        animation-delay: 0.4s;
    }

    @keyframes animLoan {
        0% {
            top: 0;
        }
        100% {
            top: -260px;
        }
    }

    #togglePWAMenu:not(:checked) ~ .container-menu-pwa a:nth-child(3) {
        animation: animLoanNo 0.5s forwards;
        top: -260px;
        animation-delay: 0.4s;
    }

    @keyframes animLoanNo {
        0% {
            top: -260px;
        }
        100% {
            top: 0;
        }
    }

    #togglePWAMenu:checked ~ .container-menu-pwa a:nth-child(4) {
        animation: animTools 0.5s forwards;
        animation-delay: 0.6s;
    }

    @keyframes animTools {
        0% {
            top: 0;
        }
        100% {
            top: -180px;
        }
    }

    #togglePWAMenu:not(:checked) ~ .container-menu-pwa a:nth-child(4) {
        animation: animToolsNo 0.5s forwards;
        top: -180px;
        animation-delay: 0.2s;
    }

    @keyframes animToolsNo {
        0% {
            top: -180px;
        }
        100% {
            top: 0;
        }
    }

    #togglePWAMenu:checked ~ .container-menu-pwa a:nth-child(5) {
        animation: animUser 0.5s forwards;
        animation-delay: 0.8s;
    }

    @keyframes animUser {
        0% {
            top: 0;
        }
        100% {
            top: -100px;
        }
    }

    #togglePWAMenu:not(:checked) ~ .container-menu-pwa a:nth-child(5) {
        animation: animUserNo 0.5s forwards;
    }

    @keyframes animUserNo {
        0% {
            top: -100px;
        }
        100% {
            top: 0;
        }
    }
}

.close-menu {
    display: none
}

#togglePWAMenu:checked ~ label > .close-menu {
    display: block;
}

#togglePWAMenu:checked ~ label {
    background-color: var(--primary);
}

#togglePWAMenu:checked ~ label > .open-menu {
    display: none;
}

#togglePWAMenu ~ label > svg {
    transition: 0.5s;
}

#togglePWAMenu ~ label > svg:hover {
    transform: scale(1.1);
}


/*menu*/
.circle-wrapper {
    position: absolute;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px dashed var(--cool-red);
    animation: spinStoryBorder 4s ease-in-out infinite;
}

@keyframes spinStoryBorder {
    0% {
        transform: rotate(0deg);
    }
    50% {
        transform: rotate(180deg);
    }
    100% {
        transform: rotate(0deg);
    }
}


.menu-header {
    color: var(--primary);
    left: 100%;
    box-shadow: 0 0 4px var(--black);
}

.menu-header div {
    cursor: pointer;
}

#toggle-menu-header:checked ~ label > .menu-header {
    left: 0;
    transition: 0.5s;
}

#toggle-menu-header:not(:checked) ~ label > .menu-header {
    left: 105%;
    transition: 0.5s;
}

.container-stories {
    visibility: hidden;
}

label:has(>#toggleStory:checked) ~ .container-stories {
    animation: showEffectOpenStory 0.5s forwards;
}

.container-stories:has(label>#closeStory:checked) {
    animation: showEffectCloseStory 0.5s forwards;
}

@keyframes showEffectOpenStory {
    0% {
        visibility: hidden;
        opacity: 0;
        transform: scale(0.8);
    }
    100% {
        visibility: visible;
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes showEffectCloseStory {
    0% {
        visibility: visible;
        opacity: 1;
        transform: scale(1);
    }
    100% {
        visibility: hidden;
        opacity: 0;
        transform: scale(0.86);
    }
}

.pageName {
    font-size: 19px;
    font-family: PeydaFaNum;
}

@media (max-width: 992px) {

    .outer-container {
        height: calc(100vh - 130px);
        overflow-y: auto;
    }

    .modal.show {
        animation: inFromDown 1s forwards ease-in-out;
    }

    @keyframes inFromDown {
        0% {
            top: 100%;
        }
        100% {
            top: 0;
        }
    }
    .modal-dialog {
        align-items: end !important;
        margin: 0;
        height: 100%;
    }

    .modal-content {
        border-radius: 0 !important;
        border-top-left-radius: var(--bs-border-radius-xl) !important;
        border-top-right-radius: var(--bs-border-radius-xl) !important;
        max-height: 100%;
        overflow-y: scroll;
    }

    .footer-pwa {
        /*position: fixed !important;*/
        width: 100% !important;
        bottom: 0 !important;
        right: 0 !important;
    }
}

.header-pwa {
    height: auto !important;
}