body {
    background-color: #000000; /* Dark background for contrast */
    color: #fff; /* White text for readability */
    font-family: 'Gugi', sans-serif; /* Standard font */
    text-transform: uppercase;
}

body, button, input, textarea {
    font-family: 'Gugi', sans-serif; /* Update this with your chosen Google Font */
}

#title-bar {
    background-color: #000; /* Black for contrast */
    padding: 10px;
    text-align: center;

}

#title-bar h1 {
    margin: 0;
    padding: 10px 0;
    color: #fff; /* White text */
    font-family: 'Gugi', sans-serif;
    text-transform: uppercase;
}

#main-area {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    padding: 20px;
    background-color: #000000; /* Dark background for the main area */
}

.folder-container {
    width: 200px;
    height: 200px;
    margin: 10px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #ff0000; /* Red base color */
    border-radius: 10px;
    box-shadow: 0 4px 8px rgb(255 255 255 / 56%),
                inset 0 2px 4px rgb(255 255 255);
    border: 4px solid #fff; /* White border for contrast */
    transition: all 0.3s ease;
}

.folder-container:hover {
    background-color: #ff0000; /* Slightly darker red on hover */
    transform: translateY(-3px); /* Lift effect on hover */
    box-shadow: 
        0 4px 8px rgba(0, 0, 0, 0.6), /* Deeper shadow for a "pop" effect */
        inset 0 2px 4px rgba(255, 255, 255, 0.5), /* Inner light effect */
        0 0 15px 5px #ff0000; /* Red glowing effect */
}

.folder-container:active {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4),
                inset 0 1px 2px rgba(255, 255, 255, 0.5);
    transform: translateY(2px); /* Push down effect */
}

.folder-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin-bottom: 5px;
    box-shadow: 0 0 10px #000; /* Black glow for depth */
    border: 2px solid #000;
}

.folder-name {
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.8em;
    text-align: center;
    color: #fff;
    margin-top: 10px;
    border: 2px solid #fff;
    padding: 5px 5px;
    border-radius: 12px;
    background-color: #000000;  
    transition: transform 100ms ease, box-shadow 100ms ease;  
  

}

.folder-name:hover {
    background-color: #0093ff; /* Lighter red on hover */
    box-shadow: 0px 1px 1px rgb(0 0 0);  
}

.folder-name:active {
    transform: translateY(2px); /* Push-in effect when active/pressed */
    box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.1); /* Adjust shadow for depth effect */
}

#soundboard-area {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    padding: 20px;
    justify-content: center;
    align-items: start;
    position: relative; /* Add position relative */
    padding-bottom: 60px; /* Add padding to accommodate the back button */
    margin-bottom: 60px; /* Add space at the bottom for the back button */
}


.title-container {
    text-align: center;
    margin-bottom: 20px; /* Adjust as needed */
}

.folder-title-link {
    display: block;
    font-size: 2em; /* Large font size for the title */
    color: #fff; /* Text color */
    margin-bottom: 10px; /* Space between title and back button */
      text-transform: uppercase;
}

.audio-button-container {
    display: inline-grid;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0; /* Reset margin to work well with grid layout */
    padding: 5px;
    border: 4px solid #ffffff; /* White border for each button */
    background-color: #000; /* Black background for contrast */
    border-radius: 10px;
    width: 260px; /* Adjust the width as needed */
    height: 260px; /* Adjust the height as needed */
}


.audio-button {
  background: #ff0000; /* Red background */
  border-radius: 50%;
  box-shadow: 0 0 8em rgb(189 246 163), 
              0 0 8em rgba(189,246,163,.75), 
              0 0 .25em rgba(0,0,0,.9), 
  display: flex;
  justify-content: center;
  align-items: center;
  height: 12em; /* Button size */
  width: 12em; /* Button size */
  margin: 15px; /* Spacing between buttons */
  cursor: pointer;
  position: relative; /* Needed for absolute positioning of inner button */
}

