/**
 * File: style.css
 * Date Created: 01/15/2024
 * Created By: Vitalie Gobjila
 * Copyright © 2024 GLT Design S.R.L. All rights reserved.
 *
 * This stylesheet defines the visual style for the 404 error page. It includes
 * styling for the HTML body, centering of content, animation effects for text,
 * and a radial gradient background. The stylesheet also defines media queries
 * for responsive design and includes keyframes for scanline and funnytext animations.
 */

@import url(https://fonts.googleapis.com/css?family=Oswald:400);
html, body {
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
    background: #515151;
    font-family: 'Oswald', sans-serif;
    overflow: hidden;
}

html::after {
    content: '';
    background: radial-gradient(circle, rgba(0, 0, 0, 0), rgba(0, 0, 0, 1));
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}

.center {
    height: 100vh;
    width: 100vw;
    position: absolute;
    top: 0;
    left: 0;
    text-align: center;
}

/* Add this style to initially hide the outerobj */
#outerobj {
    opacity: 0;
    transition: opacity 1s ease; /* Adjust the transition duration and easing as needed */
}

#innerobj {
    vertical-align: middle;
}

h1,
p {
    margin: 0;
    padding: 0;
    animation: funnytext 10s ease-in-out infinite;
}

h1 {
    font-size: 26rem;
    color: rgba(0, 0, 0, 0.3);
    filter: blur(3px);
}

p {
    font-size: 3rem;
    color: rgba(0, 0, 0, 0.6);
}

@media (orientation: landscape) {
    h1 {
        font-size: 13rem;
    }
    p {
        font-size: 2rem;
    }
}

@media (orientation: portrait) {
    h1 {
        font-size: 26rem;
    }
    p {
        font-size: 3rem;
    }
}

body::after,
body::before {
    content: ' ';
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    top: -4px;
    height: 4px;
    animation: scanline 8s linear infinite;
    opacity: 0.33;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.5) 90%, rgba(0, 0, 0, 0));
}

body::before {
    animation-delay: 4s;
}

@keyframes scanline {
    0% {
        top: -5px;
    }
    100% {
        top: 100%;
    }
}

@keyframes funnytext {
    0% {
        color: rgba(0, 0, 0, 0.6);
        filter: blur(1px);
    }
    10% {
        color: rgba(0, 0, 0, 0.7x);
        filter: blur(2px);
    }
    25% {
        color: rgba(0, 0, 0, 0.5);
        filter: blur(1px);
    }
    40% {
        color: rgba(0, 0, 0, 0.6);
        filter: blur(2px);
    }
    50% {
        color: rgba(0, 0, 0, 0.4);
        filter: blur(2px);
    }
    60% {
        color: rgba(0, 0, 0, 0.6);
        filter: blur(1px);
    }
    75% {
        color: rgba(0, 0, 0, 0.5);
        filter: blur(2px);
    }
    90% {
        color: rgba(0, 0, 0, 0.7);
        filter: blur(2px);
    }
    100% {
        color: rgba(0, 0, 0, 0.6);
        filter: blur(1px);
    }
}

