.age-popup__wrapper {
    width: 100%;
    height: 100%;

    background-color: rgba(0, 0, 0, 0.8);

    opacity: 0;

    display: grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: center;
    gap: var(--space-xl);

    padding: var(--space-m);

    position: fixed;

    top: 0;
    left: 0;

    z-index: 4;

    pointer-events: none;

    transition: var(--transition-01);
    -webkit-transition: var(--transition-01);
}

.age-popup__wrapper._active {
    opacity: 1;

    pointer-events: unset;
}

.age-popup {
    background-color: var(--color-03);

    grid-column: 2 / span 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-m);

    padding: var(--space-m);

    position: relative;
}

.age-popup__close-btn {
    width: 100%;
}

@media (max-width: 768px) {
    .age-popup__wrapper {
        display: flex;
        align-items: center;
    }
}