/* start global rules */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: system-ui;
}
ul {
    list-style: none;
    padding: 0;
}
a {
    text-decoration: none;
}
/* end global rules */
section {
    background-image: url(../images/stars1.png);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    position: relative;
    overflow: hidden;
}
section::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(#01012e, #240019);
    z-index: -1;
}
section ul {
    display: flex;
    flex-direction: column;
    text-align: center;
    gap: 15px;
}
section ul li::after {
    content: attr(data-text);
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    text-transform: uppercase;
    font-size: 120px;
    font-weight: bold;
    letter-spacing: 60px;
    pointer-events: none;
    opacity: 0;
    z-index: 0;
    transition: .4s;
}
section ul li:hover::after {
    opacity: .5;
    letter-spacing: 10px;
}
section ul li::before {
    content: "";
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 200px;
    border-radius: 50%;
    background-color: #fff;
    pointer-events: none;
    opacity: 0;
    transition: .4s;
}
section ul li:hover::before {
    opacity: .5;
    border-radius: 50%;
    width: 200px;
    box-shadow: 0 0 80px 10px #ff4500;
}
section ul li.venus:hover::after {
    top: calc(40% + 20px);
}
section ul li.venus:hover::before {
    top: calc(60% + 60px);
}
section ul li a {
    text-transform: uppercase;
    font-size: 30px;
    font-weight: bold;
    letter-spacing: 4px;
    padding: 15px 20px;
    display: block;
    background-color: darkblue;
    color: #fff;
    border-radius: 40px;
    transition: .4s;
    position: relative;
    z-index: 100;
}
section ul:hover > :not(:hover) {
    opacity: 0;
}
section ul li a:hover {
    transform: scale(1.3);
    background-color: darkmagenta;
}
@media (max-width: 767px) {
    section ul li::after {
        font-size: 50px;
    }
    section ul li a:hover {
        transform: scale(1.25);
    }
}