/*CSS*/
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: url('img/bg.jpg') no-repeat center center fixed;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    flex-direction: column;
}

.square {
    width: auto;
    min-width: 100px;
    height: auto;
    min-height: 100px;
    border: 2px solid rgb(255, 255, 255);
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    padding: 10px;
    white-space: nowrap;
    transition: box-shadow 1s ease; /* hover transition */
}

.square:hover {
    color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    animation: smoke 1s ease-in-out infinite;
}

a {
    text-decoration: none;
    color: rgb(255, 255, 255);
}

a:hover {
    background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 50%, #ffffff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    animation: fadeInOut 5s ease-in-out infinite;
}

@keyframes fadeInOut {
    0%, 100% {
        opacity: 0.6; /* 60% opacity min */
    }
    50% {
        opacity: 1;
    }
}

/*Line of text below the square, created for usernames page but prob used in other places lol*/
.info {
    text-align: center;
    margin-top: 10px;
    color: rgb(160, 160, 160);
    font-size: 14px;
    width: 100%;
}

footer {
    position: absolute;
    bottom: 10px;
    width: 100%;
    text-align: center;
}

.footer-text {
    color: rgb(255, 255, 255);
    font-size: 14px;
}
