/**
 * ViewSource CMS4 App
 *
 * This part of the source code is protected by copyright and belongs to the project ViewSource CMS4. Use, modification and distribution
 * are permitted only in accordance with the terms approved by the owner. Any unauthorized copying, sale or distribution of the code is
 * strictly prohibited.
 *
 * @package   ViewSourceCMS4App\css\
 * @copyright Copyright (c) 2002-2026 ViewSource - All Rights Reserved
 * @author    ViewSource - Marko Jevtić <office@viewsource.biz>
 * @license   Proprietary - copying prohibited without written permission from the author
 * @link      https://www.viewsource.biz/
 */

/* Pulse's home page (modules/_theme/template/indexIndex.tpl): the logo in the middle of a dark screen,
   the squares of ViewSource in the top right and the bottom left corner, a glow that breathes behind the logo. */
.pulse-home {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    padding: 2rem 1rem;
    overflow: hidden;
    background: #101114;
    color: #EDEEF0;
}
.pulse-home::before,
.pulse-home::after {
    content: '';
    position: absolute;
    width: min(440px, 60vw);
    aspect-ratio: 440 / 352;
    background: url('/design/pulse/motif-squares.svg') no-repeat center / contain;
    pointer-events: none;
}
.pulse-home::before {
    top: 0;
    right: 0;
}
.pulse-home::after {
    bottom: 0;
    left: 0;
    transform: rotate(180deg);
    opacity: .35;
}
.pulse-home-glow {
    position: absolute;
    width: min(720px, 120vw);
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(closest-side, rgba(245, 130, 32, .16), rgba(245, 130, 32, 0));
    animation: pulse-home-breathe 4s ease-in-out infinite;
    pointer-events: none;
}
.pulse-home-logo {
    position: relative;
    line-height: 0;
}
.pulse-home-logo img {
    width: min(420px, 72vw);
    height: auto;
}
.pulse-home-by {
    position: relative;
    margin: 0;
    line-height: 0;
}
.pulse-home-by img {
    width: 112px;
    height: auto;
}
@keyframes pulse-home-breathe {
    0%, 100% { opacity: .55; transform: scale(.94); }
    50%      { opacity: 1;   transform: scale(1.04); }
}
@media (prefers-reduced-motion: reduce) {
    .pulse-home-glow { animation: none; }
}
