@font-face {
    font-family: 'SuperShiny';
    src: url('/static/fonts/SuperShiny-0v0rG.ttf') format('truetype');
}
body {
    padding-bottom: 7rem; /* Ensure there's enough space at the bottom */
    font-size:14px;
    height: 100vh; /* Full viewport height */
    overflow: hidden; /* Prevent scrolling */
  }


canvas {
    display: block;
    background: #fff; /* Background color */
    margin: 0 auto;
}

.bubble {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 25%, #fff, transparent 70%),
                radial-gradient(circle at 80% 60%, #ff9, transparent 60%),
                radial-gradient(circle at 50% 50%, #0ff, transparent 50%),
                radial-gradient(circle at 60% 40%, #f0f, transparent 40%);
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.8), 
                inset 0 0 8px rgba(255, 255, 255, 0.8), 
                0 0 50px rgba(0, 0, 0, 0.1);
}

.title_container {
    display: flex;
    justify-content: center;
    align-items: center;
    /* margin-top: 20px; */
    flex-direction: column;
    margin:5px
}

h1 {
    font-family: 'SuperShiny', system-ui;
    font-size: 3em;
    background: linear-gradient(0deg, rgba(34,193,195,1) 0%, rgba(253,45,124,1) 100%);
    /* background: linear-gradient(to bottom, rgb(20, 224, 122), lightblue); */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* New container for centering the channels */
.center-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.channels-container {
    display: grid;
    grid-template-columns: repeat(3, 250px); /* 3 columns with fixed size */
    grid-template-rows: repeat(2, 150px); /* 2 rows with fixed size */
    gap: 20px; /* Equal spacing between channels */
}

@font-face {
    font-family: 'contb';
    src: url('/static/fonts/console_inspired_font/contb.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

.console-font {
    font-family: 'contb', sans-serif;
}

.channel {
    overflow: hidden; /* hide the logo when it moves outside of the channel*/
    position: relative; /* CRITICAL */
    width: 250px;
    height: 150px;
    background-color: white;
    border: 1px solid lightgrey;
    border-radius: 15px; /* Rounded corners */
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */

    /* Make it look like the wii font */
    color: #B2B2B2;

    /* Place the text above the icon */
    z-index: 2; 
    /* font-family: Arial, sans-serif; */
    font-size: 30px;
    /* font-weight: bold; */
    transition: transform 0.4s ease; /* Smooth transition for scaling */
}

/* Hover effect to scale the channel */
.channel:hover {
    transform: scale(1.25); /* Scale to 1.25 times the original size */
}

/* Full-screen class */
.channel.fullscreen {
    position: fixed; /* Fix the position to cover the entire screen */
    top: 0;
    left: 0;
    width: 100vw; /* Full viewport width */
    height: 100vh; /* Full viewport height */
    border-radius: 0; /* Remove rounded corners */
    transition: transform 0.5s ease, width 0.5s ease, height 0.5s ease; /* Smooth transition to full screen */
    z-index: 1000; /* Ensure it stays on top */
}

.channel-icon {
    width: 80px;
    height: 80px;
    position: absolute;
    top: 50%;
    left: -100px; /* Completely off-screen initially */
    transform: translateY(-50%);
    opacity: 0;
    z-index: -1;
    transition: all 1s ease-in-out;
}

.profile-container {
    position: relative;
    display: inline-block;
    border-radius: 50%; /* Container is circular */
    overflow: visible;  /* Ensure the border pseudo-element isn’t clipped */
    z-index: 0; /* Establish a stacking context */
    transform:translate(10%,10%)
  }
  
  .profile-container::before {
    content: "";
    position: absolute;
    top: -5px;      /* Adjust to change border thickness */
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    background: linear-gradient(45deg, red, orange, yellow, green, blue, indigo, violet);
    background-size: 400% 400%;
    z-index: -1;
    animation: gradientAnimation 3s linear infinite;
  }
  
  @keyframes gradientAnimation {
    0% {
      background-position: 0% 50%;
    }
    50% {
      background-position: 100% 50%;
    }
    100% {
      background-position: 0% 50%;
    }
  }
  
  #profile_img {
    display: block;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    transform: translate(125%,0);
    object-fit: cover;
    position: relative;
    z-index: 1; /* Make sure the image is above the pseudo-element */
    opacity: 1;
  }

@media (max-width: 1200px) {
    body{
        overflow: auto; /* Allow scrolling on mobile */
        height: auto; /* Allow body to adjust height based on content */
    }

}

/* Media query for mobile devices */
@media (max-width: 700px) {
    .channels-container {
        grid-template-columns: 1fr; /* Single column layout */
        grid-template-rows: none; /* Auto rows */
        gap: 10px; /* Adjust gap for mobile */
    }

    .channel {
        width: 80vw; /* 2/3 of the viewport width */
        height: 25vh; /* 1/10 of the viewport height */
    }
    h1 {
        font-size: 2.5em;
        background: linear-gradient(0deg, rgba(34,193,195,1) 0%, rgba(253,45,124,1) 100%);
        /* background: linear-gradient(to bottom, rgb(20, 224, 122), lightblue); */
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }
}

