body {
    width: 99%;
    height: 100vh;
    background: linear-gradient(120deg, #2c95ca 0%, #1d7cac 40%, #0b65be 100%);
    animation: ambient-bg 3s ease-in-out infinite alternate;
    background-size: 200% 200%;
    color: #e0e0e0;
}

@keyframes ambient-bg {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 100% 50%;
    }
}
 
.tophead h1 {
    font-family: 'Verdana', Courier, monospace;
    text-align: center;
    font-size: 2rem;
    margin-top: 20px;
}

.head-container {
    position: relative;
    align-items: center;
    text-align: center;
    /*background: rgba(56, 56, 56, 0.85); 
    box-shadow: 0 4px 24px rgba(255, 255, 255, 0.3);
    */
    border-radius: 24px;        
    
    padding: 32px 24px;            
    display: block;         
    margin: 32px auto 0 auto;   
    max-width: 40rem;
    width: 90%;
    box-sizing: border-box;
    color: #f0f0f0; 
}


.head-container h1 {
    margin: 0;
    margin-bottom: 1%;
    padding: 0;
    font-size: 4.6rem;
    font-family: "Verdana", Helvetica, sans-serif;
}

.head-container h2 {
    margin: 0;
    
    padding: 0;
    font-size: 1.8rem;
    font-family: "Lucida Console", "Courier New", monospace;
}

#cat_img {
    box-shadow: 0 4px 24px rgba(255, 255, 255, .6);
}


.head-container img {
  display: block;
  border-radius: 50%;
  margin: 0 auto;
  border-radius: 100%;
  border: 2px solid whitesmoke;
  width: 40%;
}


.social-container {
    display: flex;               
    flex-direction: row;         
    align-items: center;         
    justify-content: center;     
    border-radius: 12px;        
    padding: 6px 24px;            
    margin: 32px auto 0 auto;   
    max-width: 20rem;
    
    width: 30%;
    box-sizing: border-box;
    color: #f0f0f0; 
    gap: 16px;    
    object-fit: cover;

    
}

.social-container img {
    width: 75px;
    height: 75px;

    border-radius: 100%;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.social-container img:hover {
    transform: scale(1.12);
}

.mic-container {
    display: flex;               
    flex-direction: row;         
    align-items: center;         
    justify-content: center;     
    background: rgba(56, 56, 56, 0.85); 
    border-radius: 12px;        
    box-shadow: 0 4px 24px rgba(255, 255, 255, 0.3);
    padding: 6px 24px;            
    margin: 32px auto 0 auto;   
    max-width: 20rem;
    
    width: 90%;
    box-sizing: border-box;
    color: #f0f0f0; 
    gap: 16px;                
}

#micbutton {
    position: relative;
    width: 40px;
    height: 40px;
    background-color: #ffffff; 
    box-shadow: 0 0 10px rgba(73, 73, 73, 0.5);
    display: flex;
    color: white;
    border: 2px solid rgb(90, 90, 90);
    border-radius: 25%;
    font-size: 24px;
    cursor: pointer;
    padding: 5px;
    margin-inline: 0;

    transition: transform 0.15s;
}

#clicktoactive {
    position: relative;
    font-size: 20px;
    margin-inline: 0;
    text-align: left;
    font: 25px 'Courier New', Courier, monospace;
}
#micbutton:hover {
    background-color: #e6e5e5;
    transform: scale(1.12);
}

.user-container {
    margin-top: 25px;
    display: flex;
    flex-direction: row;         
    align-items: flex-start;     
    background: rgba(46, 46, 46, 0.85);
    width: 600px;                
    max-width: 95vw;             
    min-width: 0;
    height: 500px;               
    box-shadow: 0 4px 24px rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    padding: 14px 16px;
    margin: 32px auto 0 auto;
    gap: 32px;                  
    box-sizing: border-box;
}

.user-container #UserID {
    margin: 0;
    padding: 0 8px 0 0;
    align-self: flex-start;
    font-size: 1.3rem;
    font-family: 'Courier New', Courier, monospace;
    white-space: nowrap;
}

.user-container .bottomhead {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 6px;
    margin: 0;
    padding: 0;
    font-family: 'Courier New', Courier, monospace;
    box-sizing: border-box;
    padding-top: 0;
    margin-top: 0;
    flex-wrap: nowrap;           
}

.user-container .bottomhead label,
.user-container .bottomhead input[type="text"],
.user-container .bottomhead input[type="submit"] {
    margin: 0;
    font-size: 1rem;
    box-sizing: border-box;
}

.user-container .bottomhead input[type="text"] {
    width: 100px;
}

.user-container .bottomhead input[type="submit"] {
    width: auto;
    padding: 2px 10px;
    border-radius: 4px;
    border: 1px solid #888;
    background: #333;
    color: #eee;
    cursor: pointer;
}


@media (max-width: 500px) {
    .user-container {
        width: 98vw;
        min-width: 0;
        max-width: 75vw;
        padding: 8px 4px;
        height: auto;
    }
    .user-container .bottomhead {
        flex-wrap: wrap;
        gap: 4px;
    }
    .user-container .bottomhead input[type="text"] {
        width: 80px;
    }
    
}


@media (max-width: 600px) {
    .mic-container {
        flex-direction: column;
        gap: 8px;
    }
    #micbutton {
        width: 32px;
        height: 32px;
        font-size: 18px;
    }
    #clicktoactive {
        font-size: 15px;
        text-align: center;
    }
}

@media (max-width: 600px) {
    .head-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 8px 4px;
        width: auto;
        max-width: 83vw;
        min-width: 0;
        margin-left: auto;
        margin-right: auto;
        box-sizing: border-box;

        
    }

    .head-container img {
        width: 70%;
    }

    .head-container h1 {
        margin: 0;
        margin-bottom: 2%;
        padding: 0;
        font-size: 5rem;
    }
 
    .head-container h2 {
        margin: 0;
        
        padding: 0;
        font-size: 2rem;
    }

    .social-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 8px 4px;
        width: auto;
        max-width: 83vw;
        min-width: 0;
        margin-left: auto;
        margin-right: auto;
        box-sizing: border-box;
    }
}