body::-webkit-scrollbar {
    display: none;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* Internet Explorer 10+ */
    transition: background-color 0.3s, color 0.3s;
}


.title2 {
    text-align: center;
    padding: 10px;
}

.warning-icon {
    color: orange;
}

.grid-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
    /* padding: 20px; */
    border-radius: 4px;
}



.title1 {
    text-align: center;
    font-size: 20px;
    color: #333;
    margin-bottom: -20px;
    padding: 10px;
}

.activity-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
    padding: 20px;
    scrollbar-width: none;
    /* For Firefox */
}

@media only screen and (min-width: 600px) {
    .activity-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 10px;
        padding: 0px !important;
    }
}

.activity-grid::-webkit-scrollbar {
    display: none;
}



.activity {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    padding: 13px;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-align: center;
    position: relative;
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.activity i {
    font-size: 40px;
    margin-bottom: 10px;
    color: #888;
    transition: color 0.3s ease;
}

.activity:hover {
    transform: scale(1.1);
}

.activity h3 {
    font-size: 16px;
    color: #333;
}

/* .activity:hover {
    transform: translateY(3px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }
   */

.activity:nth-child(1) i,
.activity:nth-child(1) h3 {
    color: #ff5c5c;
    /* Red */
}

.activity:nth-child(2) i,
.activity:nth-child(2) h3 {
    color: #ffa500;
    /* Orange */
}

.activity:nth-child(3) i,
.activity:nth-child(3) h3 {
    color: #ffd700;
    /* Gold */
}

.activity:nth-child(4) i,
.activity:nth-child(4) h3 {
    color: #32cd32;
    /* Lime Green */
}

.activity:nth-child(5) i,
.activity:nth-child(5) h3 {
    color: #00bfff;
    /* Deep Sky Blue */
}

.activity:nth-child(6) i,
.activity:nth-child(6) h3 {
    color: #da70d6;
    /* Orchid */
}

.activity:nth-child(7) i,
.activity:nth-child(7) h3 {
    color: #ff1493;
    /* Deep Pink */
}

.activity:nth-child(8) i,
.activity:nth-child(8) h3 {
    color: #00ced1;
    /* Dark Turquoise */
}

.activity:nth-child(9) i,
.activity:nth-child(9) h3 {
    color: #8a2be2;
    /* Blue Violet */
}

.activity:nth-child(10) i,
.activity:nth-child(10) h3 {
    color: #a52a2a;
    /* Brown */
}

.activity:nth-child(11) i,
.activity:nth-child(11) h3 {
    color: #deb887;
    /* Burly Wood */
}

.activity:nth-child(12) i,
.activity:nth-child(12) h3 {
    color: #5f9ea0;
    /* Cadet Blue */
}

.activity:nth-child(13) i,
.activity:nth-child(13) h3 {
    color: #6495ed;
    /* Cornflower Blue */
}

.activity:nth-child(14) i,
.activity:nth-child(14) h3 {
    color: #41dee1;
    /* Royal Blue */
}

.activity:nth-child(15) i,
.activity:nth-child(15) h3 {
    color: #8b4513;
    /* Saddle Brown */
}

/* Hover styles */
.activity:hover i,
.activity:hover h3 {
    color: #ff5c5c;
}

.activity a {
    text-decoration: none;
}


.version {
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    font-weight: bold;
    font-size: 16px;
    text-align: center;
}

.announcement-text .version {
    color: black;
    font-weight: unset;
    font-size: 15px;
}

.version li a {
    display: inline-block;
    margin-right: 20px;
    filter: invert(1);
    transform: scale(0.5);
    transition: 0.5s;
}

.version li a:hover {
    transform: scale(0.5) translateY(-15px);
}

.announcement {
    margin: 0;
    padding: 15px;
    border: 1px solid #ddd;
    width: 100%;
    box-sizing: border-box;
    cursor: pointer;
    border-radius: 10px;
}

.announcement-title {
    margin: 0 0 5px 0;
    cursor: pointer;
}

.announcement-title :hover {
    margin: 0 0 5px 0;
    cursor: pointer;
}

.announcement-text {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
    cursor: pointer;
}

.title-anc {
    font-weight: bold;
    margin: 0 0 5px 0;
    cursor: pointer;
}

.announcement-text p {
    margin: 0;
    font-size: 14px;
    /* to ensure there's no default browser margins applied */
}

.important {
    color: red;
}

.logo {
    width: 70%;
    /* Adjust as needed */
    max-width: 100px;
    /* Adjust as needed */
    height: auto;
    margin-bottom: 10px;
}


#mipLogo {
    display: block;
}

#mipLogoWhite {
    display: none;
}

/* Dark mode */
.dark-mode #mipLogo {
    display: none !important;
}

.dark-mode #mipLogoWhite {
    display: block !important;
}

.button-container {
    display: flex;
    /* This will arrange child elements in a row */
    justify-content: space-between;
    /* This will space out the child elements evenly */
}

.form-group {
    margin: 0 10px;
    /* This will give a 10px space to the left and right of each .form-group */
}

/* If you want them to be centered, you can add the following CSS */
.button-container {
    justify-content: center;
    /* This will center the child elements */
}

.responsive-iframe {
    position: relative;
    padding-bottom: 56.25%;
    /* For a 16:9 aspect ratio, you can adjust as necessary */
    height: 0;
    overflow: hidden;
}

.responsive-iframe iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}


.badge2 {
    display: none;
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 5px 10px;
    border-radius: 12px;
    background-color: red;
    color: white;
    font-size: 12px;
    font-weight: bold;
}

.activity img {
    pointer-events: none;
    -webkit-user-drag: none;
}

#vanUserModal {
    display: none;
}

.success-banner {
    background-color: #4CAF50;
    /* Green background */
    color: white;
    text-align: center;
    padding: 10px;
    width: 100%;
    box-sizing: border-box;
    /* Ensures padding doesn't increase its size */
}

/* Optional: Add transitions for smooth appearance */
.success-banner {
    transition: all 0.5s ease;
}

/* CSS */
.toggle-button {
    padding: 10px 20px;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    background-color: #007bff;
    /* Blue color, adjust as needed */
    color: #fff;
    /* White text color */
    cursor: pointer;
    transition: background-color 0.3s;
}

.toggle-button:hover {
    background-color: #0056b3;
    /* Darker shade of blue on hover */
}


.admin-panel {
    margin: 20px;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #f9f9f9;
}

.admin-panel h2 {
    color: #333;
}

.form-group {
    margin-bottom: 10px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

button {
    padding: 10px 15px;
    color: white;
    background-color: #007bff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

button:hover {
    background-color: #0056b3;
}