/* Default styles for mobile devices */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden; /* Hide any overflow to prevent scrolling */
}

body {
    font-family: Arial, sans-serif !important;
    background-color: #4D4DFF !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    min-height: 100vh !important;
    overflow-x: hidden !important;
    overflow-y: scroll !important;
    position: relative !important;
}

/* Style for the bottom navigation */
.bottom-nav {
    background-color: #333;
    color: #fff;
    position: fixed !important;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 999 !important; /* Ensure the navigation stays above other content */
}

.bottom-nav ul {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: space-around;
}

.bottom-nav li {
    margin: 0;
    padding: 0px;
}

.bottom-nav a {
    text-decoration: none;
    color: #fff;
}

.container {
    flex: 1;
    max-width: 100%;
    padding: 10px;
}

.header {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 10px;
}

.header h1 {
    margin: 0;
    padding: 0;
}

.content {
    padding: 20px;
}

/* Custom styles for the buttons */
.button-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 20px;
}

.collapsible {
    display: none; /* Initially hide the collapsible divs */
    padding: 10px;
    background-color: #FFF;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-top: 0px;
    margin-bottom: 20px;
    width: 100%;
}

.button {
    width: 100%; /* Width is set to 100% of its container */
    min-height: 100px; /* Set a fixed minimum height */
    height: auto; /* Allow the height to adjust based on content */
    background-color: #8080FF;
    color: #fff;
    text-align: center;
    padding: 20px;
    margin: 5px;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
}

.button:hover {
    background-color: #2072b0 !important; /* Apply the hover color with !important */
    transform: scale(1.05);
}

.square-button {
    display: inline-block;
    width: 70px; /* Adjust the width to make them square */
    height: 70px; /* Adjust the height to make them square */
    background-color: #3498db; /* Background color for the buttons */
    color: #fff; /* Text color */
    text-align: center;
    line-height: 1; /* Reset line-height */
    margin: 3px; /* Add spacing between buttons */
    text-decoration: none; /* Remove underlines from links */
    border-radius: 50%; /* Rounded corners */
    font-size: 10px; /* Adjust font size */
    position: relative; /* Add relative positioning to the button */
    overflow: hidden; /* Hide overflowing content (image) */
}

.square-button img {
    width: 100%; /* Set the image width to 100% of the button */
    height: 100%; /* Set the image height to 100% of the button */
    object-fit: cover; /* Cover the entire button with the image */
    position: absolute; /* Position the image absolutely within the button */
    top: 0; /* Align the image to the top of the button */
    left: 0; /* Align the image to the left of the button */
    z-index: 1; /* Place the image above the button's content */
}

.square-button span {
    position: relative; /* Add relative positioning to the button's text */
    z-index: 2; /* Place the text above the image */
    padding: 5px; /* Add padding to the text */
}

footer {
    /* background-color: #333; */
    color: #fff;
    text-align: center;
    padding: 10px;
}

footer a:visited {
    color: #fff;
}

.spacer {
    margin: 150px;
}

/* Media queries for different screen sizes */
@media screen and (min-width: 768px) {
    /* Styles for tablets and larger screens */
    .container {
        max-width: 768px;
        margin: 0 auto;
    }
}

@media screen and (min-width: 992px) {
    /* Styles for larger screens (e.g., small laptops) */
    .container {
        max-width: 992px;
    }
}

@media screen and (min-width: 1200px) {
    /* Styles for large screens (e.g., desktops) */
    .container {
        max-width: 1200px;
    }
}
