* {
    margin: 0;
    padding: 0;
}

body {
    background-image: linear-gradient(#01012e, #240019);
    height: 100vh;
    font-family: system-ui;
}

section {
    background: url('stars1.png');
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

ul {
    text-align: center;
}

ul:hover li a {
    opacity: 0;
}

ul li {
    list-style: none;
    margin: 14px 0;
}

ul li a {
    color: white;
    text-decoration: none;
    font-size: 20px;
    font-weight: 500;
    letter-spacing: 4px;
    background-color: darkblue;
    padding: 6px 15px;
    border-radius: 20px;
    display: inline-block;
    width: 120px;
    transition: 0.5s;
    text-transform: uppercase;
    position: relative;
    z-index: 100;
}

ul li a:hover {
    transform: scale(1.5);
    background-color: darkmagenta;
    opacity: 1;
}

ul li::after {
    content: attr(data-text);
    color: white;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-size: 80px;
    font-weight: 900;
    text-transform: uppercase;
    opacity: 0;
    pointer-events: none;
    letter-spacing: 50px;
    transition: 0.5s;
}

ul li:hover:after {
    opacity: 0.5;
    letter-spacing: 0;
}

ul li::before {
    content: '';
    width: 180px;
    height: 80px;
    background-color: white;
    position: absolute;
    left: 50%;
    top: 60%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    opacity: 0;
    pointer-events: none;
    transition: 0.5s;
    box-shadow: 0 0 80px orangered;
}

ul li:hover::before {
    opacity: 0.5;
    width: 80px;
}