.audio-button-inner {
  background: linear-gradient(to bottom, #b01e1e 0%, #920f0f 100%); /* Plastic look */
  border-radius: 50%;
  box-shadow: 0 0 .5em rgb(0 0 0), 
              inset 0 .25em .3em rgb(0 0 0), 
              inset 0 -.25em .3em rgb(0 0 0);
  height: 80%;
  width: 80%;
  position: absolute;
  top: 10%;
  left: 10%;
  transition: box-shadow 0.1s linear, top 0.1s ease;
}

.audio-button-inner:before {
  content: " ";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: linear-gradient(to bottom, rgb(255 255 255 / 9%) 0%, rgba(255,255,255,0) 50%);
  border-radius: 50%;
}

.audio-button:active .audio-button-inner {
  box-shadow: 0 0 .5em rgba(0,0,0,1), 
              inset 0 .1em .3em rgba(0,0,0,.5), 
              inset 0 -.1em .3em rgba(0,0,0,.5);
  top: 11.5%;
}

.audio-button-label {
    position: absolute; /* Position it over the button */
    top: 50%; /* Center vertically */
    left: 50%; /* Center horizontally */
    transform: translate(-50%, -50%); /* Adjust the centering */
    color: #fff; /* Text color */
    text-align: center; /* Align text */
    font-size: 1em; /* Adjust font size as needed */
    white-space: nowrap; /* Prevent text wrapping */
    overflow: hidden; /* Hide overflow */
    text-overflow: ellipsis; /* Add ellipsis for overflow */
    width: 90%; /* Width relative to button size */
  text-transform: uppercase;
}

.random-button-image {
    max-width: 100%; /* Fill the entire width */
    max-height: 100%; /* Fill the entire height */
    object-fit: cover; /* Cover the area, maintain aspect ratio */
    border-radius: 50%; /* Circular image */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Center the image */
}

.back-button-container {
    position: fixed; /* Fixed position */
    left: 10px; /* 10px from the left */
    bottom: 10px; /* 10px from the bottom */
    z-index: 100; /* High z-index to ensure it's above other elements */
}

.back-button {
    padding: 15px 30px;
    font-size: 16px;
    background-color: #f00; /* Black background for the button */
    color: #fff; /* White text for the button */
    border: none;
    border-radius: 5px;
    display: inline-block; /* To center the button */
    margin: 0 auto; /* Center the button */
}

/* Adjust the font size for smaller screens or based on button size */
@media (max-width: 600px) {
    .audio-button-label {
        font-size: 0.8em;
    }
}

@media (max-width: 600px) {
    .back-button {
        width: 100%;
        font-size: 18px;
    }
}

#footer {
    background-color: #000;
    color: #fff;
    text-align: center;
    padding: 20px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px; /* Adjust as needed */
}

#footer a.twitter-follow-link, #footer a.twitter-follow-link:hover, #footer a.twitter-follow-link:visited {
    color: #ff0000; /* Red text for the Twitter follow link */
    text-decoration: none; /* Remove underline */
    font-size: 1.2em;
    margin: 5px 0; /* Spacing */
    display: inline-flex; /* Align icon and text */
    align-items: center; /* Center items vertically */
}

#footer i {
    margin-right: 8px; /* Space between icon and text */
}

.custom-message-button {
    display: inline-block;
    background-color: #ff0000; /* Red background */
    color: #fff; /* White text */
    padding: 10px 15px;
    margin-top: 10px;
    border-radius: 5px;
    text-decoration: none; /* Remove underline from link */
    font-size: 1em;
    font-weight: bold;
    border: 2px solid #fff; /* White border */
    transition: background-color 0.3s, color 0.3s; /* Smooth transition for hover effect */
}

.custom-message-button:hover {
    background-color: #e60000; /* Darker red on hover */
    color: #eee; /* Slightly lighter text on hover */
}

#footer #visitorCount {
    color: #fff;
    margin-top: 10px;
    font-size: 1.2em;
    text-align: center;
}
