html{
    font-family: sans-serif;
    margin: 0;
    padding: 0;
}

a{
    color: #000000;
    text-decoration: underline;
}

body {
    margin: 0;
    padding: 0;
}

.topbar{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #000000;
    color: black;
    padding: 10px;
    box-sizing: border-box;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.topbar-left {
    flex: 1;
}

.topbar-right {
    display: flex;
    gap: 10px;
}

.editor-btn {
    background-color: #90c87c;
    color: black;
    border: none;
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.editor-btn:hover {
    background-color: #7ab069;
}

.topbar a{
    color: #FFFFFF;
}

.content{
    margin-top: 50px;
    padding: 20px;
    padding-bottom: 60px;
}

start {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.service-link {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background-color: #f0f0f0;
    border: 2px solid #ddd;
    border-radius: 8px;
    text-decoration: none;
    color: #333 !important;
    font-weight: bold;
    transition: all 0.3s ease;
}

.service-link:hover {
    background-color: #90c87c;
    border-color: #90c87c;
    color: white !important;
    transform: scale(1.05);
}

.bar{
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #90c87c;
    color: black;
    padding: 10px;
    box-sizing: border-box;
    z-index: 1000;
}

.bar a {
    color: black !important;
    cursor: pointer;
    font-weight: bold;
}

.menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    animation: fadeIn 0.3s ease;
}

.menu.open {
    display: flex;
    flex-direction: column;
}

.menu-header {
    background-color: #000000;
    color: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.menu-header h2 {
    margin: 0;
}

.close-btn {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.menu-content {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
    align-content: start;
}

.menu .service-link {
    background-color: white;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.editor-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 2500;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.editor-modal.open {
    display: flex;
}

.editor-container {
    background-color: white;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    max-width: 800px;
    width: 100%;
    max-height: 80vh;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.editor-header {
    background-color: #000000;
    color: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 8px 8px 0 0;
}

.editor-header h2 {
    margin: 0;
}

.json-editor {
    flex: 1;
    padding: 20px;
    border: none;
    border-radius: 0;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    resize: none;
    background-color: #f5f5f5;
    color: #333;
}

.editor-footer {
    display: flex;
    gap: 10px;
    padding: 20px;
    border-top: 1px solid #ddd;
    justify-content: flex-end;
}

.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn-save {
    background-color: #90c87c;
    color: black;
}

.btn-save:hover {
    background-color: #7ab069;
}

.btn-cancel {
    background-color: #ddd;
    color: #333;
}

.btn-cancel:hover {
    background-color: #bbb;
}