@keyframes mark-brown {
    0% { background-position: 0% 0%; }
    50% { background-position: 100% 100%; }
    100% { background-position: 0% 0%; }
}

@keyframes animatedBackground {
    from { background-position: 0 0; }
    to { background-position: -10000px 0; }
}

@font-face {
    font-display: swap;
    font-family: 'Inconsolata';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/inconsolata-v37-latin-regular.woff2') format('woff2');
}

@font-face {
    font-display: swap;
    font-family: 'IBM Plex Mono';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/ibm-plex-mono-v19-latin-regular.woff2') format('woff2');
}


:root {
    --friend-box-width: 200px;
    --friend-box-height: 100px;
}

* {
    font-family: 'Inconsolata', sans-serif;
    color: #000;
}



#cover {
    position: fixed;
    top: 0;
    left: 0;
    background: white;
    width:100%;
    height: 100%;
    z-index: 9999;
    transition: opacity 0.3s ease;
}

#cover.hidden {
    opacity: 0;
    pointer-events: none;
}

#animatedBackground {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background: url("../materials/videos/star.jpg");
  background-repeat: repeat;
  background-position: 0 0;
  background-size: auto 100%;
  background-color: rgb(255, 255, 255);
  background-blend-mode: multiply;
  animation: animatedBackground 500s linear infinite;
}

body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0; 
    justify-content: center;
    align-items: center;
    animation: 200s linear infinite animatedBackground;
    
}
footer {
    z-index: 1;
}

.blur-overlay{ 
    position: fixed;
    top: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    filter: blur(1px);
    z-index: -1;
    background: repeat;
}


.background {
    padding-top: 4px;
}

h1, .author, h2 { text-align: center;  }
h1 { font-size: 72px; text-shadow: 1px 2px 50px rgba(0, 0, 0, 0.65); }
.author { font-size: 16px; }
p {
    font-size: 16px;
    text-align: center;
}

.window-friends {
    width: 120vh;
    height: 60vh;
    background: rgba(0, 0, 0, 0.511);
    border: solid 1px;
    border-radius: 5px;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 10px;
    transition: width 0.5s ease, height 0.5s ease, transform 0.45s ease-out;
}

.window-friends:hover{
    transform: scale(1.01);
}

.text-header {
    background: linear-gradient(0.25turn, transparent, rgba(0, 0, 0, 0.105), transparent);
    border-radius: 30px;
}

.header-title {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 30px;
}

.cat-roller {
    width: 20vh;
    height: auto;
}

.friendbox {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 8px 14px;
    background: linear-gradient(to bottom, transparent, rgb(35, 35, 35));
    width: var(--friend-box-width);
    height: var(--friend-box-height);
    margin: 20px;
    border-radius: 3px;

}

.friend-title {
    display: block;
    text-align: center;
    font-size: 24px;
    background: white;
    background-size: 200% 200%;
    background-clip: text;
    color: transparent;
    -webkit-background-clip: text; 
    animation: mark-brown 4s linear infinite;
    margin: auto;
    padding-bottom: 10px;
}

.profile-pic-wrapper {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: 100px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 10px;
    border: 3px solid black;

    transition: border-radius 0.3s ease;
}

.friendbox:hover .profile-pic-wrapper {
    border-radius: 5px;
}

.profile-pic {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.friend-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100px;
}

.socials {
    margin: auto;
}

.badge-box {
    display: flex;
    flex-direction: row;
    justify-content: center;
}


.danu-badge {
    width: 88px;
    height: 31px;
}

.kaya-badge:hover{
    animation: slightRotate 0.6s ease-in infinite;
}

.danu-badge:hover{
    animation: slightRotate 0.6s ease-in infinite;
}

@keyframes slightRotate {
  0% { transform: rotate(0deg); }
  25% { transform: rotate(5deg); }
  50% { transform: rotate(0eg); }
  75% { transform: rotate(-5deg); }
  100% { transform: rotate(0deg); }
}

.friend-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.falling-text {
    position: fixed;
    font-size: 24px;
    font-weight: bold;
    color: #007bff;
    white-space: nowrap;
    user-select: none;
    pointer-events: none; /* Allows clicks to pass through the text */
}

.yt, .twitch, .twitter, .ig, .steam {
    height: auto;
   filter: invert();
}

.yt { width: 30px;}
.twitch { width: 30px; }
.twitter { width: 30px; }
.ig { width: 30px;} 
.steam { width: 29px;}

.description {
    font-size: 9px;
    color: rgba(255, 255, 255, 0.336);
    text-align: center;
    padding-top: 3px;
}

.window-friends::-webkit-scrollbar {
    display: none;
}

a {
    margin-right: 4px;
    padding-left: 3px;
}

@media screen and (max-width: 700px) {
    .cat-roller {
    width: 16vh;
    height: auto;
    }
    h1 {
        font-size: 48px;
    }
    h2 {
        font-size: 2vh;
    }
    .badge-box{
        margin-left: 20px;
        margin-right: auto;
    }

.window-friends {
    width: 40vh;
    height: 60vh;  
}

}
