html, body {
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background-color: #222;
    color: white;
    background-image: url("https://i.pinimg.com/originals/60/a5/85/60a58511e5c70a418ac743f7df8134fa.gif");
    background-position-x: 80%;
    background-position-y: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.center {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    position: relative;
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
}

.overlay {
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: #222;
    pointer-events: none;
    opacity: 1;
    animation-name: overlay-fade;
    animation-duration: 2s;
    animation-fill-mode: forwards;
    animation-timing-function: ease-in-out;
}

.center-content, .links {
    opacity: 0;
}

.center-content {
    animation-name: fade-in;
    animation-duration: 2s;
    animation-delay: 1s;
    animation-fill-mode: forwards;
    animation-timing-function: ease-in-out;
}

.title {
    font-size: 42px;
    font-weight: 700;
    text-shadow: 0 0 15px rgba(90, 90, 90, 0.5);
    /*transition: transform 10ms ease-in-out;*/
}

.subtitle {
    font-size: 18px;
    letter-spacing: 3px;
}

.links {
    animation-name: fade-in;
    animation-duration: 2s;
    animation-delay: 2s;
    animation-fill-mode: forwards;
    animation-timing-function: ease-in-out;
    position: fixed;
    bottom: 7px;
    width: 100%;
    display: grid;
    height: 50px;
    justify-content: center;
    align-items: center;
    grid-template-columns: 0.3fr 0.3fr 0.3fr;
    gap: 35px;

}
.link {
    height: 40px;
    border: 1px solid;
    text-align: center;
    border-radius: 5px;
}
.link:hover {
    border: 2px solid;
}
.links a {
    font-size: 24px;
    color: white;
    text-shadow: 0 0 15px rgb(50, 50, 50, 0.5);
    margin-left: 5px;
    margin-right: 5px;
}
.links a:hover {
    text-shadow: 0 0 30px rgb(30, 30, 30, 1);
}

@keyframes overlay-fade {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0.4;
    }
}

@keyframes fade-in {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}



@media screen and (max-width: 600px) {
    .links {
        gap: 25px;
        bottom: 0;
    }
    .link {
        height: 32px;
    }
    .links a {
        font-size: 20px;
    }
}

@media screen and (max-width: 360px) {
    .links {
        gap: 7px;
        align-items: center;
        grid-template-columns: auto;
        justify-items: center;
        grid-template-rows: repeat(3, 32px);
        height: auto;
        bottom: 7px;
    }
   .links a {
        font-size: 19px;
    }
}