/* =========================================================
   ENERAY WEBSITE — GLOBAL STYLES
   Shared by all pages
========================================================= */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Poppins", Arial, sans-serif;
    color: #fff;
}

a,
button {
    font: inherit;
}

/* =========================================================
   BACK TO HOME
========================================================= */

.back-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: 25px 0 35px;
    padding: 11px 20px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 12px;
    background: rgba(255, 255, 255, .07);
    color: rgba(255, 255, 255, .75);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition:
        transform .25s ease,
        background .25s ease,
        color .25s ease,
        border-color .25s ease,
        box-shadow .25s ease;
}

.back-button:hover {
    transform: translateY(-3px);
    background: linear-gradient(
        90deg,
        rgba(143, 76, 255, .25),
        rgba(54, 217, 255, .15)
    );
    color: #fff;
    border-color: rgba(180, 120, 255, .5);
    box-shadow: 0 8px 25px rgba(100, 60, 255, .18);
}

/* =========================================================
   COMMON PAGE ANIMATION
========================================================= */

@keyframes pageAppear {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================================
   ACCESSIBILITY
========================================================= */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}
