.menu-icon {
    position: relative;
    width: 30px;
    height: 20px;
    cursor: pointer;
}
.menu-icon span {
    position: absolute;
    width: 90%;
    height: 10%;
    background: #333;
    border-radius: 3px;
    transition: all 0.3s;
    left:5px;
}
.menu-icon span:nth-child(1) {
    top: 0;
}
.menu-icon span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}
.menu-icon span:nth-child(3) {
    bottom: 0;
}

.menu-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transform: translateY(-100%);
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 1000;
}
.menu-container.active {
    opacity: 1;
    transform: translateY(0);
}

.menu-list {
    list-style: none;
    padding: 0;
    text-align: center;
}
.menu-list li {
    margin: 20px 0;
}
.menu-list li a {
    color: #fff;
    font-size: 2.4rem;
    text-decoration: none;
    transition: color 0.3s;
}
.menu-list li a:hover {
    color: #007BFF;
}

.menu-container.fade-out {
    opacity: 0;
    transform: translateY(-100%);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.page-container {
    position: fixed;
    top: 0;
    left: 100%;
    width: 100%;
    height: 100%;
    background: white;
    z-index: 1000;
    transition: left 0.5s ease-in-out;
}

.page-container.active {
    left: 0;
}

.font-size-control {
    display: flex;
    margin-left: 20px;
    align-items: center;
    justify-content: center;
    padding-top: 40px;
}

.font-btn {
    background-color: #f5f5f5;
    border: 1px solid #ccc;
    padding: 5px 10px;
    font-size: 1.4rem;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.font-btn:hover {
    background-color: #e0e0e0;
}

#fontDecrease{
    font-size: small;
    height: 33px;
}

#fontIncrease{
    font-size: large
}

#lottie-pop {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: 9999;
    background-color: rgba(255, 255, 255, 0.8);
}

#lottie-pop svg {
    width: 120px !important;
    height: 90px !important;
    transform: translate(0%, 0%) scale(4) !important;
    position: relative;
    left: calc(50% - 60px);
    top: calc(50% - 60px);
}

.loading-wrap {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loading-content {
    font-size: 5rem;
    font-weight: bold;
    font-family: Arial, sans-serif;
    color: #e31aba;
    animation: pulse 1.5s infinite ease-in-out;
}

@keyframes pulse {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}



@media (min-width: 768px) {
    .menu-icon span {
        position: absolute;
        width: 90%;
        height: 13%;
        background: #333;
        border-radius: 3px;
        transition: all 0.3s;
        left:5px;
    }

    .menu-icon {
        height: 30px;
    }

    .menu-icon span:nth-child(1) {
        top:-3px;
        width: 45px;
    }
    .menu-icon span:nth-child(2) {
        top: 15px;
        transform: translateY(0);
        width: 45px;

    }
    .menu-icon span:nth-child(3) {
        bottom: -4px;
        width: 45px;
    }

    #fontDecrease{
        font-size: large;
        width: 80px;
        height: 60px;
    }

    #fontIncrease{
        font-size: xx-large;
        width: 80px;
        height: 60px;
    }
}
