/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');

/* General styles */
body {
    font-family: 'Roboto', sans-serif;
}

/* The Drawer (background) */
.apps-drawer {
    display: none;
    position: fixed;
    bottom: 70px; /* Position the drawer above the icon */
    left: 20px;
    width: 300px; /* Set a fixed width for the drawer */
    max-width: 90%;
    background-color: #fefefe;
    padding: 10px;
    border: 1px solid #888;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 1000;
}

/* The Close Button */
.apps-close {
    color: #aaa;
    float: right;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
}

.apps-close:hover,
.apps-close:focus {
    color: black;
    text-decoration: none;
}

.apps-drawer-title {
    font-size: 20px;
    margin-bottom: 10px;
    text-align: center;
    font-weight: 700;
}

.apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 10px;
    text-align: center;
}

.apps-grid-item {
    background-color: #663399;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: white;
    transition: transform 0.3s, box-shadow 0.3s;
}

.apps-grid-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.apps-grid-item i {
    font-size: 24px;
    margin-bottom: 5px;
    color: #fff;
}

.apps-modal-text {
    margin: 5px 0;
    font-size: 14px;
    font-weight: 500;
}

.apps-modal-desc {
    font-size: 12px;
    color: #dcdcdc;
}

.apps-icon {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background-color: #fff;
    border: 2px solid #000;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    z-index: 1000;
}

.apps-icon i {
    font-size: 20px;
    color: #663399;
}
