/*
Theme Name: Twenty Twenty-Five Author
Theme URI: http://localhost/wordpress-site
Description: Child theme for the author platform frontend.
Author: Author Platform
Template: twentytwentyfive
Version: 0.1.0
Text Domain: twentytwentyfive-author
*/

html {
    background: #f6f3ee;
    -webkit-tap-highlight-color: transparent;
}

body {
    background: #f6f3ee;
    margin: 0;
    overflow-x: hidden;
}

a,
button {
    -webkit-tap-highlight-color: transparent;
}

main {
    transition:
        opacity 260ms cubic-bezier(.2, .8, .2, 1),
        transform 260ms cubic-bezier(.2, .8, .2, 1),
        filter 260ms cubic-bezier(.2, .8, .2, 1);
}

body.ap-page-leaving main {
    filter: blur(5px);
    opacity: 0;
    transform: translateY(12px);
}

body.admin-bar {
    min-height: calc(100vh - 32px);
}

img {
    max-width: 100%;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

.ap-animate-in {
    opacity: 0;
    transform: translateY(18px);
    transition:
        opacity 620ms cubic-bezier(.2, .8, .2, 1),
        transform 620ms cubic-bezier(.2, .8, .2, 1),
        filter 620ms cubic-bezier(.2, .8, .2, 1);
    transition-delay: var(--ap-reveal-delay, 0ms);
}

.ap-animate-in.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.ap-animate-in.ap-animate-soft {
    filter: blur(6px);
}

.ap-animate-in.ap-animate-soft.is-visible {
    filter: blur(0);
}

@media (prefers-reduced-motion: reduce) {
    .ap-animate-in,
    main,
    .ap-animate-in.ap-animate-soft {
        filter: none;
        opacity: 1;
        transform: none;
        transition: none;
    }
}
