/* Global
   ========================================================================== */

body {
    background-image: linear-gradient(to left top, #a3b6ff, #b1beff, #bec6ff, #caceff, #d5d7ff, #ddddff, #e4e4ff, #ebeaff, #f0efff, #f6f4ff, #fafaff, #ffffff);
}

main {
    min-height: 500px;
}

:root :where(.wp-element-button:hover, .wp-block-button__link:hover) {
    transform: translateY(-3px);
}

/* Transition
   ========================================================================== */

@keyframes timeline-appear {
    0% {
        transform: translateY(60px);
        opacity: 0.2;
    }
    50% {
        transform: translateY(0);
        opacity: 1;
    }
}

.is-style-timeline-appear {
    animation: timeline-appear ease-out forwards;
    animation-timeline: view();
    animation-range-start: cover 0%;
    animation-range-end: cover 100%;
}

/* Glass morphism
   ========================================================================== */

.is-style-group-glassmorphism {
    background: color-mix(in srgb, var(--wp--preset--color--secondary) 20%, transparent);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

/* Translate Press 
   ========================================================================== */

header .trp-language-switcher > div {
    padding: 0;
    background-image: none;
    border: none;
    background-color: transparent;
    position: absolute;
    & > a {
        padding: 0;
        color: var(--wp--preset--color--text-50);
        &:hover {
            background-color: transparent;
            color: var(--wp--preset--color--text);
        }
    }
}

header .trp-language-switcher:hover .trp-ls-shortcode-language {
    padding: 0;
}

/* WP Form
   ========================================================================== */

div.wpforms-container-full .wpforms-confirmation-container-full, div[submit-success]>.wpforms-confirmation-container-full:not(.wpforms-redirection-message) {
    background: none !important;
    border: none !important;
}