body {
    background:
        url('../layout/2024/images/body-texture-xmas.webp');
}


/* Nav bar */

.navbar {
    background:
        url('../layout/2024/images/body-texture-xmas.webp') repeat;
    border-bottom: 2px solid;
    border-image: repeating-linear-gradient(45deg,
            rgba(255, 0, 0, 0.688) 0px,
            rgba(255, 0, 0, 0.688) 10px,
            rgba(252, 252, 252, 0.688) 10px,
            rgba(252, 252, 252, 0.688) 20px) 1;
}

.nav-item a {
    color: #fafbf9;
    text-shadow: 0 0 2px rgba(92, 0, 0, 0.8),
        0 0 4px rgba(0, 0, 0, 0.415),
        0 0 6px rgba(1, 53, 10, 0.4);
}


.nav-item a:hover {
    color: #ffebcd;
    background-color: rgba(178, 34, 34, 0.4);
    text-shadow: 2px 2px 6px rgba(139, 0, 0, 0.9),
                 0 0 15px rgba(255, 255, 255, 0.7),
                 0 0 20px rgba(220, 20, 60, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(220, 20, 60, 0.4), 
                0 0 25px rgba(255, 255, 255, 0.2),
                0 0 30px rgba(178, 34, 34, 0.3);
}


.sub-nav a {
    display: block;
    padding: 4px 10px;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 10px;
}

.sub-nav a:hover {
    color: rgb(145, 17, 0);
    background-color: rgba(0, 0, 0, 0.4);
}

.nav-toggle {
    background: repeating-linear-gradient(45deg, #bb0101, #bb0101 10px, #ffffff 10px, #ffffff 20px);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    box-shadow: 0 2px 2px rgba(255, 255, 255, 0.134);
}

/* Hero section */
.logo a {
    width: min(350px, 50vw);
    background: url('/layout/2024/images/xmas-syrnia-logo.webp') center/contain no-repeat;
    filter: drop-shadow(2px 2px 6px rgba(0, 0, 0, 0.7));
}

.hero {
    background: url('../layout/2024/images/hero-background-christmas.webp') 50% 0% / cover no-repeat;
    border-bottom: 4px solid rgba(255, 255, 255, 0.619);
    box-shadow:
        inset 0 0 25px rgba(255, 255, 255, 0.8),
        0 3px 8px -5px rgba(255, 255, 255, 0.7),
        0 5px 5px rgba(125, 0, 0, 0.5),
        0 8px 10px rgba(82, 0, 0, 0.4);
}

.hero-header {
    text-shadow:
        0 0 4px rgba(21, 133, 3, 0.7),
        0 0 8px rgba(255, 0, 0, 0.6),
        0 0 16px rgba(255, 255, 255, 0.4),
        0 0 20px rgba(255, 0, 0, 0.3),
        0 0 25px rgba(0, 255, 0, 0.2);}

.hero-header::before {
    content: '';
    position: absolute;
    background: radial-gradient(circle at center,
            rgba(176, 4, 4, 0.314),
            rgba(12, 97, 1, 0.2),
            rgba(151, 0, 0, 0.2),
            rgba(6, 75, 1, 0.2));
}

.register-btn-animated::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -3.7px;
    right: -3px;
    height: 24px;
    background-image: url('/layout/2024/images/snow-border-top.webp');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center top;
    pointer-events: none;
    transform: none;
    opacity: 1;
    z-index: 2;
    transition: none;
}

.btn::before {
    content: '';
    position: absolute;
    top: -4px;
    left: 0px;
    right: 0px;
    height: 24px;
    background-image: url('/layout/2024/images/snow-border-top.webp');
    background-size: 110% 110%;
    background-repeat: no-repeat;
    background-position: center top;
    pointer-events: none;
    transform: none;
    opacity: 1;
    z-index: 2;
    transition: none;
}


.register-btn-animated:hover::before {
    opacity: 1;
    transform: none;
    background-image: url('/layout/2024/images/snow-border-top.webp');
}

.register-btn-animated:active {
    transform: none;
    animation: none;
}

.register-btn-animated:active::before {
    animation: none;
    transform: none;
}


/* For mobile devices (less than 480px) */
@media (max-width: 480px) {

    .register-btn-animated::before {
        top: -4px;
        height: 20px;
    }

        .logo a {
        width: min(350px, 50vw);
        min-height: 150px;
    }
}

/* Footer */

.footer {
    border-top: 2px solid;
    border-image: repeating-linear-gradient(45deg,
            rgba(255, 0, 0, 0.688) 0px,
            rgba(255, 0, 0, 0.688) 10px,
            rgba(252, 252, 252, 0.688) 10px,
            rgba(252, 252, 252, 0.688) 20px) 1;
}

.footer-icons {
    text-shadow: rgba(53, 53, 53, 0.6) 0 2px;
}

.footer-icons a {
    color: rgb(255, 255, 255);
}

.footer-links a {
    color: rgb(255, 255, 255);
    text-shadow:
    1px 1px 2px rgba(10, 2, 2, 0.6),
        0 0 4px rgba(232, 0, 0, 0.6),
        0 0 8px rgba(61, 255, 3, 0.4),
        0 0 12px rgba(196, 196, 196, 0.67);
}