@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

::-webkit-scrollbar {
    width: 10px;
  }
  
  ::-webkit-scrollbar-track {
    background: var(--bg); 
  }
   
  ::-webkit-scrollbar-thumb {
    background: var(--hyperlink2); 
  }
  
  ::-webkit-scrollbar-thumb:hover {
    background: var(--bg); 
  }

.main {
    padding: 10px;
    width: 94.9vw;
    height: 97.5vh;
    overflow: hidden;
}

:root {
    --bg: rgb(15, 15, 15);
    --hyperlink: rgb(123, 47, 255);
    --hyperlink2: rgba(111, 24, 151, 0.548);
    --text: rgb(235, 235, 235);
    --tooltip: rgb(35, 35, 35);
}


* {
    margin: 0;
    font-family: "Roboto", sans-serif;
    font-weight: 400;

    background-color: var(--bg);
    color: var(--text);
}

.social_media {
    scale: 3;
    margin: 20px;
    text-align: center;
    text-decoration: none;
    color: var(--text);
}

*:link {
    color: var(--hyperlink);
    background-color: transparent;
    text-decoration: none;
}

.footer {
    
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1px;
    width: 98.5%;
    border-top: 2px solid rgba(134, 134, 134, 0.185);
    padding: 5px;
    color: white;
    text-align: center;
    margin-top: 64px;
    margin-bottom: 20px;
}

.tooltip {
    position: relative;
    display: inline-block;
    border-bottom: 1px dotted black;
  }
  
  .tooltip .tooltiptext {
    scale: .4;
    transform: translateY(18px);
    visibility: hidden;
    width: 120px;
    background-color: var(--tooltip);
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px 0;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: -60px;
    opacity: 0;
    transition: opacity 0.3s;
  }
  
  .tooltip .tooltiptext::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: var(--tooltip) transparent transparent transparent;
  }
  
  .tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
  }

#controller-info {
    transform: translateY(100px);
}
#disconnectedPage {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 100%;
    padding: 10px;
}

.fadeout {
    animation: IdleTextEnd 1s;
}

.fadein {
    animation: IdleTextStart 2s;
}

.uniquefadein {
    animation: ControllerStateStart 1s;
}

#template {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 100%;
    padding: 10px;
}

#controller-info {
    color: #ffffff63;
}

#connectedPage {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 100%;
    padding: 10px;

    display: none;
}

@keyframes IdleTextStart {
    from {
        opacity: 0;
        filter: blur(2px);
    }
    to {
        opacity: 1;
    }
}


@keyframes ControllerStateStart {
    from {
        transform: translateY(20px) rotate(-1deg);
        opacity: 0;
        filter: blur(2px);
    }
    to {
        opacity: 1;
    }
}

@keyframes IdleTextEnd {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}