@import url('https://font.googleapis.com/css?family=Poppins:400,600,700,800&display=swap');
*
{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root
{
    --bg:#000000;
}

body
{
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
     background: var(--bg) ;
    font-family: 'Poppins',sans-serif;
}
section ul 
{
    position: fixed;
    right: 5%;
    top: 28%;
    transform: translateY(-50%); 
    display: flex;
    flex-direction: row;
    gap: 60px;
    z-index: 10;
}
section ul li 
{
    position: relative;
    list-style: none;
    width: 80px;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: 0.5s;
}
section ul li::before
{
    content: '';
    position: absolute;
    inset: 20px;
    box-shadow: 0 0 0 10px var(--clr),
    0 0 0 20px var(--bg),
    0 0 0 22px var(--clr);
    transition: 0.5s;
}

section ul li:hover::before
{
    inset: 15px;
}

section ul li::after
{
    content: '';
    position: absolute;
    inset: 0;
    background: var(--bg);
    transform: rotate(45deg);
    transition: 0.5s;
}

section ul li:hover::after
{
    inset: -30px;
    transform: rotate(0deg);
}

section ul li a
{
    position: relative;
    text-decoration: none;
    z-index:10;
    display: flex;
    justify-content: center;
    align-items: center;
}

section ul li a i
{
    font-size: 2em;
    transition: 0.5s;
    color: var(--clr);
}
section ul li:hover a i
{
    color: var(--clr);
    transform: translateY(-40%);
}

section ul li a span
{
    position: absolute;
    font-family: consolas;
    color: var(--clr);
    opacity: 0;
    transition: 0.5s;
    transform: translateY(20px) scale(0);
}
section ul li:hover a span
{
    opacity: 1;
    transform: translateY(40px) scale(1);
}
section ul li:hover a i,
section ul li a span
{
    filter: drop-shadow(0 0 20px var(--clr))
    drop-shadow(0 0 40px var(--clr))
    drop-shadow(0 0 60px var(--clr));
}

h2
{
    font-size: 6em;
    font-weight: 500;
    font-family: 'Poppins',sans-serif;
    color: #707070;
    letter-spacing: 5px;
    cursor: pointer;
    position: fixed;
    right: 10%;
    top: 55%;
    transform: translateY(-50%);
}
h2 span
{
    transition: 0.5s;
}

h2:hover span:nth-child(1)
{
    margin-right: 12px;
}
h2:hover span:nth-child(1)::after
{
    content: " |";
}
h2:hover span:nth-child(2)
{
    margin-left: 10px;
}

h2:hover span
{
    color: #fff;
    text-shadow: 0 0 10px #fff,
                 0 0 20px #fff,
                 0 0 40px #fff,
                 0 0 80px #fff,
                 0 0 120px #fff,
                 0 0 160px #fff;
}

audio {
    position: fixed;
    right: 20%;
    top: 75%;
    transform: translateY(-50%);
}

section
{
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
}

section .scroll
{
    width: 100%;
    display: flex;
}
section .scroll div
{
    color: #000;
    font-size: 4em;
    background: #fff;
    white-space: nowrap;
    font-weight: 900;
    text-transform: uppercase;
    animation: animate 300s linear infinite;
}


section .scroll div span
{
    -webkit-text-stroke: 3px #000;
    color: transparent;
}

@keyframes animate 
{
    0%
    {
        transform: translateX(-100%);
    }
    100%
    {
        transform: translateX(100%);
    }
}

section .scroll.text1
{
    position: absolute;
    transform: rotate(0deg);
    bottom: 1px;
    box-shadow: 0 5px 15px rgba(0,0,0,.5);
}
section .scroll.text2
{   
    transform: rotate(-45deg) translateY(-20px) translateX(-20px);
    box-shadow: 0 5px 15px rgba(0,0,0,.5);
}

@media (max-width: 768px) {
    section ul {
        bottom: 10px; 
        left: 50%;
        top: 50%;
        transform: translateX(-50%);
        justify-content: space-between;
        width: 90%;
        gap: 0;
    }
    h2 
    {
        display: none;
    }
    section ul li {
        width: 50px;
        height: 50px;
    }
    section ul li a i {
        font-size: 1.5em;
    }
    section ul li a span {
        font-size: 0.8em;
        transform: translateY(15px) scale(0);
    }

    section ul li:hover a span {
        transform: translateY(25px) scale(1);
    }

    section .scroll.text1 {
    position: absolute;
    transform: rotate(-45deg);
    bottom: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,.5);
    }

    audio {
        width: 80%;
        height: 250px;
        position: fixed;
        right: 10%;
        top: 55%; 
    }
}
