@font-face {
    font-family: 'Unbounded';  /* You can name it whatever you like */
    src: url('fonts/Unbounded-Medium.woff2') format('woff'); /* path to your font file */
    font-weight: bold;
    font-style: normal;
}


body, html {
    font-family: 'Unbounded', fallbackFont, sans-serif;
    height: 100%;
    margin: 0;
    overflow: hidden;
}

body {
    background-color: #151515;
    display: flex;
    justify-content: center;
    align-items: center;
}

canvas {
    position: absolute;
    top: 0;
    left: 0;
    background-color: #151515;
    z-index: -1;
}

.container {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
}

.profile-pic {
    width: 300px;
    height: 300px;
    background: url('images/pfp.webp') no-repeat center/cover;
    border-radius: 50%;
    position: relative;
}

.profile-pic::after {
    content: "";
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    border: 3px solid #663bdb;
    box-shadow: 0 0 10px 2px #663bdb;
}

@keyframes floatOpacity {
    0%, 100% {
        opacity: 0.7;
    }
    50% {
        opacity: 0.95;
    }
}

h1 {
    font-size: 2em;
    color: white;
    font-weight: bold;
    margin-top: 40px;
    font-family: 'Unbounded', fallbackFont, sans-serif;
    animation: floatOpacity 5s infinite;
    opacity: 0.7;
}

.socials {
    margin-top: 30px;
}

.socials a {
    margin: 0 25px;
    text-decoration: none;
    color: white;
    font-size: 0;
    width: 50px;
    height: 50px;
    display: inline-block;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    overflow: hidden;
}

.telegram-icon {
    background-image: url('icons/Telegram.svg');
}

.discord-icon {
    background-image: url('icons/Discord.svg');
}

.instagram-icon {
    background-image: url('icons/Instagram.svg');
}

/* Removing the ::before pseudo elements for icons */
.telegram-icon::before, .discord-icon::before, .instagram-icon::before {
    content: none;
}
